MasterSitesController

class MasterSitesController : KotlinCustomResource

A MasterSite 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

MasterSitesController_Create_MaximumSet_Gen

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var masterSitesController = new AzureNative.OffAzure.MasterSitesController("masterSitesController", new()
{
AllowMultipleSites = true,
CustomerStorageAccountArmId = "tndgdhvguaaa",
Location = "g",
PublicNetworkAccess = AzureNative.OffAzure.MasterSitePropertiesPublicNetworkAccess.NotSpecified,
ResourceGroupName = "rgmigrate",
SiteName = "4Y-BY-44e-2fDcKpH-E5",
Sites = new[]
{
"lzbawsokqsbzpsocpiwbsjxf",
},
Tags =
{
{ "key5556", "htomzlbxaiqgcmaaq" },
},
});
});
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.NewMasterSitesController(ctx, "masterSitesController", &offazure.MasterSitesControllerArgs{
AllowMultipleSites: pulumi.Bool(true),
CustomerStorageAccountArmId: pulumi.String("tndgdhvguaaa"),
Location: pulumi.String("g"),
PublicNetworkAccess: pulumi.String(offazure.MasterSitePropertiesPublicNetworkAccessNotSpecified),
ResourceGroupName: pulumi.String("rgmigrate"),
SiteName: pulumi.String("4Y-BY-44e-2fDcKpH-E5"),
Sites: pulumi.StringArray{
pulumi.String("lzbawsokqsbzpsocpiwbsjxf"),
},
Tags: pulumi.StringMap{
"key5556": pulumi.String("htomzlbxaiqgcmaaq"),
},
})
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.MasterSitesController;
import com.pulumi.azurenative.offazure.MasterSitesControllerArgs;
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 masterSitesController = new MasterSitesController("masterSitesController", MasterSitesControllerArgs.builder()
.allowMultipleSites(true)
.customerStorageAccountArmId("tndgdhvguaaa")
.location("g")
.publicNetworkAccess("NotSpecified")
.resourceGroupName("rgmigrate")
.siteName("4Y-BY-44e-2fDcKpH-E5")
.sites("lzbawsokqsbzpsocpiwbsjxf")
.tags(Map.of("key5556", "htomzlbxaiqgcmaaq"))
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:offazure:MasterSitesController yrxubv /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}

Properties

Link copied to clipboard

Gets or sets a value indicating whether multiple sites per site type are allowed.

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard

Gets or sets a value for customer storage account ARM id.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>

The geo-location where the resource lives

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard
val nestedSites: Output<List<String>>

Gets the nested sites under Master Site.

Link copied to clipboard

Gets the private endpoint connections.

Link copied to clipboard

provisioning state enum

Link copied to clipboard

Gets or sets the state of public network access.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val sites: Output<List<String>>?

Gets or sets the sites that are a part of Master Site. The key should contain the Site ARM name.

Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Resource tags.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>