共用方式為


KeyVaultAdministrationModelFactory.BackupOperation 方法

定義

初始化 的新實例以供 KeyVaultBackupOperation 模擬之用。

public static Azure.Security.KeyVault.Administration.KeyVaultBackupOperation BackupOperation (Azure.Response response, Azure.Security.KeyVault.Administration.KeyVaultBackupClient client, string id, Uri blobContainerUri, DateTimeOffset? startTime = default, DateTimeOffset? endTime = default, string errorMessage = default);
static member BackupOperation : Azure.Response * Azure.Security.KeyVault.Administration.KeyVaultBackupClient * string * Uri * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string -> Azure.Security.KeyVault.Administration.KeyVaultBackupOperation
Public Shared Function BackupOperation (response As Response, client As KeyVaultBackupClient, id As String, blobContainerUri As Uri, Optional startTime As Nullable(Of DateTimeOffset) = Nothing, Optional endTime As Nullable(Of DateTimeOffset) = Nothing, Optional errorMessage As String = Nothing) As KeyVaultBackupOperation

參數

response
Response

Response將會從 GetRawResponse() 傳回的 。

client
KeyVaultBackupClient

KeyVaultBackupClient 的執行個體。

id
String

還原作業的識別碼。

blobContainerUri
Uri

包含備份的 Blob 容器 URI。

startTime
Nullable<DateTimeOffset>

還原作業的開始時間。

endTime
Nullable<DateTimeOffset>

還原作業的結束時間。

errorMessage
String

如果有任何,則從作業產生的錯誤訊息。

傳回

適用於