nsxt.PolicyTier0GatewayHaVipConfig
Explore with Pulumi AI
Create PolicyTier0GatewayHaVipConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PolicyTier0GatewayHaVipConfig(name: string, args: PolicyTier0GatewayHaVipConfigArgs, opts?: CustomResourceOptions);
@overload
def PolicyTier0GatewayHaVipConfig(resource_name: str,
args: PolicyTier0GatewayHaVipConfigArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PolicyTier0GatewayHaVipConfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
configs: Optional[Sequence[PolicyTier0GatewayHaVipConfigConfigArgs]] = None,
policy_tier0_gateway_ha_vip_config_id: Optional[str] = None)
func NewPolicyTier0GatewayHaVipConfig(ctx *Context, name string, args PolicyTier0GatewayHaVipConfigArgs, opts ...ResourceOption) (*PolicyTier0GatewayHaVipConfig, error)
public PolicyTier0GatewayHaVipConfig(string name, PolicyTier0GatewayHaVipConfigArgs args, CustomResourceOptions? opts = null)
public PolicyTier0GatewayHaVipConfig(String name, PolicyTier0GatewayHaVipConfigArgs args)
public PolicyTier0GatewayHaVipConfig(String name, PolicyTier0GatewayHaVipConfigArgs args, CustomResourceOptions options)
type: nsxt:PolicyTier0GatewayHaVipConfig
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 PolicyTier0GatewayHaVipConfigArgs
- 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 PolicyTier0GatewayHaVipConfigArgs
- 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 PolicyTier0GatewayHaVipConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyTier0GatewayHaVipConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyTier0GatewayHaVipConfigArgs
- 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 policyTier0GatewayHaVipConfigResource = new Nsxt.PolicyTier0GatewayHaVipConfig("policyTier0GatewayHaVipConfigResource", new()
{
Configs = new[]
{
new Nsxt.Inputs.PolicyTier0GatewayHaVipConfigConfigArgs
{
ExternalInterfacePaths = new[]
{
"string",
},
VipSubnets = new[]
{
"string",
},
Enabled = false,
},
},
PolicyTier0GatewayHaVipConfigId = "string",
});
example, err := nsxt.NewPolicyTier0GatewayHaVipConfig(ctx, "policyTier0GatewayHaVipConfigResource", &nsxt.PolicyTier0GatewayHaVipConfigArgs{
Configs: nsxt.PolicyTier0GatewayHaVipConfigConfigArray{
&nsxt.PolicyTier0GatewayHaVipConfigConfigArgs{
ExternalInterfacePaths: pulumi.StringArray{
pulumi.String("string"),
},
VipSubnets: pulumi.StringArray{
pulumi.String("string"),
},
Enabled: pulumi.Bool(false),
},
},
PolicyTier0GatewayHaVipConfigId: pulumi.String("string"),
})
var policyTier0GatewayHaVipConfigResource = new PolicyTier0GatewayHaVipConfig("policyTier0GatewayHaVipConfigResource", PolicyTier0GatewayHaVipConfigArgs.builder()
.configs(PolicyTier0GatewayHaVipConfigConfigArgs.builder()
.externalInterfacePaths("string")
.vipSubnets("string")
.enabled(false)
.build())
.policyTier0GatewayHaVipConfigId("string")
.build());
policy_tier0_gateway_ha_vip_config_resource = nsxt.PolicyTier0GatewayHaVipConfig("policyTier0GatewayHaVipConfigResource",
configs=[{
"external_interface_paths": ["string"],
"vip_subnets": ["string"],
"enabled": False,
}],
policy_tier0_gateway_ha_vip_config_id="string")
const policyTier0GatewayHaVipConfigResource = new nsxt.PolicyTier0GatewayHaVipConfig("policyTier0GatewayHaVipConfigResource", {
configs: [{
externalInterfacePaths: ["string"],
vipSubnets: ["string"],
enabled: false,
}],
policyTier0GatewayHaVipConfigId: "string",
});
type: nsxt:PolicyTier0GatewayHaVipConfig
properties:
configs:
- enabled: false
externalInterfacePaths:
- string
vipSubnets:
- string
policyTier0GatewayHaVipConfigId: string
PolicyTier0GatewayHaVipConfig 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 PolicyTier0GatewayHaVipConfig resource accepts the following input properties:
- Configs
List<Policy
Tier0Gateway Ha Vip Config Config> - List of HA vip configurations (all belonging to the same Tier0 locale-service) containing:
- Policy
Tier0Gateway stringHa Vip Config Id - ID of the resource.
- Configs
[]Policy
Tier0Gateway Ha Vip Config Config Args - List of HA vip configurations (all belonging to the same Tier0 locale-service) containing:
- Policy
Tier0Gateway stringHa Vip Config Id - ID of the resource.
- configs
List<Policy
Tier0Gateway Ha Vip Config Config> - List of HA vip configurations (all belonging to the same Tier0 locale-service) containing:
- policy
Tier0Gateway StringHa Vip Config Id - ID of the resource.
- configs
Policy
Tier0Gateway Ha Vip Config Config[] - List of HA vip configurations (all belonging to the same Tier0 locale-service) containing:
- policy
Tier0Gateway stringHa Vip Config Id - ID of the resource.
- configs
Sequence[Policy
Tier0Gateway Ha Vip Config Config Args] - List of HA vip configurations (all belonging to the same Tier0 locale-service) containing:
- policy_
tier0_ strgateway_ ha_ vip_ config_ id - ID of the resource.
- configs List<Property Map>
- List of HA vip configurations (all belonging to the same Tier0 locale-service) containing:
- policy
Tier0Gateway StringHa Vip Config Id - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the PolicyTier0GatewayHaVipConfig resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Locale
Service stringId - ID of the Tier-0 Gateway locale service.
- Tier0Id string
- ID of the Tier-0 Gateway
- Id string
- The provider-assigned unique ID for this managed resource.
- Locale
Service stringId - ID of the Tier-0 Gateway locale service.
- Tier0Id string
- ID of the Tier-0 Gateway
- id String
- The provider-assigned unique ID for this managed resource.
- locale
Service StringId - ID of the Tier-0 Gateway locale service.
- tier0Id String
- ID of the Tier-0 Gateway
- id string
- The provider-assigned unique ID for this managed resource.
- locale
Service stringId - ID of the Tier-0 Gateway locale service.
- tier0Id string
- ID of the Tier-0 Gateway
- id str
- The provider-assigned unique ID for this managed resource.
- locale_
service_ strid - ID of the Tier-0 Gateway locale service.
- tier0_
id str - ID of the Tier-0 Gateway
- id String
- The provider-assigned unique ID for this managed resource.
- locale
Service StringId - ID of the Tier-0 Gateway locale service.
- tier0Id String
- ID of the Tier-0 Gateway
Look up Existing PolicyTier0GatewayHaVipConfig Resource
Get an existing PolicyTier0GatewayHaVipConfig 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?: PolicyTier0GatewayHaVipConfigState, opts?: CustomResourceOptions): PolicyTier0GatewayHaVipConfig
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
configs: Optional[Sequence[PolicyTier0GatewayHaVipConfigConfigArgs]] = None,
locale_service_id: Optional[str] = None,
policy_tier0_gateway_ha_vip_config_id: Optional[str] = None,
tier0_id: Optional[str] = None) -> PolicyTier0GatewayHaVipConfig
func GetPolicyTier0GatewayHaVipConfig(ctx *Context, name string, id IDInput, state *PolicyTier0GatewayHaVipConfigState, opts ...ResourceOption) (*PolicyTier0GatewayHaVipConfig, error)
public static PolicyTier0GatewayHaVipConfig Get(string name, Input<string> id, PolicyTier0GatewayHaVipConfigState? state, CustomResourceOptions? opts = null)
public static PolicyTier0GatewayHaVipConfig get(String name, Output<String> id, PolicyTier0GatewayHaVipConfigState state, CustomResourceOptions options)
resources: _: type: nsxt:PolicyTier0GatewayHaVipConfig 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.
- Configs
List<Policy
Tier0Gateway Ha Vip Config Config> - List of HA vip configurations (all belonging to the same Tier0 locale-service) containing:
- Locale
Service stringId - ID of the Tier-0 Gateway locale service.
- Policy
Tier0Gateway stringHa Vip Config Id - ID of the resource.
- Tier0Id string
- ID of the Tier-0 Gateway
- Configs
[]Policy
Tier0Gateway Ha Vip Config Config Args - List of HA vip configurations (all belonging to the same Tier0 locale-service) containing:
- Locale
Service stringId - ID of the Tier-0 Gateway locale service.
- Policy
Tier0Gateway stringHa Vip Config Id - ID of the resource.
- Tier0Id string
- ID of the Tier-0 Gateway
- configs
List<Policy
Tier0Gateway Ha Vip Config Config> - List of HA vip configurations (all belonging to the same Tier0 locale-service) containing:
- locale
Service StringId - ID of the Tier-0 Gateway locale service.
- policy
Tier0Gateway StringHa Vip Config Id - ID of the resource.
- tier0Id String
- ID of the Tier-0 Gateway
- configs
Policy
Tier0Gateway Ha Vip Config Config[] - List of HA vip configurations (all belonging to the same Tier0 locale-service) containing:
- locale
Service stringId - ID of the Tier-0 Gateway locale service.
- policy
Tier0Gateway stringHa Vip Config Id - ID of the resource.
- tier0Id string
- ID of the Tier-0 Gateway
- configs
Sequence[Policy
Tier0Gateway Ha Vip Config Config Args] - List of HA vip configurations (all belonging to the same Tier0 locale-service) containing:
- locale_
service_ strid - ID of the Tier-0 Gateway locale service.
- policy_
tier0_ strgateway_ ha_ vip_ config_ id - ID of the resource.
- tier0_
id str - ID of the Tier-0 Gateway
- configs List<Property Map>
- List of HA vip configurations (all belonging to the same Tier0 locale-service) containing:
- locale
Service StringId - ID of the Tier-0 Gateway locale service.
- policy
Tier0Gateway StringHa Vip Config Id - ID of the resource.
- tier0Id String
- ID of the Tier-0 Gateway
Supporting Types
PolicyTier0GatewayHaVipConfigConfig, PolicyTier0GatewayHaVipConfigConfigArgs
- External
Interface List<string>Paths - Paths of 2 external interfaces belonging to the same Tier0 gateway locale-service, which are to be paired to provide redundancy. Floating IP will be owned by one of these interfaces depending upon which edge node is active.
- Vip
Subnets List<string> - 1 or 2 Ip Addresses/Prefixes in CIDR format, which will be used as floating IP addresses.
- Enabled bool
- Flag indicating if this HA VIP config is enabled. True by default.
- External
Interface []stringPaths - Paths of 2 external interfaces belonging to the same Tier0 gateway locale-service, which are to be paired to provide redundancy. Floating IP will be owned by one of these interfaces depending upon which edge node is active.
- Vip
Subnets []string - 1 or 2 Ip Addresses/Prefixes in CIDR format, which will be used as floating IP addresses.
- Enabled bool
- Flag indicating if this HA VIP config is enabled. True by default.
- external
Interface List<String>Paths - Paths of 2 external interfaces belonging to the same Tier0 gateway locale-service, which are to be paired to provide redundancy. Floating IP will be owned by one of these interfaces depending upon which edge node is active.
- vip
Subnets List<String> - 1 or 2 Ip Addresses/Prefixes in CIDR format, which will be used as floating IP addresses.
- enabled Boolean
- Flag indicating if this HA VIP config is enabled. True by default.
- external
Interface string[]Paths - Paths of 2 external interfaces belonging to the same Tier0 gateway locale-service, which are to be paired to provide redundancy. Floating IP will be owned by one of these interfaces depending upon which edge node is active.
- vip
Subnets string[] - 1 or 2 Ip Addresses/Prefixes in CIDR format, which will be used as floating IP addresses.
- enabled boolean
- Flag indicating if this HA VIP config is enabled. True by default.
- external_
interface_ Sequence[str]paths - Paths of 2 external interfaces belonging to the same Tier0 gateway locale-service, which are to be paired to provide redundancy. Floating IP will be owned by one of these interfaces depending upon which edge node is active.
- vip_
subnets Sequence[str] - 1 or 2 Ip Addresses/Prefixes in CIDR format, which will be used as floating IP addresses.
- enabled bool
- Flag indicating if this HA VIP config is enabled. True by default.
- external
Interface List<String>Paths - Paths of 2 external interfaces belonging to the same Tier0 gateway locale-service, which are to be paired to provide redundancy. Floating IP will be owned by one of these interfaces depending upon which edge node is active.
- vip
Subnets List<String> - 1 or 2 Ip Addresses/Prefixes in CIDR format, which will be used as floating IP addresses.
- enabled Boolean
- Flag indicating if this HA VIP config is enabled. True by default.
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.