/// <summary> /// Gets the specified deployments associated with the Cognitive Services /// account. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. The name is case insensitive. /// </param> /// <param name='accountName'> /// The name of Cognitive Services account. /// </param> /// <param name='deploymentName'> /// The name of the deployment associated with the Cognitive Services Account /// </param> public static Deployment Get(this IDeploymentsOperations operations, string resourceGroupName, string accountName, string deploymentName) { return(operations.GetAsync(resourceGroupName, accountName, deploymentName).GetAwaiter().GetResult()); }