共用方式為


KeyVaultAdministrationModelFactory.RestoreOperation 方法

定義

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

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

參數

response
Response

Response將從 傳回的 GetRawResponse()

client
KeyVaultBackupClient

KeyVaultBackupClient 的執行個體。

id
String

還原作業的識別碼。

startTime
Nullable<DateTimeOffset>

還原作業的開始時間。

endTime
Nullable<DateTimeOffset>

還原作業的結束時間。

errorMessage
String

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

傳回

適用於