vcd.NsxtNetworkSegmentProfile
Explore with Pulumi AI
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:
- Org
Network stringId - Org VDC Network ID
- Ip
Discovery stringProfile Id - IP Discovery Profile ID. Can be referenced using
vcd.getNsxtSegmentIpDiscoveryProfile
data source. - Mac
Discovery stringProfile Id - MAC Discovery Profile ID. Can be referenced using
vcd.getNsxtSegmentMacDiscoveryProfile
data source. - Nsxt
Network stringSegment Profile Id - Org string
- The name of organization to use, optional if defined at provider level
- Qos
Profile stringId - QoS Profile ID. Can be referenced using
vcd.getNsxtSegmentQosProfile
data source. - Segment
Profile stringTemplate Id - Segment Profile Template ID to be applied for this Org VDC Network
- Segment
Security stringProfile Id - Segment Security Profile ID. Can be referenced using
vcd.getNsxtSegmentSecurityProfile
data source. - Spoof
Guard stringProfile Id - Spoof Guard Profile ID. Can be referenced using
vcd.getNsxtSegmentSpoofGuardProfile
data source.
- Org
Network stringId - Org VDC Network ID
- Ip
Discovery stringProfile Id - IP Discovery Profile ID. Can be referenced using
vcd.getNsxtSegmentIpDiscoveryProfile
data source. - Mac
Discovery stringProfile Id - MAC Discovery Profile ID. Can be referenced using
vcd.getNsxtSegmentMacDiscoveryProfile
data source. - Nsxt
Network stringSegment Profile Id - Org string
- The name of organization to use, optional if defined at provider level
- Qos
Profile stringId - QoS Profile ID. Can be referenced using
vcd.getNsxtSegmentQosProfile
data source. - Segment
Profile stringTemplate Id - Segment Profile Template ID to be applied for this Org VDC Network
- Segment
Security stringProfile Id - Segment Security Profile ID. Can be referenced using
vcd.getNsxtSegmentSecurityProfile
data source. - Spoof
Guard stringProfile Id - Spoof Guard Profile ID. Can be referenced using
vcd.getNsxtSegmentSpoofGuardProfile
data source.
- org
Network StringId - Org VDC Network ID
- ip
Discovery StringProfile Id - IP Discovery Profile ID. Can be referenced using
vcd.getNsxtSegmentIpDiscoveryProfile
data source. - mac
Discovery StringProfile Id - MAC Discovery Profile ID. Can be referenced using
vcd.getNsxtSegmentMacDiscoveryProfile
data source. - nsxt
Network StringSegment Profile Id - org String
- The name of organization to use, optional if defined at provider level
- qos
Profile StringId - QoS Profile ID. Can be referenced using
vcd.getNsxtSegmentQosProfile
data source. - segment
Profile StringTemplate Id - Segment Profile Template ID to be applied for this Org VDC Network
- segment
Security StringProfile Id - Segment Security Profile ID. Can be referenced using
vcd.getNsxtSegmentSecurityProfile
data source. - spoof
Guard StringProfile Id - Spoof Guard Profile ID. Can be referenced using
vcd.getNsxtSegmentSpoofGuardProfile
data source.
- org
Network stringId - Org VDC Network ID
- ip
Discovery stringProfile Id - IP Discovery Profile ID. Can be referenced using
vcd.getNsxtSegmentIpDiscoveryProfile
data source. - mac
Discovery stringProfile Id - MAC Discovery Profile ID. Can be referenced using
vcd.getNsxtSegmentMacDiscoveryProfile
data source. - nsxt
Network stringSegment Profile Id - org string
- The name of organization to use, optional if defined at provider level
- qos
Profile stringId - QoS Profile ID. Can be referenced using
vcd.getNsxtSegmentQosProfile
data source. - segment
Profile stringTemplate Id - Segment Profile Template ID to be applied for this Org VDC Network
- segment
Security stringProfile Id - Segment Security Profile ID. Can be referenced using
vcd.getNsxtSegmentSecurityProfile
data source. - spoof
Guard stringProfile Id - Spoof Guard Profile ID. Can be referenced using
vcd.getNsxtSegmentSpoofGuardProfile
data source.
- org_
network_ strid - Org VDC Network ID
- ip_
discovery_ strprofile_ id - IP Discovery Profile ID. Can be referenced using
vcd.getNsxtSegmentIpDiscoveryProfile
data source. - mac_
discovery_ strprofile_ id - MAC Discovery Profile ID. Can be referenced using
vcd.getNsxtSegmentMacDiscoveryProfile
data source. - nsxt_
network_ strsegment_ profile_ id - org str
- The name of organization to use, optional if defined at provider level
- qos_
profile_ strid - QoS Profile ID. Can be referenced using
vcd.getNsxtSegmentQosProfile
data source. - segment_
profile_ strtemplate_ id - Segment Profile Template ID to be applied for this Org VDC Network
- segment_
security_ strprofile_ id - Segment Security Profile ID. Can be referenced using
vcd.getNsxtSegmentSecurityProfile
data source. - spoof_
guard_ strprofile_ id - Spoof Guard Profile ID. Can be referenced using
vcd.getNsxtSegmentSpoofGuardProfile
data source.
- org
Network StringId - Org VDC Network ID
- ip
Discovery StringProfile Id - IP Discovery Profile ID. Can be referenced using
vcd.getNsxtSegmentIpDiscoveryProfile
data source. - mac
Discovery StringProfile Id - MAC Discovery Profile ID. Can be referenced using
vcd.getNsxtSegmentMacDiscoveryProfile
data source. - nsxt
Network StringSegment Profile Id - org String
- The name of organization to use, optional if defined at provider level
- qos
Profile StringId - QoS Profile ID. Can be referenced using
vcd.getNsxtSegmentQosProfile
data source. - segment
Profile StringTemplate Id - Segment Profile Template ID to be applied for this Org VDC Network
- segment
Security StringProfile Id - Segment Security Profile ID. Can be referenced using
vcd.getNsxtSegmentSecurityProfile
data source. - spoof
Guard StringProfile Id - 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.
- Segment
Profile stringTemplate Name - Segment Profile Template Name
- Id string
- The provider-assigned unique ID for this managed resource.
- Segment
Profile stringTemplate Name - Segment Profile Template Name
- id String
- The provider-assigned unique ID for this managed resource.
- segment
Profile StringTemplate Name - Segment Profile Template Name
- id string
- The provider-assigned unique ID for this managed resource.
- segment
Profile stringTemplate Name - Segment Profile Template Name
- id str
- The provider-assigned unique ID for this managed resource.
- segment_
profile_ strtemplate_ name - Segment Profile Template Name
- id String
- The provider-assigned unique ID for this managed resource.
- segment
Profile StringTemplate Name - 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.
- Ip
Discovery stringProfile Id - IP Discovery Profile ID. Can be referenced using
vcd.getNsxtSegmentIpDiscoveryProfile
data source. - Mac
Discovery stringProfile Id - MAC Discovery Profile ID. Can be referenced using
vcd.getNsxtSegmentMacDiscoveryProfile
data source. - Nsxt
Network stringSegment Profile Id - Org string
- The name of organization to use, optional if defined at provider level
- Org
Network stringId - Org VDC Network ID
- Qos
Profile stringId - QoS Profile ID. Can be referenced using
vcd.getNsxtSegmentQosProfile
data source. - Segment
Profile stringTemplate Id - Segment Profile Template ID to be applied for this Org VDC Network
- Segment
Profile stringTemplate Name - Segment Profile Template Name
- Segment
Security stringProfile Id - Segment Security Profile ID. Can be referenced using
vcd.getNsxtSegmentSecurityProfile
data source. - Spoof
Guard stringProfile Id - Spoof Guard Profile ID. Can be referenced using
vcd.getNsxtSegmentSpoofGuardProfile
data source.
- Ip
Discovery stringProfile Id - IP Discovery Profile ID. Can be referenced using
vcd.getNsxtSegmentIpDiscoveryProfile
data source. - Mac
Discovery stringProfile Id - MAC Discovery Profile ID. Can be referenced using
vcd.getNsxtSegmentMacDiscoveryProfile
data source. - Nsxt
Network stringSegment Profile Id - Org string
- The name of organization to use, optional if defined at provider level
- Org
Network stringId - Org VDC Network ID
- Qos
Profile stringId - QoS Profile ID. Can be referenced using
vcd.getNsxtSegmentQosProfile
data source. - Segment
Profile stringTemplate Id - Segment Profile Template ID to be applied for this Org VDC Network
- Segment
Profile stringTemplate Name - Segment Profile Template Name
- Segment
Security stringProfile Id - Segment Security Profile ID. Can be referenced using
vcd.getNsxtSegmentSecurityProfile
data source. - Spoof
Guard stringProfile Id - Spoof Guard Profile ID. Can be referenced using
vcd.getNsxtSegmentSpoofGuardProfile
data source.
- ip
Discovery StringProfile Id - IP Discovery Profile ID. Can be referenced using
vcd.getNsxtSegmentIpDiscoveryProfile
data source. - mac
Discovery StringProfile Id - MAC Discovery Profile ID. Can be referenced using
vcd.getNsxtSegmentMacDiscoveryProfile
data source. - nsxt
Network StringSegment Profile Id - org String
- The name of organization to use, optional if defined at provider level
- org
Network StringId - Org VDC Network ID
- qos
Profile StringId - QoS Profile ID. Can be referenced using
vcd.getNsxtSegmentQosProfile
data source. - segment
Profile StringTemplate Id - Segment Profile Template ID to be applied for this Org VDC Network
- segment
Profile StringTemplate Name - Segment Profile Template Name
- segment
Security StringProfile Id - Segment Security Profile ID. Can be referenced using
vcd.getNsxtSegmentSecurityProfile
data source. - spoof
Guard StringProfile Id - Spoof Guard Profile ID. Can be referenced using
vcd.getNsxtSegmentSpoofGuardProfile
data source.
- ip
Discovery stringProfile Id - IP Discovery Profile ID. Can be referenced using
vcd.getNsxtSegmentIpDiscoveryProfile
data source. - mac
Discovery stringProfile Id - MAC Discovery Profile ID. Can be referenced using
vcd.getNsxtSegmentMacDiscoveryProfile
data source. - nsxt
Network stringSegment Profile Id - org string
- The name of organization to use, optional if defined at provider level
- org
Network stringId - Org VDC Network ID
- qos
Profile stringId - QoS Profile ID. Can be referenced using
vcd.getNsxtSegmentQosProfile
data source. - segment
Profile stringTemplate Id - Segment Profile Template ID to be applied for this Org VDC Network
- segment
Profile stringTemplate Name - Segment Profile Template Name
- segment
Security stringProfile Id - Segment Security Profile ID. Can be referenced using
vcd.getNsxtSegmentSecurityProfile
data source. - spoof
Guard stringProfile Id - Spoof Guard Profile ID. Can be referenced using
vcd.getNsxtSegmentSpoofGuardProfile
data source.
- ip_
discovery_ strprofile_ id - IP Discovery Profile ID. Can be referenced using
vcd.getNsxtSegmentIpDiscoveryProfile
data source. - mac_
discovery_ strprofile_ id - MAC Discovery Profile ID. Can be referenced using
vcd.getNsxtSegmentMacDiscoveryProfile
data source. - nsxt_
network_ strsegment_ profile_ id - org str
- The name of organization to use, optional if defined at provider level
- org_
network_ strid - Org VDC Network ID
- qos_
profile_ strid - QoS Profile ID. Can be referenced using
vcd.getNsxtSegmentQosProfile
data source. - segment_
profile_ strtemplate_ id - Segment Profile Template ID to be applied for this Org VDC Network
- segment_
profile_ strtemplate_ name - Segment Profile Template Name
- segment_
security_ strprofile_ id - Segment Security Profile ID. Can be referenced using
vcd.getNsxtSegmentSecurityProfile
data source. - spoof_
guard_ strprofile_ id - Spoof Guard Profile ID. Can be referenced using
vcd.getNsxtSegmentSpoofGuardProfile
data source.
- ip
Discovery StringProfile Id - IP Discovery Profile ID. Can be referenced using
vcd.getNsxtSegmentIpDiscoveryProfile
data source. - mac
Discovery StringProfile Id - MAC Discovery Profile ID. Can be referenced using
vcd.getNsxtSegmentMacDiscoveryProfile
data source. - nsxt
Network StringSegment Profile Id - org String
- The name of organization to use, optional if defined at provider level
- org
Network StringId - Org VDC Network ID
- qos
Profile StringId - QoS Profile ID. Can be referenced using
vcd.getNsxtSegmentQosProfile
data source. - segment
Profile StringTemplate Id - Segment Profile Template ID to be applied for this Org VDC Network
- segment
Profile StringTemplate Name - Segment Profile Template Name
- segment
Security StringProfile Id - Segment Security Profile ID. Can be referenced using
vcd.getNsxtSegmentSecurityProfile
data source. - spoof
Guard StringProfile Id - 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.