Compartilhar via


WorkloadNetworksOperationsExtensions.BeginUpdateSegmentsAsync Método

Definição

Criar ou atualizar um segmento por ID em uma rede de carga de trabalho de nuvem privada.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Avs.Models.WorkloadNetworkSegment> BeginUpdateSegmentsAsync (this Microsoft.Azure.Management.Avs.IWorkloadNetworksOperations operations, string resourceGroupName, string privateCloudName, string segmentId, Microsoft.Azure.Management.Avs.Models.WorkloadNetworkSegment workloadNetworkSegment, System.Threading.CancellationToken cancellationToken = default);
static member BeginUpdateSegmentsAsync : Microsoft.Azure.Management.Avs.IWorkloadNetworksOperations * string * string * string * Microsoft.Azure.Management.Avs.Models.WorkloadNetworkSegment * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Avs.Models.WorkloadNetworkSegment>
<Extension()>
Public Function BeginUpdateSegmentsAsync (operations As IWorkloadNetworksOperations, resourceGroupName As String, privateCloudName As String, segmentId As String, workloadNetworkSegment As WorkloadNetworkSegment, Optional cancellationToken As CancellationToken = Nothing) As Task(Of WorkloadNetworkSegment)

Parâmetros

operations
IWorkloadNetworksOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos. O nome diferencia maiúsculas de minúsculas.

privateCloudName
String

Nome da nuvem privada

segmentId
String

Identificador de segmento NSX. Geralmente o mesmo que o nome de exibição do Segmento

workloadNetworkSegment
WorkloadNetworkSegment

Segmento NSX

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a