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

nsxt.SpoofguardSwitchingProfile

Explore with Pulumi AI

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

    Create SpoofguardSwitchingProfile Resource

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

    Constructor syntax

    new SpoofguardSwitchingProfile(name: string, args?: SpoofguardSwitchingProfileArgs, opts?: CustomResourceOptions);
    @overload
    def SpoofguardSwitchingProfile(resource_name: str,
                                   args: Optional[SpoofguardSwitchingProfileArgs] = None,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def SpoofguardSwitchingProfile(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   address_binding_whitelist_enabled: Optional[bool] = None,
                                   description: Optional[str] = None,
                                   display_name: Optional[str] = None,
                                   spoofguard_switching_profile_id: Optional[str] = None,
                                   tags: Optional[Sequence[SpoofguardSwitchingProfileTagArgs]] = None)
    func NewSpoofguardSwitchingProfile(ctx *Context, name string, args *SpoofguardSwitchingProfileArgs, opts ...ResourceOption) (*SpoofguardSwitchingProfile, error)
    public SpoofguardSwitchingProfile(string name, SpoofguardSwitchingProfileArgs? args = null, CustomResourceOptions? opts = null)
    public SpoofguardSwitchingProfile(String name, SpoofguardSwitchingProfileArgs args)
    public SpoofguardSwitchingProfile(String name, SpoofguardSwitchingProfileArgs args, CustomResourceOptions options)
    
    type: nsxt:SpoofguardSwitchingProfile
    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 SpoofguardSwitchingProfileArgs
    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 SpoofguardSwitchingProfileArgs
    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 SpoofguardSwitchingProfileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SpoofguardSwitchingProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SpoofguardSwitchingProfileArgs
    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 spoofguardSwitchingProfileResource = new Nsxt.SpoofguardSwitchingProfile("spoofguardSwitchingProfileResource", new()
    {
        AddressBindingWhitelistEnabled = false,
        Description = "string",
        DisplayName = "string",
        SpoofguardSwitchingProfileId = "string",
        Tags = new[]
        {
            new Nsxt.Inputs.SpoofguardSwitchingProfileTagArgs
            {
                Scope = "string",
                Tag = "string",
            },
        },
    });
    
    example, err := nsxt.NewSpoofguardSwitchingProfile(ctx, "spoofguardSwitchingProfileResource", &nsxt.SpoofguardSwitchingProfileArgs{
    	AddressBindingWhitelistEnabled: pulumi.Bool(false),
    	Description:                    pulumi.String("string"),
    	DisplayName:                    pulumi.String("string"),
    	SpoofguardSwitchingProfileId:   pulumi.String("string"),
    	Tags: nsxt.SpoofguardSwitchingProfileTagArray{
    		&nsxt.SpoofguardSwitchingProfileTagArgs{
    			Scope: pulumi.String("string"),
    			Tag:   pulumi.String("string"),
    		},
    	},
    })
    
    var spoofguardSwitchingProfileResource = new SpoofguardSwitchingProfile("spoofguardSwitchingProfileResource", SpoofguardSwitchingProfileArgs.builder()
        .addressBindingWhitelistEnabled(false)
        .description("string")
        .displayName("string")
        .spoofguardSwitchingProfileId("string")
        .tags(SpoofguardSwitchingProfileTagArgs.builder()
            .scope("string")
            .tag("string")
            .build())
        .build());
    
    spoofguard_switching_profile_resource = nsxt.SpoofguardSwitchingProfile("spoofguardSwitchingProfileResource",
        address_binding_whitelist_enabled=False,
        description="string",
        display_name="string",
        spoofguard_switching_profile_id="string",
        tags=[{
            "scope": "string",
            "tag": "string",
        }])
    
    const spoofguardSwitchingProfileResource = new nsxt.SpoofguardSwitchingProfile("spoofguardSwitchingProfileResource", {
        addressBindingWhitelistEnabled: false,
        description: "string",
        displayName: "string",
        spoofguardSwitchingProfileId: "string",
        tags: [{
            scope: "string",
            tag: "string",
        }],
    });
    
    type: nsxt:SpoofguardSwitchingProfile
    properties:
        addressBindingWhitelistEnabled: false
        description: string
        displayName: string
        spoofguardSwitchingProfileId: string
        tags:
            - scope: string
              tag: string
    

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

    AddressBindingWhitelistEnabled bool
    A boolean flag indicating whether this profile overrides the default system wide settings for Spoof Guard when assigned to ports.
    Description string
    Description of this resource.
    DisplayName string
    The display name of this resource. Defaults to ID if not set.
    SpoofguardSwitchingProfileId string
    ID of the spoofguard switching profile.
    Tags List<SpoofguardSwitchingProfileTag>
    A list of scope + tag pairs to associate with this spoofguard switching profile.
    AddressBindingWhitelistEnabled bool
    A boolean flag indicating whether this profile overrides the default system wide settings for Spoof Guard when assigned to ports.
    Description string
    Description of this resource.
    DisplayName string
    The display name of this resource. Defaults to ID if not set.
    SpoofguardSwitchingProfileId string
    ID of the spoofguard switching profile.
    Tags []SpoofguardSwitchingProfileTagArgs
    A list of scope + tag pairs to associate with this spoofguard switching profile.
    addressBindingWhitelistEnabled Boolean
    A boolean flag indicating whether this profile overrides the default system wide settings for Spoof Guard when assigned to ports.
    description String
    Description of this resource.
    displayName String
    The display name of this resource. Defaults to ID if not set.
    spoofguardSwitchingProfileId String
    ID of the spoofguard switching profile.
    tags List<SpoofguardSwitchingProfileTag>
    A list of scope + tag pairs to associate with this spoofguard switching profile.
    addressBindingWhitelistEnabled boolean
    A boolean flag indicating whether this profile overrides the default system wide settings for Spoof Guard when assigned to ports.
    description string
    Description of this resource.
    displayName string
    The display name of this resource. Defaults to ID if not set.
    spoofguardSwitchingProfileId string
    ID of the spoofguard switching profile.
    tags SpoofguardSwitchingProfileTag[]
    A list of scope + tag pairs to associate with this spoofguard switching profile.
    address_binding_whitelist_enabled bool
    A boolean flag indicating whether this profile overrides the default system wide settings for Spoof Guard when assigned to ports.
    description str
    Description of this resource.
    display_name str
    The display name of this resource. Defaults to ID if not set.
    spoofguard_switching_profile_id str
    ID of the spoofguard switching profile.
    tags Sequence[SpoofguardSwitchingProfileTagArgs]
    A list of scope + tag pairs to associate with this spoofguard switching profile.
    addressBindingWhitelistEnabled Boolean
    A boolean flag indicating whether this profile overrides the default system wide settings for Spoof Guard when assigned to ports.
    description String
    Description of this resource.
    displayName String
    The display name of this resource. Defaults to ID if not set.
    spoofguardSwitchingProfileId String
    ID of the spoofguard switching profile.
    tags List<Property Map>
    A list of scope + tag pairs to associate with this spoofguard switching profile.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SpoofguardSwitchingProfile resource produces the following output properties:

    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.
    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.
    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.
    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.
    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.
    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 SpoofguardSwitchingProfile Resource

    Get an existing SpoofguardSwitchingProfile 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?: SpoofguardSwitchingProfileState, opts?: CustomResourceOptions): SpoofguardSwitchingProfile
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            address_binding_whitelist_enabled: Optional[bool] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            revision: Optional[float] = None,
            spoofguard_switching_profile_id: Optional[str] = None,
            tags: Optional[Sequence[SpoofguardSwitchingProfileTagArgs]] = None) -> SpoofguardSwitchingProfile
    func GetSpoofguardSwitchingProfile(ctx *Context, name string, id IDInput, state *SpoofguardSwitchingProfileState, opts ...ResourceOption) (*SpoofguardSwitchingProfile, error)
    public static SpoofguardSwitchingProfile Get(string name, Input<string> id, SpoofguardSwitchingProfileState? state, CustomResourceOptions? opts = null)
    public static SpoofguardSwitchingProfile get(String name, Output<String> id, SpoofguardSwitchingProfileState state, CustomResourceOptions options)
    resources:  _:    type: nsxt:SpoofguardSwitchingProfile    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:
    AddressBindingWhitelistEnabled bool
    A boolean flag indicating whether this profile overrides the default system wide settings for Spoof Guard when assigned to ports.
    Description string
    Description of this resource.
    DisplayName string
    The display name of this resource. Defaults to ID if not set.
    Revision double
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    SpoofguardSwitchingProfileId string
    ID of the spoofguard switching profile.
    Tags List<SpoofguardSwitchingProfileTag>
    A list of scope + tag pairs to associate with this spoofguard switching profile.
    AddressBindingWhitelistEnabled bool
    A boolean flag indicating whether this profile overrides the default system wide settings for Spoof Guard when assigned to ports.
    Description string
    Description of this resource.
    DisplayName string
    The display name of this resource. Defaults to ID if not set.
    Revision float64
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    SpoofguardSwitchingProfileId string
    ID of the spoofguard switching profile.
    Tags []SpoofguardSwitchingProfileTagArgs
    A list of scope + tag pairs to associate with this spoofguard switching profile.
    addressBindingWhitelistEnabled Boolean
    A boolean flag indicating whether this profile overrides the default system wide settings for Spoof Guard when assigned to ports.
    description String
    Description of this resource.
    displayName String
    The display name of this resource. Defaults to ID if not set.
    revision Double
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    spoofguardSwitchingProfileId String
    ID of the spoofguard switching profile.
    tags List<SpoofguardSwitchingProfileTag>
    A list of scope + tag pairs to associate with this spoofguard switching profile.
    addressBindingWhitelistEnabled boolean
    A boolean flag indicating whether this profile overrides the default system wide settings for Spoof Guard when assigned to ports.
    description string
    Description of this resource.
    displayName string
    The display name of this resource. Defaults to ID if not set.
    revision number
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    spoofguardSwitchingProfileId string
    ID of the spoofguard switching profile.
    tags SpoofguardSwitchingProfileTag[]
    A list of scope + tag pairs to associate with this spoofguard switching profile.
    address_binding_whitelist_enabled bool
    A boolean flag indicating whether this profile overrides the default system wide settings for Spoof Guard when assigned to ports.
    description str
    Description of this resource.
    display_name str
    The display name of this resource. Defaults to ID if not set.
    revision float
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    spoofguard_switching_profile_id str
    ID of the spoofguard switching profile.
    tags Sequence[SpoofguardSwitchingProfileTagArgs]
    A list of scope + tag pairs to associate with this spoofguard switching profile.
    addressBindingWhitelistEnabled Boolean
    A boolean flag indicating whether this profile overrides the default system wide settings for Spoof Guard when assigned to ports.
    description String
    Description of this resource.
    displayName String
    The display name of this resource. Defaults to ID if not set.
    revision Number
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    spoofguardSwitchingProfileId String
    ID of the spoofguard switching profile.
    tags List<Property Map>
    A list of scope + tag pairs to associate with this spoofguard switching profile.

    Supporting Types

    SpoofguardSwitchingProfileTag, SpoofguardSwitchingProfileTagArgs

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

    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