Exemple #1
0
 /// <summary>
 /// Get the specified public IP address in a virtual machine scale set.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='virtualMachineScaleSetName'>
 /// The name of the virtual machine scale set.
 /// </param>
 /// <param name='virtualmachineIndex'>
 /// The virtual machine index.
 /// </param>
 /// <param name='networkInterfaceName'>
 /// The name of the network interface.
 /// </param>
 /// <param name='ipConfigurationName'>
 /// The name of the IP configuration.
 /// </param>
 /// <param name='publicIpAddressName'>
 /// The name of the public IP Address.
 /// </param>
 /// <param name='expand'>
 /// Expands referenced resources.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <PublicIPAddressInner> GetVirtualMachineScaleSetPublicIPAddressAsync(this IPublicIPAddressesOperations operations, string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string ipConfigurationName, string publicIpAddressName, string expand = default(string), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetVirtualMachineScaleSetPublicIPAddressWithHttpMessagesAsync(resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, ipConfigurationName, publicIpAddressName, expand, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }