nsxt.EdgeCluster
Explore with Pulumi AI
Create EdgeCluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EdgeCluster(name: string, args: EdgeClusterArgs, opts?: CustomResourceOptions);
@overload
def EdgeCluster(resource_name: str,
args: EdgeClusterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EdgeCluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
description: Optional[str] = None,
edge_cluster_id: Optional[str] = None,
edge_ha_profile_id: Optional[str] = None,
failure_domain_allocation: Optional[str] = None,
members: Optional[Sequence[EdgeClusterMemberArgs]] = None,
tags: Optional[Sequence[EdgeClusterTagArgs]] = None)
func NewEdgeCluster(ctx *Context, name string, args EdgeClusterArgs, opts ...ResourceOption) (*EdgeCluster, error)
public EdgeCluster(string name, EdgeClusterArgs args, CustomResourceOptions? opts = null)
public EdgeCluster(String name, EdgeClusterArgs args)
public EdgeCluster(String name, EdgeClusterArgs args, CustomResourceOptions options)
type: nsxt:EdgeCluster
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 EdgeClusterArgs
- 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 EdgeClusterArgs
- 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 EdgeClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EdgeClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EdgeClusterArgs
- 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 edgeClusterResource = new Nsxt.EdgeCluster("edgeClusterResource", new()
{
DisplayName = "string",
Description = "string",
EdgeClusterId = "string",
EdgeHaProfileId = "string",
FailureDomainAllocation = "string",
Members = new[]
{
new Nsxt.Inputs.EdgeClusterMemberArgs
{
TransportNodeId = "string",
Description = "string",
DisplayName = "string",
MemberIndex = 0,
},
},
Tags = new[]
{
new Nsxt.Inputs.EdgeClusterTagArgs
{
Scope = "string",
Tag = "string",
},
},
});
example, err := nsxt.NewEdgeCluster(ctx, "edgeClusterResource", &nsxt.EdgeClusterArgs{
DisplayName: pulumi.String("string"),
Description: pulumi.String("string"),
EdgeClusterId: pulumi.String("string"),
EdgeHaProfileId: pulumi.String("string"),
FailureDomainAllocation: pulumi.String("string"),
Members: nsxt.EdgeClusterMemberArray{
&nsxt.EdgeClusterMemberArgs{
TransportNodeId: pulumi.String("string"),
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
MemberIndex: pulumi.Float64(0),
},
},
Tags: nsxt.EdgeClusterTagArray{
&nsxt.EdgeClusterTagArgs{
Scope: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
})
var edgeClusterResource = new EdgeCluster("edgeClusterResource", EdgeClusterArgs.builder()
.displayName("string")
.description("string")
.edgeClusterId("string")
.edgeHaProfileId("string")
.failureDomainAllocation("string")
.members(EdgeClusterMemberArgs.builder()
.transportNodeId("string")
.description("string")
.displayName("string")
.memberIndex(0)
.build())
.tags(EdgeClusterTagArgs.builder()
.scope("string")
.tag("string")
.build())
.build());
edge_cluster_resource = nsxt.EdgeCluster("edgeClusterResource",
display_name="string",
description="string",
edge_cluster_id="string",
edge_ha_profile_id="string",
failure_domain_allocation="string",
members=[{
"transport_node_id": "string",
"description": "string",
"display_name": "string",
"member_index": 0,
}],
tags=[{
"scope": "string",
"tag": "string",
}])
const edgeClusterResource = new nsxt.EdgeCluster("edgeClusterResource", {
displayName: "string",
description: "string",
edgeClusterId: "string",
edgeHaProfileId: "string",
failureDomainAllocation: "string",
members: [{
transportNodeId: "string",
description: "string",
displayName: "string",
memberIndex: 0,
}],
tags: [{
scope: "string",
tag: "string",
}],
});
type: nsxt:EdgeCluster
properties:
description: string
displayName: string
edgeClusterId: string
edgeHaProfileId: string
failureDomainAllocation: string
members:
- description: string
displayName: string
memberIndex: 0
transportNodeId: string
tags:
- scope: string
tag: string
EdgeCluster 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 EdgeCluster resource accepts the following input properties:
- Display
Name string - Display name of the resource.
- Description string
- Description of the resource.
- Edge
Cluster stringId - ID of the resource.
- Edge
Ha stringProfile Id - Edge high availability cluster profile ID.
- Failure
Domain stringAllocation - Flag to enable failure domain based allocation. Enable placement algorithm to consider failure domain of edge transport nodes and place active and standby contexts in different failure domains. Supported values are
enable
anddisable
. - Members
List<Edge
Cluster Member> - Edge cluster members
- List<Edge
Cluster Tag> - A list of scope + tag pairs to associate with this resource.
- Display
Name string - Display name of the resource.
- Description string
- Description of the resource.
- Edge
Cluster stringId - ID of the resource.
- Edge
Ha stringProfile Id - Edge high availability cluster profile ID.
- Failure
Domain stringAllocation - Flag to enable failure domain based allocation. Enable placement algorithm to consider failure domain of edge transport nodes and place active and standby contexts in different failure domains. Supported values are
enable
anddisable
. - Members
[]Edge
Cluster Member Args - Edge cluster members
- []Edge
Cluster Tag Args - A list of scope + tag pairs to associate with this resource.
- display
Name String - Display name of the resource.
- description String
- Description of the resource.
- edge
Cluster StringId - ID of the resource.
- edge
Ha StringProfile Id - Edge high availability cluster profile ID.
- failure
Domain StringAllocation - Flag to enable failure domain based allocation. Enable placement algorithm to consider failure domain of edge transport nodes and place active and standby contexts in different failure domains. Supported values are
enable
anddisable
. - members
List<Edge
Cluster Member> - Edge cluster members
- List<Edge
Cluster Tag> - A list of scope + tag pairs to associate with this resource.
- display
Name string - Display name of the resource.
- description string
- Description of the resource.
- edge
Cluster stringId - ID of the resource.
- edge
Ha stringProfile Id - Edge high availability cluster profile ID.
- failure
Domain stringAllocation - Flag to enable failure domain based allocation. Enable placement algorithm to consider failure domain of edge transport nodes and place active and standby contexts in different failure domains. Supported values are
enable
anddisable
. - members
Edge
Cluster Member[] - Edge cluster members
- Edge
Cluster Tag[] - A list of scope + tag pairs to associate with this resource.
- display_
name str - Display name of the resource.
- description str
- Description of the resource.
- edge_
cluster_ strid - ID of the resource.
- edge_
ha_ strprofile_ id - Edge high availability cluster profile ID.
- failure_
domain_ strallocation - Flag to enable failure domain based allocation. Enable placement algorithm to consider failure domain of edge transport nodes and place active and standby contexts in different failure domains. Supported values are
enable
anddisable
. - members
Sequence[Edge
Cluster Member Args] - Edge cluster members
- Sequence[Edge
Cluster Tag Args] - A list of scope + tag pairs to associate with this resource.
- display
Name String - Display name of the resource.
- description String
- Description of the resource.
- edge
Cluster StringId - ID of the resource.
- edge
Ha StringProfile Id - Edge high availability cluster profile ID.
- failure
Domain StringAllocation - Flag to enable failure domain based allocation. Enable placement algorithm to consider failure domain of edge transport nodes and place active and standby contexts in different failure domains. Supported values are
enable
anddisable
. - members List<Property Map>
- Edge cluster members
- List<Property Map>
- A list of scope + tag pairs to associate with this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the EdgeCluster resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Member
Node stringType - Node type of the cluster members.
- Node
Rtep List<EdgeIps Cluster Node Rtep Ip> - Remote tunnel endpoint ip address.
- Revision double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Id string
- The provider-assigned unique ID for this managed resource.
- Member
Node stringType - Node type of the cluster members.
- Node
Rtep []EdgeIps Cluster Node Rtep Ip - Remote tunnel endpoint ip address.
- Revision float64
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- id String
- The provider-assigned unique ID for this managed resource.
- member
Node StringType - Node type of the cluster members.
- node
Rtep List<EdgeIps Cluster Node Rtep Ip> - Remote tunnel endpoint ip address.
- revision Double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- id string
- The provider-assigned unique ID for this managed resource.
- member
Node stringType - Node type of the cluster members.
- node
Rtep EdgeIps Cluster Node Rtep Ip[] - Remote tunnel endpoint ip address.
- revision number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- id str
- The provider-assigned unique ID for this managed resource.
- member_
node_ strtype - Node type of the cluster members.
- node_
rtep_ Sequence[Edgeips Cluster Node Rtep Ip] - Remote tunnel endpoint ip address.
- revision float
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- id String
- The provider-assigned unique ID for this managed resource.
- member
Node StringType - Node type of the cluster members.
- node
Rtep List<Property Map>Ips - Remote tunnel endpoint ip address.
- revision Number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
Look up Existing EdgeCluster Resource
Get an existing EdgeCluster 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?: EdgeClusterState, opts?: CustomResourceOptions): EdgeCluster
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
edge_cluster_id: Optional[str] = None,
edge_ha_profile_id: Optional[str] = None,
failure_domain_allocation: Optional[str] = None,
member_node_type: Optional[str] = None,
members: Optional[Sequence[EdgeClusterMemberArgs]] = None,
node_rtep_ips: Optional[Sequence[EdgeClusterNodeRtepIpArgs]] = None,
revision: Optional[float] = None,
tags: Optional[Sequence[EdgeClusterTagArgs]] = None) -> EdgeCluster
func GetEdgeCluster(ctx *Context, name string, id IDInput, state *EdgeClusterState, opts ...ResourceOption) (*EdgeCluster, error)
public static EdgeCluster Get(string name, Input<string> id, EdgeClusterState? state, CustomResourceOptions? opts = null)
public static EdgeCluster get(String name, Output<String> id, EdgeClusterState state, CustomResourceOptions options)
resources: _: type: nsxt:EdgeCluster 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.
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- Edge
Cluster stringId - ID of the resource.
- Edge
Ha stringProfile Id - Edge high availability cluster profile ID.
- Failure
Domain stringAllocation - Flag to enable failure domain based allocation. Enable placement algorithm to consider failure domain of edge transport nodes and place active and standby contexts in different failure domains. Supported values are
enable
anddisable
. - Member
Node stringType - Node type of the cluster members.
- Members
List<Edge
Cluster Member> - Edge cluster members
- Node
Rtep List<EdgeIps Cluster Node Rtep Ip> - Remote tunnel endpoint ip address.
- Revision double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- List<Edge
Cluster Tag> - A list of scope + tag pairs to associate with this resource.
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- Edge
Cluster stringId - ID of the resource.
- Edge
Ha stringProfile Id - Edge high availability cluster profile ID.
- Failure
Domain stringAllocation - Flag to enable failure domain based allocation. Enable placement algorithm to consider failure domain of edge transport nodes and place active and standby contexts in different failure domains. Supported values are
enable
anddisable
. - Member
Node stringType - Node type of the cluster members.
- Members
[]Edge
Cluster Member Args - Edge cluster members
- Node
Rtep []EdgeIps Cluster Node Rtep Ip Args - Remote tunnel endpoint ip address.
- Revision float64
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- []Edge
Cluster Tag Args - A list of scope + tag pairs to associate with this resource.
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- edge
Cluster StringId - ID of the resource.
- edge
Ha StringProfile Id - Edge high availability cluster profile ID.
- failure
Domain StringAllocation - Flag to enable failure domain based allocation. Enable placement algorithm to consider failure domain of edge transport nodes and place active and standby contexts in different failure domains. Supported values are
enable
anddisable
. - member
Node StringType - Node type of the cluster members.
- members
List<Edge
Cluster Member> - Edge cluster members
- node
Rtep List<EdgeIps Cluster Node Rtep Ip> - Remote tunnel endpoint ip address.
- revision Double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- List<Edge
Cluster Tag> - A list of scope + tag pairs to associate with this resource.
- description string
- Description of the resource.
- display
Name string - Display name of the resource.
- edge
Cluster stringId - ID of the resource.
- edge
Ha stringProfile Id - Edge high availability cluster profile ID.
- failure
Domain stringAllocation - Flag to enable failure domain based allocation. Enable placement algorithm to consider failure domain of edge transport nodes and place active and standby contexts in different failure domains. Supported values are
enable
anddisable
. - member
Node stringType - Node type of the cluster members.
- members
Edge
Cluster Member[] - Edge cluster members
- node
Rtep EdgeIps Cluster Node Rtep Ip[] - Remote tunnel endpoint ip address.
- revision number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Edge
Cluster Tag[] - A list of scope + tag pairs to associate with this resource.
- description str
- Description of the resource.
- display_
name str - Display name of the resource.
- edge_
cluster_ strid - ID of the resource.
- edge_
ha_ strprofile_ id - Edge high availability cluster profile ID.
- failure_
domain_ strallocation - Flag to enable failure domain based allocation. Enable placement algorithm to consider failure domain of edge transport nodes and place active and standby contexts in different failure domains. Supported values are
enable
anddisable
. - member_
node_ strtype - Node type of the cluster members.
- members
Sequence[Edge
Cluster Member Args] - Edge cluster members
- node_
rtep_ Sequence[Edgeips Cluster Node Rtep Ip Args] - Remote tunnel endpoint ip address.
- revision float
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Sequence[Edge
Cluster Tag Args] - A list of scope + tag pairs to associate with this resource.
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- edge
Cluster StringId - ID of the resource.
- edge
Ha StringProfile Id - Edge high availability cluster profile ID.
- failure
Domain StringAllocation - Flag to enable failure domain based allocation. Enable placement algorithm to consider failure domain of edge transport nodes and place active and standby contexts in different failure domains. Supported values are
enable
anddisable
. - member
Node StringType - Node type of the cluster members.
- members List<Property Map>
- Edge cluster members
- node
Rtep List<Property Map>Ips - Remote tunnel endpoint ip address.
- revision Number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- List<Property Map>
- A list of scope + tag pairs to associate with this resource.
Supporting Types
EdgeClusterMember, EdgeClusterMemberArgs
- Transport
Node stringId - UUID of edge transport node.
- Description string
- Description of this resource.
- Display
Name string - The display name of this resource. Defaults to ID if not set.
- Member
Index double - System generated index for cluster member.
- Transport
Node stringId - UUID of edge transport node.
- Description string
- Description of this resource.
- Display
Name string - The display name of this resource. Defaults to ID if not set.
- Member
Index float64 - System generated index for cluster member.
- transport
Node StringId - UUID of edge transport node.
- description String
- Description of this resource.
- display
Name String - The display name of this resource. Defaults to ID if not set.
- member
Index Double - System generated index for cluster member.
- transport
Node stringId - UUID of edge transport node.
- description string
- Description of this resource.
- display
Name string - The display name of this resource. Defaults to ID if not set.
- member
Index number - System generated index for cluster member.
- transport_
node_ strid - UUID of edge transport node.
- description str
- Description of this resource.
- display_
name str - The display name of this resource. Defaults to ID if not set.
- member_
index float - System generated index for cluster member.
- transport
Node StringId - UUID of edge transport node.
- description String
- Description of this resource.
- display
Name String - The display name of this resource. Defaults to ID if not set.
- member
Index Number - System generated index for cluster member.
EdgeClusterNodeRtepIp, EdgeClusterNodeRtepIpArgs
- Member
Index double - System generated index for cluster member
- Rtep
Ips List<string> - Remote tunnel endpoint ip address
- Transport
Node stringId - UUID of edge transport node
- Member
Index float64 - System generated index for cluster member
- Rtep
Ips []string - Remote tunnel endpoint ip address
- Transport
Node stringId - UUID of edge transport node
- member
Index Double - System generated index for cluster member
- rtep
Ips List<String> - Remote tunnel endpoint ip address
- transport
Node StringId - UUID of edge transport node
- member
Index number - System generated index for cluster member
- rtep
Ips string[] - Remote tunnel endpoint ip address
- transport
Node stringId - UUID of edge transport node
- member_
index float - System generated index for cluster member
- rtep_
ips Sequence[str] - Remote tunnel endpoint ip address
- transport_
node_ strid - UUID of edge transport node
- member
Index Number - System generated index for cluster member
- rtep
Ips List<String> - Remote tunnel endpoint ip address
- transport
Node StringId - UUID of edge transport node
EdgeClusterTag, EdgeClusterTagArgs
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.