/// <summary> /// Gets information about all public IP addresses in a role instance IP /// configuration in a cloud service. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='cloudServiceName'> /// The name of the cloud service. /// </param> /// <param name='roleInstanceName'> /// The name of role instance /// </param> /// <param name='networkInterfaceName'> /// The network interface name. /// </param> /// <param name='ipConfigurationName'> /// The IP configuration name. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IPage <PublicIPAddress> > ListCloudServiceRoleInstancePublicIPAddressesAsync(this IPublicIPAddressesOperations operations, string resourceGroupName, string cloudServiceName, string roleInstanceName, string networkInterfaceName, string ipConfigurationName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListCloudServiceRoleInstancePublicIPAddressesWithHttpMessagesAsync(resourceGroupName, cloudServiceName, roleInstanceName, networkInterfaceName, ipConfigurationName, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }