vmc.SddcGroup
Explore with Pulumi AI
Provides a resource to add SDDCs into an SDDC Group.
Create SddcGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SddcGroup(name: string, args: SddcGroupArgs, opts?: CustomResourceOptions);
@overload
def SddcGroup(resource_name: str,
args: SddcGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SddcGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
sddc_member_ids: Optional[Sequence[str]] = None,
external_tgw_region: Optional[str] = None,
dxgw_allowed_prefixes: Optional[str] = None,
dxgw_status: Optional[str] = None,
external_tgw_configured_prefixes: Optional[str] = None,
external_tgw_id: Optional[str] = None,
external_tgw_owner: Optional[str] = None,
dxgw_id: Optional[str] = None,
name: Optional[str] = None,
sddc_group_id: Optional[str] = None,
dxgw_owner: Optional[str] = None,
tgw_id: Optional[str] = None,
tgw_region: Optional[str] = None,
timeouts: Optional[SddcGroupTimeoutsArgs] = None,
vpc_attachment_status: Optional[str] = None,
vpc_attachments: Optional[Sequence[SddcGroupVpcAttachmentArgs]] = None,
vpc_aws_account: Optional[str] = None,
vpc_ram_share_id: Optional[str] = None)
func NewSddcGroup(ctx *Context, name string, args SddcGroupArgs, opts ...ResourceOption) (*SddcGroup, error)
public SddcGroup(string name, SddcGroupArgs args, CustomResourceOptions? opts = null)
public SddcGroup(String name, SddcGroupArgs args)
public SddcGroup(String name, SddcGroupArgs args, CustomResourceOptions options)
type: vmc:SddcGroup
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 SddcGroupArgs
- 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 SddcGroupArgs
- 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 SddcGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SddcGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SddcGroupArgs
- 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 sddcGroupResource = new Vmc.SddcGroup("sddcGroupResource", new()
{
Description = "string",
SddcMemberIds = new[]
{
"string",
},
ExternalTgwRegion = "string",
DxgwAllowedPrefixes = "string",
DxgwStatus = "string",
ExternalTgwConfiguredPrefixes = "string",
ExternalTgwId = "string",
ExternalTgwOwner = "string",
DxgwId = "string",
Name = "string",
SddcGroupId = "string",
DxgwOwner = "string",
TgwId = "string",
TgwRegion = "string",
Timeouts = new Vmc.Inputs.SddcGroupTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
VpcAttachmentStatus = "string",
VpcAttachments = new[]
{
new Vmc.Inputs.SddcGroupVpcAttachmentArgs
{
AttachId = "string",
ConfiguredPrefixes = "string",
State = "string",
VpcId = "string",
},
},
VpcAwsAccount = "string",
VpcRamShareId = "string",
});
example, err := vmc.NewSddcGroup(ctx, "sddcGroupResource", &vmc.SddcGroupArgs{
Description: pulumi.String("string"),
SddcMemberIds: pulumi.StringArray{
pulumi.String("string"),
},
ExternalTgwRegion: pulumi.String("string"),
DxgwAllowedPrefixes: pulumi.String("string"),
DxgwStatus: pulumi.String("string"),
ExternalTgwConfiguredPrefixes: pulumi.String("string"),
ExternalTgwId: pulumi.String("string"),
ExternalTgwOwner: pulumi.String("string"),
DxgwId: pulumi.String("string"),
Name: pulumi.String("string"),
SddcGroupId: pulumi.String("string"),
DxgwOwner: pulumi.String("string"),
TgwId: pulumi.String("string"),
TgwRegion: pulumi.String("string"),
Timeouts: &vmc.SddcGroupTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
VpcAttachmentStatus: pulumi.String("string"),
VpcAttachments: vmc.SddcGroupVpcAttachmentArray{
&vmc.SddcGroupVpcAttachmentArgs{
AttachId: pulumi.String("string"),
ConfiguredPrefixes: pulumi.String("string"),
State: pulumi.String("string"),
VpcId: pulumi.String("string"),
},
},
VpcAwsAccount: pulumi.String("string"),
VpcRamShareId: pulumi.String("string"),
})
var sddcGroupResource = new SddcGroup("sddcGroupResource", SddcGroupArgs.builder()
.description("string")
.sddcMemberIds("string")
.externalTgwRegion("string")
.dxgwAllowedPrefixes("string")
.dxgwStatus("string")
.externalTgwConfiguredPrefixes("string")
.externalTgwId("string")
.externalTgwOwner("string")
.dxgwId("string")
.name("string")
.sddcGroupId("string")
.dxgwOwner("string")
.tgwId("string")
.tgwRegion("string")
.timeouts(SddcGroupTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.vpcAttachmentStatus("string")
.vpcAttachments(SddcGroupVpcAttachmentArgs.builder()
.attachId("string")
.configuredPrefixes("string")
.state("string")
.vpcId("string")
.build())
.vpcAwsAccount("string")
.vpcRamShareId("string")
.build());
sddc_group_resource = vmc.SddcGroup("sddcGroupResource",
description="string",
sddc_member_ids=["string"],
external_tgw_region="string",
dxgw_allowed_prefixes="string",
dxgw_status="string",
external_tgw_configured_prefixes="string",
external_tgw_id="string",
external_tgw_owner="string",
dxgw_id="string",
name="string",
sddc_group_id="string",
dxgw_owner="string",
tgw_id="string",
tgw_region="string",
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
vpc_attachment_status="string",
vpc_attachments=[{
"attach_id": "string",
"configured_prefixes": "string",
"state": "string",
"vpc_id": "string",
}],
vpc_aws_account="string",
vpc_ram_share_id="string")
const sddcGroupResource = new vmc.SddcGroup("sddcGroupResource", {
description: "string",
sddcMemberIds: ["string"],
externalTgwRegion: "string",
dxgwAllowedPrefixes: "string",
dxgwStatus: "string",
externalTgwConfiguredPrefixes: "string",
externalTgwId: "string",
externalTgwOwner: "string",
dxgwId: "string",
name: "string",
sddcGroupId: "string",
dxgwOwner: "string",
tgwId: "string",
tgwRegion: "string",
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
vpcAttachmentStatus: "string",
vpcAttachments: [{
attachId: "string",
configuredPrefixes: "string",
state: "string",
vpcId: "string",
}],
vpcAwsAccount: "string",
vpcRamShareId: "string",
});
type: vmc:SddcGroup
properties:
description: string
dxgwAllowedPrefixes: string
dxgwId: string
dxgwOwner: string
dxgwStatus: string
externalTgwConfiguredPrefixes: string
externalTgwId: string
externalTgwOwner: string
externalTgwRegion: string
name: string
sddcGroupId: string
sddcMemberIds:
- string
tgwId: string
tgwRegion: string
timeouts:
create: string
delete: string
update: string
vpcAttachmentStatus: string
vpcAttachments:
- attachId: string
configuredPrefixes: string
state: string
vpcId: string
vpcAwsAccount: string
vpcRamShareId: string
SddcGroup 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 SddcGroup resource accepts the following input properties:
- Description string
- Short description of the SDDC Group.
- Sddc
Member List<string>Ids - IDs of the SDDCs to be included as members in the SDDC Group.
- Dxgw
Allowed stringPrefixes - Dxgw
Id string - Dxgw
Owner string - Dxgw
Status string - External
Tgw stringConfigured Prefixes - External
Tgw stringId - External
Tgw stringOwner - External
Tgw stringRegion - Name string
- Name of the SDDC Group.
- Sddc
Group stringId - Tgw
Id string - Tgw
Region string - Timeouts
Sddc
Group Timeouts - Vpc
Attachment stringStatus - Vpc
Attachments List<SddcGroup Vpc Attachment> - Vpc
Aws stringAccount - string
- Description string
- Short description of the SDDC Group.
- Sddc
Member []stringIds - IDs of the SDDCs to be included as members in the SDDC Group.
- Dxgw
Allowed stringPrefixes - Dxgw
Id string - Dxgw
Owner string - Dxgw
Status string - External
Tgw stringConfigured Prefixes - External
Tgw stringId - External
Tgw stringOwner - External
Tgw stringRegion - Name string
- Name of the SDDC Group.
- Sddc
Group stringId - Tgw
Id string - Tgw
Region string - Timeouts
Sddc
Group Timeouts Args - Vpc
Attachment stringStatus - Vpc
Attachments []SddcGroup Vpc Attachment Args - Vpc
Aws stringAccount - string
- description String
- Short description of the SDDC Group.
- sddc
Member List<String>Ids - IDs of the SDDCs to be included as members in the SDDC Group.
- dxgw
Allowed StringPrefixes - dxgw
Id String - dxgw
Owner String - dxgw
Status String - external
Tgw StringConfigured Prefixes - external
Tgw StringId - external
Tgw StringOwner - external
Tgw StringRegion - name String
- Name of the SDDC Group.
- sddc
Group StringId - tgw
Id String - tgw
Region String - timeouts
Sddc
Group Timeouts - vpc
Attachment StringStatus - vpc
Attachments List<SddcGroup Vpc Attachment> - vpc
Aws StringAccount - String
- description string
- Short description of the SDDC Group.
- sddc
Member string[]Ids - IDs of the SDDCs to be included as members in the SDDC Group.
- dxgw
Allowed stringPrefixes - dxgw
Id string - dxgw
Owner string - dxgw
Status string - external
Tgw stringConfigured Prefixes - external
Tgw stringId - external
Tgw stringOwner - external
Tgw stringRegion - name string
- Name of the SDDC Group.
- sddc
Group stringId - tgw
Id string - tgw
Region string - timeouts
Sddc
Group Timeouts - vpc
Attachment stringStatus - vpc
Attachments SddcGroup Vpc Attachment[] - vpc
Aws stringAccount - string
- description str
- Short description of the SDDC Group.
- sddc_
member_ Sequence[str]ids - IDs of the SDDCs to be included as members in the SDDC Group.
- dxgw_
allowed_ strprefixes - dxgw_
id str - dxgw_
owner str - dxgw_
status str - external_
tgw_ strconfigured_ prefixes - external_
tgw_ strid - external_
tgw_ strowner - external_
tgw_ strregion - name str
- Name of the SDDC Group.
- sddc_
group_ strid - tgw_
id str - tgw_
region str - timeouts
Sddc
Group Timeouts Args - vpc_
attachment_ strstatus - vpc_
attachments Sequence[SddcGroup Vpc Attachment Args] - vpc_
aws_ straccount - str
- description String
- Short description of the SDDC Group.
- sddc
Member List<String>Ids - IDs of the SDDCs to be included as members in the SDDC Group.
- dxgw
Allowed StringPrefixes - dxgw
Id String - dxgw
Owner String - dxgw
Status String - external
Tgw StringConfigured Prefixes - external
Tgw StringId - external
Tgw StringOwner - external
Tgw StringRegion - name String
- Name of the SDDC Group.
- sddc
Group StringId - tgw
Id String - tgw
Region String - timeouts Property Map
- vpc
Attachment StringStatus - vpc
Attachments List<Property Map> - vpc
Aws StringAccount - String
Outputs
All input properties are implicitly available as output properties. Additionally, the SddcGroup resource produces the following output properties:
Look up Existing SddcGroup Resource
Get an existing SddcGroup 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?: SddcGroupState, opts?: CustomResourceOptions): SddcGroup
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
creator: Optional[str] = None,
deleted: Optional[bool] = None,
description: Optional[str] = None,
dxgw_allowed_prefixes: Optional[str] = None,
dxgw_id: Optional[str] = None,
dxgw_owner: Optional[str] = None,
dxgw_status: Optional[str] = None,
external_tgw_configured_prefixes: Optional[str] = None,
external_tgw_id: Optional[str] = None,
external_tgw_owner: Optional[str] = None,
external_tgw_region: Optional[str] = None,
name: Optional[str] = None,
org_id: Optional[str] = None,
sddc_group_id: Optional[str] = None,
sddc_member_ids: Optional[Sequence[str]] = None,
tgw_id: Optional[str] = None,
tgw_region: Optional[str] = None,
timeouts: Optional[SddcGroupTimeoutsArgs] = None,
timestamp: Optional[str] = None,
vpc_attachment_status: Optional[str] = None,
vpc_attachments: Optional[Sequence[SddcGroupVpcAttachmentArgs]] = None,
vpc_aws_account: Optional[str] = None,
vpc_ram_share_id: Optional[str] = None) -> SddcGroup
func GetSddcGroup(ctx *Context, name string, id IDInput, state *SddcGroupState, opts ...ResourceOption) (*SddcGroup, error)
public static SddcGroup Get(string name, Input<string> id, SddcGroupState? state, CustomResourceOptions? opts = null)
public static SddcGroup get(String name, Output<String> id, SddcGroupState state, CustomResourceOptions options)
resources: _: type: vmc:SddcGroup 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.
- Creator string
- Deleted bool
- Description string
- Short description of the SDDC Group.
- Dxgw
Allowed stringPrefixes - Dxgw
Id string - Dxgw
Owner string - Dxgw
Status string - External
Tgw stringConfigured Prefixes - External
Tgw stringId - External
Tgw stringOwner - External
Tgw stringRegion - Name string
- Name of the SDDC Group.
- Org
Id string - Sddc
Group stringId - Sddc
Member List<string>Ids - IDs of the SDDCs to be included as members in the SDDC Group.
- Tgw
Id string - Tgw
Region string - Timeouts
Sddc
Group Timeouts - Timestamp string
- Vpc
Attachment stringStatus - Vpc
Attachments List<SddcGroup Vpc Attachment> - Vpc
Aws stringAccount - string
- Creator string
- Deleted bool
- Description string
- Short description of the SDDC Group.
- Dxgw
Allowed stringPrefixes - Dxgw
Id string - Dxgw
Owner string - Dxgw
Status string - External
Tgw stringConfigured Prefixes - External
Tgw stringId - External
Tgw stringOwner - External
Tgw stringRegion - Name string
- Name of the SDDC Group.
- Org
Id string - Sddc
Group stringId - Sddc
Member []stringIds - IDs of the SDDCs to be included as members in the SDDC Group.
- Tgw
Id string - Tgw
Region string - Timeouts
Sddc
Group Timeouts Args - Timestamp string
- Vpc
Attachment stringStatus - Vpc
Attachments []SddcGroup Vpc Attachment Args - Vpc
Aws stringAccount - string
- creator String
- deleted Boolean
- description String
- Short description of the SDDC Group.
- dxgw
Allowed StringPrefixes - dxgw
Id String - dxgw
Owner String - dxgw
Status String - external
Tgw StringConfigured Prefixes - external
Tgw StringId - external
Tgw StringOwner - external
Tgw StringRegion - name String
- Name of the SDDC Group.
- org
Id String - sddc
Group StringId - sddc
Member List<String>Ids - IDs of the SDDCs to be included as members in the SDDC Group.
- tgw
Id String - tgw
Region String - timeouts
Sddc
Group Timeouts - timestamp String
- vpc
Attachment StringStatus - vpc
Attachments List<SddcGroup Vpc Attachment> - vpc
Aws StringAccount - String
- creator string
- deleted boolean
- description string
- Short description of the SDDC Group.
- dxgw
Allowed stringPrefixes - dxgw
Id string - dxgw
Owner string - dxgw
Status string - external
Tgw stringConfigured Prefixes - external
Tgw stringId - external
Tgw stringOwner - external
Tgw stringRegion - name string
- Name of the SDDC Group.
- org
Id string - sddc
Group stringId - sddc
Member string[]Ids - IDs of the SDDCs to be included as members in the SDDC Group.
- tgw
Id string - tgw
Region string - timeouts
Sddc
Group Timeouts - timestamp string
- vpc
Attachment stringStatus - vpc
Attachments SddcGroup Vpc Attachment[] - vpc
Aws stringAccount - string
- creator str
- deleted bool
- description str
- Short description of the SDDC Group.
- dxgw_
allowed_ strprefixes - dxgw_
id str - dxgw_
owner str - dxgw_
status str - external_
tgw_ strconfigured_ prefixes - external_
tgw_ strid - external_
tgw_ strowner - external_
tgw_ strregion - name str
- Name of the SDDC Group.
- org_
id str - sddc_
group_ strid - sddc_
member_ Sequence[str]ids - IDs of the SDDCs to be included as members in the SDDC Group.
- tgw_
id str - tgw_
region str - timeouts
Sddc
Group Timeouts Args - timestamp str
- vpc_
attachment_ strstatus - vpc_
attachments Sequence[SddcGroup Vpc Attachment Args] - vpc_
aws_ straccount - str
- creator String
- deleted Boolean
- description String
- Short description of the SDDC Group.
- dxgw
Allowed StringPrefixes - dxgw
Id String - dxgw
Owner String - dxgw
Status String - external
Tgw StringConfigured Prefixes - external
Tgw StringId - external
Tgw StringOwner - external
Tgw StringRegion - name String
- Name of the SDDC Group.
- org
Id String - sddc
Group StringId - sddc
Member List<String>Ids - IDs of the SDDCs to be included as members in the SDDC Group.
- tgw
Id String - tgw
Region String - timeouts Property Map
- timestamp String
- vpc
Attachment StringStatus - vpc
Attachments List<Property Map> - vpc
Aws StringAccount - String
Supporting Types
SddcGroupTimeouts, SddcGroupTimeoutsArgs
SddcGroupVpcAttachment, SddcGroupVpcAttachmentArgs
- Attach
Id string - Configured
Prefixes string - State string
- Vpc
Id string
- Attach
Id string - Configured
Prefixes string - State string
- Vpc
Id string
- attach
Id String - configured
Prefixes String - state String
- vpc
Id String
- attach
Id string - configured
Prefixes string - state string
- vpc
Id string
- attach_
id str - configured_
prefixes str - state str
- vpc_
id str
- attach
Id String - configured
Prefixes String - state String
- vpc
Id String
Package Details
- Repository
- vmc vmware/terraform-provider-vmc
- License
- Notes
- This Pulumi package is based on the
vmc
Terraform Provider.