nsxt.SpoofguardSwitchingProfile
Explore with Pulumi AI
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:
- Address
Binding boolWhitelist Enabled - 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.
- Display
Name string - The display name of this resource. Defaults to ID if not set.
- Spoofguard
Switching stringProfile Id - ID of the spoofguard switching profile.
- List<Spoofguard
Switching Profile Tag> - A list of scope + tag pairs to associate with this spoofguard switching profile.
- Address
Binding boolWhitelist Enabled - 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.
- Display
Name string - The display name of this resource. Defaults to ID if not set.
- Spoofguard
Switching stringProfile Id - ID of the spoofguard switching profile.
- []Spoofguard
Switching Profile Tag Args - A list of scope + tag pairs to associate with this spoofguard switching profile.
- address
Binding BooleanWhitelist Enabled - 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.
- display
Name String - The display name of this resource. Defaults to ID if not set.
- spoofguard
Switching StringProfile Id - ID of the spoofguard switching profile.
- List<Spoofguard
Switching Profile Tag> - A list of scope + tag pairs to associate with this spoofguard switching profile.
- address
Binding booleanWhitelist Enabled - 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.
- display
Name string - The display name of this resource. Defaults to ID if not set.
- spoofguard
Switching stringProfile Id - ID of the spoofguard switching profile.
- Spoofguard
Switching Profile Tag[] - A list of scope + tag pairs to associate with this spoofguard switching profile.
- address_
binding_ boolwhitelist_ enabled - 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_ strprofile_ id - ID of the spoofguard switching profile.
- Sequence[Spoofguard
Switching Profile Tag Args] - A list of scope + tag pairs to associate with this spoofguard switching profile.
- address
Binding BooleanWhitelist Enabled - 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.
- display
Name String - The display name of this resource. Defaults to ID if not set.
- spoofguard
Switching StringProfile Id - ID of the spoofguard switching profile.
- 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:
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.
- Address
Binding boolWhitelist Enabled - 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.
- Display
Name 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.
- Spoofguard
Switching stringProfile Id - ID of the spoofguard switching profile.
- List<Spoofguard
Switching Profile Tag> - A list of scope + tag pairs to associate with this spoofguard switching profile.
- Address
Binding boolWhitelist Enabled - 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.
- Display
Name 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.
- Spoofguard
Switching stringProfile Id - ID of the spoofguard switching profile.
- []Spoofguard
Switching Profile Tag Args - A list of scope + tag pairs to associate with this spoofguard switching profile.
- address
Binding BooleanWhitelist Enabled - 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.
- display
Name 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.
- spoofguard
Switching StringProfile Id - ID of the spoofguard switching profile.
- List<Spoofguard
Switching Profile Tag> - A list of scope + tag pairs to associate with this spoofguard switching profile.
- address
Binding booleanWhitelist Enabled - 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.
- display
Name 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.
- spoofguard
Switching stringProfile Id - ID of the spoofguard switching profile.
- Spoofguard
Switching Profile Tag[] - A list of scope + tag pairs to associate with this spoofguard switching profile.
- address_
binding_ boolwhitelist_ enabled - 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_ strprofile_ id - ID of the spoofguard switching profile.
- Sequence[Spoofguard
Switching Profile Tag Args] - A list of scope + tag pairs to associate with this spoofguard switching profile.
- address
Binding BooleanWhitelist Enabled - 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.
- display
Name 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.
- spoofguard
Switching StringProfile Id - ID of the spoofguard switching profile.
- List<Property Map>
- A list of scope + tag pairs to associate with this spoofguard switching profile.
Supporting Types
SpoofguardSwitchingProfileTag, SpoofguardSwitchingProfileTagArgs
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.