/// <summary> /// Get all the deployments for a resource group. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group with the deployments to get. The name is /// case insensitive. /// </param> /// <param name='odataQuery'> /// OData parameters to apply to the operation. /// </param> public static IPage <DeploymentExtended> List(this IDeploymentsOperations operations, string resourceGroupName, ODataQuery <DeploymentExtendedFilter> odataQuery = default(ODataQuery <DeploymentExtendedFilter>)) { return(operations.ListAsync(resourceGroupName, odataQuery).GetAwaiter().GetResult()); }
/// <summary> /// Gets the 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> public static IPage <Deployment> List(this IDeploymentsOperations operations, string resourceGroupName, string accountName) { return(operations.ListAsync(resourceGroupName, accountName).GetAwaiter().GetResult()); }
/// <summary> /// Handles requests to list all resources in an App. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group that contains the resource. You can obtain /// this value from the Azure Resource Manager API or the portal. /// </param> /// <param name='serviceName'> /// The name of the Service resource. /// </param> /// <param name='appName'> /// The name of the App resource. /// </param> /// <param name='version'> /// Version of the deployments to be listed /// </param> public static IPage <DeploymentResource> List(this IDeploymentsOperations operations, string resourceGroupName, string serviceName, string appName, IList <string> version = default(IList <string>)) { return(operations.ListAsync(resourceGroupName, serviceName, appName, version).GetAwaiter().GetResult()); }