共用方式為


ApiManagementServiceResource.DeployTenantConfiguration Method

Definition

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 Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ApiManagement.Models.GitOperationResultContractData> DeployTenantConfiguration (Azure.WaitUntil waitUntil, Azure.ResourceManager.ApiManagement.Models.ConfigurationName configurationName, Azure.ResourceManager.ApiManagement.Models.ConfigurationDeployContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member DeployTenantConfiguration : 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.DeployTenantConfiguration : 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 DeployTenantConfiguration (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

Deploy Configuration parameters.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to