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

ServiceClientAdapter.TriggerBackup Method

Definition

Overloads

TriggerBackup(String, String, Nullable<DateTime>)
TriggerBackup(String, String, BackupRequestResource, String, String)

Triggers backup on the specified item

TriggerBackup(String, String, Nullable<DateTime>)

public Microsoft.Rest.Azure.AzureOperationResponse TriggerBackup (string containerName, string itemName, DateTime? expiryDateTimeUtc);
member this.TriggerBackup : string * string * Nullable<DateTime> -> Microsoft.Rest.Azure.AzureOperationResponse
Public Function TriggerBackup (containerName As String, itemName As String, expiryDateTimeUtc As Nullable(Of DateTime)) As AzureOperationResponse

Parameters

containerName
String
itemName
String
expiryDateTimeUtc
Nullable<DateTime>

Returns

Applies to

TriggerBackup(String, String, BackupRequestResource, String, String)

Triggers backup on the specified item

public Microsoft.Rest.Azure.AzureOperationResponse TriggerBackup (string containerName, string itemName, Microsoft.Azure.Management.RecoveryServices.Backup.Models.BackupRequestResource triggerBackupRequest, string vaultName = default, string resourceGroupName = default);
member this.TriggerBackup : string * string * Microsoft.Azure.Management.RecoveryServices.Backup.Models.BackupRequestResource * string * string -> Microsoft.Rest.Azure.AzureOperationResponse
Public Function TriggerBackup (containerName As String, itemName As String, triggerBackupRequest As BackupRequestResource, Optional vaultName As String = Nothing, Optional resourceGroupName As String = Nothing) As AzureOperationResponse

Parameters

containerName
String

Name of the container which this item belongs to

itemName
String

Name of the item

triggerBackupRequest
BackupRequestResource
vaultName
String
resourceGroupName
String

Returns

Job created by this operation

Applies to