ApiManagementServiceResource.SaveTenantConfigurationAsync 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 creates a commit with the current configuration snapshot to the specified branch in the repository. 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}/save
- Operation Id: TenantConfiguration_Save
- Default Api Version: 2023-03-01-preview
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ApiManagement.Models.GitOperationResultContractData>> SaveTenantConfigurationAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.ApiManagement.Models.ConfigurationName configurationName, Azure.ResourceManager.ApiManagement.Models.ConfigurationSaveContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member SaveTenantConfigurationAsync : Azure.WaitUntil * Azure.ResourceManager.ApiManagement.Models.ConfigurationName * Azure.ResourceManager.ApiManagement.Models.ConfigurationSaveContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ApiManagement.Models.GitOperationResultContractData>>
override this.SaveTenantConfigurationAsync : Azure.WaitUntil * Azure.ResourceManager.ApiManagement.Models.ConfigurationName * Azure.ResourceManager.ApiManagement.Models.ConfigurationSaveContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ApiManagement.Models.GitOperationResultContractData>>
Public Overridable Function SaveTenantConfigurationAsync (waitUntil As WaitUntil, configurationName As ConfigurationName, content As ConfigurationSaveContent, 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
- ConfigurationSaveContent
Save Configuration parameters.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
content
is null.