Share via


ITenantConfigurationOperations.SaveWithHttpMessagesAsync 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 System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.ApiManagement.Models.OperationResultContract>> SaveWithHttpMessagesAsync (string resourceGroupName, string serviceName, Microsoft.Azure.Management.ApiManagement.Models.SaveConfigurationParameter parameters, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member SaveWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.ApiManagement.Models.SaveConfigurationParameter * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.ApiManagement.Models.OperationResultContract>>
Public Function SaveWithHttpMessagesAsync (resourceGroupName As String, serviceName As String, parameters As SaveConfigurationParameter, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of OperationResultContract))

Parameters

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the API Management service.

parameters
SaveConfigurationParameter

Save Configuration parameters.

customHeaders
Dictionary<String,List<String>>

The headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Exceptions

Thrown when the operation returned an invalid status code

Thrown when unable to deserialize the response

Thrown when a required parameter is null

Applies to