nsxt.IcmpTypeNsService
Explore with Pulumi AI
Create IcmpTypeNsService Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IcmpTypeNsService(name: string, args: IcmpTypeNsServiceArgs, opts?: CustomResourceOptions);
@overload
def IcmpTypeNsService(resource_name: str,
args: IcmpTypeNsServiceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IcmpTypeNsService(resource_name: str,
opts: Optional[ResourceOptions] = None,
protocol: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
icmp_code: Optional[float] = None,
icmp_type: Optional[float] = None,
icmp_type_ns_service_id: Optional[str] = None,
tags: Optional[Sequence[IcmpTypeNsServiceTagArgs]] = None)
func NewIcmpTypeNsService(ctx *Context, name string, args IcmpTypeNsServiceArgs, opts ...ResourceOption) (*IcmpTypeNsService, error)
public IcmpTypeNsService(string name, IcmpTypeNsServiceArgs args, CustomResourceOptions? opts = null)
public IcmpTypeNsService(String name, IcmpTypeNsServiceArgs args)
public IcmpTypeNsService(String name, IcmpTypeNsServiceArgs args, CustomResourceOptions options)
type: nsxt:IcmpTypeNsService
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 IcmpTypeNsServiceArgs
- 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 IcmpTypeNsServiceArgs
- 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 IcmpTypeNsServiceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IcmpTypeNsServiceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IcmpTypeNsServiceArgs
- 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 icmpTypeNsServiceResource = new Nsxt.IcmpTypeNsService("icmpTypeNsServiceResource", new()
{
Protocol = "string",
Description = "string",
DisplayName = "string",
IcmpCode = 0,
IcmpType = 0,
IcmpTypeNsServiceId = "string",
Tags = new[]
{
new Nsxt.Inputs.IcmpTypeNsServiceTagArgs
{
Scope = "string",
Tag = "string",
},
},
});
example, err := nsxt.NewIcmpTypeNsService(ctx, "icmpTypeNsServiceResource", &nsxt.IcmpTypeNsServiceArgs{
Protocol: pulumi.String("string"),
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
IcmpCode: pulumi.Float64(0),
IcmpType: pulumi.Float64(0),
IcmpTypeNsServiceId: pulumi.String("string"),
Tags: nsxt.IcmpTypeNsServiceTagArray{
&nsxt.IcmpTypeNsServiceTagArgs{
Scope: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
})
var icmpTypeNsServiceResource = new IcmpTypeNsService("icmpTypeNsServiceResource", IcmpTypeNsServiceArgs.builder()
.protocol("string")
.description("string")
.displayName("string")
.icmpCode(0)
.icmpType(0)
.icmpTypeNsServiceId("string")
.tags(IcmpTypeNsServiceTagArgs.builder()
.scope("string")
.tag("string")
.build())
.build());
icmp_type_ns_service_resource = nsxt.IcmpTypeNsService("icmpTypeNsServiceResource",
protocol="string",
description="string",
display_name="string",
icmp_code=0,
icmp_type=0,
icmp_type_ns_service_id="string",
tags=[{
"scope": "string",
"tag": "string",
}])
const icmpTypeNsServiceResource = new nsxt.IcmpTypeNsService("icmpTypeNsServiceResource", {
protocol: "string",
description: "string",
displayName: "string",
icmpCode: 0,
icmpType: 0,
icmpTypeNsServiceId: "string",
tags: [{
scope: "string",
tag: "string",
}],
});
type: nsxt:IcmpTypeNsService
properties:
description: string
displayName: string
icmpCode: 0
icmpType: 0
icmpTypeNsServiceId: string
protocol: string
tags:
- scope: string
tag: string
IcmpTypeNsService 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 IcmpTypeNsService resource accepts the following input properties:
- Protocol string
- Version of ICMP protocol ICMPv4 or ICMPv6.
- Description string
- Description.
- Display
Name string - Display name, defaults to ID if not set.
- Icmp
Code double - ICMP message code
- Icmp
Type double - ICMP message type.
- Icmp
Type stringNs Service Id - ID of the NS service.
- List<Icmp
Type Ns Service Tag> - A list of scope + tag pairs to associate with this service.
- Protocol string
- Version of ICMP protocol ICMPv4 or ICMPv6.
- Description string
- Description.
- Display
Name string - Display name, defaults to ID if not set.
- Icmp
Code float64 - ICMP message code
- Icmp
Type float64 - ICMP message type.
- Icmp
Type stringNs Service Id - ID of the NS service.
- []Icmp
Type Ns Service Tag Args - A list of scope + tag pairs to associate with this service.
- protocol String
- Version of ICMP protocol ICMPv4 or ICMPv6.
- description String
- Description.
- display
Name String - Display name, defaults to ID if not set.
- icmp
Code Double - ICMP message code
- icmp
Type Double - ICMP message type.
- icmp
Type StringNs Service Id - ID of the NS service.
- List<Icmp
Type Ns Service Tag> - A list of scope + tag pairs to associate with this service.
- protocol string
- Version of ICMP protocol ICMPv4 or ICMPv6.
- description string
- Description.
- display
Name string - Display name, defaults to ID if not set.
- icmp
Code number - ICMP message code
- icmp
Type number - ICMP message type.
- icmp
Type stringNs Service Id - ID of the NS service.
- Icmp
Type Ns Service Tag[] - A list of scope + tag pairs to associate with this service.
- protocol str
- Version of ICMP protocol ICMPv4 or ICMPv6.
- description str
- Description.
- display_
name str - Display name, defaults to ID if not set.
- icmp_
code float - ICMP message code
- icmp_
type float - ICMP message type.
- icmp_
type_ strns_ service_ id - ID of the NS service.
- Sequence[Icmp
Type Ns Service Tag Args] - A list of scope + tag pairs to associate with this service.
- protocol String
- Version of ICMP protocol ICMPv4 or ICMPv6.
- description String
- Description.
- display
Name String - Display name, defaults to ID if not set.
- icmp
Code Number - ICMP message code
- icmp
Type Number - ICMP message type.
- icmp
Type StringNs Service Id - ID of the NS service.
- List<Property Map>
- A list of scope + tag pairs to associate with this service.
Outputs
All input properties are implicitly available as output properties. Additionally, the IcmpTypeNsService resource produces the following output properties:
- Default
Service bool - The default NSServices are created in the system by default. These NSServices can't be modified/deleted.
- Id string
- The provider-assigned unique ID for this managed resource.
- Revision double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Default
Service bool - The default NSServices are created in the system by default. These NSServices can't be modified/deleted.
- Id string
- The provider-assigned unique ID for this managed resource.
- Revision float64
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- default
Service Boolean - The default NSServices are created in the system by default. These NSServices can't be modified/deleted.
- id String
- The provider-assigned unique ID for this managed resource.
- revision Double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- default
Service boolean - The default NSServices are created in the system by default. These NSServices can't be modified/deleted.
- id string
- The provider-assigned unique ID for this managed resource.
- revision number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- default_
service bool - The default NSServices are created in the system by default. These NSServices can't be modified/deleted.
- id str
- The provider-assigned unique ID for this managed resource.
- revision float
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- default
Service Boolean - The default NSServices are created in the system by default. These NSServices can't be modified/deleted.
- id String
- The provider-assigned unique ID for this managed resource.
- 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 IcmpTypeNsService Resource
Get an existing IcmpTypeNsService 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?: IcmpTypeNsServiceState, opts?: CustomResourceOptions): IcmpTypeNsService
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
default_service: Optional[bool] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
icmp_code: Optional[float] = None,
icmp_type: Optional[float] = None,
icmp_type_ns_service_id: Optional[str] = None,
protocol: Optional[str] = None,
revision: Optional[float] = None,
tags: Optional[Sequence[IcmpTypeNsServiceTagArgs]] = None) -> IcmpTypeNsService
func GetIcmpTypeNsService(ctx *Context, name string, id IDInput, state *IcmpTypeNsServiceState, opts ...ResourceOption) (*IcmpTypeNsService, error)
public static IcmpTypeNsService Get(string name, Input<string> id, IcmpTypeNsServiceState? state, CustomResourceOptions? opts = null)
public static IcmpTypeNsService get(String name, Output<String> id, IcmpTypeNsServiceState state, CustomResourceOptions options)
resources: _: type: nsxt:IcmpTypeNsService 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.
- Default
Service bool - The default NSServices are created in the system by default. These NSServices can't be modified/deleted.
- Description string
- Description.
- Display
Name string - Display name, defaults to ID if not set.
- Icmp
Code double - ICMP message code
- Icmp
Type double - ICMP message type.
- Icmp
Type stringNs Service Id - ID of the NS service.
- Protocol string
- Version of ICMP protocol ICMPv4 or ICMPv6.
- Revision double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- List<Icmp
Type Ns Service Tag> - A list of scope + tag pairs to associate with this service.
- Default
Service bool - The default NSServices are created in the system by default. These NSServices can't be modified/deleted.
- Description string
- Description.
- Display
Name string - Display name, defaults to ID if not set.
- Icmp
Code float64 - ICMP message code
- Icmp
Type float64 - ICMP message type.
- Icmp
Type stringNs Service Id - ID of the NS service.
- Protocol string
- Version of ICMP protocol ICMPv4 or ICMPv6.
- Revision float64
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- []Icmp
Type Ns Service Tag Args - A list of scope + tag pairs to associate with this service.
- default
Service Boolean - The default NSServices are created in the system by default. These NSServices can't be modified/deleted.
- description String
- Description.
- display
Name String - Display name, defaults to ID if not set.
- icmp
Code Double - ICMP message code
- icmp
Type Double - ICMP message type.
- icmp
Type StringNs Service Id - ID of the NS service.
- protocol String
- Version of ICMP protocol ICMPv4 or ICMPv6.
- revision Double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- List<Icmp
Type Ns Service Tag> - A list of scope + tag pairs to associate with this service.
- default
Service boolean - The default NSServices are created in the system by default. These NSServices can't be modified/deleted.
- description string
- Description.
- display
Name string - Display name, defaults to ID if not set.
- icmp
Code number - ICMP message code
- icmp
Type number - ICMP message type.
- icmp
Type stringNs Service Id - ID of the NS service.
- protocol string
- Version of ICMP protocol ICMPv4 or ICMPv6.
- revision number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Icmp
Type Ns Service Tag[] - A list of scope + tag pairs to associate with this service.
- default_
service bool - The default NSServices are created in the system by default. These NSServices can't be modified/deleted.
- description str
- Description.
- display_
name str - Display name, defaults to ID if not set.
- icmp_
code float - ICMP message code
- icmp_
type float - ICMP message type.
- icmp_
type_ strns_ service_ id - ID of the NS service.
- protocol str
- Version of ICMP protocol ICMPv4 or ICMPv6.
- revision float
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Sequence[Icmp
Type Ns Service Tag Args] - A list of scope + tag pairs to associate with this service.
- default
Service Boolean - The default NSServices are created in the system by default. These NSServices can't be modified/deleted.
- description String
- Description.
- display
Name String - Display name, defaults to ID if not set.
- icmp
Code Number - ICMP message code
- icmp
Type Number - ICMP message type.
- icmp
Type StringNs Service Id - ID of the NS service.
- protocol String
- Version of ICMP protocol ICMPv4 or ICMPv6.
- 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 service.
Supporting Types
IcmpTypeNsServiceTag, IcmpTypeNsServiceTagArgs
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.