Backup Resource Storage Configs - Get
擷取資源記憶體設定。
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupstorageconfig/vaultstorageconfig?api-version=2023-01-15
URI 參數
名稱 | 位於 | 必要 | 類型 | Description |
---|---|---|---|---|
resource
|
path | True |
string |
復原服務保存庫所在的資源組名。 |
subscription
|
path | True |
string |
訂用帳戶標識碼。 |
vault
|
path | True |
string |
復原服務保存庫的名稱。 |
api-version
|
query | True |
string |
用戶端 API 版本。 |
回應
名稱 | 類型 | Description |
---|---|---|
200 OK |
確定 |
|
Other Status Codes |
描述作業失敗原因的錯誤回應。 |
安全性
azure_auth
Azure Active Directory OAuth2 Flow
類型:
oauth2
Flow:
implicit
授權 URL:
https://login.microsoftonline.com/common/oauth2/authorize
範圍
名稱 | Description |
---|---|
user_impersonation | 模擬您的用戶帳戶。 |
範例
Get Vault Storage Configuration
範例要求
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupstorageconfig/vaultstorageconfig?api-version=2023-01-15
範例回覆
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupstorageconfig/vaultstorageconfig",
"name": "vaultstorageconfig",
"type": "Microsoft.RecoveryServices/vaults/backupstorageconfig",
"properties": {
"storageModelType": "GeoRedundant",
"storageType": "GeoRedundant",
"storageTypeState": "Locked"
}
}
定義
名稱 | Description |
---|---|
Backup |
資源記憶體詳細數據。 |
Backup |
資源記憶體詳細數據。 |
Error |
錯誤物件。 |
Error |
資源管理錯誤其他資訊。 |
New |
資源管理錯誤回應。 |
Storage |
儲存體類型 |
Storage |
鎖定或解除鎖定。 針對資源註冊計算機之後,storageTypeState 一律會鎖定。 |
BackupResourceConfig
資源記憶體詳細數據。
名稱 | 類型 | Description |
---|---|---|
crossRegionRestoreFlag |
boolean |
選擇跨區域還原功能的詳細數據。 |
storageModelType |
儲存體類型 |
|
storageType |
記憶體類型。 |
|
storageTypeState |
鎖定或解除鎖定。 針對資源註冊計算機之後,storageTypeState 一律會鎖定。 |
BackupResourceConfigResource
資源記憶體詳細數據。
名稱 | 類型 | Description |
---|---|---|
eTag |
string |
選擇性 ETag。 |
id |
string |
資源標識子代表資源的完整路徑。 |
location |
string |
資源位置。 |
name |
string |
與資源相關聯的資源名稱。 |
properties |
BackupResourceConfigResource 屬性 |
|
tags |
object |
資源標籤。 |
type |
string |
資源類型代表 Namespace/ResourceType/ResourceType/... 格式的完整路徑 |
Error
錯誤物件。
名稱 | 類型 | Description |
---|---|---|
additionalInfo |
錯誤其他資訊。 |
|
code |
string |
錯誤碼。 |
details |
錯誤詳細資料。 |
|
message |
string |
錯誤訊息。 |
target |
string |
錯誤目標。 |
ErrorAdditionalInfo
資源管理錯誤其他資訊。
名稱 | 類型 | Description |
---|---|---|
info |
object |
其他資訊。 |
type |
string |
其他信息類型。 |
NewErrorResponse
資源管理錯誤回應。
名稱 | 類型 | Description |
---|---|---|
error |
錯誤物件。 |
StorageType
儲存體類型
名稱 | 類型 | Description |
---|---|---|
GeoRedundant |
string |
|
Invalid |
string |
|
LocallyRedundant |
string |
|
ReadAccessGeoZoneRedundant |
string |
|
ZoneRedundant |
string |
StorageTypeState
鎖定或解除鎖定。 針對資源註冊計算機之後,storageTypeState 一律會鎖定。
名稱 | 類型 | Description |
---|---|---|
Invalid |
string |
|
Locked |
string |
|
Unlocked |
string |