다음을 통해 공유


TenantConfigurationOperationsExtensions.SaveAsync Method

Definition

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. https://azure.microsoft.com/en-us/documentation/articles/api-management-configuration-repository-git/#to-save-the-service-configuration-to-the-git-repository

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.OperationResultContract> SaveAsync (this Microsoft.Azure.Management.ApiManagement.ITenantConfigurationOperations operations, string resourceGroupName, string serviceName, Microsoft.Azure.Management.ApiManagement.Models.SaveConfigurationParameter parameters, System.Threading.CancellationToken cancellationToken = default);
static member SaveAsync : Microsoft.Azure.Management.ApiManagement.ITenantConfigurationOperations * string * string * Microsoft.Azure.Management.ApiManagement.Models.SaveConfigurationParameter * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.OperationResultContract>
<Extension()>
Public Function SaveAsync (operations As ITenantConfigurationOperations, resourceGroupName As String, serviceName As String, parameters As SaveConfigurationParameter, Optional cancellationToken As CancellationToken = Nothing) As Task(Of OperationResultContract)

Parameters

operations
ITenantConfigurationOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the API Management service.

parameters
SaveConfigurationParameter

Save Configuration parameters.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to