nsxt.EtherTypeNsService
Explore with Pulumi AI
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:
- Ether
Type double - Type of the encapsulated protocol.
- Description string
- Description.
- Display
Name string - Display name, defaults to ID if not set.
- Ether
Type stringNs Service Id - ID of the NS service.
- List<Ether
Type Ns Service Tag> - A list of scope + tag pairs to associate with this service.
- Ether
Type float64 - Type of the encapsulated protocol.
- Description string
- Description.
- Display
Name string - Display name, defaults to ID if not set.
- Ether
Type stringNs Service Id - ID of the NS service.
- []Ether
Type Ns Service Tag Args - A list of scope + tag pairs to associate with this service.
- ether
Type Double - Type of the encapsulated protocol.
- description String
- Description.
- display
Name String - Display name, defaults to ID if not set.
- ether
Type StringNs Service Id - ID of the NS service.
- List<Ether
Type Ns Service Tag> - A list of scope + tag pairs to associate with this service.
- ether
Type number - Type of the encapsulated protocol.
- description string
- Description.
- display
Name string - Display name, defaults to ID if not set.
- ether
Type stringNs Service Id - ID of the NS service.
- Ether
Type Ns Service Tag[] - 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_ strns_ service_ id - ID of the NS service.
- Sequence[Ether
Type Ns Service Tag Args] - A list of scope + tag pairs to associate with this service.
- ether
Type Number - Type of the encapsulated protocol.
- description String
- Description.
- display
Name String - Display name, defaults to ID if not set.
- ether
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 EtherTypeNsService 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 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.
- 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.
- Ether
Type double - Type of the encapsulated protocol.
- Ether
Type stringNs Service Id - 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.
- List<Ether
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.
- Ether
Type float64 - Type of the encapsulated protocol.
- Ether
Type stringNs Service Id - 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.
- []Ether
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.
- ether
Type Double - Type of the encapsulated protocol.
- ether
Type StringNs Service Id - 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.
- List<Ether
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.
- ether
Type number - Type of the encapsulated protocol.
- ether
Type stringNs Service Id - 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.
- Ether
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.
- ether_
type float - Type of the encapsulated protocol.
- ether_
type_ strns_ service_ id - 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.
- Sequence[Ether
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.
- ether
Type Number - Type of the encapsulated protocol.
- ether
Type StringNs Service Id - 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.
- List<Property Map>
- A list of scope + tag pairs to associate with this service.
Supporting Types
EtherTypeNsServiceTag, EtherTypeNsServiceTagArgs
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.