vcd.NsxtSegmentProfileTemplate
Explore with Pulumi AI
Create NsxtSegmentProfileTemplate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NsxtSegmentProfileTemplate(name: string, args: NsxtSegmentProfileTemplateArgs, opts?: CustomResourceOptions);
@overload
def NsxtSegmentProfileTemplate(resource_name: str,
args: NsxtSegmentProfileTemplateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NsxtSegmentProfileTemplate(resource_name: str,
opts: Optional[ResourceOptions] = None,
nsxt_manager_id: Optional[str] = None,
description: Optional[str] = None,
ip_discovery_profile_id: Optional[str] = None,
mac_discovery_profile_id: Optional[str] = None,
name: Optional[str] = None,
nsxt_segment_profile_template_id: Optional[str] = None,
qos_profile_id: Optional[str] = None,
segment_security_profile_id: Optional[str] = None,
spoof_guard_profile_id: Optional[str] = None)
func NewNsxtSegmentProfileTemplate(ctx *Context, name string, args NsxtSegmentProfileTemplateArgs, opts ...ResourceOption) (*NsxtSegmentProfileTemplate, error)
public NsxtSegmentProfileTemplate(string name, NsxtSegmentProfileTemplateArgs args, CustomResourceOptions? opts = null)
public NsxtSegmentProfileTemplate(String name, NsxtSegmentProfileTemplateArgs args)
public NsxtSegmentProfileTemplate(String name, NsxtSegmentProfileTemplateArgs args, CustomResourceOptions options)
type: vcd:NsxtSegmentProfileTemplate
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 NsxtSegmentProfileTemplateArgs
- 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 NsxtSegmentProfileTemplateArgs
- 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 NsxtSegmentProfileTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NsxtSegmentProfileTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NsxtSegmentProfileTemplateArgs
- 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 nsxtSegmentProfileTemplateResource = new Vcd.NsxtSegmentProfileTemplate("nsxtSegmentProfileTemplateResource", new()
{
NsxtManagerId = "string",
Description = "string",
IpDiscoveryProfileId = "string",
MacDiscoveryProfileId = "string",
Name = "string",
NsxtSegmentProfileTemplateId = "string",
QosProfileId = "string",
SegmentSecurityProfileId = "string",
SpoofGuardProfileId = "string",
});
example, err := vcd.NewNsxtSegmentProfileTemplate(ctx, "nsxtSegmentProfileTemplateResource", &vcd.NsxtSegmentProfileTemplateArgs{
NsxtManagerId: pulumi.String("string"),
Description: pulumi.String("string"),
IpDiscoveryProfileId: pulumi.String("string"),
MacDiscoveryProfileId: pulumi.String("string"),
Name: pulumi.String("string"),
NsxtSegmentProfileTemplateId: pulumi.String("string"),
QosProfileId: pulumi.String("string"),
SegmentSecurityProfileId: pulumi.String("string"),
SpoofGuardProfileId: pulumi.String("string"),
})
var nsxtSegmentProfileTemplateResource = new NsxtSegmentProfileTemplate("nsxtSegmentProfileTemplateResource", NsxtSegmentProfileTemplateArgs.builder()
.nsxtManagerId("string")
.description("string")
.ipDiscoveryProfileId("string")
.macDiscoveryProfileId("string")
.name("string")
.nsxtSegmentProfileTemplateId("string")
.qosProfileId("string")
.segmentSecurityProfileId("string")
.spoofGuardProfileId("string")
.build());
nsxt_segment_profile_template_resource = vcd.NsxtSegmentProfileTemplate("nsxtSegmentProfileTemplateResource",
nsxt_manager_id="string",
description="string",
ip_discovery_profile_id="string",
mac_discovery_profile_id="string",
name="string",
nsxt_segment_profile_template_id="string",
qos_profile_id="string",
segment_security_profile_id="string",
spoof_guard_profile_id="string")
const nsxtSegmentProfileTemplateResource = new vcd.NsxtSegmentProfileTemplate("nsxtSegmentProfileTemplateResource", {
nsxtManagerId: "string",
description: "string",
ipDiscoveryProfileId: "string",
macDiscoveryProfileId: "string",
name: "string",
nsxtSegmentProfileTemplateId: "string",
qosProfileId: "string",
segmentSecurityProfileId: "string",
spoofGuardProfileId: "string",
});
type: vcd:NsxtSegmentProfileTemplate
properties:
description: string
ipDiscoveryProfileId: string
macDiscoveryProfileId: string
name: string
nsxtManagerId: string
nsxtSegmentProfileTemplateId: string
qosProfileId: string
segmentSecurityProfileId: string
spoofGuardProfileId: string
NsxtSegmentProfileTemplate 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 NsxtSegmentProfileTemplate resource accepts the following input properties:
- Nsxt
Manager stringId - NSX-T Manager ID (can be referenced using
vcd.getNsxtManager
datasource) - Description string
- Description of Segment Profile Template
- Ip
Discovery stringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentIpDiscoveryProfile
- Mac
Discovery stringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentMacDiscoveryProfile
- Name string
- Name for Segment Profile Template
- Nsxt
Segment stringProfile Template Id - Qos
Profile stringId - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentQosProfile
- Segment
Security stringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentSecurityProfile
- Spoof
Guard stringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentSpoofGuardProfile
- Nsxt
Manager stringId - NSX-T Manager ID (can be referenced using
vcd.getNsxtManager
datasource) - Description string
- Description of Segment Profile Template
- Ip
Discovery stringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentIpDiscoveryProfile
- Mac
Discovery stringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentMacDiscoveryProfile
- Name string
- Name for Segment Profile Template
- Nsxt
Segment stringProfile Template Id - Qos
Profile stringId - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentQosProfile
- Segment
Security stringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentSecurityProfile
- Spoof
Guard stringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentSpoofGuardProfile
- nsxt
Manager StringId - NSX-T Manager ID (can be referenced using
vcd.getNsxtManager
datasource) - description String
- Description of Segment Profile Template
- ip
Discovery StringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentIpDiscoveryProfile
- mac
Discovery StringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentMacDiscoveryProfile
- name String
- Name for Segment Profile Template
- nsxt
Segment StringProfile Template Id - qos
Profile StringId - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentQosProfile
- segment
Security StringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentSecurityProfile
- spoof
Guard StringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentSpoofGuardProfile
- nsxt
Manager stringId - NSX-T Manager ID (can be referenced using
vcd.getNsxtManager
datasource) - description string
- Description of Segment Profile Template
- ip
Discovery stringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentIpDiscoveryProfile
- mac
Discovery stringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentMacDiscoveryProfile
- name string
- Name for Segment Profile Template
- nsxt
Segment stringProfile Template Id - qos
Profile stringId - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentQosProfile
- segment
Security stringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentSecurityProfile
- spoof
Guard stringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentSpoofGuardProfile
- nsxt_
manager_ strid - NSX-T Manager ID (can be referenced using
vcd.getNsxtManager
datasource) - description str
- Description of Segment Profile Template
- ip_
discovery_ strprofile_ id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentIpDiscoveryProfile
- mac_
discovery_ strprofile_ id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentMacDiscoveryProfile
- name str
- Name for Segment Profile Template
- nsxt_
segment_ strprofile_ template_ id - qos_
profile_ strid - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentQosProfile
- segment_
security_ strprofile_ id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentSecurityProfile
- spoof_
guard_ strprofile_ id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentSpoofGuardProfile
- nsxt
Manager StringId - NSX-T Manager ID (can be referenced using
vcd.getNsxtManager
datasource) - description String
- Description of Segment Profile Template
- ip
Discovery StringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentIpDiscoveryProfile
- mac
Discovery StringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentMacDiscoveryProfile
- name String
- Name for Segment Profile Template
- nsxt
Segment StringProfile Template Id - qos
Profile StringId - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentQosProfile
- segment
Security StringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentSecurityProfile
- spoof
Guard StringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentSpoofGuardProfile
Outputs
All input properties are implicitly available as output properties. Additionally, the NsxtSegmentProfileTemplate resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing NsxtSegmentProfileTemplate Resource
Get an existing NsxtSegmentProfileTemplate 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?: NsxtSegmentProfileTemplateState, opts?: CustomResourceOptions): NsxtSegmentProfileTemplate
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
ip_discovery_profile_id: Optional[str] = None,
mac_discovery_profile_id: Optional[str] = None,
name: Optional[str] = None,
nsxt_manager_id: Optional[str] = None,
nsxt_segment_profile_template_id: Optional[str] = None,
qos_profile_id: Optional[str] = None,
segment_security_profile_id: Optional[str] = None,
spoof_guard_profile_id: Optional[str] = None) -> NsxtSegmentProfileTemplate
func GetNsxtSegmentProfileTemplate(ctx *Context, name string, id IDInput, state *NsxtSegmentProfileTemplateState, opts ...ResourceOption) (*NsxtSegmentProfileTemplate, error)
public static NsxtSegmentProfileTemplate Get(string name, Input<string> id, NsxtSegmentProfileTemplateState? state, CustomResourceOptions? opts = null)
public static NsxtSegmentProfileTemplate get(String name, Output<String> id, NsxtSegmentProfileTemplateState state, CustomResourceOptions options)
resources: _: type: vcd:NsxtSegmentProfileTemplate 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.
- Description string
- Description of Segment Profile Template
- Ip
Discovery stringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentIpDiscoveryProfile
- Mac
Discovery stringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentMacDiscoveryProfile
- Name string
- Name for Segment Profile Template
- Nsxt
Manager stringId - NSX-T Manager ID (can be referenced using
vcd.getNsxtManager
datasource) - Nsxt
Segment stringProfile Template Id - Qos
Profile stringId - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentQosProfile
- Segment
Security stringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentSecurityProfile
- Spoof
Guard stringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentSpoofGuardProfile
- Description string
- Description of Segment Profile Template
- Ip
Discovery stringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentIpDiscoveryProfile
- Mac
Discovery stringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentMacDiscoveryProfile
- Name string
- Name for Segment Profile Template
- Nsxt
Manager stringId - NSX-T Manager ID (can be referenced using
vcd.getNsxtManager
datasource) - Nsxt
Segment stringProfile Template Id - Qos
Profile stringId - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentQosProfile
- Segment
Security stringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentSecurityProfile
- Spoof
Guard stringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentSpoofGuardProfile
- description String
- Description of Segment Profile Template
- ip
Discovery StringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentIpDiscoveryProfile
- mac
Discovery StringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentMacDiscoveryProfile
- name String
- Name for Segment Profile Template
- nsxt
Manager StringId - NSX-T Manager ID (can be referenced using
vcd.getNsxtManager
datasource) - nsxt
Segment StringProfile Template Id - qos
Profile StringId - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentQosProfile
- segment
Security StringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentSecurityProfile
- spoof
Guard StringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentSpoofGuardProfile
- description string
- Description of Segment Profile Template
- ip
Discovery stringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentIpDiscoveryProfile
- mac
Discovery stringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentMacDiscoveryProfile
- name string
- Name for Segment Profile Template
- nsxt
Manager stringId - NSX-T Manager ID (can be referenced using
vcd.getNsxtManager
datasource) - nsxt
Segment stringProfile Template Id - qos
Profile stringId - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentQosProfile
- segment
Security stringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentSecurityProfile
- spoof
Guard stringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentSpoofGuardProfile
- description str
- Description of Segment Profile Template
- ip_
discovery_ strprofile_ id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentIpDiscoveryProfile
- mac_
discovery_ strprofile_ id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentMacDiscoveryProfile
- name str
- Name for Segment Profile Template
- nsxt_
manager_ strid - NSX-T Manager ID (can be referenced using
vcd.getNsxtManager
datasource) - nsxt_
segment_ strprofile_ template_ id - qos_
profile_ strid - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentQosProfile
- segment_
security_ strprofile_ id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentSecurityProfile
- spoof_
guard_ strprofile_ id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentSpoofGuardProfile
- description String
- Description of Segment Profile Template
- ip
Discovery StringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentIpDiscoveryProfile
- mac
Discovery StringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentMacDiscoveryProfile
- name String
- Name for Segment Profile Template
- nsxt
Manager StringId - NSX-T Manager ID (can be referenced using
vcd.getNsxtManager
datasource) - nsxt
Segment StringProfile Template Id - qos
Profile StringId - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentQosProfile
- segment
Security StringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentSecurityProfile
- spoof
Guard StringProfile Id - IP Discovery Profile ID. can be referenced using
vcd.getNsxtSegmentSpoofGuardProfile
Package Details
- Repository
- vcd vmware/terraform-provider-vcd
- License
- Notes
- This Pulumi package is based on the
vcd
Terraform Provider.