/// <summary> /// Validate Git changes in an Api Management service. /// </summary> /// <param name='operations'> /// Reference to the /// Microsoft.Azure.Management.ApiManagement.ITenantConfigurationOperations. /// </param> /// <param name='resourceGroupName'> /// Required. The name of the resource group. /// </param> /// <param name='serviceName'> /// Required. The name of the Api Management service. /// </param> /// <param name='parameters'> /// Required. Validate Configuration parameters. /// </param> /// <returns> /// A standard service response for long running tenant configuration /// operations. /// </returns> public static Task <TenantConfigurationLongRunningOperationResponse> ValidateAsync(this ITenantConfigurationOperations operations, string resourceGroupName, string serviceName, DeployConfigurationParameters parameters) { return(operations.ValidateAsync(resourceGroupName, serviceName, parameters, CancellationToken.None)); }
/// <summary> /// This operation validates the changes in the specified Git branch. This is a /// long running operation and could take several minutes to complete. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='serviceName'> /// The name of the API Management service. /// </param> /// <param name='parameters'> /// Validate Configuration parameters. /// </param> public static OperationResultContract Validate(this ITenantConfigurationOperations operations, string resourceGroupName, string serviceName, DeployConfigurationParameters parameters) { return(operations.ValidateAsync(resourceGroupName, serviceName, parameters).GetAwaiter().GetResult()); }