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

vcd.NsxtNetworkSegmentProfile

Explore with Pulumi AI

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

    Create NsxtNetworkSegmentProfile Resource

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

    Constructor syntax

    new NsxtNetworkSegmentProfile(name: string, args: NsxtNetworkSegmentProfileArgs, opts?: CustomResourceOptions);
    @overload
    def NsxtNetworkSegmentProfile(resource_name: str,
                                  args: NsxtNetworkSegmentProfileArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def NsxtNetworkSegmentProfile(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  org_network_id: Optional[str] = None,
                                  ip_discovery_profile_id: Optional[str] = None,
                                  mac_discovery_profile_id: Optional[str] = None,
                                  nsxt_network_segment_profile_id: Optional[str] = None,
                                  org: Optional[str] = None,
                                  qos_profile_id: Optional[str] = None,
                                  segment_profile_template_id: Optional[str] = None,
                                  segment_security_profile_id: Optional[str] = None,
                                  spoof_guard_profile_id: Optional[str] = None)
    func NewNsxtNetworkSegmentProfile(ctx *Context, name string, args NsxtNetworkSegmentProfileArgs, opts ...ResourceOption) (*NsxtNetworkSegmentProfile, error)
    public NsxtNetworkSegmentProfile(string name, NsxtNetworkSegmentProfileArgs args, CustomResourceOptions? opts = null)
    public NsxtNetworkSegmentProfile(String name, NsxtNetworkSegmentProfileArgs args)
    public NsxtNetworkSegmentProfile(String name, NsxtNetworkSegmentProfileArgs args, CustomResourceOptions options)
    
    type: vcd:NsxtNetworkSegmentProfile
    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 NsxtNetworkSegmentProfileArgs
    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 NsxtNetworkSegmentProfileArgs
    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 NsxtNetworkSegmentProfileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NsxtNetworkSegmentProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args NsxtNetworkSegmentProfileArgs
    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 nsxtNetworkSegmentProfileResource = new Vcd.NsxtNetworkSegmentProfile("nsxtNetworkSegmentProfileResource", new()
    {
        OrgNetworkId = "string",
        IpDiscoveryProfileId = "string",
        MacDiscoveryProfileId = "string",
        NsxtNetworkSegmentProfileId = "string",
        Org = "string",
        QosProfileId = "string",
        SegmentProfileTemplateId = "string",
        SegmentSecurityProfileId = "string",
        SpoofGuardProfileId = "string",
    });
    
    example, err := vcd.NewNsxtNetworkSegmentProfile(ctx, "nsxtNetworkSegmentProfileResource", &vcd.NsxtNetworkSegmentProfileArgs{
    	OrgNetworkId:                pulumi.String("string"),
    	IpDiscoveryProfileId:        pulumi.String("string"),
    	MacDiscoveryProfileId:       pulumi.String("string"),
    	NsxtNetworkSegmentProfileId: pulumi.String("string"),
    	Org:                         pulumi.String("string"),
    	QosProfileId:                pulumi.String("string"),
    	SegmentProfileTemplateId:    pulumi.String("string"),
    	SegmentSecurityProfileId:    pulumi.String("string"),
    	SpoofGuardProfileId:         pulumi.String("string"),
    })
    
    var nsxtNetworkSegmentProfileResource = new NsxtNetworkSegmentProfile("nsxtNetworkSegmentProfileResource", NsxtNetworkSegmentProfileArgs.builder()
        .orgNetworkId("string")
        .ipDiscoveryProfileId("string")
        .macDiscoveryProfileId("string")
        .nsxtNetworkSegmentProfileId("string")
        .org("string")
        .qosProfileId("string")
        .segmentProfileTemplateId("string")
        .segmentSecurityProfileId("string")
        .spoofGuardProfileId("string")
        .build());
    
    nsxt_network_segment_profile_resource = vcd.NsxtNetworkSegmentProfile("nsxtNetworkSegmentProfileResource",
        org_network_id="string",
        ip_discovery_profile_id="string",
        mac_discovery_profile_id="string",
        nsxt_network_segment_profile_id="string",
        org="string",
        qos_profile_id="string",
        segment_profile_template_id="string",
        segment_security_profile_id="string",
        spoof_guard_profile_id="string")
    
    const nsxtNetworkSegmentProfileResource = new vcd.NsxtNetworkSegmentProfile("nsxtNetworkSegmentProfileResource", {
        orgNetworkId: "string",
        ipDiscoveryProfileId: "string",
        macDiscoveryProfileId: "string",
        nsxtNetworkSegmentProfileId: "string",
        org: "string",
        qosProfileId: "string",
        segmentProfileTemplateId: "string",
        segmentSecurityProfileId: "string",
        spoofGuardProfileId: "string",
    });
    
    type: vcd:NsxtNetworkSegmentProfile
    properties:
        ipDiscoveryProfileId: string
        macDiscoveryProfileId: string
        nsxtNetworkSegmentProfileId: string
        org: string
        orgNetworkId: string
        qosProfileId: string
        segmentProfileTemplateId: string
        segmentSecurityProfileId: string
        spoofGuardProfileId: string
    

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

    OrgNetworkId string
    Org VDC Network ID
    IpDiscoveryProfileId string
    IP Discovery Profile ID. Can be referenced using vcd.getNsxtSegmentIpDiscoveryProfile data source.
    MacDiscoveryProfileId string
    MAC Discovery Profile ID. Can be referenced using vcd.getNsxtSegmentMacDiscoveryProfile data source.
    NsxtNetworkSegmentProfileId string
    Org string
    The name of organization to use, optional if defined at provider level
    QosProfileId string
    QoS Profile ID. Can be referenced using vcd.getNsxtSegmentQosProfile data source.
    SegmentProfileTemplateId string
    Segment Profile Template ID to be applied for this Org VDC Network
    SegmentSecurityProfileId string
    Segment Security Profile ID. Can be referenced using vcd.getNsxtSegmentSecurityProfile data source.
    SpoofGuardProfileId string
    Spoof Guard Profile ID. Can be referenced using vcd.getNsxtSegmentSpoofGuardProfile data source.
    OrgNetworkId string
    Org VDC Network ID
    IpDiscoveryProfileId string
    IP Discovery Profile ID. Can be referenced using vcd.getNsxtSegmentIpDiscoveryProfile data source.
    MacDiscoveryProfileId string
    MAC Discovery Profile ID. Can be referenced using vcd.getNsxtSegmentMacDiscoveryProfile data source.
    NsxtNetworkSegmentProfileId string
    Org string
    The name of organization to use, optional if defined at provider level
    QosProfileId string
    QoS Profile ID. Can be referenced using vcd.getNsxtSegmentQosProfile data source.
    SegmentProfileTemplateId string
    Segment Profile Template ID to be applied for this Org VDC Network
    SegmentSecurityProfileId string
    Segment Security Profile ID. Can be referenced using vcd.getNsxtSegmentSecurityProfile data source.
    SpoofGuardProfileId string
    Spoof Guard Profile ID. Can be referenced using vcd.getNsxtSegmentSpoofGuardProfile data source.
    orgNetworkId String
    Org VDC Network ID
    ipDiscoveryProfileId String
    IP Discovery Profile ID. Can be referenced using vcd.getNsxtSegmentIpDiscoveryProfile data source.
    macDiscoveryProfileId String
    MAC Discovery Profile ID. Can be referenced using vcd.getNsxtSegmentMacDiscoveryProfile data source.
    nsxtNetworkSegmentProfileId String
    org String
    The name of organization to use, optional if defined at provider level
    qosProfileId String
    QoS Profile ID. Can be referenced using vcd.getNsxtSegmentQosProfile data source.
    segmentProfileTemplateId String
    Segment Profile Template ID to be applied for this Org VDC Network
    segmentSecurityProfileId String
    Segment Security Profile ID. Can be referenced using vcd.getNsxtSegmentSecurityProfile data source.
    spoofGuardProfileId String
    Spoof Guard Profile ID. Can be referenced using vcd.getNsxtSegmentSpoofGuardProfile data source.
    orgNetworkId string
    Org VDC Network ID
    ipDiscoveryProfileId string
    IP Discovery Profile ID. Can be referenced using vcd.getNsxtSegmentIpDiscoveryProfile data source.
    macDiscoveryProfileId string
    MAC Discovery Profile ID. Can be referenced using vcd.getNsxtSegmentMacDiscoveryProfile data source.
    nsxtNetworkSegmentProfileId string
    org string
    The name of organization to use, optional if defined at provider level
    qosProfileId string
    QoS Profile ID. Can be referenced using vcd.getNsxtSegmentQosProfile data source.
    segmentProfileTemplateId string
    Segment Profile Template ID to be applied for this Org VDC Network
    segmentSecurityProfileId string
    Segment Security Profile ID. Can be referenced using vcd.getNsxtSegmentSecurityProfile data source.
    spoofGuardProfileId string
    Spoof Guard Profile ID. Can be referenced using vcd.getNsxtSegmentSpoofGuardProfile data source.
    org_network_id str
    Org VDC Network ID
    ip_discovery_profile_id str
    IP Discovery Profile ID. Can be referenced using vcd.getNsxtSegmentIpDiscoveryProfile data source.
    mac_discovery_profile_id str
    MAC Discovery Profile ID. Can be referenced using vcd.getNsxtSegmentMacDiscoveryProfile data source.
    nsxt_network_segment_profile_id str
    org str
    The name of organization to use, optional if defined at provider level
    qos_profile_id str
    QoS Profile ID. Can be referenced using vcd.getNsxtSegmentQosProfile data source.
    segment_profile_template_id str
    Segment Profile Template ID to be applied for this Org VDC Network
    segment_security_profile_id str
    Segment Security Profile ID. Can be referenced using vcd.getNsxtSegmentSecurityProfile data source.
    spoof_guard_profile_id str
    Spoof Guard Profile ID. Can be referenced using vcd.getNsxtSegmentSpoofGuardProfile data source.
    orgNetworkId String
    Org VDC Network ID
    ipDiscoveryProfileId String
    IP Discovery Profile ID. Can be referenced using vcd.getNsxtSegmentIpDiscoveryProfile data source.
    macDiscoveryProfileId String
    MAC Discovery Profile ID. Can be referenced using vcd.getNsxtSegmentMacDiscoveryProfile data source.
    nsxtNetworkSegmentProfileId String
    org String
    The name of organization to use, optional if defined at provider level
    qosProfileId String
    QoS Profile ID. Can be referenced using vcd.getNsxtSegmentQosProfile data source.
    segmentProfileTemplateId String
    Segment Profile Template ID to be applied for this Org VDC Network
    segmentSecurityProfileId String
    Segment Security Profile ID. Can be referenced using vcd.getNsxtSegmentSecurityProfile data source.
    spoofGuardProfileId String
    Spoof Guard Profile ID. Can be referenced using vcd.getNsxtSegmentSpoofGuardProfile data source.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    SegmentProfileTemplateName string
    Segment Profile Template Name
    Id string
    The provider-assigned unique ID for this managed resource.
    SegmentProfileTemplateName string
    Segment Profile Template Name
    id String
    The provider-assigned unique ID for this managed resource.
    segmentProfileTemplateName String
    Segment Profile Template Name
    id string
    The provider-assigned unique ID for this managed resource.
    segmentProfileTemplateName string
    Segment Profile Template Name
    id str
    The provider-assigned unique ID for this managed resource.
    segment_profile_template_name str
    Segment Profile Template Name
    id String
    The provider-assigned unique ID for this managed resource.
    segmentProfileTemplateName String
    Segment Profile Template Name

    Look up Existing NsxtNetworkSegmentProfile Resource

    Get an existing NsxtNetworkSegmentProfile 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?: NsxtNetworkSegmentProfileState, opts?: CustomResourceOptions): NsxtNetworkSegmentProfile
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            ip_discovery_profile_id: Optional[str] = None,
            mac_discovery_profile_id: Optional[str] = None,
            nsxt_network_segment_profile_id: Optional[str] = None,
            org: Optional[str] = None,
            org_network_id: Optional[str] = None,
            qos_profile_id: Optional[str] = None,
            segment_profile_template_id: Optional[str] = None,
            segment_profile_template_name: Optional[str] = None,
            segment_security_profile_id: Optional[str] = None,
            spoof_guard_profile_id: Optional[str] = None) -> NsxtNetworkSegmentProfile
    func GetNsxtNetworkSegmentProfile(ctx *Context, name string, id IDInput, state *NsxtNetworkSegmentProfileState, opts ...ResourceOption) (*NsxtNetworkSegmentProfile, error)
    public static NsxtNetworkSegmentProfile Get(string name, Input<string> id, NsxtNetworkSegmentProfileState? state, CustomResourceOptions? opts = null)
    public static NsxtNetworkSegmentProfile get(String name, Output<String> id, NsxtNetworkSegmentProfileState state, CustomResourceOptions options)
    resources:  _:    type: vcd:NsxtNetworkSegmentProfile    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:
    IpDiscoveryProfileId string
    IP Discovery Profile ID. Can be referenced using vcd.getNsxtSegmentIpDiscoveryProfile data source.
    MacDiscoveryProfileId string
    MAC Discovery Profile ID. Can be referenced using vcd.getNsxtSegmentMacDiscoveryProfile data source.
    NsxtNetworkSegmentProfileId string
    Org string
    The name of organization to use, optional if defined at provider level
    OrgNetworkId string
    Org VDC Network ID
    QosProfileId string
    QoS Profile ID. Can be referenced using vcd.getNsxtSegmentQosProfile data source.
    SegmentProfileTemplateId string
    Segment Profile Template ID to be applied for this Org VDC Network
    SegmentProfileTemplateName string
    Segment Profile Template Name
    SegmentSecurityProfileId string
    Segment Security Profile ID. Can be referenced using vcd.getNsxtSegmentSecurityProfile data source.
    SpoofGuardProfileId string
    Spoof Guard Profile ID. Can be referenced using vcd.getNsxtSegmentSpoofGuardProfile data source.
    IpDiscoveryProfileId string
    IP Discovery Profile ID. Can be referenced using vcd.getNsxtSegmentIpDiscoveryProfile data source.
    MacDiscoveryProfileId string
    MAC Discovery Profile ID. Can be referenced using vcd.getNsxtSegmentMacDiscoveryProfile data source.
    NsxtNetworkSegmentProfileId string
    Org string
    The name of organization to use, optional if defined at provider level
    OrgNetworkId string
    Org VDC Network ID
    QosProfileId string
    QoS Profile ID. Can be referenced using vcd.getNsxtSegmentQosProfile data source.
    SegmentProfileTemplateId string
    Segment Profile Template ID to be applied for this Org VDC Network
    SegmentProfileTemplateName string
    Segment Profile Template Name
    SegmentSecurityProfileId string
    Segment Security Profile ID. Can be referenced using vcd.getNsxtSegmentSecurityProfile data source.
    SpoofGuardProfileId string
    Spoof Guard Profile ID. Can be referenced using vcd.getNsxtSegmentSpoofGuardProfile data source.
    ipDiscoveryProfileId String
    IP Discovery Profile ID. Can be referenced using vcd.getNsxtSegmentIpDiscoveryProfile data source.
    macDiscoveryProfileId String
    MAC Discovery Profile ID. Can be referenced using vcd.getNsxtSegmentMacDiscoveryProfile data source.
    nsxtNetworkSegmentProfileId String
    org String
    The name of organization to use, optional if defined at provider level
    orgNetworkId String
    Org VDC Network ID
    qosProfileId String
    QoS Profile ID. Can be referenced using vcd.getNsxtSegmentQosProfile data source.
    segmentProfileTemplateId String
    Segment Profile Template ID to be applied for this Org VDC Network
    segmentProfileTemplateName String
    Segment Profile Template Name
    segmentSecurityProfileId String
    Segment Security Profile ID. Can be referenced using vcd.getNsxtSegmentSecurityProfile data source.
    spoofGuardProfileId String
    Spoof Guard Profile ID. Can be referenced using vcd.getNsxtSegmentSpoofGuardProfile data source.
    ipDiscoveryProfileId string
    IP Discovery Profile ID. Can be referenced using vcd.getNsxtSegmentIpDiscoveryProfile data source.
    macDiscoveryProfileId string
    MAC Discovery Profile ID. Can be referenced using vcd.getNsxtSegmentMacDiscoveryProfile data source.
    nsxtNetworkSegmentProfileId string
    org string
    The name of organization to use, optional if defined at provider level
    orgNetworkId string
    Org VDC Network ID
    qosProfileId string
    QoS Profile ID. Can be referenced using vcd.getNsxtSegmentQosProfile data source.
    segmentProfileTemplateId string
    Segment Profile Template ID to be applied for this Org VDC Network
    segmentProfileTemplateName string
    Segment Profile Template Name
    segmentSecurityProfileId string
    Segment Security Profile ID. Can be referenced using vcd.getNsxtSegmentSecurityProfile data source.
    spoofGuardProfileId string
    Spoof Guard Profile ID. Can be referenced using vcd.getNsxtSegmentSpoofGuardProfile data source.
    ip_discovery_profile_id str
    IP Discovery Profile ID. Can be referenced using vcd.getNsxtSegmentIpDiscoveryProfile data source.
    mac_discovery_profile_id str
    MAC Discovery Profile ID. Can be referenced using vcd.getNsxtSegmentMacDiscoveryProfile data source.
    nsxt_network_segment_profile_id str
    org str
    The name of organization to use, optional if defined at provider level
    org_network_id str
    Org VDC Network ID
    qos_profile_id str
    QoS Profile ID. Can be referenced using vcd.getNsxtSegmentQosProfile data source.
    segment_profile_template_id str
    Segment Profile Template ID to be applied for this Org VDC Network
    segment_profile_template_name str
    Segment Profile Template Name
    segment_security_profile_id str
    Segment Security Profile ID. Can be referenced using vcd.getNsxtSegmentSecurityProfile data source.
    spoof_guard_profile_id str
    Spoof Guard Profile ID. Can be referenced using vcd.getNsxtSegmentSpoofGuardProfile data source.
    ipDiscoveryProfileId String
    IP Discovery Profile ID. Can be referenced using vcd.getNsxtSegmentIpDiscoveryProfile data source.
    macDiscoveryProfileId String
    MAC Discovery Profile ID. Can be referenced using vcd.getNsxtSegmentMacDiscoveryProfile data source.
    nsxtNetworkSegmentProfileId String
    org String
    The name of organization to use, optional if defined at provider level
    orgNetworkId String
    Org VDC Network ID
    qosProfileId String
    QoS Profile ID. Can be referenced using vcd.getNsxtSegmentQosProfile data source.
    segmentProfileTemplateId String
    Segment Profile Template ID to be applied for this Org VDC Network
    segmentProfileTemplateName String
    Segment Profile Template Name
    segmentSecurityProfileId String
    Segment Security Profile ID. Can be referenced using vcd.getNsxtSegmentSecurityProfile data source.
    spoofGuardProfileId String
    Spoof Guard Profile ID. Can be referenced using vcd.getNsxtSegmentSpoofGuardProfile data source.

    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