/// <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> public static PublicIPAddress GetVirtualMachineScaleSetPublicIPAddress(this IPublicIPAddressesOperations operations, string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string ipConfigurationName, string publicIpAddressName, string expand = default(string)) { return(operations.GetVirtualMachineScaleSetPublicIPAddressAsync(resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, ipConfigurationName, publicIpAddressName, expand).GetAwaiter().GetResult()); }