Freigeben über


VirtualMachineScaleSetVmNetworkResource.GetIPConfigurationDataAsync Methode

Definition

Rufen Sie die angegebene IP-Konfiguration der Netzwerkschnittstelle in einer VM-Skalierungsgruppe ab.

  • Anfordern von Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft. Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}
  • Vorgang 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))

Parameter

networkInterfaceName
String

: Der Name der Netzwerkschnittstelle

ipConfigurationName
String

Der IP-Konfigurationsname.

expand
String

Erweitert Ressourcen, auf die verwiesen wird.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: