1. Packages
  2. Vcd Provider
  3. API Docs
  4. NsxtSegmentProfileTemplate
vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware

vcd.NsxtSegmentProfileTemplate

Explore with Pulumi AI

vcd logo
vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware

    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:

    NsxtManagerId string
    NSX-T Manager ID (can be referenced using vcd.getNsxtManager datasource)
    Description string
    Description of Segment Profile Template
    IpDiscoveryProfileId string
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentIpDiscoveryProfile
    MacDiscoveryProfileId string
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentMacDiscoveryProfile
    Name string
    Name for Segment Profile Template
    NsxtSegmentProfileTemplateId string
    QosProfileId string
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentQosProfile
    SegmentSecurityProfileId string
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentSecurityProfile
    SpoofGuardProfileId string
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentSpoofGuardProfile
    NsxtManagerId string
    NSX-T Manager ID (can be referenced using vcd.getNsxtManager datasource)
    Description string
    Description of Segment Profile Template
    IpDiscoveryProfileId string
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentIpDiscoveryProfile
    MacDiscoveryProfileId string
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentMacDiscoveryProfile
    Name string
    Name for Segment Profile Template
    NsxtSegmentProfileTemplateId string
    QosProfileId string
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentQosProfile
    SegmentSecurityProfileId string
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentSecurityProfile
    SpoofGuardProfileId string
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentSpoofGuardProfile
    nsxtManagerId String
    NSX-T Manager ID (can be referenced using vcd.getNsxtManager datasource)
    description String
    Description of Segment Profile Template
    ipDiscoveryProfileId String
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentIpDiscoveryProfile
    macDiscoveryProfileId String
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentMacDiscoveryProfile
    name String
    Name for Segment Profile Template
    nsxtSegmentProfileTemplateId String
    qosProfileId String
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentQosProfile
    segmentSecurityProfileId String
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentSecurityProfile
    spoofGuardProfileId String
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentSpoofGuardProfile
    nsxtManagerId string
    NSX-T Manager ID (can be referenced using vcd.getNsxtManager datasource)
    description string
    Description of Segment Profile Template
    ipDiscoveryProfileId string
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentIpDiscoveryProfile
    macDiscoveryProfileId string
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentMacDiscoveryProfile
    name string
    Name for Segment Profile Template
    nsxtSegmentProfileTemplateId string
    qosProfileId string
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentQosProfile
    segmentSecurityProfileId string
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentSecurityProfile
    spoofGuardProfileId string
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentSpoofGuardProfile
    nsxt_manager_id str
    NSX-T Manager ID (can be referenced using vcd.getNsxtManager datasource)
    description str
    Description of Segment Profile Template
    ip_discovery_profile_id str
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentIpDiscoveryProfile
    mac_discovery_profile_id str
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentMacDiscoveryProfile
    name str
    Name for Segment Profile Template
    nsxt_segment_profile_template_id str
    qos_profile_id str
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentQosProfile
    segment_security_profile_id str
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentSecurityProfile
    spoof_guard_profile_id str
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentSpoofGuardProfile
    nsxtManagerId String
    NSX-T Manager ID (can be referenced using vcd.getNsxtManager datasource)
    description String
    Description of Segment Profile Template
    ipDiscoveryProfileId String
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentIpDiscoveryProfile
    macDiscoveryProfileId String
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentMacDiscoveryProfile
    name String
    Name for Segment Profile Template
    nsxtSegmentProfileTemplateId String
    qosProfileId String
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentQosProfile
    segmentSecurityProfileId String
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentSecurityProfile
    spoofGuardProfileId String
    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.
    The following state arguments are supported:
    Description string
    Description of Segment Profile Template
    IpDiscoveryProfileId string
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentIpDiscoveryProfile
    MacDiscoveryProfileId string
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentMacDiscoveryProfile
    Name string
    Name for Segment Profile Template
    NsxtManagerId string
    NSX-T Manager ID (can be referenced using vcd.getNsxtManager datasource)
    NsxtSegmentProfileTemplateId string
    QosProfileId string
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentQosProfile
    SegmentSecurityProfileId string
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentSecurityProfile
    SpoofGuardProfileId string
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentSpoofGuardProfile
    Description string
    Description of Segment Profile Template
    IpDiscoveryProfileId string
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentIpDiscoveryProfile
    MacDiscoveryProfileId string
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentMacDiscoveryProfile
    Name string
    Name for Segment Profile Template
    NsxtManagerId string
    NSX-T Manager ID (can be referenced using vcd.getNsxtManager datasource)
    NsxtSegmentProfileTemplateId string
    QosProfileId string
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentQosProfile
    SegmentSecurityProfileId string
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentSecurityProfile
    SpoofGuardProfileId string
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentSpoofGuardProfile
    description String
    Description of Segment Profile Template
    ipDiscoveryProfileId String
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentIpDiscoveryProfile
    macDiscoveryProfileId String
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentMacDiscoveryProfile
    name String
    Name for Segment Profile Template
    nsxtManagerId String
    NSX-T Manager ID (can be referenced using vcd.getNsxtManager datasource)
    nsxtSegmentProfileTemplateId String
    qosProfileId String
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentQosProfile
    segmentSecurityProfileId String
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentSecurityProfile
    spoofGuardProfileId String
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentSpoofGuardProfile
    description string
    Description of Segment Profile Template
    ipDiscoveryProfileId string
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentIpDiscoveryProfile
    macDiscoveryProfileId string
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentMacDiscoveryProfile
    name string
    Name for Segment Profile Template
    nsxtManagerId string
    NSX-T Manager ID (can be referenced using vcd.getNsxtManager datasource)
    nsxtSegmentProfileTemplateId string
    qosProfileId string
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentQosProfile
    segmentSecurityProfileId string
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentSecurityProfile
    spoofGuardProfileId string
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentSpoofGuardProfile
    description str
    Description of Segment Profile Template
    ip_discovery_profile_id str
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentIpDiscoveryProfile
    mac_discovery_profile_id str
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentMacDiscoveryProfile
    name str
    Name for Segment Profile Template
    nsxt_manager_id str
    NSX-T Manager ID (can be referenced using vcd.getNsxtManager datasource)
    nsxt_segment_profile_template_id str
    qos_profile_id str
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentQosProfile
    segment_security_profile_id str
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentSecurityProfile
    spoof_guard_profile_id str
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentSpoofGuardProfile
    description String
    Description of Segment Profile Template
    ipDiscoveryProfileId String
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentIpDiscoveryProfile
    macDiscoveryProfileId String
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentMacDiscoveryProfile
    name String
    Name for Segment Profile Template
    nsxtManagerId String
    NSX-T Manager ID (can be referenced using vcd.getNsxtManager datasource)
    nsxtSegmentProfileTemplateId String
    qosProfileId String
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentQosProfile
    segmentSecurityProfileId String
    IP Discovery Profile ID. can be referenced using vcd.getNsxtSegmentSecurityProfile
    spoofGuardProfileId String
    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.
    vcd logo
    vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware