Share via


WorkloadNetworksOperationsExtensions.GetSegment Method

Definition

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

public static Microsoft.Azure.Management.Avs.Models.WorkloadNetworkSegment GetSegment (this Microsoft.Azure.Management.Avs.IWorkloadNetworksOperations operations, string resourceGroupName, string privateCloudName, string segmentId);
static member GetSegment : Microsoft.Azure.Management.Avs.IWorkloadNetworksOperations * string * string * string -> Microsoft.Azure.Management.Avs.Models.WorkloadNetworkSegment
<Extension()>
Public Function GetSegment (operations As IWorkloadNetworksOperations, resourceGroupName As String, privateCloudName As String, segmentId As String) 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

Returns

Applies to