ApiManagementServiceResource.DeployTenantConfigurationAsync 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 applies changes from the specified Git branch to the configuration database. 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}/deploy
- Operation Id: TenantConfiguration_Deploy
- Default Api Version: 2023-03-01-preview
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ApiManagement.Models.GitOperationResultContractData>> DeployTenantConfigurationAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.ApiManagement.Models.ConfigurationName configurationName, Azure.ResourceManager.ApiManagement.Models.ConfigurationDeployContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member DeployTenantConfigurationAsync : Azure.WaitUntil * Azure.ResourceManager.ApiManagement.Models.ConfigurationName * Azure.ResourceManager.ApiManagement.Models.ConfigurationDeployContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ApiManagement.Models.GitOperationResultContractData>>
override this.DeployTenantConfigurationAsync : Azure.WaitUntil * Azure.ResourceManager.ApiManagement.Models.ConfigurationName * Azure.ResourceManager.ApiManagement.Models.ConfigurationDeployContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ApiManagement.Models.GitOperationResultContractData>>
Public Overridable Function DeployTenantConfigurationAsync (waitUntil As WaitUntil, configurationName As ConfigurationName, content As ConfigurationDeployContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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
Deploy Configuration parameters.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
content
is null.
Applies to
Azure SDK for .NET