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

nsxt.EtherTypeNsService

Explore with Pulumi AI

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

    Create EtherTypeNsService Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new EtherTypeNsService(name: string, args: EtherTypeNsServiceArgs, opts?: CustomResourceOptions);
    @overload
    def EtherTypeNsService(resource_name: str,
                           args: EtherTypeNsServiceArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def EtherTypeNsService(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           ether_type: Optional[float] = None,
                           description: Optional[str] = None,
                           display_name: Optional[str] = None,
                           ether_type_ns_service_id: Optional[str] = None,
                           tags: Optional[Sequence[EtherTypeNsServiceTagArgs]] = None)
    func NewEtherTypeNsService(ctx *Context, name string, args EtherTypeNsServiceArgs, opts ...ResourceOption) (*EtherTypeNsService, error)
    public EtherTypeNsService(string name, EtherTypeNsServiceArgs args, CustomResourceOptions? opts = null)
    public EtherTypeNsService(String name, EtherTypeNsServiceArgs args)
    public EtherTypeNsService(String name, EtherTypeNsServiceArgs args, CustomResourceOptions options)
    
    type: nsxt:EtherTypeNsService
    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 EtherTypeNsServiceArgs
    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 EtherTypeNsServiceArgs
    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 EtherTypeNsServiceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EtherTypeNsServiceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EtherTypeNsServiceArgs
    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 etherTypeNsServiceResource = new Nsxt.EtherTypeNsService("etherTypeNsServiceResource", new()
    {
        EtherType = 0,
        Description = "string",
        DisplayName = "string",
        EtherTypeNsServiceId = "string",
        Tags = new[]
        {
            new Nsxt.Inputs.EtherTypeNsServiceTagArgs
            {
                Scope = "string",
                Tag = "string",
            },
        },
    });
    
    example, err := nsxt.NewEtherTypeNsService(ctx, "etherTypeNsServiceResource", &nsxt.EtherTypeNsServiceArgs{
    	EtherType:            pulumi.Float64(0),
    	Description:          pulumi.String("string"),
    	DisplayName:          pulumi.String("string"),
    	EtherTypeNsServiceId: pulumi.String("string"),
    	Tags: nsxt.EtherTypeNsServiceTagArray{
    		&nsxt.EtherTypeNsServiceTagArgs{
    			Scope: pulumi.String("string"),
    			Tag:   pulumi.String("string"),
    		},
    	},
    })
    
    var etherTypeNsServiceResource = new EtherTypeNsService("etherTypeNsServiceResource", EtherTypeNsServiceArgs.builder()
        .etherType(0)
        .description("string")
        .displayName("string")
        .etherTypeNsServiceId("string")
        .tags(EtherTypeNsServiceTagArgs.builder()
            .scope("string")
            .tag("string")
            .build())
        .build());
    
    ether_type_ns_service_resource = nsxt.EtherTypeNsService("etherTypeNsServiceResource",
        ether_type=0,
        description="string",
        display_name="string",
        ether_type_ns_service_id="string",
        tags=[{
            "scope": "string",
            "tag": "string",
        }])
    
    const etherTypeNsServiceResource = new nsxt.EtherTypeNsService("etherTypeNsServiceResource", {
        etherType: 0,
        description: "string",
        displayName: "string",
        etherTypeNsServiceId: "string",
        tags: [{
            scope: "string",
            tag: "string",
        }],
    });
    
    type: nsxt:EtherTypeNsService
    properties:
        description: string
        displayName: string
        etherType: 0
        etherTypeNsServiceId: string
        tags:
            - scope: string
              tag: string
    

    EtherTypeNsService 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 EtherTypeNsService resource accepts the following input properties:

    EtherType double
    Type of the encapsulated protocol.
    Description string
    Description.
    DisplayName string
    Display name, defaults to ID if not set.
    EtherTypeNsServiceId string
    ID of the NS service.
    Tags List<EtherTypeNsServiceTag>
    A list of scope + tag pairs to associate with this service.
    EtherType float64
    Type of the encapsulated protocol.
    Description string
    Description.
    DisplayName string
    Display name, defaults to ID if not set.
    EtherTypeNsServiceId string
    ID of the NS service.
    Tags []EtherTypeNsServiceTagArgs
    A list of scope + tag pairs to associate with this service.
    etherType Double
    Type of the encapsulated protocol.
    description String
    Description.
    displayName String
    Display name, defaults to ID if not set.
    etherTypeNsServiceId String
    ID of the NS service.
    tags List<EtherTypeNsServiceTag>
    A list of scope + tag pairs to associate with this service.
    etherType number
    Type of the encapsulated protocol.
    description string
    Description.
    displayName string
    Display name, defaults to ID if not set.
    etherTypeNsServiceId string
    ID of the NS service.
    tags EtherTypeNsServiceTag[]
    A list of scope + tag pairs to associate with this service.
    ether_type float
    Type of the encapsulated protocol.
    description str
    Description.
    display_name str
    Display name, defaults to ID if not set.
    ether_type_ns_service_id str
    ID of the NS service.
    tags Sequence[EtherTypeNsServiceTagArgs]
    A list of scope + tag pairs to associate with this service.
    etherType Number
    Type of the encapsulated protocol.
    description String
    Description.
    displayName String
    Display name, defaults to ID if not set.
    etherTypeNsServiceId 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 EtherTypeNsService 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 EtherTypeNsService Resource

    Get an existing EtherTypeNsService 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?: EtherTypeNsServiceState, opts?: CustomResourceOptions): EtherTypeNsService
    @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,
            ether_type: Optional[float] = None,
            ether_type_ns_service_id: Optional[str] = None,
            revision: Optional[float] = None,
            tags: Optional[Sequence[EtherTypeNsServiceTagArgs]] = None) -> EtherTypeNsService
    func GetEtherTypeNsService(ctx *Context, name string, id IDInput, state *EtherTypeNsServiceState, opts ...ResourceOption) (*EtherTypeNsService, error)
    public static EtherTypeNsService Get(string name, Input<string> id, EtherTypeNsServiceState? state, CustomResourceOptions? opts = null)
    public static EtherTypeNsService get(String name, Output<String> id, EtherTypeNsServiceState state, CustomResourceOptions options)
    resources:  _:    type: nsxt:EtherTypeNsService    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.
    EtherType double
    Type of the encapsulated protocol.
    EtherTypeNsServiceId string
    ID of the NS service.
    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<EtherTypeNsServiceTag>
    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.
    EtherType float64
    Type of the encapsulated protocol.
    EtherTypeNsServiceId string
    ID of the NS service.
    Revision float64
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    Tags []EtherTypeNsServiceTagArgs
    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.
    etherType Double
    Type of the encapsulated protocol.
    etherTypeNsServiceId String
    ID of the NS service.
    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<EtherTypeNsServiceTag>
    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.
    etherType number
    Type of the encapsulated protocol.
    etherTypeNsServiceId string
    ID of the NS service.
    revision number
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    tags EtherTypeNsServiceTag[]
    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.
    ether_type float
    Type of the encapsulated protocol.
    ether_type_ns_service_id str
    ID of the NS service.
    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[EtherTypeNsServiceTagArgs]
    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.
    etherType Number
    Type of the encapsulated protocol.
    etherTypeNsServiceId String
    ID of the NS service.
    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

    EtherTypeNsServiceTag, EtherTypeNsServiceTagArgs

    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