你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ApiManagementServiceOperationsExtensions.BackupAsync 方法

定义

创建API 管理服务到给定 Azure 存储帐户的备份。 这是长时间运行的操作,可能需要几分钟才能完成。

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)

参数

operations
IApiManagementServiceOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

serviceName
String

API 管理服务的名称。

parameters
ApiManagementServiceBackupRestoreParameters

提供给ApiManagementService_Backup操作的参数。

cancellationToken
CancellationToken

取消标记。

返回

适用于