/// <summary> /// Returns a Cognitive Services account specified by the parameters. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group within the user's subscription. /// </param> /// <param name='accountName'> /// The name of Cognitive Services account. /// </param> public static CognitiveServicesAccount GetProperties(this IAccountsOperations operations, string resourceGroupName, string accountName) { return(operations.GetPropertiesAsync(resourceGroupName, accountName).GetAwaiter().GetResult()); }