nsxt.PolicyLbIcmpMonitorProfile
Explore with Pulumi AI
Create PolicyLbIcmpMonitorProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PolicyLbIcmpMonitorProfile(name: string, args: PolicyLbIcmpMonitorProfileArgs, opts?: CustomResourceOptions);
@overload
def PolicyLbIcmpMonitorProfile(resource_name: str,
args: PolicyLbIcmpMonitorProfileArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PolicyLbIcmpMonitorProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
data_length: Optional[float] = None,
description: Optional[str] = None,
fall_count: Optional[float] = None,
interval: Optional[float] = None,
nsx_id: Optional[str] = None,
policy_lb_icmp_monitor_profile_id: Optional[str] = None,
rise_count: Optional[float] = None,
tags: Optional[Sequence[PolicyLbIcmpMonitorProfileTagArgs]] = None,
timeout: Optional[float] = None)
func NewPolicyLbIcmpMonitorProfile(ctx *Context, name string, args PolicyLbIcmpMonitorProfileArgs, opts ...ResourceOption) (*PolicyLbIcmpMonitorProfile, error)
public PolicyLbIcmpMonitorProfile(string name, PolicyLbIcmpMonitorProfileArgs args, CustomResourceOptions? opts = null)
public PolicyLbIcmpMonitorProfile(String name, PolicyLbIcmpMonitorProfileArgs args)
public PolicyLbIcmpMonitorProfile(String name, PolicyLbIcmpMonitorProfileArgs args, CustomResourceOptions options)
type: nsxt:PolicyLbIcmpMonitorProfile
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 PolicyLbIcmpMonitorProfileArgs
- 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 PolicyLbIcmpMonitorProfileArgs
- 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 PolicyLbIcmpMonitorProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyLbIcmpMonitorProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyLbIcmpMonitorProfileArgs
- 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 policyLbIcmpMonitorProfileResource = new Nsxt.PolicyLbIcmpMonitorProfile("policyLbIcmpMonitorProfileResource", new()
{
DisplayName = "string",
DataLength = 0,
Description = "string",
FallCount = 0,
Interval = 0,
NsxId = "string",
PolicyLbIcmpMonitorProfileId = "string",
RiseCount = 0,
Tags = new[]
{
new Nsxt.Inputs.PolicyLbIcmpMonitorProfileTagArgs
{
Scope = "string",
Tag = "string",
},
},
Timeout = 0,
});
example, err := nsxt.NewPolicyLbIcmpMonitorProfile(ctx, "policyLbIcmpMonitorProfileResource", &nsxt.PolicyLbIcmpMonitorProfileArgs{
DisplayName: pulumi.String("string"),
DataLength: pulumi.Float64(0),
Description: pulumi.String("string"),
FallCount: pulumi.Float64(0),
Interval: pulumi.Float64(0),
NsxId: pulumi.String("string"),
PolicyLbIcmpMonitorProfileId: pulumi.String("string"),
RiseCount: pulumi.Float64(0),
Tags: nsxt.PolicyLbIcmpMonitorProfileTagArray{
&nsxt.PolicyLbIcmpMonitorProfileTagArgs{
Scope: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
Timeout: pulumi.Float64(0),
})
var policyLbIcmpMonitorProfileResource = new PolicyLbIcmpMonitorProfile("policyLbIcmpMonitorProfileResource", PolicyLbIcmpMonitorProfileArgs.builder()
.displayName("string")
.dataLength(0)
.description("string")
.fallCount(0)
.interval(0)
.nsxId("string")
.policyLbIcmpMonitorProfileId("string")
.riseCount(0)
.tags(PolicyLbIcmpMonitorProfileTagArgs.builder()
.scope("string")
.tag("string")
.build())
.timeout(0)
.build());
policy_lb_icmp_monitor_profile_resource = nsxt.PolicyLbIcmpMonitorProfile("policyLbIcmpMonitorProfileResource",
display_name="string",
data_length=0,
description="string",
fall_count=0,
interval=0,
nsx_id="string",
policy_lb_icmp_monitor_profile_id="string",
rise_count=0,
tags=[{
"scope": "string",
"tag": "string",
}],
timeout=0)
const policyLbIcmpMonitorProfileResource = new nsxt.PolicyLbIcmpMonitorProfile("policyLbIcmpMonitorProfileResource", {
displayName: "string",
dataLength: 0,
description: "string",
fallCount: 0,
interval: 0,
nsxId: "string",
policyLbIcmpMonitorProfileId: "string",
riseCount: 0,
tags: [{
scope: "string",
tag: "string",
}],
timeout: 0,
});
type: nsxt:PolicyLbIcmpMonitorProfile
properties:
dataLength: 0
description: string
displayName: string
fallCount: 0
interval: 0
nsxId: string
policyLbIcmpMonitorProfileId: string
riseCount: 0
tags:
- scope: string
tag: string
timeout: 0
PolicyLbIcmpMonitorProfile 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 PolicyLbIcmpMonitorProfile resource accepts the following input properties:
- Display
Name string - Display name of the resource.
- Data
Length double - The data size (in bytes) of the ICMP healthcheck packet.
- Description string
- Description of the resource.
- Fall
Count double - Mark member status DOWN if the healtcheck fails consecutively for fall_count times.
- Interval double
- Active healthchecks are initiated periodically, at a configurable interval (in seconds), to each member of the Group.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Policy
Lb stringIcmp Monitor Profile Id - ID of the resource.
- Rise
Count double - Bring a DOWN member UP if rise_count successive healthchecks succeed.
- List<Policy
Lb Icmp Monitor Profile Tag> - A list of scope + tag pairs to associate with this resource.
- Timeout double
- Timeout specified in seconds. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout.
- Display
Name string - Display name of the resource.
- Data
Length float64 - The data size (in bytes) of the ICMP healthcheck packet.
- Description string
- Description of the resource.
- Fall
Count float64 - Mark member status DOWN if the healtcheck fails consecutively for fall_count times.
- Interval float64
- Active healthchecks are initiated periodically, at a configurable interval (in seconds), to each member of the Group.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Policy
Lb stringIcmp Monitor Profile Id - ID of the resource.
- Rise
Count float64 - Bring a DOWN member UP if rise_count successive healthchecks succeed.
- []Policy
Lb Icmp Monitor Profile Tag Args - A list of scope + tag pairs to associate with this resource.
- Timeout float64
- Timeout specified in seconds. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout.
- display
Name String - Display name of the resource.
- data
Length Double - The data size (in bytes) of the ICMP healthcheck packet.
- description String
- Description of the resource.
- fall
Count Double - Mark member status DOWN if the healtcheck fails consecutively for fall_count times.
- interval Double
- Active healthchecks are initiated periodically, at a configurable interval (in seconds), to each member of the Group.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
Lb StringIcmp Monitor Profile Id - ID of the resource.
- rise
Count Double - Bring a DOWN member UP if rise_count successive healthchecks succeed.
- List<Policy
Lb Icmp Monitor Profile Tag> - A list of scope + tag pairs to associate with this resource.
- timeout Double
- Timeout specified in seconds. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout.
- display
Name string - Display name of the resource.
- data
Length number - The data size (in bytes) of the ICMP healthcheck packet.
- description string
- Description of the resource.
- fall
Count number - Mark member status DOWN if the healtcheck fails consecutively for fall_count times.
- interval number
- Active healthchecks are initiated periodically, at a configurable interval (in seconds), to each member of the Group.
- nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
Lb stringIcmp Monitor Profile Id - ID of the resource.
- rise
Count number - Bring a DOWN member UP if rise_count successive healthchecks succeed.
- Policy
Lb Icmp Monitor Profile Tag[] - A list of scope + tag pairs to associate with this resource.
- timeout number
- Timeout specified in seconds. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout.
- display_
name str - Display name of the resource.
- data_
length float - The data size (in bytes) of the ICMP healthcheck packet.
- description str
- Description of the resource.
- fall_
count float - Mark member status DOWN if the healtcheck fails consecutively for fall_count times.
- interval float
- Active healthchecks are initiated periodically, at a configurable interval (in seconds), to each member of the Group.
- nsx_
id str - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy_
lb_ stricmp_ monitor_ profile_ id - ID of the resource.
- rise_
count float - Bring a DOWN member UP if rise_count successive healthchecks succeed.
- Sequence[Policy
Lb Icmp Monitor Profile Tag Args] - A list of scope + tag pairs to associate with this resource.
- timeout float
- Timeout specified in seconds. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout.
- display
Name String - Display name of the resource.
- data
Length Number - The data size (in bytes) of the ICMP healthcheck packet.
- description String
- Description of the resource.
- fall
Count Number - Mark member status DOWN if the healtcheck fails consecutively for fall_count times.
- interval Number
- Active healthchecks are initiated periodically, at a configurable interval (in seconds), to each member of the Group.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
Lb StringIcmp Monitor Profile Id - ID of the resource.
- rise
Count Number - Bring a DOWN member UP if rise_count successive healthchecks succeed.
- List<Property Map>
- A list of scope + tag pairs to associate with this resource.
- timeout Number
- Timeout specified in seconds. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout.
Outputs
All input properties are implicitly available as output properties. Additionally, the PolicyLbIcmpMonitorProfile resource produces the following output properties:
Look up Existing PolicyLbIcmpMonitorProfile Resource
Get an existing PolicyLbIcmpMonitorProfile 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?: PolicyLbIcmpMonitorProfileState, opts?: CustomResourceOptions): PolicyLbIcmpMonitorProfile
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
data_length: Optional[float] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
fall_count: Optional[float] = None,
interval: Optional[float] = None,
nsx_id: Optional[str] = None,
path: Optional[str] = None,
policy_lb_icmp_monitor_profile_id: Optional[str] = None,
revision: Optional[float] = None,
rise_count: Optional[float] = None,
tags: Optional[Sequence[PolicyLbIcmpMonitorProfileTagArgs]] = None,
timeout: Optional[float] = None) -> PolicyLbIcmpMonitorProfile
func GetPolicyLbIcmpMonitorProfile(ctx *Context, name string, id IDInput, state *PolicyLbIcmpMonitorProfileState, opts ...ResourceOption) (*PolicyLbIcmpMonitorProfile, error)
public static PolicyLbIcmpMonitorProfile Get(string name, Input<string> id, PolicyLbIcmpMonitorProfileState? state, CustomResourceOptions? opts = null)
public static PolicyLbIcmpMonitorProfile get(String name, Output<String> id, PolicyLbIcmpMonitorProfileState state, CustomResourceOptions options)
resources: _: type: nsxt:PolicyLbIcmpMonitorProfile 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.
- Data
Length double - The data size (in bytes) of the ICMP healthcheck packet.
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- Fall
Count double - Mark member status DOWN if the healtcheck fails consecutively for fall_count times.
- Interval double
- Active healthchecks are initiated periodically, at a configurable interval (in seconds), to each member of the Group.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Path string
- The NSX path of the policy resource.
- Policy
Lb stringIcmp Monitor Profile Id - ID of the resource.
- Revision double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Rise
Count double - Bring a DOWN member UP if rise_count successive healthchecks succeed.
- List<Policy
Lb Icmp Monitor Profile Tag> - A list of scope + tag pairs to associate with this resource.
- Timeout double
- Timeout specified in seconds. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout.
- Data
Length float64 - The data size (in bytes) of the ICMP healthcheck packet.
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- Fall
Count float64 - Mark member status DOWN if the healtcheck fails consecutively for fall_count times.
- Interval float64
- Active healthchecks are initiated periodically, at a configurable interval (in seconds), to each member of the Group.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Path string
- The NSX path of the policy resource.
- Policy
Lb stringIcmp Monitor Profile Id - ID of the resource.
- Revision float64
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Rise
Count float64 - Bring a DOWN member UP if rise_count successive healthchecks succeed.
- []Policy
Lb Icmp Monitor Profile Tag Args - A list of scope + tag pairs to associate with this resource.
- Timeout float64
- Timeout specified in seconds. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout.
- data
Length Double - The data size (in bytes) of the ICMP healthcheck packet.
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- fall
Count Double - Mark member status DOWN if the healtcheck fails consecutively for fall_count times.
- interval Double
- Active healthchecks are initiated periodically, at a configurable interval (in seconds), to each member of the Group.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- path String
- The NSX path of the policy resource.
- policy
Lb StringIcmp Monitor Profile Id - ID of the resource.
- revision Double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- rise
Count Double - Bring a DOWN member UP if rise_count successive healthchecks succeed.
- List<Policy
Lb Icmp Monitor Profile Tag> - A list of scope + tag pairs to associate with this resource.
- timeout Double
- Timeout specified in seconds. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout.
- data
Length number - The data size (in bytes) of the ICMP healthcheck packet.
- description string
- Description of the resource.
- display
Name string - Display name of the resource.
- fall
Count number - Mark member status DOWN if the healtcheck fails consecutively for fall_count times.
- interval number
- Active healthchecks are initiated periodically, at a configurable interval (in seconds), to each member of the Group.
- nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- path string
- The NSX path of the policy resource.
- policy
Lb stringIcmp Monitor Profile Id - ID of the resource.
- revision number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- rise
Count number - Bring a DOWN member UP if rise_count successive healthchecks succeed.
- Policy
Lb Icmp Monitor Profile Tag[] - A list of scope + tag pairs to associate with this resource.
- timeout number
- Timeout specified in seconds. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout.
- data_
length float - The data size (in bytes) of the ICMP healthcheck packet.
- description str
- Description of the resource.
- display_
name str - Display name of the resource.
- fall_
count float - Mark member status DOWN if the healtcheck fails consecutively for fall_count times.
- interval float
- Active healthchecks are initiated periodically, at a configurable interval (in seconds), to each member of the Group.
- nsx_
id str - The NSX ID of this resource. If set, this ID will be used to create the resource.
- path str
- The NSX path of the policy resource.
- policy_
lb_ stricmp_ monitor_ profile_ id - ID of the resource.
- revision float
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- rise_
count float - Bring a DOWN member UP if rise_count successive healthchecks succeed.
- Sequence[Policy
Lb Icmp Monitor Profile Tag Args] - A list of scope + tag pairs to associate with this resource.
- timeout float
- Timeout specified in seconds. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout.
- data
Length Number - The data size (in bytes) of the ICMP healthcheck packet.
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- fall
Count Number - Mark member status DOWN if the healtcheck fails consecutively for fall_count times.
- interval Number
- Active healthchecks are initiated periodically, at a configurable interval (in seconds), to each member of the Group.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- path String
- The NSX path of the policy resource.
- policy
Lb StringIcmp Monitor Profile Id - ID of the resource.
- revision Number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- rise
Count Number - Bring a DOWN member UP if rise_count successive healthchecks succeed.
- List<Property Map>
- A list of scope + tag pairs to associate with this resource.
- timeout Number
- Timeout specified in seconds. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout.
Supporting Types
PolicyLbIcmpMonitorProfileTag, PolicyLbIcmpMonitorProfileTagArgs
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.