Sites Controller
A VmwareSite Azure REST API version: 2023-06-06.
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 = "awxurtbjmofxuciewsqfgpkccpzw",
KeyVaultUri = "qizphgqwage",
},
ApplianceName = "zkzibwptff",
DiscoverySolutionId = "lvskpghpphpfumbzxroakznqplomiy",
Location = "mh",
ResourceGroupName = "rgmigrate",
ServicePrincipalIdentityDetails = new AzureNative.OffAzure.Inputs.SiteSpnPropertiesArgs
{
AadAuthority = "yanzipdww",
ApplicationId = "tspgrujepxyxuprkqvfuqbbjrweeqa",
Audience = "oepwfaozztzvegmzvswafvotj",
ObjectId = "tqrjngpgxnnto",
RawCertData = "dotvgkslkmsgvtekgojnhcdrryk",
TenantId = "vesmyhu",
},
SiteName = "3-MmUUL6025",
Tags =
{
{ "key7046", "qywdefracwwzlugbwgqbt" },
},
});
});
Content copied to clipboard
package main
import (
"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("awxurtbjmofxuciewsqfgpkccpzw"),
KeyVaultUri: pulumi.String("qizphgqwage"),
},
ApplianceName: pulumi.String("zkzibwptff"),
DiscoverySolutionId: pulumi.String("lvskpghpphpfumbzxroakznqplomiy"),
Location: pulumi.String("mh"),
ResourceGroupName: pulumi.String("rgmigrate"),
ServicePrincipalIdentityDetails: &offazure.SiteSpnPropertiesArgs{
AadAuthority: pulumi.String("yanzipdww"),
ApplicationId: pulumi.String("tspgrujepxyxuprkqvfuqbbjrweeqa"),
Audience: pulumi.String("oepwfaozztzvegmzvswafvotj"),
ObjectId: pulumi.String("tqrjngpgxnnto"),
RawCertData: pulumi.String("dotvgkslkmsgvtekgojnhcdrryk"),
TenantId: pulumi.String("vesmyhu"),
},
SiteName: pulumi.String("3-MmUUL6025"),
Tags: pulumi.StringMap{
"key7046": pulumi.String("qywdefracwwzlugbwgqbt"),
},
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
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 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(Map.ofEntries(
Map.entry("keyVaultId", "awxurtbjmofxuciewsqfgpkccpzw"),
Map.entry("keyVaultUri", "qizphgqwage")
))
.applianceName("zkzibwptff")
.discoverySolutionId("lvskpghpphpfumbzxroakznqplomiy")
.location("mh")
.resourceGroupName("rgmigrate")
.servicePrincipalIdentityDetails(Map.ofEntries(
Map.entry("aadAuthority", "yanzipdww"),
Map.entry("applicationId", "tspgrujepxyxuprkqvfuqbbjrweeqa"),
Map.entry("audience", "oepwfaozztzvegmzvswafvotj"),
Map.entry("objectId", "tqrjngpgxnnto"),
Map.entry("rawCertData", "dotvgkslkmsgvtekgojnhcdrryk"),
Map.entry("tenantId", "vesmyhu")
))
.siteName("3-MmUUL6025")
.tags(Map.of("key7046", "qywdefracwwzlugbwgqbt"))
.build());
}
}
Content copied to clipboard
SitesController_Create_MinimumSet_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()
{
Location = "mh",
ResourceGroupName = "rgmigrate",
SiteName = "KPV1Y68-G0V",
});
});
Content copied to clipboard
package main
import (
"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{
Location: pulumi.String("mh"),
ResourceGroupName: pulumi.String("rgmigrate"),
SiteName: pulumi.String("KPV1Y68-G0V"),
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
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 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()
.location("mh")
.resourceGroupName("rgmigrate")
.siteName("KPV1Y68-G0V")
.build());
}
}
Content copied to clipboard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:offazure:SitesController zdlnpiprfzpnvyoysx /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/vmwareSites/{siteName}
Content copied to clipboard
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard