vmc.Sddc
Explore with Pulumi AI
Provides a resource to provision an SDDC.
Deploying a SingleAZ SDDC
For the deployment_type
of SingleAZ
, the sddc_type
can be 1NODE
with
num_host
argument set to 1
. The sddc_type
for num_host
set to 2 or
greater is DEFAULT
.
Example
import * as pulumi from "@pulumi/pulumi";
import * as vmc from "@pulumi/vmc";
const myAccounts = vmc.getConnectedAccounts({
accountNumber: _var.aws_account_number,
});
const mySubnets = myAccounts.then(myAccounts => vmc.getCustomerSubnets({
connectedAccountId: myAccounts.id,
region: _var.sddc_region,
}));
const sddc1 = new vmc.Sddc("sddc1", {
sddcName: _var.sddc_name,
vpcCidr: _var.vpc_cidr,
numHost: 1,
providerType: "AWS",
region: mySubnets.then(mySubnets => mySubnets.region),
vxlanSubnet: _var.vxlan_subnet,
delayAccountLink: false,
skipCreatingVxlan: false,
ssoDomain: "vmc.local",
deploymentType: "SingleAZ",
sddcType: "1NODE",
accountLinkSddcConfigs: [{
customerSubnetIds: [mySubnets.then(mySubnets => mySubnets.ids?.[0])],
connectedAccountId: myAccounts.then(myAccounts => myAccounts.id),
}],
microsoftLicensingConfigs: [{
mssqlLicensing: "ENABLED",
windowsLicensing: "DISABLED",
}],
});
import pulumi
import pulumi_vmc as vmc
my_accounts = vmc.get_connected_accounts(account_number=var["aws_account_number"])
my_subnets = vmc.get_customer_subnets(connected_account_id=my_accounts.id,
region=var["sddc_region"])
sddc1 = vmc.Sddc("sddc1",
sddc_name=var["sddc_name"],
vpc_cidr=var["vpc_cidr"],
num_host=1,
provider_type="AWS",
region=my_subnets.region,
vxlan_subnet=var["vxlan_subnet"],
delay_account_link=False,
skip_creating_vxlan=False,
sso_domain="vmc.local",
deployment_type="SingleAZ",
sddc_type="1NODE",
account_link_sddc_configs=[{
"customer_subnet_ids": [my_subnets.ids[0]],
"connected_account_id": my_accounts.id,
}],
microsoft_licensing_configs=[{
"mssql_licensing": "ENABLED",
"windows_licensing": "DISABLED",
}])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/vmc/vmc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
myAccounts, err := vmc.GetConnectedAccounts(ctx, &vmc.GetConnectedAccountsArgs{
AccountNumber: _var.Aws_account_number,
}, nil)
if err != nil {
return err
}
mySubnets, err := vmc.GetCustomerSubnets(ctx, &vmc.GetCustomerSubnetsArgs{
ConnectedAccountId: pulumi.StringRef(myAccounts.Id),
Region: _var.Sddc_region,
}, nil)
if err != nil {
return err
}
_, err = vmc.NewSddc(ctx, "sddc1", &vmc.SddcArgs{
SddcName: pulumi.Any(_var.Sddc_name),
VpcCidr: pulumi.Any(_var.Vpc_cidr),
NumHost: pulumi.Float64(1),
ProviderType: pulumi.String("AWS"),
Region: pulumi.String(mySubnets.Region),
VxlanSubnet: pulumi.Any(_var.Vxlan_subnet),
DelayAccountLink: pulumi.Bool(false),
SkipCreatingVxlan: pulumi.Bool(false),
SsoDomain: pulumi.String("vmc.local"),
DeploymentType: pulumi.String("SingleAZ"),
SddcType: pulumi.String("1NODE"),
AccountLinkSddcConfigs: vmc.SddcAccountLinkSddcConfigArray{
&vmc.SddcAccountLinkSddcConfigArgs{
CustomerSubnetIds: pulumi.StringArray{
pulumi.String(mySubnets.Ids[0]),
},
ConnectedAccountId: pulumi.String(myAccounts.Id),
},
},
MicrosoftLicensingConfigs: vmc.SddcMicrosoftLicensingConfigArray{
&vmc.SddcMicrosoftLicensingConfigArgs{
MssqlLicensing: pulumi.String("ENABLED"),
WindowsLicensing: pulumi.String("DISABLED"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vmc = Pulumi.Vmc;
return await Deployment.RunAsync(() =>
{
var myAccounts = Vmc.GetConnectedAccounts.Invoke(new()
{
AccountNumber = @var.Aws_account_number,
});
var mySubnets = Vmc.GetCustomerSubnets.Invoke(new()
{
ConnectedAccountId = myAccounts.Apply(getConnectedAccountsResult => getConnectedAccountsResult.Id),
Region = @var.Sddc_region,
});
var sddc1 = new Vmc.Sddc("sddc1", new()
{
SddcName = @var.Sddc_name,
VpcCidr = @var.Vpc_cidr,
NumHost = 1,
ProviderType = "AWS",
Region = mySubnets.Apply(getCustomerSubnetsResult => getCustomerSubnetsResult.Region),
VxlanSubnet = @var.Vxlan_subnet,
DelayAccountLink = false,
SkipCreatingVxlan = false,
SsoDomain = "vmc.local",
DeploymentType = "SingleAZ",
SddcType = "1NODE",
AccountLinkSddcConfigs = new[]
{
new Vmc.Inputs.SddcAccountLinkSddcConfigArgs
{
CustomerSubnetIds = new[]
{
mySubnets.Apply(getCustomerSubnetsResult => getCustomerSubnetsResult.Ids[0]),
},
ConnectedAccountId = myAccounts.Apply(getConnectedAccountsResult => getConnectedAccountsResult.Id),
},
},
MicrosoftLicensingConfigs = new[]
{
new Vmc.Inputs.SddcMicrosoftLicensingConfigArgs
{
MssqlLicensing = "ENABLED",
WindowsLicensing = "DISABLED",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vmc.VmcFunctions;
import com.pulumi.vmc.inputs.GetConnectedAccountsArgs;
import com.pulumi.vmc.inputs.GetCustomerSubnetsArgs;
import com.pulumi.vmc.Sddc;
import com.pulumi.vmc.SddcArgs;
import com.pulumi.vmc.inputs.SddcAccountLinkSddcConfigArgs;
import com.pulumi.vmc.inputs.SddcMicrosoftLicensingConfigArgs;
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) {
final var myAccounts = VmcFunctions.getConnectedAccounts(GetConnectedAccountsArgs.builder()
.accountNumber(var_.aws_account_number())
.build());
final var mySubnets = VmcFunctions.getCustomerSubnets(GetCustomerSubnetsArgs.builder()
.connectedAccountId(myAccounts.applyValue(getConnectedAccountsResult -> getConnectedAccountsResult.id()))
.region(var_.sddc_region())
.build());
var sddc1 = new Sddc("sddc1", SddcArgs.builder()
.sddcName(var_.sddc_name())
.vpcCidr(var_.vpc_cidr())
.numHost(1)
.providerType("AWS")
.region(mySubnets.applyValue(getCustomerSubnetsResult -> getCustomerSubnetsResult.region()))
.vxlanSubnet(var_.vxlan_subnet())
.delayAccountLink(false)
.skipCreatingVxlan(false)
.ssoDomain("vmc.local")
.deploymentType("SingleAZ")
.sddcType("1NODE")
.accountLinkSddcConfigs(SddcAccountLinkSddcConfigArgs.builder()
.customerSubnetIds(mySubnets.applyValue(getCustomerSubnetsResult -> getCustomerSubnetsResult.ids()[0]))
.connectedAccountId(myAccounts.applyValue(getConnectedAccountsResult -> getConnectedAccountsResult.id()))
.build())
.microsoftLicensingConfigs(SddcMicrosoftLicensingConfigArgs.builder()
.mssqlLicensing("ENABLED")
.windowsLicensing("DISABLED")
.build())
.build());
}
}
resources:
sddc1:
type: vmc:Sddc
properties:
sddcName: ${var.sddc_name}
vpcCidr: ${var.vpc_cidr}
numHost: 1
providerType: AWS
region: ${mySubnets.region}
vxlanSubnet: ${var.vxlan_subnet}
delayAccountLink: false
skipCreatingVxlan: false
ssoDomain: vmc.local
deploymentType: SingleAZ
sddcType: 1NODE
accountLinkSddcConfigs:
- customerSubnetIds:
- ${mySubnets.ids[0]}
connectedAccountId: ${myAccounts.id}
microsoftLicensingConfigs:
- mssqlLicensing: ENABLED
windowsLicensing: DISABLED
variables:
myAccounts:
fn::invoke:
function: vmc:getConnectedAccounts
arguments:
accountNumber: ${var.aws_account_number}
mySubnets:
fn::invoke:
function: vmc:getCustomerSubnets
arguments:
connectedAccountId: ${myAccounts.id}
region: ${var.sddc_region}
Modifying an Elastic DRS Policy
In a new SDDC, elastic DRS uses the Default Storage Scale-Out policy, adding
hosts only when storage utilization exceeds the threshold of 75%. For two-host
SDDCs, only the Default Storage Scale-Out policy is available. Elastic DRS
is not supported for single ESX host (1Node
) SDDCs.
You can select a different policy if it provides better support for your workload VMs by updating the resource using the following arguments :
edrs_policy_type
- (Optional) The EDRS policy type. This can either becost
,performance
,storage-scaleup
orrapid-scaleup
. Defaults to storage-scaleup.enable_edrs
- (Optional) Enable EDRS.min_hosts
- (Optional) The minimum number of ESX hosts that the cluster can scale in to.max_hosts
- (Optional) The maximum number of ESX hosts that the cluster can scale out to.
Note: When the EDRS policy is disabled (i.e.,
enable_edrs = false
) forperformance
,cost
orrapid-scaleup
, the policy type changes to the default,storage-scaleup
.
Note: The EDRS policy properties can be modified only after an SDDC has been deployed.
Example
import * as pulumi from "@pulumi/pulumi";
import * as vmc from "@pulumi/vmc";
const myAccounts = vmc.getConnectedAccounts({
accountNumber: _var.aws_account_number,
});
const mySubnets = myAccounts.then(myAccounts => vmc.getCustomerSubnets({
connectedAccountId: myAccounts.id,
region: _var.sddc_region,
}));
const sddc1 = new vmc.Sddc("sddc1", {
sddcName: _var.sddc_name,
vpcCidr: _var.vpc_cidr,
numHost: _var.sddc_num_hosts,
providerType: "AWS",
region: mySubnets.then(mySubnets => mySubnets.region),
vxlanSubnet: _var.vxlan_subnet,
delayAccountLink: false,
skipCreatingVxlan: false,
ssoDomain: "vmc.local",
deploymentType: "SingleAZ",
accountLinkSddcConfigs: [{
customerSubnetIds: [mySubnets.then(mySubnets => mySubnets.ids?.[0])],
connectedAccountId: myAccounts.then(myAccounts => myAccounts.id),
}],
microsoftLicensingConfigs: [{
mssqlLicensing: "ENABLED",
windowsLicensing: "DISABLED",
}],
edrsPolicyType: "cost",
enableEdrs: true,
minHosts: 3,
maxHosts: 8,
});
import pulumi
import pulumi_vmc as vmc
my_accounts = vmc.get_connected_accounts(account_number=var["aws_account_number"])
my_subnets = vmc.get_customer_subnets(connected_account_id=my_accounts.id,
region=var["sddc_region"])
sddc1 = vmc.Sddc("sddc1",
sddc_name=var["sddc_name"],
vpc_cidr=var["vpc_cidr"],
num_host=var["sddc_num_hosts"],
provider_type="AWS",
region=my_subnets.region,
vxlan_subnet=var["vxlan_subnet"],
delay_account_link=False,
skip_creating_vxlan=False,
sso_domain="vmc.local",
deployment_type="SingleAZ",
account_link_sddc_configs=[{
"customer_subnet_ids": [my_subnets.ids[0]],
"connected_account_id": my_accounts.id,
}],
microsoft_licensing_configs=[{
"mssql_licensing": "ENABLED",
"windows_licensing": "DISABLED",
}],
edrs_policy_type="cost",
enable_edrs=True,
min_hosts=3,
max_hosts=8)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/vmc/vmc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
myAccounts, err := vmc.GetConnectedAccounts(ctx, &vmc.GetConnectedAccountsArgs{
AccountNumber: _var.Aws_account_number,
}, nil)
if err != nil {
return err
}
mySubnets, err := vmc.GetCustomerSubnets(ctx, &vmc.GetCustomerSubnetsArgs{
ConnectedAccountId: pulumi.StringRef(myAccounts.Id),
Region: _var.Sddc_region,
}, nil)
if err != nil {
return err
}
_, err = vmc.NewSddc(ctx, "sddc1", &vmc.SddcArgs{
SddcName: pulumi.Any(_var.Sddc_name),
VpcCidr: pulumi.Any(_var.Vpc_cidr),
NumHost: pulumi.Any(_var.Sddc_num_hosts),
ProviderType: pulumi.String("AWS"),
Region: pulumi.String(mySubnets.Region),
VxlanSubnet: pulumi.Any(_var.Vxlan_subnet),
DelayAccountLink: pulumi.Bool(false),
SkipCreatingVxlan: pulumi.Bool(false),
SsoDomain: pulumi.String("vmc.local"),
DeploymentType: pulumi.String("SingleAZ"),
AccountLinkSddcConfigs: vmc.SddcAccountLinkSddcConfigArray{
&vmc.SddcAccountLinkSddcConfigArgs{
CustomerSubnetIds: pulumi.StringArray{
pulumi.String(mySubnets.Ids[0]),
},
ConnectedAccountId: pulumi.String(myAccounts.Id),
},
},
MicrosoftLicensingConfigs: vmc.SddcMicrosoftLicensingConfigArray{
&vmc.SddcMicrosoftLicensingConfigArgs{
MssqlLicensing: pulumi.String("ENABLED"),
WindowsLicensing: pulumi.String("DISABLED"),
},
},
EdrsPolicyType: pulumi.String("cost"),
EnableEdrs: pulumi.Bool(true),
MinHosts: pulumi.Float64(3),
MaxHosts: pulumi.Float64(8),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vmc = Pulumi.Vmc;
return await Deployment.RunAsync(() =>
{
var myAccounts = Vmc.GetConnectedAccounts.Invoke(new()
{
AccountNumber = @var.Aws_account_number,
});
var mySubnets = Vmc.GetCustomerSubnets.Invoke(new()
{
ConnectedAccountId = myAccounts.Apply(getConnectedAccountsResult => getConnectedAccountsResult.Id),
Region = @var.Sddc_region,
});
var sddc1 = new Vmc.Sddc("sddc1", new()
{
SddcName = @var.Sddc_name,
VpcCidr = @var.Vpc_cidr,
NumHost = @var.Sddc_num_hosts,
ProviderType = "AWS",
Region = mySubnets.Apply(getCustomerSubnetsResult => getCustomerSubnetsResult.Region),
VxlanSubnet = @var.Vxlan_subnet,
DelayAccountLink = false,
SkipCreatingVxlan = false,
SsoDomain = "vmc.local",
DeploymentType = "SingleAZ",
AccountLinkSddcConfigs = new[]
{
new Vmc.Inputs.SddcAccountLinkSddcConfigArgs
{
CustomerSubnetIds = new[]
{
mySubnets.Apply(getCustomerSubnetsResult => getCustomerSubnetsResult.Ids[0]),
},
ConnectedAccountId = myAccounts.Apply(getConnectedAccountsResult => getConnectedAccountsResult.Id),
},
},
MicrosoftLicensingConfigs = new[]
{
new Vmc.Inputs.SddcMicrosoftLicensingConfigArgs
{
MssqlLicensing = "ENABLED",
WindowsLicensing = "DISABLED",
},
},
EdrsPolicyType = "cost",
EnableEdrs = true,
MinHosts = 3,
MaxHosts = 8,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vmc.VmcFunctions;
import com.pulumi.vmc.inputs.GetConnectedAccountsArgs;
import com.pulumi.vmc.inputs.GetCustomerSubnetsArgs;
import com.pulumi.vmc.Sddc;
import com.pulumi.vmc.SddcArgs;
import com.pulumi.vmc.inputs.SddcAccountLinkSddcConfigArgs;
import com.pulumi.vmc.inputs.SddcMicrosoftLicensingConfigArgs;
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) {
final var myAccounts = VmcFunctions.getConnectedAccounts(GetConnectedAccountsArgs.builder()
.accountNumber(var_.aws_account_number())
.build());
final var mySubnets = VmcFunctions.getCustomerSubnets(GetCustomerSubnetsArgs.builder()
.connectedAccountId(myAccounts.applyValue(getConnectedAccountsResult -> getConnectedAccountsResult.id()))
.region(var_.sddc_region())
.build());
var sddc1 = new Sddc("sddc1", SddcArgs.builder()
.sddcName(var_.sddc_name())
.vpcCidr(var_.vpc_cidr())
.numHost(var_.sddc_num_hosts())
.providerType("AWS")
.region(mySubnets.applyValue(getCustomerSubnetsResult -> getCustomerSubnetsResult.region()))
.vxlanSubnet(var_.vxlan_subnet())
.delayAccountLink(false)
.skipCreatingVxlan(false)
.ssoDomain("vmc.local")
.deploymentType("SingleAZ")
.accountLinkSddcConfigs(SddcAccountLinkSddcConfigArgs.builder()
.customerSubnetIds(mySubnets.applyValue(getCustomerSubnetsResult -> getCustomerSubnetsResult.ids()[0]))
.connectedAccountId(myAccounts.applyValue(getConnectedAccountsResult -> getConnectedAccountsResult.id()))
.build())
.microsoftLicensingConfigs(SddcMicrosoftLicensingConfigArgs.builder()
.mssqlLicensing("ENABLED")
.windowsLicensing("DISABLED")
.build())
.edrsPolicyType("cost")
.enableEdrs(true)
.minHosts(3)
.maxHosts(8)
.build());
}
}
resources:
sddc1:
type: vmc:Sddc
properties:
sddcName: ${var.sddc_name}
vpcCidr: ${var.vpc_cidr}
numHost: ${var.sddc_num_hosts}
providerType: AWS
region: ${mySubnets.region}
vxlanSubnet: ${var.vxlan_subnet}
delayAccountLink: false
skipCreatingVxlan: false
ssoDomain: vmc.local
deploymentType: SingleAZ
accountLinkSddcConfigs:
- customerSubnetIds:
- ${mySubnets.ids[0]}
connectedAccountId: ${myAccounts.id}
microsoftLicensingConfigs:
- mssqlLicensing: ENABLED
windowsLicensing: DISABLED
edrsPolicyType: cost
enableEdrs: true
minHosts: 3
maxHosts: 8
variables:
myAccounts:
fn::invoke:
function: vmc:getConnectedAccounts
arguments:
accountNumber: ${var.aws_account_number}
mySubnets:
fn::invoke:
function: vmc:getCustomerSubnets
arguments:
connectedAccountId: ${myAccounts.id}
region: ${var.sddc_region}
Deploying a MultiAZ SDDC (Stretched Cluster)
For deployment type MultiAZ
, a single SDDC can be deployed across two AWS
availability zones.
When enabled the default number of ESX hosts supported in a MultiAZ
SDDC is 6.
Additional hosts can be added later but must be done in pairs across AWS
availability zones. The MultiAZ
SDDC requires an AWS VPC with two subnets, one
subnet per availability zone.
Example
import * as pulumi from "@pulumi/pulumi";
import * as vmc from "@pulumi/vmc";
const myAccounts = vmc.getConnectedAccounts({
accountNumber: _var.aws_account_number,
});
const mySubnets = myAccounts.then(myAccounts => vmc.getCustomerSubnets({
connectedAccountId: myAccounts.id,
region: _var.sddc_region,
}));
const sddc1 = new vmc.Sddc("sddc1", {
sddcName: _var.sddc_name,
vpcCidr: _var.vpc_cidr,
numHost: 6,
providerType: _var.provider_type,
region: mySubnets.then(mySubnets => mySubnets.region),
vxlanSubnet: _var.vxlan_subnet,
delayAccountLink: false,
skipCreatingVxlan: false,
ssoDomain: "vmc.local",
deploymentType: "MultiAZ",
hostInstanceType: _var.host_instance_type,
accountLinkSddcConfigs: [{
customerSubnetIds: [
mySubnets.then(mySubnets => mySubnets.ids?.[0]),
mySubnets.then(mySubnets => mySubnets.ids?.[1]),
],
connectedAccountId: myAccounts.then(myAccounts => myAccounts.id),
}],
microsoftLicensingConfigs: [{
mssqlLicensing: "ENABLED",
windowsLicensing: "DISABLED",
}],
});
import pulumi
import pulumi_vmc as vmc
my_accounts = vmc.get_connected_accounts(account_number=var["aws_account_number"])
my_subnets = vmc.get_customer_subnets(connected_account_id=my_accounts.id,
region=var["sddc_region"])
sddc1 = vmc.Sddc("sddc1",
sddc_name=var["sddc_name"],
vpc_cidr=var["vpc_cidr"],
num_host=6,
provider_type=var["provider_type"],
region=my_subnets.region,
vxlan_subnet=var["vxlan_subnet"],
delay_account_link=False,
skip_creating_vxlan=False,
sso_domain="vmc.local",
deployment_type="MultiAZ",
host_instance_type=var["host_instance_type"],
account_link_sddc_configs=[{
"customer_subnet_ids": [
my_subnets.ids[0],
my_subnets.ids[1],
],
"connected_account_id": my_accounts.id,
}],
microsoft_licensing_configs=[{
"mssql_licensing": "ENABLED",
"windows_licensing": "DISABLED",
}])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/vmc/vmc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
myAccounts, err := vmc.GetConnectedAccounts(ctx, &vmc.GetConnectedAccountsArgs{
AccountNumber: _var.Aws_account_number,
}, nil)
if err != nil {
return err
}
mySubnets, err := vmc.GetCustomerSubnets(ctx, &vmc.GetCustomerSubnetsArgs{
ConnectedAccountId: pulumi.StringRef(myAccounts.Id),
Region: _var.Sddc_region,
}, nil)
if err != nil {
return err
}
_, err = vmc.NewSddc(ctx, "sddc1", &vmc.SddcArgs{
SddcName: pulumi.Any(_var.Sddc_name),
VpcCidr: pulumi.Any(_var.Vpc_cidr),
NumHost: pulumi.Float64(6),
ProviderType: pulumi.Any(_var.Provider_type),
Region: pulumi.String(mySubnets.Region),
VxlanSubnet: pulumi.Any(_var.Vxlan_subnet),
DelayAccountLink: pulumi.Bool(false),
SkipCreatingVxlan: pulumi.Bool(false),
SsoDomain: pulumi.String("vmc.local"),
DeploymentType: pulumi.String("MultiAZ"),
HostInstanceType: pulumi.Any(_var.Host_instance_type),
AccountLinkSddcConfigs: vmc.SddcAccountLinkSddcConfigArray{
&vmc.SddcAccountLinkSddcConfigArgs{
CustomerSubnetIds: pulumi.StringArray{
pulumi.String(mySubnets.Ids[0]),
pulumi.String(mySubnets.Ids[1]),
},
ConnectedAccountId: pulumi.String(myAccounts.Id),
},
},
MicrosoftLicensingConfigs: vmc.SddcMicrosoftLicensingConfigArray{
&vmc.SddcMicrosoftLicensingConfigArgs{
MssqlLicensing: pulumi.String("ENABLED"),
WindowsLicensing: pulumi.String("DISABLED"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vmc = Pulumi.Vmc;
return await Deployment.RunAsync(() =>
{
var myAccounts = Vmc.GetConnectedAccounts.Invoke(new()
{
AccountNumber = @var.Aws_account_number,
});
var mySubnets = Vmc.GetCustomerSubnets.Invoke(new()
{
ConnectedAccountId = myAccounts.Apply(getConnectedAccountsResult => getConnectedAccountsResult.Id),
Region = @var.Sddc_region,
});
var sddc1 = new Vmc.Sddc("sddc1", new()
{
SddcName = @var.Sddc_name,
VpcCidr = @var.Vpc_cidr,
NumHost = 6,
ProviderType = @var.Provider_type,
Region = mySubnets.Apply(getCustomerSubnetsResult => getCustomerSubnetsResult.Region),
VxlanSubnet = @var.Vxlan_subnet,
DelayAccountLink = false,
SkipCreatingVxlan = false,
SsoDomain = "vmc.local",
DeploymentType = "MultiAZ",
HostInstanceType = @var.Host_instance_type,
AccountLinkSddcConfigs = new[]
{
new Vmc.Inputs.SddcAccountLinkSddcConfigArgs
{
CustomerSubnetIds = new[]
{
mySubnets.Apply(getCustomerSubnetsResult => getCustomerSubnetsResult.Ids[0]),
mySubnets.Apply(getCustomerSubnetsResult => getCustomerSubnetsResult.Ids[1]),
},
ConnectedAccountId = myAccounts.Apply(getConnectedAccountsResult => getConnectedAccountsResult.Id),
},
},
MicrosoftLicensingConfigs = new[]
{
new Vmc.Inputs.SddcMicrosoftLicensingConfigArgs
{
MssqlLicensing = "ENABLED",
WindowsLicensing = "DISABLED",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vmc.VmcFunctions;
import com.pulumi.vmc.inputs.GetConnectedAccountsArgs;
import com.pulumi.vmc.inputs.GetCustomerSubnetsArgs;
import com.pulumi.vmc.Sddc;
import com.pulumi.vmc.SddcArgs;
import com.pulumi.vmc.inputs.SddcAccountLinkSddcConfigArgs;
import com.pulumi.vmc.inputs.SddcMicrosoftLicensingConfigArgs;
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) {
final var myAccounts = VmcFunctions.getConnectedAccounts(GetConnectedAccountsArgs.builder()
.accountNumber(var_.aws_account_number())
.build());
final var mySubnets = VmcFunctions.getCustomerSubnets(GetCustomerSubnetsArgs.builder()
.connectedAccountId(myAccounts.applyValue(getConnectedAccountsResult -> getConnectedAccountsResult.id()))
.region(var_.sddc_region())
.build());
var sddc1 = new Sddc("sddc1", SddcArgs.builder()
.sddcName(var_.sddc_name())
.vpcCidr(var_.vpc_cidr())
.numHost(6)
.providerType(var_.provider_type())
.region(mySubnets.applyValue(getCustomerSubnetsResult -> getCustomerSubnetsResult.region()))
.vxlanSubnet(var_.vxlan_subnet())
.delayAccountLink(false)
.skipCreatingVxlan(false)
.ssoDomain("vmc.local")
.deploymentType("MultiAZ")
.hostInstanceType(var_.host_instance_type())
.accountLinkSddcConfigs(SddcAccountLinkSddcConfigArgs.builder()
.customerSubnetIds(
mySubnets.applyValue(getCustomerSubnetsResult -> getCustomerSubnetsResult.ids()[0]),
mySubnets.applyValue(getCustomerSubnetsResult -> getCustomerSubnetsResult.ids()[1]))
.connectedAccountId(myAccounts.applyValue(getConnectedAccountsResult -> getConnectedAccountsResult.id()))
.build())
.microsoftLicensingConfigs(SddcMicrosoftLicensingConfigArgs.builder()
.mssqlLicensing("ENABLED")
.windowsLicensing("DISABLED")
.build())
.build());
}
}
resources:
sddc1:
type: vmc:Sddc
properties:
sddcName: ${var.sddc_name}
vpcCidr: ${var.vpc_cidr}
numHost: 6
providerType: ${var.provider_type}
region: ${mySubnets.region}
vxlanSubnet: ${var.vxlan_subnet}
delayAccountLink: false
skipCreatingVxlan: false
ssoDomain: vmc.local
deploymentType: MultiAZ
hostInstanceType: ${var.host_instance_type}
accountLinkSddcConfigs:
- customerSubnetIds:
- ${mySubnets.ids[0]}
- ${mySubnets.ids[1]}
connectedAccountId: ${myAccounts.id}
microsoftLicensingConfigs:
- mssqlLicensing: ENABLED
windowsLicensing: DISABLED
variables:
myAccounts:
fn::invoke:
function: vmc:getConnectedAccounts
arguments:
accountNumber: ${var.aws_account_number}
mySubnets:
fn::invoke:
function: vmc:getCustomerSubnets
arguments:
connectedAccountId: ${myAccounts.id}
region: ${var.sddc_region}
Create Sddc Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Sddc(name: string, args: SddcArgs, opts?: CustomResourceOptions);
@overload
def Sddc(resource_name: str,
args: SddcArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Sddc(resource_name: str,
opts: Optional[ResourceOptions] = None,
num_host: Optional[float] = None,
sddc_name: Optional[str] = None,
region: Optional[str] = None,
max_hosts: Optional[float] = None,
nsxt_ui: Optional[bool] = None,
host_instance_type: Optional[str] = None,
intranet_mtu_uplink: Optional[float] = None,
account_link_sddc_configs: Optional[Sequence[SddcAccountLinkSddcConfigArgs]] = None,
microsoft_licensing_configs: Optional[Sequence[SddcMicrosoftLicensingConfigArgs]] = None,
min_hosts: Optional[float] = None,
nsxt_cloudadmin: Optional[str] = None,
nsxt_cloudadmin_password: Optional[str] = None,
nsxt_cloudaudit: Optional[str] = None,
nsxt_cloudaudit_password: Optional[str] = None,
nsxt_private_ip: Optional[str] = None,
nsxt_private_url: Optional[str] = None,
enable_edrs: Optional[bool] = None,
edrs_policy_type: Optional[str] = None,
provider_type: Optional[str] = None,
deployment_type: Optional[str] = None,
sddc_id: Optional[str] = None,
delay_account_link: Optional[bool] = None,
sddc_template_id: Optional[str] = None,
sddc_type: Optional[str] = None,
size: Optional[str] = None,
skip_creating_vxlan: Optional[bool] = None,
sso_domain: Optional[str] = None,
timeouts: Optional[SddcTimeoutsArgs] = None,
vpc_cidr: Optional[str] = None,
vxlan_subnet: Optional[str] = None)
func NewSddc(ctx *Context, name string, args SddcArgs, opts ...ResourceOption) (*Sddc, error)
public Sddc(string name, SddcArgs args, CustomResourceOptions? opts = null)
type: vmc:Sddc
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SddcArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SddcArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SddcArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SddcArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SddcArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var sddcResource = new Vmc.Sddc("sddcResource", new()
{
NumHost = 0,
SddcName = "string",
Region = "string",
MaxHosts = 0,
NsxtUi = false,
HostInstanceType = "string",
IntranetMtuUplink = 0,
AccountLinkSddcConfigs = new[]
{
new Vmc.Inputs.SddcAccountLinkSddcConfigArgs
{
ConnectedAccountId = "string",
CustomerSubnetIds = new[]
{
"string",
},
},
},
MicrosoftLicensingConfigs = new[]
{
new Vmc.Inputs.SddcMicrosoftLicensingConfigArgs
{
AcademicLicense = false,
MssqlLicensing = "string",
WindowsLicensing = "string",
},
},
MinHosts = 0,
NsxtCloudadmin = "string",
NsxtCloudadminPassword = "string",
NsxtCloudaudit = "string",
NsxtCloudauditPassword = "string",
NsxtPrivateIp = "string",
NsxtPrivateUrl = "string",
EnableEdrs = false,
EdrsPolicyType = "string",
ProviderType = "string",
DeploymentType = "string",
SddcId = "string",
DelayAccountLink = false,
SddcTemplateId = "string",
SddcType = "string",
Size = "string",
SkipCreatingVxlan = false,
SsoDomain = "string",
Timeouts = new Vmc.Inputs.SddcTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
VpcCidr = "string",
VxlanSubnet = "string",
});
example, err := vmc.NewSddc(ctx, "sddcResource", &vmc.SddcArgs{
NumHost: pulumi.Float64(0),
SddcName: pulumi.String("string"),
Region: pulumi.String("string"),
MaxHosts: pulumi.Float64(0),
NsxtUi: pulumi.Bool(false),
HostInstanceType: pulumi.String("string"),
IntranetMtuUplink: pulumi.Float64(0),
AccountLinkSddcConfigs: vmc.SddcAccountLinkSddcConfigArray{
&vmc.SddcAccountLinkSddcConfigArgs{
ConnectedAccountId: pulumi.String("string"),
CustomerSubnetIds: pulumi.StringArray{
pulumi.String("string"),
},
},
},
MicrosoftLicensingConfigs: vmc.SddcMicrosoftLicensingConfigArray{
&vmc.SddcMicrosoftLicensingConfigArgs{
AcademicLicense: pulumi.Bool(false),
MssqlLicensing: pulumi.String("string"),
WindowsLicensing: pulumi.String("string"),
},
},
MinHosts: pulumi.Float64(0),
NsxtCloudadmin: pulumi.String("string"),
NsxtCloudadminPassword: pulumi.String("string"),
NsxtCloudaudit: pulumi.String("string"),
NsxtCloudauditPassword: pulumi.String("string"),
NsxtPrivateIp: pulumi.String("string"),
NsxtPrivateUrl: pulumi.String("string"),
EnableEdrs: pulumi.Bool(false),
EdrsPolicyType: pulumi.String("string"),
ProviderType: pulumi.String("string"),
DeploymentType: pulumi.String("string"),
SddcId: pulumi.String("string"),
DelayAccountLink: pulumi.Bool(false),
SddcTemplateId: pulumi.String("string"),
SddcType: pulumi.String("string"),
Size: pulumi.String("string"),
SkipCreatingVxlan: pulumi.Bool(false),
SsoDomain: pulumi.String("string"),
Timeouts: &vmc.SddcTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
VpcCidr: pulumi.String("string"),
VxlanSubnet: pulumi.String("string"),
})
var sddcResource = new Sddc("sddcResource", SddcArgs.builder()
.numHost(0)
.sddcName("string")
.region("string")
.maxHosts(0)
.nsxtUi(false)
.hostInstanceType("string")
.intranetMtuUplink(0)
.accountLinkSddcConfigs(SddcAccountLinkSddcConfigArgs.builder()
.connectedAccountId("string")
.customerSubnetIds("string")
.build())
.microsoftLicensingConfigs(SddcMicrosoftLicensingConfigArgs.builder()
.academicLicense(false)
.mssqlLicensing("string")
.windowsLicensing("string")
.build())
.minHosts(0)
.nsxtCloudadmin("string")
.nsxtCloudadminPassword("string")
.nsxtCloudaudit("string")
.nsxtCloudauditPassword("string")
.nsxtPrivateIp("string")
.nsxtPrivateUrl("string")
.enableEdrs(false)
.edrsPolicyType("string")
.providerType("string")
.deploymentType("string")
.sddcId("string")
.delayAccountLink(false)
.sddcTemplateId("string")
.sddcType("string")
.size("string")
.skipCreatingVxlan(false)
.ssoDomain("string")
.timeouts(SddcTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.vpcCidr("string")
.vxlanSubnet("string")
.build());
sddc_resource = vmc.Sddc("sddcResource",
num_host=0,
sddc_name="string",
region="string",
max_hosts=0,
nsxt_ui=False,
host_instance_type="string",
intranet_mtu_uplink=0,
account_link_sddc_configs=[{
"connected_account_id": "string",
"customer_subnet_ids": ["string"],
}],
microsoft_licensing_configs=[{
"academic_license": False,
"mssql_licensing": "string",
"windows_licensing": "string",
}],
min_hosts=0,
nsxt_cloudadmin="string",
nsxt_cloudadmin_password="string",
nsxt_cloudaudit="string",
nsxt_cloudaudit_password="string",
nsxt_private_ip="string",
nsxt_private_url="string",
enable_edrs=False,
edrs_policy_type="string",
provider_type="string",
deployment_type="string",
sddc_id="string",
delay_account_link=False,
sddc_template_id="string",
sddc_type="string",
size="string",
skip_creating_vxlan=False,
sso_domain="string",
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
vpc_cidr="string",
vxlan_subnet="string")
const sddcResource = new vmc.Sddc("sddcResource", {
numHost: 0,
sddcName: "string",
region: "string",
maxHosts: 0,
nsxtUi: false,
hostInstanceType: "string",
intranetMtuUplink: 0,
accountLinkSddcConfigs: [{
connectedAccountId: "string",
customerSubnetIds: ["string"],
}],
microsoftLicensingConfigs: [{
academicLicense: false,
mssqlLicensing: "string",
windowsLicensing: "string",
}],
minHosts: 0,
nsxtCloudadmin: "string",
nsxtCloudadminPassword: "string",
nsxtCloudaudit: "string",
nsxtCloudauditPassword: "string",
nsxtPrivateIp: "string",
nsxtPrivateUrl: "string",
enableEdrs: false,
edrsPolicyType: "string",
providerType: "string",
deploymentType: "string",
sddcId: "string",
delayAccountLink: false,
sddcTemplateId: "string",
sddcType: "string",
size: "string",
skipCreatingVxlan: false,
ssoDomain: "string",
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
vpcCidr: "string",
vxlanSubnet: "string",
});
type: vmc:Sddc
properties:
accountLinkSddcConfigs:
- connectedAccountId: string
customerSubnetIds:
- string
delayAccountLink: false
deploymentType: string
edrsPolicyType: string
enableEdrs: false
hostInstanceType: string
intranetMtuUplink: 0
maxHosts: 0
microsoftLicensingConfigs:
- academicLicense: false
mssqlLicensing: string
windowsLicensing: string
minHosts: 0
nsxtCloudadmin: string
nsxtCloudadminPassword: string
nsxtCloudaudit: string
nsxtCloudauditPassword: string
nsxtPrivateIp: string
nsxtPrivateUrl: string
nsxtUi: false
numHost: 0
providerType: string
region: string
sddcId: string
sddcName: string
sddcTemplateId: string
sddcType: string
size: string
skipCreatingVxlan: false
ssoDomain: string
timeouts:
create: string
delete: string
update: string
vpcCidr: string
vxlanSubnet: string
Sddc Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Sddc resource accepts the following input properties:
- Num
Host double - The number of ESX hosts in the primary cluster of the SDDC.
- Region string
- The AWS specific (e.g.,
us-west-2
) or VMC specific region (e.g.,US_WEST_2
) of the cloud resources to work in. - Sddc
Name string - The name of the SDDC.
- Account
Link List<SddcSddc Configs Account Link Sddc Config> - The account linking configuration object.
- Delay
Account boolLink - Specifics whether account linking should be delayed or not for the SDDC.
- Deployment
Type string - Specifies if the type is for a
SingleAZ
or aMultiAZ
SDDC. Defaults toSingleAZ
. - Edrs
Policy stringType - The EDRS policy type. This can either be 'cost', 'performance', 'storage-scaleup' or 'rapid-scaleup'. Default : storage-scaleup.
- Enable
Edrs bool - True if EDRS is enabled
- Host
Instance stringType - The instance type for the ESX hosts in the
primary cluster of the SDDC. Allows values include:
I3_METAL
,I3EN_METAL
,I4I_METAL
, andR5_METAL
. Defaults toI3_METAL
. Currently,I3EN_METAL
does not support1NODE
and 2 node SDDC deployment. - Intranet
Mtu doubleUplink - Uplink MTU of direct connect, SDDC-grouping and outposts traffic in edge tier-0 router port.
- Max
Hosts double - The maximum number of hosts that the cluster can scale out to.
- Microsoft
Licensing List<SddcConfigs Microsoft Licensing Config> - Indicates the desired licensing support, if any, of Microsoft software.
- Min
Hosts double - The minimum number of hosts that the cluster can scale in to.
- Nsxt
Cloudadmin string - The NSX
admin
user for direct access. - Nsxt
Cloudadmin stringPassword - The NSX
admin
user password for direct access. - Nsxt
Cloudaudit string - The NSX
audit
user for direct access. - Nsxt
Cloudaudit stringPassword - The NSX
audit
user password for direct access. - Nsxt
Private stringIp - Nsxt
Private stringUrl - The NSX private URL.
- Nsxt
Ui bool - Provider
Type string - Determines what additional properties are
available based on cloud provider. Defaults to
AWS
. - Sddc
Id string - The SDDC identifier.
- Sddc
Template stringId - If provided, configuration from the template will be applied to the provisioned SDDC.
- Sddc
Type string - Specifies the SDDC type, if the value is
null
or empty, the type is considered as default. - Size string
- The size of the vCenter and NSX appliances.
large
orLARGE
SDDC size corresponds to a large vCenter appliance and large NSX appliance.medium
orMEDIUM
SDDC size corresponds to medium vCenter appliance and medium NSX appliance. Defaults tomedium
. - Skip
Creating boolVxlan - Specifies to skip creating VXLAN for compute gateway for SDDC provisioning.
- Sso
Domain string - The SSO domain name to use for vSphere users. If not
specified,
vmc.local
will be used. - Timeouts
Sddc
Timeouts - Vpc
Cidr string SDDC management network CIDR. Only prefix of
16
,20
and23
are supported.Note: Specify a private subnet range (RFC 1918) to be used for vCenter, NSX Manager, and ESX hosts. Choose a range that will not conflict with other networks you will connect to this SDDC. Minimum CIDR sizes:
/23
for up to 27 hosts;/20
for up to 251 hosts, and/16
for up to 4091 hosts.Note: Reserved CIDRs:
10.0.0.0/15
and172.31.0.0/16
.- Vxlan
Subnet string - A logical network segment that will be created with the SDDC under the compute gateway.
- Num
Host float64 - The number of ESX hosts in the primary cluster of the SDDC.
- Region string
- The AWS specific (e.g.,
us-west-2
) or VMC specific region (e.g.,US_WEST_2
) of the cloud resources to work in. - Sddc
Name string - The name of the SDDC.
- Account
Link []SddcSddc Configs Account Link Sddc Config Args - The account linking configuration object.
- Delay
Account boolLink - Specifics whether account linking should be delayed or not for the SDDC.
- Deployment
Type string - Specifies if the type is for a
SingleAZ
or aMultiAZ
SDDC. Defaults toSingleAZ
. - Edrs
Policy stringType - The EDRS policy type. This can either be 'cost', 'performance', 'storage-scaleup' or 'rapid-scaleup'. Default : storage-scaleup.
- Enable
Edrs bool - True if EDRS is enabled
- Host
Instance stringType - The instance type for the ESX hosts in the
primary cluster of the SDDC. Allows values include:
I3_METAL
,I3EN_METAL
,I4I_METAL
, andR5_METAL
. Defaults toI3_METAL
. Currently,I3EN_METAL
does not support1NODE
and 2 node SDDC deployment. - Intranet
Mtu float64Uplink - Uplink MTU of direct connect, SDDC-grouping and outposts traffic in edge tier-0 router port.
- Max
Hosts float64 - The maximum number of hosts that the cluster can scale out to.
- Microsoft
Licensing []SddcConfigs Microsoft Licensing Config Args - Indicates the desired licensing support, if any, of Microsoft software.
- Min
Hosts float64 - The minimum number of hosts that the cluster can scale in to.
- Nsxt
Cloudadmin string - The NSX
admin
user for direct access. - Nsxt
Cloudadmin stringPassword - The NSX
admin
user password for direct access. - Nsxt
Cloudaudit string - The NSX
audit
user for direct access. - Nsxt
Cloudaudit stringPassword - The NSX
audit
user password for direct access. - Nsxt
Private stringIp - Nsxt
Private stringUrl - The NSX private URL.
- Nsxt
Ui bool - Provider
Type string - Determines what additional properties are
available based on cloud provider. Defaults to
AWS
. - Sddc
Id string - The SDDC identifier.
- Sddc
Template stringId - If provided, configuration from the template will be applied to the provisioned SDDC.
- Sddc
Type string - Specifies the SDDC type, if the value is
null
or empty, the type is considered as default. - Size string
- The size of the vCenter and NSX appliances.
large
orLARGE
SDDC size corresponds to a large vCenter appliance and large NSX appliance.medium
orMEDIUM
SDDC size corresponds to medium vCenter appliance and medium NSX appliance. Defaults tomedium
. - Skip
Creating boolVxlan - Specifies to skip creating VXLAN for compute gateway for SDDC provisioning.
- Sso
Domain string - The SSO domain name to use for vSphere users. If not
specified,
vmc.local
will be used. - Timeouts
Sddc
Timeouts Args - Vpc
Cidr string SDDC management network CIDR. Only prefix of
16
,20
and23
are supported.Note: Specify a private subnet range (RFC 1918) to be used for vCenter, NSX Manager, and ESX hosts. Choose a range that will not conflict with other networks you will connect to this SDDC. Minimum CIDR sizes:
/23
for up to 27 hosts;/20
for up to 251 hosts, and/16
for up to 4091 hosts.Note: Reserved CIDRs:
10.0.0.0/15
and172.31.0.0/16
.- Vxlan
Subnet string - A logical network segment that will be created with the SDDC under the compute gateway.
- num
Host Double - The number of ESX hosts in the primary cluster of the SDDC.
- region String
- The AWS specific (e.g.,
us-west-2
) or VMC specific region (e.g.,US_WEST_2
) of the cloud resources to work in. - sddc
Name String - The name of the SDDC.
- account
Link List<SddcSddc Configs Account Link Sddc Config> - The account linking configuration object.
- delay
Account BooleanLink - Specifics whether account linking should be delayed or not for the SDDC.
- deployment
Type String - Specifies if the type is for a
SingleAZ
or aMultiAZ
SDDC. Defaults toSingleAZ
. - edrs
Policy StringType - The EDRS policy type. This can either be 'cost', 'performance', 'storage-scaleup' or 'rapid-scaleup'. Default : storage-scaleup.
- enable
Edrs Boolean - True if EDRS is enabled
- host
Instance StringType - The instance type for the ESX hosts in the
primary cluster of the SDDC. Allows values include:
I3_METAL
,I3EN_METAL
,I4I_METAL
, andR5_METAL
. Defaults toI3_METAL
. Currently,I3EN_METAL
does not support1NODE
and 2 node SDDC deployment. - intranet
Mtu DoubleUplink - Uplink MTU of direct connect, SDDC-grouping and outposts traffic in edge tier-0 router port.
- max
Hosts Double - The maximum number of hosts that the cluster can scale out to.
- microsoft
Licensing List<SddcConfigs Microsoft Licensing Config> - Indicates the desired licensing support, if any, of Microsoft software.
- min
Hosts Double - The minimum number of hosts that the cluster can scale in to.
- nsxt
Cloudadmin String - The NSX
admin
user for direct access. - nsxt
Cloudadmin StringPassword - The NSX
admin
user password for direct access. - nsxt
Cloudaudit String - The NSX
audit
user for direct access. - nsxt
Cloudaudit StringPassword - The NSX
audit
user password for direct access. - nsxt
Private StringIp - nsxt
Private StringUrl - The NSX private URL.
- nsxt
Ui Boolean - provider
Type String - Determines what additional properties are
available based on cloud provider. Defaults to
AWS
. - sddc
Id String - The SDDC identifier.
- sddc
Template StringId - If provided, configuration from the template will be applied to the provisioned SDDC.
- sddc
Type String - Specifies the SDDC type, if the value is
null
or empty, the type is considered as default. - size String
- The size of the vCenter and NSX appliances.
large
orLARGE
SDDC size corresponds to a large vCenter appliance and large NSX appliance.medium
orMEDIUM
SDDC size corresponds to medium vCenter appliance and medium NSX appliance. Defaults tomedium
. - skip
Creating BooleanVxlan - Specifies to skip creating VXLAN for compute gateway for SDDC provisioning.
- sso
Domain String - The SSO domain name to use for vSphere users. If not
specified,
vmc.local
will be used. - timeouts
Sddc
Timeouts - vpc
Cidr String SDDC management network CIDR. Only prefix of
16
,20
and23
are supported.Note: Specify a private subnet range (RFC 1918) to be used for vCenter, NSX Manager, and ESX hosts. Choose a range that will not conflict with other networks you will connect to this SDDC. Minimum CIDR sizes:
/23
for up to 27 hosts;/20
for up to 251 hosts, and/16
for up to 4091 hosts.Note: Reserved CIDRs:
10.0.0.0/15
and172.31.0.0/16
.- vxlan
Subnet String - A logical network segment that will be created with the SDDC under the compute gateway.
- num
Host number - The number of ESX hosts in the primary cluster of the SDDC.
- region string
- The AWS specific (e.g.,
us-west-2
) or VMC specific region (e.g.,US_WEST_2
) of the cloud resources to work in. - sddc
Name string - The name of the SDDC.
- account
Link SddcSddc Configs Account Link Sddc Config[] - The account linking configuration object.
- delay
Account booleanLink - Specifics whether account linking should be delayed or not for the SDDC.
- deployment
Type string - Specifies if the type is for a
SingleAZ
or aMultiAZ
SDDC. Defaults toSingleAZ
. - edrs
Policy stringType - The EDRS policy type. This can either be 'cost', 'performance', 'storage-scaleup' or 'rapid-scaleup'. Default : storage-scaleup.
- enable
Edrs boolean - True if EDRS is enabled
- host
Instance stringType - The instance type for the ESX hosts in the
primary cluster of the SDDC. Allows values include:
I3_METAL
,I3EN_METAL
,I4I_METAL
, andR5_METAL
. Defaults toI3_METAL
. Currently,I3EN_METAL
does not support1NODE
and 2 node SDDC deployment. - intranet
Mtu numberUplink - Uplink MTU of direct connect, SDDC-grouping and outposts traffic in edge tier-0 router port.
- max
Hosts number - The maximum number of hosts that the cluster can scale out to.
- microsoft
Licensing SddcConfigs Microsoft Licensing Config[] - Indicates the desired licensing support, if any, of Microsoft software.
- min
Hosts number - The minimum number of hosts that the cluster can scale in to.
- nsxt
Cloudadmin string - The NSX
admin
user for direct access. - nsxt
Cloudadmin stringPassword - The NSX
admin
user password for direct access. - nsxt
Cloudaudit string - The NSX
audit
user for direct access. - nsxt
Cloudaudit stringPassword - The NSX
audit
user password for direct access. - nsxt
Private stringIp - nsxt
Private stringUrl - The NSX private URL.
- nsxt
Ui boolean - provider
Type string - Determines what additional properties are
available based on cloud provider. Defaults to
AWS
. - sddc
Id string - The SDDC identifier.
- sddc
Template stringId - If provided, configuration from the template will be applied to the provisioned SDDC.
- sddc
Type string - Specifies the SDDC type, if the value is
null
or empty, the type is considered as default. - size string
- The size of the vCenter and NSX appliances.
large
orLARGE
SDDC size corresponds to a large vCenter appliance and large NSX appliance.medium
orMEDIUM
SDDC size corresponds to medium vCenter appliance and medium NSX appliance. Defaults tomedium
. - skip
Creating booleanVxlan - Specifies to skip creating VXLAN for compute gateway for SDDC provisioning.
- sso
Domain string - The SSO domain name to use for vSphere users. If not
specified,
vmc.local
will be used. - timeouts
Sddc
Timeouts - vpc
Cidr string SDDC management network CIDR. Only prefix of
16
,20
and23
are supported.Note: Specify a private subnet range (RFC 1918) to be used for vCenter, NSX Manager, and ESX hosts. Choose a range that will not conflict with other networks you will connect to this SDDC. Minimum CIDR sizes:
/23
for up to 27 hosts;/20
for up to 251 hosts, and/16
for up to 4091 hosts.Note: Reserved CIDRs:
10.0.0.0/15
and172.31.0.0/16
.- vxlan
Subnet string - A logical network segment that will be created with the SDDC under the compute gateway.
- num_
host float - The number of ESX hosts in the primary cluster of the SDDC.
- region str
- The AWS specific (e.g.,
us-west-2
) or VMC specific region (e.g.,US_WEST_2
) of the cloud resources to work in. - sddc_
name str - The name of the SDDC.
- account_
link_ Sequence[Sddcsddc_ configs Account Link Sddc Config Args] - The account linking configuration object.
- delay_
account_ boollink - Specifics whether account linking should be delayed or not for the SDDC.
- deployment_
type str - Specifies if the type is for a
SingleAZ
or aMultiAZ
SDDC. Defaults toSingleAZ
. - edrs_
policy_ strtype - The EDRS policy type. This can either be 'cost', 'performance', 'storage-scaleup' or 'rapid-scaleup'. Default : storage-scaleup.
- enable_
edrs bool - True if EDRS is enabled
- host_
instance_ strtype - The instance type for the ESX hosts in the
primary cluster of the SDDC. Allows values include:
I3_METAL
,I3EN_METAL
,I4I_METAL
, andR5_METAL
. Defaults toI3_METAL
. Currently,I3EN_METAL
does not support1NODE
and 2 node SDDC deployment. - intranet_
mtu_ floatuplink - Uplink MTU of direct connect, SDDC-grouping and outposts traffic in edge tier-0 router port.
- max_
hosts float - The maximum number of hosts that the cluster can scale out to.
- microsoft_
licensing_ Sequence[Sddcconfigs Microsoft Licensing Config Args] - Indicates the desired licensing support, if any, of Microsoft software.
- min_
hosts float - The minimum number of hosts that the cluster can scale in to.
- nsxt_
cloudadmin str - The NSX
admin
user for direct access. - nsxt_
cloudadmin_ strpassword - The NSX
admin
user password for direct access. - nsxt_
cloudaudit str - The NSX
audit
user for direct access. - nsxt_
cloudaudit_ strpassword - The NSX
audit
user password for direct access. - nsxt_
private_ strip - nsxt_
private_ strurl - The NSX private URL.
- nsxt_
ui bool - provider_
type str - Determines what additional properties are
available based on cloud provider. Defaults to
AWS
. - sddc_
id str - The SDDC identifier.
- sddc_
template_ strid - If provided, configuration from the template will be applied to the provisioned SDDC.
- sddc_
type str - Specifies the SDDC type, if the value is
null
or empty, the type is considered as default. - size str
- The size of the vCenter and NSX appliances.
large
orLARGE
SDDC size corresponds to a large vCenter appliance and large NSX appliance.medium
orMEDIUM
SDDC size corresponds to medium vCenter appliance and medium NSX appliance. Defaults tomedium
. - skip_
creating_ boolvxlan - Specifies to skip creating VXLAN for compute gateway for SDDC provisioning.
- sso_
domain str - The SSO domain name to use for vSphere users. If not
specified,
vmc.local
will be used. - timeouts
Sddc
Timeouts Args - vpc_
cidr str SDDC management network CIDR. Only prefix of
16
,20
and23
are supported.Note: Specify a private subnet range (RFC 1918) to be used for vCenter, NSX Manager, and ESX hosts. Choose a range that will not conflict with other networks you will connect to this SDDC. Minimum CIDR sizes:
/23
for up to 27 hosts;/20
for up to 251 hosts, and/16
for up to 4091 hosts.Note: Reserved CIDRs:
10.0.0.0/15
and172.31.0.0/16
.- vxlan_
subnet str - A logical network segment that will be created with the SDDC under the compute gateway.
- num
Host Number - The number of ESX hosts in the primary cluster of the SDDC.
- region String
- The AWS specific (e.g.,
us-west-2
) or VMC specific region (e.g.,US_WEST_2
) of the cloud resources to work in. - sddc
Name String - The name of the SDDC.
- account
Link List<Property Map>Sddc Configs - The account linking configuration object.
- delay
Account BooleanLink - Specifics whether account linking should be delayed or not for the SDDC.
- deployment
Type String - Specifies if the type is for a
SingleAZ
or aMultiAZ
SDDC. Defaults toSingleAZ
. - edrs
Policy StringType - The EDRS policy type. This can either be 'cost', 'performance', 'storage-scaleup' or 'rapid-scaleup'. Default : storage-scaleup.
- enable
Edrs Boolean - True if EDRS is enabled
- host
Instance StringType - The instance type for the ESX hosts in the
primary cluster of the SDDC. Allows values include:
I3_METAL
,I3EN_METAL
,I4I_METAL
, andR5_METAL
. Defaults toI3_METAL
. Currently,I3EN_METAL
does not support1NODE
and 2 node SDDC deployment. - intranet
Mtu NumberUplink - Uplink MTU of direct connect, SDDC-grouping and outposts traffic in edge tier-0 router port.
- max
Hosts Number - The maximum number of hosts that the cluster can scale out to.
- microsoft
Licensing List<Property Map>Configs - Indicates the desired licensing support, if any, of Microsoft software.
- min
Hosts Number - The minimum number of hosts that the cluster can scale in to.
- nsxt
Cloudadmin String - The NSX
admin
user for direct access. - nsxt
Cloudadmin StringPassword - The NSX
admin
user password for direct access. - nsxt
Cloudaudit String - The NSX
audit
user for direct access. - nsxt
Cloudaudit StringPassword - The NSX
audit
user password for direct access. - nsxt
Private StringIp - nsxt
Private StringUrl - The NSX private URL.
- nsxt
Ui Boolean - provider
Type String - Determines what additional properties are
available based on cloud provider. Defaults to
AWS
. - sddc
Id String - The SDDC identifier.
- sddc
Template StringId - If provided, configuration from the template will be applied to the provisioned SDDC.
- sddc
Type String - Specifies the SDDC type, if the value is
null
or empty, the type is considered as default. - size String
- The size of the vCenter and NSX appliances.
large
orLARGE
SDDC size corresponds to a large vCenter appliance and large NSX appliance.medium
orMEDIUM
SDDC size corresponds to medium vCenter appliance and medium NSX appliance. Defaults tomedium
. - skip
Creating BooleanVxlan - Specifies to skip creating VXLAN for compute gateway for SDDC provisioning.
- sso
Domain String - The SSO domain name to use for vSphere users. If not
specified,
vmc.local
will be used. - timeouts Property Map
- vpc
Cidr String SDDC management network CIDR. Only prefix of
16
,20
and23
are supported.Note: Specify a private subnet range (RFC 1918) to be used for vCenter, NSX Manager, and ESX hosts. Choose a range that will not conflict with other networks you will connect to this SDDC. Minimum CIDR sizes:
/23
for up to 27 hosts;/20
for up to 251 hosts, and/16
for up to 4091 hosts.Note: Reserved CIDRs:
10.0.0.0/15
and172.31.0.0/16
.- vxlan
Subnet String - A logical network segment that will be created with the SDDC under the compute gateway.
Outputs
All input properties are implicitly available as output properties. Additionally, the Sddc resource produces the following output properties:
- Account
Link stringState - Availability
Zones List<string> - Cloud
Password string - Cloud
Username string - Cluster
Id string - The cluster identifier.
- Cluster
Info Dictionary<string, string> - Information about cluster such as the id, name, state, and host instance type.
- Created string
- Id string
- The provider-assigned unique ID for this managed resource.
- Nsxt
Reverse stringProxy Url - The NSX reverse proxy URL for managing public IP.
- Org
Id string - The organization identifier.
- Sddc
Access stringState - Sddc
Size Dictionary<string, string> - The size information of vCenter appliance and NSX appliance.
- Sddc
State string - Updated string
- Updated
By stringUser Id - Updated
By stringUser Name - User
Id string - User
Name string - Vc
Url string - Version double
- Account
Link stringState - Availability
Zones []string - Cloud
Password string - Cloud
Username string - Cluster
Id string - The cluster identifier.
- Cluster
Info map[string]string - Information about cluster such as the id, name, state, and host instance type.
- Created string
- Id string
- The provider-assigned unique ID for this managed resource.
- Nsxt
Reverse stringProxy Url - The NSX reverse proxy URL for managing public IP.
- Org
Id string - The organization identifier.
- Sddc
Access stringState - Sddc
Size map[string]string - The size information of vCenter appliance and NSX appliance.
- Sddc
State string - Updated string
- Updated
By stringUser Id - Updated
By stringUser Name - User
Id string - User
Name string - Vc
Url string - Version float64
- account
Link StringState - availability
Zones List<String> - cloud
Password String - cloud
Username String - cluster
Id String - The cluster identifier.
- cluster
Info Map<String,String> - Information about cluster such as the id, name, state, and host instance type.
- created String
- id String
- The provider-assigned unique ID for this managed resource.
- nsxt
Reverse StringProxy Url - The NSX reverse proxy URL for managing public IP.
- org
Id String - The organization identifier.
- sddc
Access StringState - sddc
Size Map<String,String> - The size information of vCenter appliance and NSX appliance.
- sddc
State String - updated String
- updated
By StringUser Id - updated
By StringUser Name - user
Id String - user
Name String - vc
Url String - version Double
- account
Link stringState - availability
Zones string[] - cloud
Password string - cloud
Username string - cluster
Id string - The cluster identifier.
- cluster
Info {[key: string]: string} - Information about cluster such as the id, name, state, and host instance type.
- created string
- id string
- The provider-assigned unique ID for this managed resource.
- nsxt
Reverse stringProxy Url - The NSX reverse proxy URL for managing public IP.
- org
Id string - The organization identifier.
- sddc
Access stringState - sddc
Size {[key: string]: string} - The size information of vCenter appliance and NSX appliance.
- sddc
State string - updated string
- updated
By stringUser Id - updated
By stringUser Name - user
Id string - user
Name string - vc
Url string - version number
- account_
link_ strstate - availability_
zones Sequence[str] - cloud_
password str - cloud_
username str - cluster_
id str - The cluster identifier.
- cluster_
info Mapping[str, str] - Information about cluster such as the id, name, state, and host instance type.
- created str
- id str
- The provider-assigned unique ID for this managed resource.
- nsxt_
reverse_ strproxy_ url - The NSX reverse proxy URL for managing public IP.
- org_
id str - The organization identifier.
- sddc_
access_ strstate - sddc_
size Mapping[str, str] - The size information of vCenter appliance and NSX appliance.
- sddc_
state str - updated str
- updated_
by_ struser_ id - updated_
by_ struser_ name - user_
id str - user_
name str - vc_
url str - version float
- account
Link StringState - availability
Zones List<String> - cloud
Password String - cloud
Username String - cluster
Id String - The cluster identifier.
- cluster
Info Map<String> - Information about cluster such as the id, name, state, and host instance type.
- created String
- id String
- The provider-assigned unique ID for this managed resource.
- nsxt
Reverse StringProxy Url - The NSX reverse proxy URL for managing public IP.
- org
Id String - The organization identifier.
- sddc
Access StringState - sddc
Size Map<String> - The size information of vCenter appliance and NSX appliance.
- sddc
State String - updated String
- updated
By StringUser Id - updated
By StringUser Name - user
Id String - user
Name String - vc
Url String - version Number
Look up Existing Sddc Resource
Get an existing Sddc resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: SddcState, opts?: CustomResourceOptions): Sddc
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_link_sddc_configs: Optional[Sequence[SddcAccountLinkSddcConfigArgs]] = None,
account_link_state: Optional[str] = None,
availability_zones: Optional[Sequence[str]] = None,
cloud_password: Optional[str] = None,
cloud_username: Optional[str] = None,
cluster_id: Optional[str] = None,
cluster_info: Optional[Mapping[str, str]] = None,
created: Optional[str] = None,
delay_account_link: Optional[bool] = None,
deployment_type: Optional[str] = None,
edrs_policy_type: Optional[str] = None,
enable_edrs: Optional[bool] = None,
host_instance_type: Optional[str] = None,
intranet_mtu_uplink: Optional[float] = None,
max_hosts: Optional[float] = None,
microsoft_licensing_configs: Optional[Sequence[SddcMicrosoftLicensingConfigArgs]] = None,
min_hosts: Optional[float] = None,
nsxt_cloudadmin: Optional[str] = None,
nsxt_cloudadmin_password: Optional[str] = None,
nsxt_cloudaudit: Optional[str] = None,
nsxt_cloudaudit_password: Optional[str] = None,
nsxt_private_ip: Optional[str] = None,
nsxt_private_url: Optional[str] = None,
nsxt_reverse_proxy_url: Optional[str] = None,
nsxt_ui: Optional[bool] = None,
num_host: Optional[float] = None,
org_id: Optional[str] = None,
provider_type: Optional[str] = None,
region: Optional[str] = None,
sddc_access_state: Optional[str] = None,
sddc_id: Optional[str] = None,
sddc_name: Optional[str] = None,
sddc_size: Optional[Mapping[str, str]] = None,
sddc_state: Optional[str] = None,
sddc_template_id: Optional[str] = None,
sddc_type: Optional[str] = None,
size: Optional[str] = None,
skip_creating_vxlan: Optional[bool] = None,
sso_domain: Optional[str] = None,
timeouts: Optional[SddcTimeoutsArgs] = None,
updated: Optional[str] = None,
updated_by_user_id: Optional[str] = None,
updated_by_user_name: Optional[str] = None,
user_id: Optional[str] = None,
user_name: Optional[str] = None,
vc_url: Optional[str] = None,
version: Optional[float] = None,
vpc_cidr: Optional[str] = None,
vxlan_subnet: Optional[str] = None) -> Sddc
func GetSddc(ctx *Context, name string, id IDInput, state *SddcState, opts ...ResourceOption) (*Sddc, error)
public static Sddc Get(string name, Input<string> id, SddcState? state, CustomResourceOptions? opts = null)
public static Sddc get(String name, Output<String> id, SddcState state, CustomResourceOptions options)
resources: _: type: vmc:Sddc get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Link List<SddcSddc Configs Account Link Sddc Config> - The account linking configuration object.
- Account
Link stringState - Availability
Zones List<string> - Cloud
Password string - Cloud
Username string - Cluster
Id string - The cluster identifier.
- Cluster
Info Dictionary<string, string> - Information about cluster such as the id, name, state, and host instance type.
- Created string
- Delay
Account boolLink - Specifics whether account linking should be delayed or not for the SDDC.
- Deployment
Type string - Specifies if the type is for a
SingleAZ
or aMultiAZ
SDDC. Defaults toSingleAZ
. - Edrs
Policy stringType - The EDRS policy type. This can either be 'cost', 'performance', 'storage-scaleup' or 'rapid-scaleup'. Default : storage-scaleup.
- Enable
Edrs bool - True if EDRS is enabled
- Host
Instance stringType - The instance type for the ESX hosts in the
primary cluster of the SDDC. Allows values include:
I3_METAL
,I3EN_METAL
,I4I_METAL
, andR5_METAL
. Defaults toI3_METAL
. Currently,I3EN_METAL
does not support1NODE
and 2 node SDDC deployment. - Intranet
Mtu doubleUplink - Uplink MTU of direct connect, SDDC-grouping and outposts traffic in edge tier-0 router port.
- Max
Hosts double - The maximum number of hosts that the cluster can scale out to.
- Microsoft
Licensing List<SddcConfigs Microsoft Licensing Config> - Indicates the desired licensing support, if any, of Microsoft software.
- Min
Hosts double - The minimum number of hosts that the cluster can scale in to.
- Nsxt
Cloudadmin string - The NSX
admin
user for direct access. - Nsxt
Cloudadmin stringPassword - The NSX
admin
user password for direct access. - Nsxt
Cloudaudit string - The NSX
audit
user for direct access. - Nsxt
Cloudaudit stringPassword - The NSX
audit
user password for direct access. - Nsxt
Private stringIp - Nsxt
Private stringUrl - The NSX private URL.
- Nsxt
Reverse stringProxy Url - The NSX reverse proxy URL for managing public IP.
- Nsxt
Ui bool - Num
Host double - The number of ESX hosts in the primary cluster of the SDDC.
- Org
Id string - The organization identifier.
- Provider
Type string - Determines what additional properties are
available based on cloud provider. Defaults to
AWS
. - Region string
- The AWS specific (e.g.,
us-west-2
) or VMC specific region (e.g.,US_WEST_2
) of the cloud resources to work in. - Sddc
Access stringState - Sddc
Id string - The SDDC identifier.
- Sddc
Name string - The name of the SDDC.
- Sddc
Size Dictionary<string, string> - The size information of vCenter appliance and NSX appliance.
- Sddc
State string - Sddc
Template stringId - If provided, configuration from the template will be applied to the provisioned SDDC.
- Sddc
Type string - Specifies the SDDC type, if the value is
null
or empty, the type is considered as default. - Size string
- The size of the vCenter and NSX appliances.
large
orLARGE
SDDC size corresponds to a large vCenter appliance and large NSX appliance.medium
orMEDIUM
SDDC size corresponds to medium vCenter appliance and medium NSX appliance. Defaults tomedium
. - Skip
Creating boolVxlan - Specifies to skip creating VXLAN for compute gateway for SDDC provisioning.
- Sso
Domain string - The SSO domain name to use for vSphere users. If not
specified,
vmc.local
will be used. - Timeouts
Sddc
Timeouts - Updated string
- Updated
By stringUser Id - Updated
By stringUser Name - User
Id string - User
Name string - Vc
Url string - Version double
- Vpc
Cidr string SDDC management network CIDR. Only prefix of
16
,20
and23
are supported.Note: Specify a private subnet range (RFC 1918) to be used for vCenter, NSX Manager, and ESX hosts. Choose a range that will not conflict with other networks you will connect to this SDDC. Minimum CIDR sizes:
/23
for up to 27 hosts;/20
for up to 251 hosts, and/16
for up to 4091 hosts.Note: Reserved CIDRs:
10.0.0.0/15
and172.31.0.0/16
.- Vxlan
Subnet string - A logical network segment that will be created with the SDDC under the compute gateway.
- Account
Link []SddcSddc Configs Account Link Sddc Config Args - The account linking configuration object.
- Account
Link stringState - Availability
Zones []string - Cloud
Password string - Cloud
Username string - Cluster
Id string - The cluster identifier.
- Cluster
Info map[string]string - Information about cluster such as the id, name, state, and host instance type.
- Created string
- Delay
Account boolLink - Specifics whether account linking should be delayed or not for the SDDC.
- Deployment
Type string - Specifies if the type is for a
SingleAZ
or aMultiAZ
SDDC. Defaults toSingleAZ
. - Edrs
Policy stringType - The EDRS policy type. This can either be 'cost', 'performance', 'storage-scaleup' or 'rapid-scaleup'. Default : storage-scaleup.
- Enable
Edrs bool - True if EDRS is enabled
- Host
Instance stringType - The instance type for the ESX hosts in the
primary cluster of the SDDC. Allows values include:
I3_METAL
,I3EN_METAL
,I4I_METAL
, andR5_METAL
. Defaults toI3_METAL
. Currently,I3EN_METAL
does not support1NODE
and 2 node SDDC deployment. - Intranet
Mtu float64Uplink - Uplink MTU of direct connect, SDDC-grouping and outposts traffic in edge tier-0 router port.
- Max
Hosts float64 - The maximum number of hosts that the cluster can scale out to.
- Microsoft
Licensing []SddcConfigs Microsoft Licensing Config Args - Indicates the desired licensing support, if any, of Microsoft software.
- Min
Hosts float64 - The minimum number of hosts that the cluster can scale in to.
- Nsxt
Cloudadmin string - The NSX
admin
user for direct access. - Nsxt
Cloudadmin stringPassword - The NSX
admin
user password for direct access. - Nsxt
Cloudaudit string - The NSX
audit
user for direct access. - Nsxt
Cloudaudit stringPassword - The NSX
audit
user password for direct access. - Nsxt
Private stringIp - Nsxt
Private stringUrl - The NSX private URL.
- Nsxt
Reverse stringProxy Url - The NSX reverse proxy URL for managing public IP.
- Nsxt
Ui bool - Num
Host float64 - The number of ESX hosts in the primary cluster of the SDDC.
- Org
Id string - The organization identifier.
- Provider
Type string - Determines what additional properties are
available based on cloud provider. Defaults to
AWS
. - Region string
- The AWS specific (e.g.,
us-west-2
) or VMC specific region (e.g.,US_WEST_2
) of the cloud resources to work in. - Sddc
Access stringState - Sddc
Id string - The SDDC identifier.
- Sddc
Name string - The name of the SDDC.
- Sddc
Size map[string]string - The size information of vCenter appliance and NSX appliance.
- Sddc
State string - Sddc
Template stringId - If provided, configuration from the template will be applied to the provisioned SDDC.
- Sddc
Type string - Specifies the SDDC type, if the value is
null
or empty, the type is considered as default. - Size string
- The size of the vCenter and NSX appliances.
large
orLARGE
SDDC size corresponds to a large vCenter appliance and large NSX appliance.medium
orMEDIUM
SDDC size corresponds to medium vCenter appliance and medium NSX appliance. Defaults tomedium
. - Skip
Creating boolVxlan - Specifies to skip creating VXLAN for compute gateway for SDDC provisioning.
- Sso
Domain string - The SSO domain name to use for vSphere users. If not
specified,
vmc.local
will be used. - Timeouts
Sddc
Timeouts Args - Updated string
- Updated
By stringUser Id - Updated
By stringUser Name - User
Id string - User
Name string - Vc
Url string - Version float64
- Vpc
Cidr string SDDC management network CIDR. Only prefix of
16
,20
and23
are supported.Note: Specify a private subnet range (RFC 1918) to be used for vCenter, NSX Manager, and ESX hosts. Choose a range that will not conflict with other networks you will connect to this SDDC. Minimum CIDR sizes:
/23
for up to 27 hosts;/20
for up to 251 hosts, and/16
for up to 4091 hosts.Note: Reserved CIDRs:
10.0.0.0/15
and172.31.0.0/16
.- Vxlan
Subnet string - A logical network segment that will be created with the SDDC under the compute gateway.
- account
Link List<SddcSddc Configs Account Link Sddc Config> - The account linking configuration object.
- account
Link StringState - availability
Zones List<String> - cloud
Password String - cloud
Username String - cluster
Id String - The cluster identifier.
- cluster
Info Map<String,String> - Information about cluster such as the id, name, state, and host instance type.
- created String
- delay
Account BooleanLink - Specifics whether account linking should be delayed or not for the SDDC.
- deployment
Type String - Specifies if the type is for a
SingleAZ
or aMultiAZ
SDDC. Defaults toSingleAZ
. - edrs
Policy StringType - The EDRS policy type. This can either be 'cost', 'performance', 'storage-scaleup' or 'rapid-scaleup'. Default : storage-scaleup.
- enable
Edrs Boolean - True if EDRS is enabled
- host
Instance StringType - The instance type for the ESX hosts in the
primary cluster of the SDDC. Allows values include:
I3_METAL
,I3EN_METAL
,I4I_METAL
, andR5_METAL
. Defaults toI3_METAL
. Currently,I3EN_METAL
does not support1NODE
and 2 node SDDC deployment. - intranet
Mtu DoubleUplink - Uplink MTU of direct connect, SDDC-grouping and outposts traffic in edge tier-0 router port.
- max
Hosts Double - The maximum number of hosts that the cluster can scale out to.
- microsoft
Licensing List<SddcConfigs Microsoft Licensing Config> - Indicates the desired licensing support, if any, of Microsoft software.
- min
Hosts Double - The minimum number of hosts that the cluster can scale in to.
- nsxt
Cloudadmin String - The NSX
admin
user for direct access. - nsxt
Cloudadmin StringPassword - The NSX
admin
user password for direct access. - nsxt
Cloudaudit String - The NSX
audit
user for direct access. - nsxt
Cloudaudit StringPassword - The NSX
audit
user password for direct access. - nsxt
Private StringIp - nsxt
Private StringUrl - The NSX private URL.
- nsxt
Reverse StringProxy Url - The NSX reverse proxy URL for managing public IP.
- nsxt
Ui Boolean - num
Host Double - The number of ESX hosts in the primary cluster of the SDDC.
- org
Id String - The organization identifier.
- provider
Type String - Determines what additional properties are
available based on cloud provider. Defaults to
AWS
. - region String
- The AWS specific (e.g.,
us-west-2
) or VMC specific region (e.g.,US_WEST_2
) of the cloud resources to work in. - sddc
Access StringState - sddc
Id String - The SDDC identifier.
- sddc
Name String - The name of the SDDC.
- sddc
Size Map<String,String> - The size information of vCenter appliance and NSX appliance.
- sddc
State String - sddc
Template StringId - If provided, configuration from the template will be applied to the provisioned SDDC.
- sddc
Type String - Specifies the SDDC type, if the value is
null
or empty, the type is considered as default. - size String
- The size of the vCenter and NSX appliances.
large
orLARGE
SDDC size corresponds to a large vCenter appliance and large NSX appliance.medium
orMEDIUM
SDDC size corresponds to medium vCenter appliance and medium NSX appliance. Defaults tomedium
. - skip
Creating BooleanVxlan - Specifies to skip creating VXLAN for compute gateway for SDDC provisioning.
- sso
Domain String - The SSO domain name to use for vSphere users. If not
specified,
vmc.local
will be used. - timeouts
Sddc
Timeouts - updated String
- updated
By StringUser Id - updated
By StringUser Name - user
Id String - user
Name String - vc
Url String - version Double
- vpc
Cidr String SDDC management network CIDR. Only prefix of
16
,20
and23
are supported.Note: Specify a private subnet range (RFC 1918) to be used for vCenter, NSX Manager, and ESX hosts. Choose a range that will not conflict with other networks you will connect to this SDDC. Minimum CIDR sizes:
/23
for up to 27 hosts;/20
for up to 251 hosts, and/16
for up to 4091 hosts.Note: Reserved CIDRs:
10.0.0.0/15
and172.31.0.0/16
.- vxlan
Subnet String - A logical network segment that will be created with the SDDC under the compute gateway.
- account
Link SddcSddc Configs Account Link Sddc Config[] - The account linking configuration object.
- account
Link stringState - availability
Zones string[] - cloud
Password string - cloud
Username string - cluster
Id string - The cluster identifier.
- cluster
Info {[key: string]: string} - Information about cluster such as the id, name, state, and host instance type.
- created string
- delay
Account booleanLink - Specifics whether account linking should be delayed or not for the SDDC.
- deployment
Type string - Specifies if the type is for a
SingleAZ
or aMultiAZ
SDDC. Defaults toSingleAZ
. - edrs
Policy stringType - The EDRS policy type. This can either be 'cost', 'performance', 'storage-scaleup' or 'rapid-scaleup'. Default : storage-scaleup.
- enable
Edrs boolean - True if EDRS is enabled
- host
Instance stringType - The instance type for the ESX hosts in the
primary cluster of the SDDC. Allows values include:
I3_METAL
,I3EN_METAL
,I4I_METAL
, andR5_METAL
. Defaults toI3_METAL
. Currently,I3EN_METAL
does not support1NODE
and 2 node SDDC deployment. - intranet
Mtu numberUplink - Uplink MTU of direct connect, SDDC-grouping and outposts traffic in edge tier-0 router port.
- max
Hosts number - The maximum number of hosts that the cluster can scale out to.
- microsoft
Licensing SddcConfigs Microsoft Licensing Config[] - Indicates the desired licensing support, if any, of Microsoft software.
- min
Hosts number - The minimum number of hosts that the cluster can scale in to.
- nsxt
Cloudadmin string - The NSX
admin
user for direct access. - nsxt
Cloudadmin stringPassword - The NSX
admin
user password for direct access. - nsxt
Cloudaudit string - The NSX
audit
user for direct access. - nsxt
Cloudaudit stringPassword - The NSX
audit
user password for direct access. - nsxt
Private stringIp - nsxt
Private stringUrl - The NSX private URL.
- nsxt
Reverse stringProxy Url - The NSX reverse proxy URL for managing public IP.
- nsxt
Ui boolean - num
Host number - The number of ESX hosts in the primary cluster of the SDDC.
- org
Id string - The organization identifier.
- provider
Type string - Determines what additional properties are
available based on cloud provider. Defaults to
AWS
. - region string
- The AWS specific (e.g.,
us-west-2
) or VMC specific region (e.g.,US_WEST_2
) of the cloud resources to work in. - sddc
Access stringState - sddc
Id string - The SDDC identifier.
- sddc
Name string - The name of the SDDC.
- sddc
Size {[key: string]: string} - The size information of vCenter appliance and NSX appliance.
- sddc
State string - sddc
Template stringId - If provided, configuration from the template will be applied to the provisioned SDDC.
- sddc
Type string - Specifies the SDDC type, if the value is
null
or empty, the type is considered as default. - size string
- The size of the vCenter and NSX appliances.
large
orLARGE
SDDC size corresponds to a large vCenter appliance and large NSX appliance.medium
orMEDIUM
SDDC size corresponds to medium vCenter appliance and medium NSX appliance. Defaults tomedium
. - skip
Creating booleanVxlan - Specifies to skip creating VXLAN for compute gateway for SDDC provisioning.
- sso
Domain string - The SSO domain name to use for vSphere users. If not
specified,
vmc.local
will be used. - timeouts
Sddc
Timeouts - updated string
- updated
By stringUser Id - updated
By stringUser Name - user
Id string - user
Name string - vc
Url string - version number
- vpc
Cidr string SDDC management network CIDR. Only prefix of
16
,20
and23
are supported.Note: Specify a private subnet range (RFC 1918) to be used for vCenter, NSX Manager, and ESX hosts. Choose a range that will not conflict with other networks you will connect to this SDDC. Minimum CIDR sizes:
/23
for up to 27 hosts;/20
for up to 251 hosts, and/16
for up to 4091 hosts.Note: Reserved CIDRs:
10.0.0.0/15
and172.31.0.0/16
.- vxlan
Subnet string - A logical network segment that will be created with the SDDC under the compute gateway.
- account_
link_ Sequence[Sddcsddc_ configs Account Link Sddc Config Args] - The account linking configuration object.
- account_
link_ strstate - availability_
zones Sequence[str] - cloud_
password str - cloud_
username str - cluster_
id str - The cluster identifier.
- cluster_
info Mapping[str, str] - Information about cluster such as the id, name, state, and host instance type.
- created str
- delay_
account_ boollink - Specifics whether account linking should be delayed or not for the SDDC.
- deployment_
type str - Specifies if the type is for a
SingleAZ
or aMultiAZ
SDDC. Defaults toSingleAZ
. - edrs_
policy_ strtype - The EDRS policy type. This can either be 'cost', 'performance', 'storage-scaleup' or 'rapid-scaleup'. Default : storage-scaleup.
- enable_
edrs bool - True if EDRS is enabled
- host_
instance_ strtype - The instance type for the ESX hosts in the
primary cluster of the SDDC. Allows values include:
I3_METAL
,I3EN_METAL
,I4I_METAL
, andR5_METAL
. Defaults toI3_METAL
. Currently,I3EN_METAL
does not support1NODE
and 2 node SDDC deployment. - intranet_
mtu_ floatuplink - Uplink MTU of direct connect, SDDC-grouping and outposts traffic in edge tier-0 router port.
- max_
hosts float - The maximum number of hosts that the cluster can scale out to.
- microsoft_
licensing_ Sequence[Sddcconfigs Microsoft Licensing Config Args] - Indicates the desired licensing support, if any, of Microsoft software.
- min_
hosts float - The minimum number of hosts that the cluster can scale in to.
- nsxt_
cloudadmin str - The NSX
admin
user for direct access. - nsxt_
cloudadmin_ strpassword - The NSX
admin
user password for direct access. - nsxt_
cloudaudit str - The NSX
audit
user for direct access. - nsxt_
cloudaudit_ strpassword - The NSX
audit
user password for direct access. - nsxt_
private_ strip - nsxt_
private_ strurl - The NSX private URL.
- nsxt_
reverse_ strproxy_ url - The NSX reverse proxy URL for managing public IP.
- nsxt_
ui bool - num_
host float - The number of ESX hosts in the primary cluster of the SDDC.
- org_
id str - The organization identifier.
- provider_
type str - Determines what additional properties are
available based on cloud provider. Defaults to
AWS
. - region str
- The AWS specific (e.g.,
us-west-2
) or VMC specific region (e.g.,US_WEST_2
) of the cloud resources to work in. - sddc_
access_ strstate - sddc_
id str - The SDDC identifier.
- sddc_
name str - The name of the SDDC.
- sddc_
size Mapping[str, str] - The size information of vCenter appliance and NSX appliance.
- sddc_
state str - sddc_
template_ strid - If provided, configuration from the template will be applied to the provisioned SDDC.
- sddc_
type str - Specifies the SDDC type, if the value is
null
or empty, the type is considered as default. - size str
- The size of the vCenter and NSX appliances.
large
orLARGE
SDDC size corresponds to a large vCenter appliance and large NSX appliance.medium
orMEDIUM
SDDC size corresponds to medium vCenter appliance and medium NSX appliance. Defaults tomedium
. - skip_
creating_ boolvxlan - Specifies to skip creating VXLAN for compute gateway for SDDC provisioning.
- sso_
domain str - The SSO domain name to use for vSphere users. If not
specified,
vmc.local
will be used. - timeouts
Sddc
Timeouts Args - updated str
- updated_
by_ struser_ id - updated_
by_ struser_ name - user_
id str - user_
name str - vc_
url str - version float
- vpc_
cidr str SDDC management network CIDR. Only prefix of
16
,20
and23
are supported.Note: Specify a private subnet range (RFC 1918) to be used for vCenter, NSX Manager, and ESX hosts. Choose a range that will not conflict with other networks you will connect to this SDDC. Minimum CIDR sizes:
/23
for up to 27 hosts;/20
for up to 251 hosts, and/16
for up to 4091 hosts.Note: Reserved CIDRs:
10.0.0.0/15
and172.31.0.0/16
.- vxlan_
subnet str - A logical network segment that will be created with the SDDC under the compute gateway.
- account
Link List<Property Map>Sddc Configs - The account linking configuration object.
- account
Link StringState - availability
Zones List<String> - cloud
Password String - cloud
Username String - cluster
Id String - The cluster identifier.
- cluster
Info Map<String> - Information about cluster such as the id, name, state, and host instance type.
- created String
- delay
Account BooleanLink - Specifics whether account linking should be delayed or not for the SDDC.
- deployment
Type String - Specifies if the type is for a
SingleAZ
or aMultiAZ
SDDC. Defaults toSingleAZ
. - edrs
Policy StringType - The EDRS policy type. This can either be 'cost', 'performance', 'storage-scaleup' or 'rapid-scaleup'. Default : storage-scaleup.
- enable
Edrs Boolean - True if EDRS is enabled
- host
Instance StringType - The instance type for the ESX hosts in the
primary cluster of the SDDC. Allows values include:
I3_METAL
,I3EN_METAL
,I4I_METAL
, andR5_METAL
. Defaults toI3_METAL
. Currently,I3EN_METAL
does not support1NODE
and 2 node SDDC deployment. - intranet
Mtu NumberUplink - Uplink MTU of direct connect, SDDC-grouping and outposts traffic in edge tier-0 router port.
- max
Hosts Number - The maximum number of hosts that the cluster can scale out to.
- microsoft
Licensing List<Property Map>Configs - Indicates the desired licensing support, if any, of Microsoft software.
- min
Hosts Number - The minimum number of hosts that the cluster can scale in to.
- nsxt
Cloudadmin String - The NSX
admin
user for direct access. - nsxt
Cloudadmin StringPassword - The NSX
admin
user password for direct access. - nsxt
Cloudaudit String - The NSX
audit
user for direct access. - nsxt
Cloudaudit StringPassword - The NSX
audit
user password for direct access. - nsxt
Private StringIp - nsxt
Private StringUrl - The NSX private URL.
- nsxt
Reverse StringProxy Url - The NSX reverse proxy URL for managing public IP.
- nsxt
Ui Boolean - num
Host Number - The number of ESX hosts in the primary cluster of the SDDC.
- org
Id String - The organization identifier.
- provider
Type String - Determines what additional properties are
available based on cloud provider. Defaults to
AWS
. - region String
- The AWS specific (e.g.,
us-west-2
) or VMC specific region (e.g.,US_WEST_2
) of the cloud resources to work in. - sddc
Access StringState - sddc
Id String - The SDDC identifier.
- sddc
Name String - The name of the SDDC.
- sddc
Size Map<String> - The size information of vCenter appliance and NSX appliance.
- sddc
State String - sddc
Template StringId - If provided, configuration from the template will be applied to the provisioned SDDC.
- sddc
Type String - Specifies the SDDC type, if the value is
null
or empty, the type is considered as default. - size String
- The size of the vCenter and NSX appliances.
large
orLARGE
SDDC size corresponds to a large vCenter appliance and large NSX appliance.medium
orMEDIUM
SDDC size corresponds to medium vCenter appliance and medium NSX appliance. Defaults tomedium
. - skip
Creating BooleanVxlan - Specifies to skip creating VXLAN for compute gateway for SDDC provisioning.
- sso
Domain String - The SSO domain name to use for vSphere users. If not
specified,
vmc.local
will be used. - timeouts Property Map
- updated String
- updated
By StringUser Id - updated
By StringUser Name - user
Id String - user
Name String - vc
Url String - version Number
- vpc
Cidr String SDDC management network CIDR. Only prefix of
16
,20
and23
are supported.Note: Specify a private subnet range (RFC 1918) to be used for vCenter, NSX Manager, and ESX hosts. Choose a range that will not conflict with other networks you will connect to this SDDC. Minimum CIDR sizes:
/23
for up to 27 hosts;/20
for up to 251 hosts, and/16
for up to 4091 hosts.Note: Reserved CIDRs:
10.0.0.0/15
and172.31.0.0/16
.- vxlan
Subnet String - A logical network segment that will be created with the SDDC under the compute gateway.
Supporting Types
SddcAccountLinkSddcConfig, SddcAccountLinkSddcConfigArgs
- Connected
Account stringId - Customer
Subnet List<string>Ids
- Connected
Account stringId - Customer
Subnet []stringIds
- connected
Account StringId - customer
Subnet List<String>Ids
- connected
Account stringId - customer
Subnet string[]Ids
- connected_
account_ strid - customer_
subnet_ Sequence[str]ids
- connected
Account StringId - customer
Subnet List<String>Ids
SddcMicrosoftLicensingConfig, SddcMicrosoftLicensingConfigArgs
- Academic
License bool - Flag to identify if it is Academic Standard or Commercial Standard License.
- Mssql
Licensing string - The status of MSSQL licensing for this SDDC’s clusters. Possible values : enabled, ENABLED, disabled, DISABLED.
- Windows
Licensing string - The status of Windows licensing for this SDDC's clusters. Possible values : enabled, ENABLED, disabled, DISABLED.
- Academic
License bool - Flag to identify if it is Academic Standard or Commercial Standard License.
- Mssql
Licensing string - The status of MSSQL licensing for this SDDC’s clusters. Possible values : enabled, ENABLED, disabled, DISABLED.
- Windows
Licensing string - The status of Windows licensing for this SDDC's clusters. Possible values : enabled, ENABLED, disabled, DISABLED.
- academic
License Boolean - Flag to identify if it is Academic Standard or Commercial Standard License.
- mssql
Licensing String - The status of MSSQL licensing for this SDDC’s clusters. Possible values : enabled, ENABLED, disabled, DISABLED.
- windows
Licensing String - The status of Windows licensing for this SDDC's clusters. Possible values : enabled, ENABLED, disabled, DISABLED.
- academic
License boolean - Flag to identify if it is Academic Standard or Commercial Standard License.
- mssql
Licensing string - The status of MSSQL licensing for this SDDC’s clusters. Possible values : enabled, ENABLED, disabled, DISABLED.
- windows
Licensing string - The status of Windows licensing for this SDDC's clusters. Possible values : enabled, ENABLED, disabled, DISABLED.
- academic_
license bool - Flag to identify if it is Academic Standard or Commercial Standard License.
- mssql_
licensing str - The status of MSSQL licensing for this SDDC’s clusters. Possible values : enabled, ENABLED, disabled, DISABLED.
- windows_
licensing str - The status of Windows licensing for this SDDC's clusters. Possible values : enabled, ENABLED, disabled, DISABLED.
- academic
License Boolean - Flag to identify if it is Academic Standard or Commercial Standard License.
- mssql
Licensing String - The status of MSSQL licensing for this SDDC’s clusters. Possible values : enabled, ENABLED, disabled, DISABLED.
- windows
Licensing String - The status of Windows licensing for this SDDC's clusters. Possible values : enabled, ENABLED, disabled, DISABLED.
SddcTimeouts, SddcTimeoutsArgs
Import
Import the resource using the id
.
$ pulumi import vmc:index/sddc:Sddc sddc_1 id`
For example:
$ pulumi import vmc:index/sddc:Sddc sddc_1 afe7a0fd-3f0a-48b2-9ddb-0489c22732ae`
re-created. This is due to a limitation in the current GET
and UPDATE
SDDC
APIs. Hence, the import functionality is only partially supported.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- vmc vmware/terraform-provider-vmc
- License
- Notes
- This Pulumi package is based on the
vmc
Terraform Provider.