Private Cloud Args
data class PrivateCloudArgs(val identitySources: Output<List<IdentitySourceArgs>>? = null, val internet: Output<Either<String, InternetEnum>>? = null, val location: Output<String>? = null, val managementCluster: Output<ManagementClusterArgs>? = null, val networkBlock: Output<String>? = null, val nsxtPassword: Output<String>? = null, val privateCloudName: Output<String>? = null, val resourceGroupName: Output<String>? = null, val sku: Output<SkuArgs>? = null, val tags: Output<Map<String, String>>? = null, val vcenterPassword: Output<String>? = null) : ConvertibleToJava<PrivateCloudArgs>
A private cloud resource API Version: 2020-03-20.
Example Usage
PrivateClouds_CreateOrUpdate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var privateCloud = new AzureNative.AVS.PrivateCloud("privateCloud", new()
{
Location = "eastus2",
ManagementCluster = new AzureNative.AVS.Inputs.ManagementClusterArgs
{
ClusterSize = 4,
},
NetworkBlock = "192.168.48.0/22",
PrivateCloudName = "cloud1",
ResourceGroupName = "group1",
Sku = new AzureNative.AVS.Inputs.SkuArgs
{
Name = "AV36",
},
Tags = null,
});
});
Content copied to clipboard
package main
import (
avs "github.com/pulumi/pulumi-azure-native-sdk/avs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := avs.NewPrivateCloud(ctx, "privateCloud", &avs.PrivateCloudArgs{
Location: pulumi.String("eastus2"),
ManagementCluster: &avs.ManagementClusterArgs{
ClusterSize: pulumi.Int(4),
},
NetworkBlock: pulumi.String("192.168.48.0/22"),
PrivateCloudName: pulumi.String("cloud1"),
ResourceGroupName: pulumi.String("group1"),
Sku: &avs.SkuArgs{
Name: pulumi.String("AV36"),
},
Tags: nil,
})
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.avs.PrivateCloud;
import com.pulumi.azurenative.avs.PrivateCloudArgs;
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 privateCloud = new PrivateCloud("privateCloud", PrivateCloudArgs.builder()
.location("eastus2")
.managementCluster(Map.of("clusterSize", 4))
.networkBlock("192.168.48.0/22")
.privateCloudName("cloud1")
.resourceGroupName("group1")
.sku(Map.of("name", "AV36"))
.tags()
.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:avs:PrivateCloud cloud1 /subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(identitySources: Output<List<IdentitySourceArgs>>? = null, internet: Output<Either<String, InternetEnum>>? = null, location: Output<String>? = null, managementCluster: Output<ManagementClusterArgs>? = null, networkBlock: Output<String>? = null, nsxtPassword: Output<String>? = null, privateCloudName: Output<String>? = null, resourceGroupName: Output<String>? = null, sku: Output<SkuArgs>? = null, tags: Output<Map<String, String>>? = null, vcenterPassword: Output<String>? = null)
Properties
Link copied to clipboard
vCenter Single Sign On Identity Sources
Link copied to clipboard
Connectivity to internet is enabled or disabled
Link copied to clipboard
The default cluster used for management
Link copied to clipboard
The block of addresses should be unique across VNet in your subscription as well as on-premise. Make sure the CIDR format is conformed to (A.B.C.D/X) where A,B,C,D are between 0 and 255, and X is between 0 and 22
Link copied to clipboard
Optionally, set the NSX-T Manager password when the private cloud is created
Link copied to clipboard
Name of the private cloud
Link copied to clipboard
The name of the resource group. The name is case insensitive.
Link copied to clipboard
Optionally, set the vCenter admin password when the private cloud is created