/// <summary> /// Gets the access keys for the specified web service. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// Name of the resource group in which the web service is located. /// </param> /// <param name='webServiceName'> /// The name of the web service. /// </param> public static WebServiceKeys ListKeys(this IWebServicesOperations operations, string resourceGroupName, string webServiceName) { return(operations.ListKeysAsync(resourceGroupName, webServiceName).GetAwaiter().GetResult()); }