Sites Controller
A VmwareSite Uses Azure REST API version 2023-10-01-preview. In version 2.x of the Azure Native provider, it used API version 2023-06-06. Other available API versions: 2023-06-06, 2024-05-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native offazure [ApiVersion]
. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.
Example Usage
SitesController_Create_MaximumSet_Gen
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var sitesController = new AzureNative.OffAzure.SitesController("sitesController", new()
{
AgentDetails = new AzureNative.OffAzure.Inputs.SiteAgentPropertiesArgs
{
KeyVaultId = "chqtsrpahfayfuqrusmbakvgdqny",
KeyVaultUri = "w",
},
ApplianceName = "nhhwywytwjbhjtpwxkcxqhqmcrowg",
DiscoverySolutionId = "dlsekq",
Location = "wcccoelallobfu",
ResourceGroupName = "rgmigrate",
ServicePrincipalIdentityDetails = new AzureNative.OffAzure.Inputs.SiteSpnPropertiesArgs
{
AadAuthority = "pykd",
ApplicationId = "lg",
Audience = "emwqxwwqqzwk",
ObjectId = "etkbysdzluxvpxkciooxjjmvl",
RawCertData = "kewdmdjrt",
TenantId = "aqvsxunpdlrxclnpudkykycsdf",
},
SiteName = "3w-E-i5L",
Tags =
{
{ "key2178", "gfjjytrnctgvmi" },
},
});
});
package main
import (
offazure "github.com/pulumi/pulumi-azure-native-sdk/offazure/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := offazure.NewSitesController(ctx, "sitesController", &offazure.SitesControllerArgs{
AgentDetails: &offazure.SiteAgentPropertiesArgs{
KeyVaultId: pulumi.String("chqtsrpahfayfuqrusmbakvgdqny"),
KeyVaultUri: pulumi.String("w"),
},
ApplianceName: pulumi.String("nhhwywytwjbhjtpwxkcxqhqmcrowg"),
DiscoverySolutionId: pulumi.String("dlsekq"),
Location: pulumi.String("wcccoelallobfu"),
ResourceGroupName: pulumi.String("rgmigrate"),
ServicePrincipalIdentityDetails: &offazure.SiteSpnPropertiesArgs{
AadAuthority: pulumi.String("pykd"),
ApplicationId: pulumi.String("lg"),
Audience: pulumi.String("emwqxwwqqzwk"),
ObjectId: pulumi.String("etkbysdzluxvpxkciooxjjmvl"),
RawCertData: pulumi.String("kewdmdjrt"),
TenantId: pulumi.String("aqvsxunpdlrxclnpudkykycsdf"),
},
SiteName: pulumi.String("3w-E-i5L"),
Tags: pulumi.StringMap{
"key2178": pulumi.String("gfjjytrnctgvmi"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.offazure.SitesController;
import com.pulumi.azurenative.offazure.SitesControllerArgs;
import com.pulumi.azurenative.offazure.inputs.SiteAgentPropertiesArgs;
import com.pulumi.azurenative.offazure.inputs.SiteSpnPropertiesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var sitesController = new SitesController("sitesController", SitesControllerArgs.builder()
.agentDetails(SiteAgentPropertiesArgs.builder()
.keyVaultId("chqtsrpahfayfuqrusmbakvgdqny")
.keyVaultUri("w")
.build())
.applianceName("nhhwywytwjbhjtpwxkcxqhqmcrowg")
.discoverySolutionId("dlsekq")
.location("wcccoelallobfu")
.resourceGroupName("rgmigrate")
.servicePrincipalIdentityDetails(SiteSpnPropertiesArgs.builder()
.aadAuthority("pykd")
.applicationId("lg")
.audience("emwqxwwqqzwk")
.objectId("etkbysdzluxvpxkciooxjjmvl")
.rawCertData("kewdmdjrt")
.tenantId("aqvsxunpdlrxclnpudkykycsdf")
.build())
.siteName("3w-E-i5L")
.tags(Map.of("key2178", "gfjjytrnctgvmi"))
.build());
}
}
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:offazure:SitesController sfckwpgjzbycsruhrfaew /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/vmwareSites/{siteName}
Properties
Gets or sets the on-premises agent details.
Gets or sets the Appliance Name.
The Azure API version of the resource.
Gets or sets the ARM ID of migration hub solution for SDS.
If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
Gets the Master Site this site is linked to.
The status of the last operation.
Gets the service endpoint.
Gets or sets the service principal identity details used by agent for communication to the service.
Azure Resource Manager metadata containing createdBy and modifiedBy information.