ApiManagementServiceOperationsExtensions.BackupAsync 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.
Creates a backup of the API Management service to the given Azure Storage Account. This is long running operation and could take several minutes to complete.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.ApiManagementServiceResource> BackupAsync (this Microsoft.Azure.Management.ApiManagement.IApiManagementServiceOperations operations, string resourceGroupName, string serviceName, Microsoft.Azure.Management.ApiManagement.Models.ApiManagementServiceBackupRestoreParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member BackupAsync : Microsoft.Azure.Management.ApiManagement.IApiManagementServiceOperations * string * string * Microsoft.Azure.Management.ApiManagement.Models.ApiManagementServiceBackupRestoreParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.ApiManagementServiceResource>
<Extension()>
Public Function BackupAsync (operations As IApiManagementServiceOperations, resourceGroupName As String, serviceName As String, parameters As ApiManagementServiceBackupRestoreParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ApiManagementServiceResource)
Parameters
- operations
- IApiManagementServiceOperations
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
- ApiManagementServiceBackupRestoreParameters
Parameters supplied to the ApiManagementService_Backup operation.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET