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

nsxt.IgmpTypeNsService

Explore with Pulumi AI

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

    Create IgmpTypeNsService Resource

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

    Constructor syntax

    new IgmpTypeNsService(name: string, args?: IgmpTypeNsServiceArgs, opts?: CustomResourceOptions);
    @overload
    def IgmpTypeNsService(resource_name: str,
                          args: Optional[IgmpTypeNsServiceArgs] = None,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def IgmpTypeNsService(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          description: Optional[str] = None,
                          display_name: Optional[str] = None,
                          igmp_type_ns_service_id: Optional[str] = None,
                          tags: Optional[Sequence[IgmpTypeNsServiceTagArgs]] = None)
    func NewIgmpTypeNsService(ctx *Context, name string, args *IgmpTypeNsServiceArgs, opts ...ResourceOption) (*IgmpTypeNsService, error)
    public IgmpTypeNsService(string name, IgmpTypeNsServiceArgs? args = null, CustomResourceOptions? opts = null)
    public IgmpTypeNsService(String name, IgmpTypeNsServiceArgs args)
    public IgmpTypeNsService(String name, IgmpTypeNsServiceArgs args, CustomResourceOptions options)
    
    type: nsxt:IgmpTypeNsService
    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 IgmpTypeNsServiceArgs
    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 IgmpTypeNsServiceArgs
    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 IgmpTypeNsServiceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IgmpTypeNsServiceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IgmpTypeNsServiceArgs
    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 igmpTypeNsServiceResource = new Nsxt.IgmpTypeNsService("igmpTypeNsServiceResource", new()
    {
        Description = "string",
        DisplayName = "string",
        IgmpTypeNsServiceId = "string",
        Tags = new[]
        {
            new Nsxt.Inputs.IgmpTypeNsServiceTagArgs
            {
                Scope = "string",
                Tag = "string",
            },
        },
    });
    
    example, err := nsxt.NewIgmpTypeNsService(ctx, "igmpTypeNsServiceResource", &nsxt.IgmpTypeNsServiceArgs{
    	Description:         pulumi.String("string"),
    	DisplayName:         pulumi.String("string"),
    	IgmpTypeNsServiceId: pulumi.String("string"),
    	Tags: nsxt.IgmpTypeNsServiceTagArray{
    		&nsxt.IgmpTypeNsServiceTagArgs{
    			Scope: pulumi.String("string"),
    			Tag:   pulumi.String("string"),
    		},
    	},
    })
    
    var igmpTypeNsServiceResource = new IgmpTypeNsService("igmpTypeNsServiceResource", IgmpTypeNsServiceArgs.builder()
        .description("string")
        .displayName("string")
        .igmpTypeNsServiceId("string")
        .tags(IgmpTypeNsServiceTagArgs.builder()
            .scope("string")
            .tag("string")
            .build())
        .build());
    
    igmp_type_ns_service_resource = nsxt.IgmpTypeNsService("igmpTypeNsServiceResource",
        description="string",
        display_name="string",
        igmp_type_ns_service_id="string",
        tags=[{
            "scope": "string",
            "tag": "string",
        }])
    
    const igmpTypeNsServiceResource = new nsxt.IgmpTypeNsService("igmpTypeNsServiceResource", {
        description: "string",
        displayName: "string",
        igmpTypeNsServiceId: "string",
        tags: [{
            scope: "string",
            tag: "string",
        }],
    });
    
    type: nsxt:IgmpTypeNsService
    properties:
        description: string
        displayName: string
        igmpTypeNsServiceId: string
        tags:
            - scope: string
              tag: string
    

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

    Description string
    Description.
    DisplayName string
    Display name, defaults to ID if not set.
    IgmpTypeNsServiceId string
    ID of the NS service.
    Tags List<IgmpTypeNsServiceTag>
    A list of scope + tag pairs to associate with this service.
    Description string
    Description.
    DisplayName string
    Display name, defaults to ID if not set.
    IgmpTypeNsServiceId string
    ID of the NS service.
    Tags []IgmpTypeNsServiceTagArgs
    A list of scope + tag pairs to associate with this service.
    description String
    Description.
    displayName String
    Display name, defaults to ID if not set.
    igmpTypeNsServiceId String
    ID of the NS service.
    tags List<IgmpTypeNsServiceTag>
    A list of scope + tag pairs to associate with this service.
    description string
    Description.
    displayName string
    Display name, defaults to ID if not set.
    igmpTypeNsServiceId string
    ID of the NS service.
    tags IgmpTypeNsServiceTag[]
    A list of scope + tag pairs to associate with this service.
    description str
    Description.
    display_name str
    Display name, defaults to ID if not set.
    igmp_type_ns_service_id str
    ID of the NS service.
    tags Sequence[IgmpTypeNsServiceTagArgs]
    A list of scope + tag pairs to associate with this service.
    description String
    Description.
    displayName String
    Display name, defaults to ID if not set.
    igmpTypeNsServiceId 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 IgmpTypeNsService 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 IgmpTypeNsService Resource

    Get an existing IgmpTypeNsService 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?: IgmpTypeNsServiceState, opts?: CustomResourceOptions): IgmpTypeNsService
    @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,
            igmp_type_ns_service_id: Optional[str] = None,
            revision: Optional[float] = None,
            tags: Optional[Sequence[IgmpTypeNsServiceTagArgs]] = None) -> IgmpTypeNsService
    func GetIgmpTypeNsService(ctx *Context, name string, id IDInput, state *IgmpTypeNsServiceState, opts ...ResourceOption) (*IgmpTypeNsService, error)
    public static IgmpTypeNsService Get(string name, Input<string> id, IgmpTypeNsServiceState? state, CustomResourceOptions? opts = null)
    public static IgmpTypeNsService get(String name, Output<String> id, IgmpTypeNsServiceState state, CustomResourceOptions options)
    resources:  _:    type: nsxt:IgmpTypeNsService    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.
    IgmpTypeNsServiceId 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<IgmpTypeNsServiceTag>
    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.
    IgmpTypeNsServiceId 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 []IgmpTypeNsServiceTagArgs
    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.
    igmpTypeNsServiceId 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<IgmpTypeNsServiceTag>
    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.
    igmpTypeNsServiceId 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 IgmpTypeNsServiceTag[]
    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.
    igmp_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[IgmpTypeNsServiceTagArgs]
    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.
    igmpTypeNsServiceId 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

    IgmpTypeNsServiceTag, IgmpTypeNsServiceTagArgs

    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