Skip to content

Commit

Permalink
updated get and list protectedItemApi with policyType
Browse files Browse the repository at this point in the history
  • Loading branch information
SourabhSomnathGholap committed Jan 9, 2025
1 parent b20493d commit ce99c77
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8850,6 +8850,10 @@
"description": "ID of the vault which protects this item",
"type": "string",
"readOnly": true
},
"policyType": {
"description": "Type of the policy used for protection",
"type": "string"
}
},
"discriminator": "protectedItemType"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"containerName": "iaasvmcontainer;iaasvm-rg;iaasvm-1",
"sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/providers/Microsoft.ClassicCompute/virtualMachines/iaasvm-1",
"policyId": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1",
"lastRecoveryPoint": "2017-11-22T12:25:32.048723Z"
"lastRecoveryPoint": "2017-11-22T12:25:32.048723Z",
"policyType": "V1"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"containerName": "iaasvmcontainer;iaasvm-rg;iaasvm-1",
"sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/providers/Microsoft.ClassicCompute/virtualMachines/iaasvm-1",
"policyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupPolicies/testPolicy1",
"lastRecoveryPoint": "2017-11-22T12:25:32.048723Z"
"lastRecoveryPoint": "2017-11-22T12:25:32.048723Z",
"policyType": "V1"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"containerName": "iaasvmcontainerv2;iaasvm-rg;iaasvm-1",
"sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/providers/Microsoft.Compute/virtualMachines/iaasvm-1",
"policyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupPolicies/testPolicy1",
"lastRecoveryPoint": "2017-11-22T12:25:32.048723Z"
"lastRecoveryPoint": "2017-11-22T12:25:32.048723Z",
"policyType": "V1"
}
}
}
Expand Down

0 comments on commit ce99c77

Please sign in to comment.