1. Packages
  2. Nsxt Provider
  3. API Docs
  4. IcmpTypeNsService
nsxt 3.8.1 published on Wednesday, Apr 30, 2025 by vmware

nsxt.IcmpTypeNsService

Explore with Pulumi AI

nsxt logo
nsxt 3.8.1 published on Wednesday, Apr 30, 2025 by vmware

    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.
    DisplayName string
    Display name, defaults to ID if not set.
    IcmpCode double
    ICMP message code
    IcmpType double
    ICMP message type.
    IcmpTypeNsServiceId string
    ID of the NS service.
    Tags List<IcmpTypeNsServiceTag>
    A list of scope + tag pairs to associate with this service.
    Protocol string
    Version of ICMP protocol ICMPv4 or ICMPv6.
    Description string
    Description.
    DisplayName string
    Display name, defaults to ID if not set.
    IcmpCode float64
    ICMP message code
    IcmpType float64
    ICMP message type.
    IcmpTypeNsServiceId string
    ID of the NS service.
    Tags []IcmpTypeNsServiceTagArgs
    A list of scope + tag pairs to associate with this service.
    protocol String
    Version of ICMP protocol ICMPv4 or ICMPv6.
    description String
    Description.
    displayName String
    Display name, defaults to ID if not set.
    icmpCode Double
    ICMP message code
    icmpType Double
    ICMP message type.
    icmpTypeNsServiceId String
    ID of the NS service.
    tags List<IcmpTypeNsServiceTag>
    A list of scope + tag pairs to associate with this service.
    protocol string
    Version of ICMP protocol ICMPv4 or ICMPv6.
    description string
    Description.
    displayName string
    Display name, defaults to ID if not set.
    icmpCode number
    ICMP message code
    icmpType number
    ICMP message type.
    icmpTypeNsServiceId string
    ID of the NS service.
    tags IcmpTypeNsServiceTag[]
    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_ns_service_id str
    ID of the NS service.
    tags Sequence[IcmpTypeNsServiceTagArgs]
    A list of scope + tag pairs to associate with this service.
    protocol String
    Version of ICMP protocol ICMPv4 or ICMPv6.
    description String
    Description.
    displayName String
    Display name, defaults to ID if not set.
    icmpCode Number
    ICMP message code
    icmpType Number
    ICMP message type.
    icmpTypeNsServiceId String
    ID of the NS service.
    tags 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:

    DefaultService 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.
    DefaultService 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.
    defaultService 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.
    defaultService 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.
    defaultService 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.
    The following state arguments are supported:
    DefaultService bool
    The default NSServices are created in the system by default. These NSServices can't be modified/deleted.
    Description string
    Description.
    DisplayName string
    Display name, defaults to ID if not set.
    IcmpCode double
    ICMP message code
    IcmpType double
    ICMP message type.
    IcmpTypeNsServiceId string
    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.
    Tags List<IcmpTypeNsServiceTag>
    A list of scope + tag pairs to associate with this service.
    DefaultService bool
    The default NSServices are created in the system by default. These NSServices can't be modified/deleted.
    Description string
    Description.
    DisplayName string
    Display name, defaults to ID if not set.
    IcmpCode float64
    ICMP message code
    IcmpType float64
    ICMP message type.
    IcmpTypeNsServiceId string
    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.
    Tags []IcmpTypeNsServiceTagArgs
    A list of scope + tag pairs to associate with this service.
    defaultService Boolean
    The default NSServices are created in the system by default. These NSServices can't be modified/deleted.
    description String
    Description.
    displayName String
    Display name, defaults to ID if not set.
    icmpCode Double
    ICMP message code
    icmpType Double
    ICMP message type.
    icmpTypeNsServiceId String
    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.
    tags List<IcmpTypeNsServiceTag>
    A list of scope + tag pairs to associate with this service.
    defaultService boolean
    The default NSServices are created in the system by default. These NSServices can't be modified/deleted.
    description string
    Description.
    displayName string
    Display name, defaults to ID if not set.
    icmpCode number
    ICMP message code
    icmpType number
    ICMP message type.
    icmpTypeNsServiceId string
    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.
    tags IcmpTypeNsServiceTag[]
    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_ns_service_id str
    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.
    tags Sequence[IcmpTypeNsServiceTagArgs]
    A list of scope + tag pairs to associate with this service.
    defaultService Boolean
    The default NSServices are created in the system by default. These NSServices can't be modified/deleted.
    description String
    Description.
    displayName String
    Display name, defaults to ID if not set.
    icmpCode Number
    ICMP message code
    icmpType Number
    ICMP message type.
    icmpTypeNsServiceId String
    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.
    tags List<Property Map>
    A list of scope + tag pairs to associate with this service.

    Supporting Types

    IcmpTypeNsServiceTag, IcmpTypeNsServiceTagArgs

    Scope string
    Tag string
    A list of scope + tag pairs to associate with this service.
    Scope string
    Tag string
    A list of scope + tag pairs to associate with this service.
    scope String
    tag String
    A list of scope + tag pairs to associate with this service.
    scope string
    tag string
    A list of scope + tag pairs to associate with this service.
    scope str
    tag str
    A list of scope + tag pairs to associate with this service.
    scope String
    tag String
    A list of scope + tag pairs to associate with this service.

    Package Details

    Repository
    nsxt vmware/terraform-provider-nsxt
    License
    Notes
    This Pulumi package is based on the nsxt Terraform Provider.
    nsxt logo
    nsxt 3.8.1 published on Wednesday, Apr 30, 2025 by vmware