ArmAvsModelFactory.WorkloadNetworkSegmentData Method

Definition

Initializes a new instance of WorkloadNetworkSegmentData.

public static Azure.ResourceManager.Avs.WorkloadNetworkSegmentData WorkloadNetworkSegmentData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string displayName = default, string connectedGateway = default, Azure.ResourceManager.Avs.Models.WorkloadNetworkSegmentSubnet subnet = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Avs.Models.WorkloadNetworkSegmentPortVif> portVif = default, Azure.ResourceManager.Avs.Models.WorkloadNetworkSegmentStatus? status = default, Azure.ResourceManager.Avs.Models.WorkloadNetworkSegmentProvisioningState? provisioningState = default, long? revision = default);
static member WorkloadNetworkSegmentData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Azure.ResourceManager.Avs.Models.WorkloadNetworkSegmentSubnet * seq<Azure.ResourceManager.Avs.Models.WorkloadNetworkSegmentPortVif> * Nullable<Azure.ResourceManager.Avs.Models.WorkloadNetworkSegmentStatus> * Nullable<Azure.ResourceManager.Avs.Models.WorkloadNetworkSegmentProvisioningState> * Nullable<int64> -> Azure.ResourceManager.Avs.WorkloadNetworkSegmentData
Public Shared Function WorkloadNetworkSegmentData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional displayName As String = Nothing, Optional connectedGateway As String = Nothing, Optional subnet As WorkloadNetworkSegmentSubnet = Nothing, Optional portVif As IEnumerable(Of WorkloadNetworkSegmentPortVif) = Nothing, Optional status As Nullable(Of WorkloadNetworkSegmentStatus) = Nothing, Optional provisioningState As Nullable(Of WorkloadNetworkSegmentProvisioningState) = Nothing, Optional revision As Nullable(Of Long) = Nothing) As WorkloadNetworkSegmentData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

displayName
String

Display name of the segment.

connectedGateway
String

Gateway which to connect segment to.

subnet
WorkloadNetworkSegmentSubnet

Subnet which to connect segment to.

portVif
IEnumerable<WorkloadNetworkSegmentPortVif>

Port Vif which segment is associated with.

status
Nullable<WorkloadNetworkSegmentStatus>

Segment status.

provisioningState
Nullable<WorkloadNetworkSegmentProvisioningState>

The provisioning state.

revision
Nullable<Int64>

NSX revision number.

Returns

A new WorkloadNetworkSegmentData instance for mocking.

Applies to