Share via


WorkloadNetworksOperationsExtensions.CreateSegments Method

Definition

Create a segment by id in a private cloud workload network.

public static Microsoft.Azure.Management.Avs.Models.WorkloadNetworkSegment CreateSegments (this Microsoft.Azure.Management.Avs.IWorkloadNetworksOperations operations, string resourceGroupName, string privateCloudName, string segmentId, Microsoft.Azure.Management.Avs.Models.WorkloadNetworkSegment workloadNetworkSegment);
static member CreateSegments : Microsoft.Azure.Management.Avs.IWorkloadNetworksOperations * string * string * string * Microsoft.Azure.Management.Avs.Models.WorkloadNetworkSegment -> Microsoft.Azure.Management.Avs.Models.WorkloadNetworkSegment
<Extension()>
Public Function CreateSegments (operations As IWorkloadNetworksOperations, resourceGroupName As String, privateCloudName As String, segmentId As String, workloadNetworkSegment As WorkloadNetworkSegment) As WorkloadNetworkSegment

Parameters

operations
IWorkloadNetworksOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

privateCloudName
String

Name of the private cloud

segmentId
String

NSX Segment identifier. Generally the same as the Segment's display name

workloadNetworkSegment
WorkloadNetworkSegment

NSX Segment

Returns

Applies to