/// <summary> /// Get the specified public IP address 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 role instance name. /// </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> public static PublicIPAddress GetCloudServicePublicIPAddress(this IPublicIPAddressesOperations operations, string resourceGroupName, string cloudServiceName, string roleInstanceName, string networkInterfaceName, string ipConfigurationName, string publicIpAddressName, string expand = default(string)) { return(operations.GetCloudServicePublicIPAddressAsync(resourceGroupName, cloudServiceName, roleInstanceName, networkInterfaceName, ipConfigurationName, publicIpAddressName, expand).GetAwaiter().GetResult()); }