Compartilhar via


VirtualMachineScaleSetVmNetworkResource.GetIPConfigurationDataAsync Método

Definição

Obtenha a configuração de ip do adaptador de rede especificada em um conjunto de dimensionamento de máquinas virtuais.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft. Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}
  • Operação IdVirtualMachineScaleSets_GetIpConfiguration
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.NetworkInterfaceIPConfigurationData>> GetIPConfigurationDataAsync (string networkInterfaceName, string ipConfigurationName, string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIPConfigurationDataAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.NetworkInterfaceIPConfigurationData>>
override this.GetIPConfigurationDataAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.NetworkInterfaceIPConfigurationData>>
Public Overridable Function GetIPConfigurationDataAsync (networkInterfaceName As String, ipConfigurationName As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetworkInterfaceIPConfigurationData))

Parâmetros

networkInterfaceName
String

O nome do adaptador de interface de rede.

ipConfigurationName
String

O nome da configuração de IP.

expand
String

Expande os recursos referenciados.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a