ApiManagementServiceResource.ValidateTenantConfiguration Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This operation validates the changes in the specified Git branch. This is a long running operation and could take several minutes to complete.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{configurationName}/validate
- Operation Id: TenantConfiguration_Validate
- Default Api Version: 2023-03-01-preview
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ApiManagement.Models.GitOperationResultContractData> ValidateTenantConfiguration (Azure.WaitUntil waitUntil, Azure.ResourceManager.ApiManagement.Models.ConfigurationName configurationName, Azure.ResourceManager.ApiManagement.Models.ConfigurationDeployContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member ValidateTenantConfiguration : Azure.WaitUntil * Azure.ResourceManager.ApiManagement.Models.ConfigurationName * Azure.ResourceManager.ApiManagement.Models.ConfigurationDeployContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ApiManagement.Models.GitOperationResultContractData>
override this.ValidateTenantConfiguration : Azure.WaitUntil * Azure.ResourceManager.ApiManagement.Models.ConfigurationName * Azure.ResourceManager.ApiManagement.Models.ConfigurationDeployContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ApiManagement.Models.GitOperationResultContractData>
Public Overridable Function ValidateTenantConfiguration (waitUntil As WaitUntil, configurationName As ConfigurationName, content As ConfigurationDeployContent, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of GitOperationResultContractData)
Parameters
- waitUntil
- WaitUntil
Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.
- configurationName
- ConfigurationName
The identifier of the Git Configuration Operation.
- content
- ConfigurationDeployContent
Validate Configuration parameters.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
content
is null.
Applies to
Azure SDK for .NET