MasterSitesControllerArgs

data class MasterSitesControllerArgs(val allowMultipleSites: Output<Boolean>? = null, val customerStorageAccountArmId: Output<String>? = null, val location: Output<String>? = null, val publicNetworkAccess: Output<Either<String, MasterSitePropertiesPublicNetworkAccess>>? = null, val resourceGroupName: Output<String>? = null, val siteName: Output<String>? = null, val sites: Output<List<String>>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<MasterSitesControllerArgs>

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/v3"
"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}

Constructors

Link copied to clipboard
constructor(allowMultipleSites: Output<Boolean>? = null, customerStorageAccountArmId: Output<String>? = null, location: Output<String>? = null, publicNetworkAccess: Output<Either<String, MasterSitePropertiesPublicNetworkAccess>>? = null, resourceGroupName: Output<String>? = null, siteName: Output<String>? = null, sites: Output<List<String>>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val allowMultipleSites: Output<Boolean>? = null

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

Link copied to clipboard
val customerStorageAccountArmId: Output<String>? = null

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

Link copied to clipboard
val location: Output<String>? = null

The geo-location where the resource lives

Link copied to clipboard

Gets or sets the state of public network access.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group. The name is case insensitive.

Link copied to clipboard
val siteName: Output<String>? = null

Site name

Link copied to clipboard
val sites: Output<List<String>>? = null

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

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

Resource tags.

Functions

Link copied to clipboard
open override fun toJava(): MasterSitesControllerArgs