Bagikan melalui


VirtualMachineScaleSetVmNetworkResource.GetIPConfigurationDataAsync Method

Definition

Get the specified network interface ip configuration in a virtual machine scale set.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}
  • Operation Id: VirtualMachineScaleSets_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))

Parameters

networkInterfaceName
String

The name of the network interface.

ipConfigurationName
String

The IP configuration name.

expand
String

Expands referenced resources.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to