Backup Instances - Create Or Update
Create or update a backup instance in a backup vault
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}?api-version=2024-04-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
backup
|
path | True |
string |
The name of the backup instance. |
resource
|
path | True |
string |
The name of the resource group. The name is case insensitive. |
subscription
|
path | True |
string uuid |
The ID of the target subscription. The value must be an UUID. |
vault
|
path | True |
string |
The name of the backup vault. |
api-version
|
query | True |
string |
The API version to use for this operation. |
Request Header
Name | Required | Type | Description |
---|---|---|---|
x-ms-authorization-auxiliary |
string |
Request Body
Name | Type | Description |
---|---|---|
properties |
BackupInstanceResource properties |
|
tags |
object |
Proxy Resource tags. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK |
|
201 Created |
Created |
|
202 Accepted |
Accepted Headers
|
|
Other Status Codes |
Error response describing why the operation failed. |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account. |
Examples
Create Backup |
Create Backup |
Create BackupInstance
Sample request
PUT https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupInstances/testInstance1?api-version=2024-04-01
{
"tags": {
"key1": "val1"
},
"properties": {
"objectType": "BackupInstance",
"friendlyName": "harshitbi2",
"dataSourceSetInfo": {
"objectType": "DatasourceSet",
"resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest",
"resourceName": "viveksipgtest",
"resourceType": "Microsoft.DBforPostgreSQL/servers",
"resourceUri": "",
"resourceLocation": "",
"datasourceType": "Microsoft.DBforPostgreSQL/servers/databases"
},
"dataSourceInfo": {
"objectType": "Datasource",
"resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb",
"resourceName": "testdb",
"resourceType": "Microsoft.DBforPostgreSQL/servers/databases",
"resourceUri": "",
"resourceLocation": "",
"datasourceType": "Microsoft.DBforPostgreSQL/servers/databases"
},
"datasourceAuthCredentials": {
"secretStoreResource": {
"uri": "https://samplevault.vault.azure.net/secrets/credentials",
"secretStoreType": "AzureKeyVault"
},
"objectType": "SecretStoreBasedAuthCredentials"
},
"policyInfo": {
"policyId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/Backupvaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1",
"policyParameters": {
"dataStoreParametersList": [
{
"objectType": "AzureOperationalStoreParameters",
"dataStoreType": "OperationalStore",
"resourceGroupId": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest"
}
]
}
},
"validationType": "ShallowValidation"
}
}
Sample response
Azure-AsyncOperation: https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==?api-version=2024-04-01
Retry-After: 60
{
"id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupInstances/harshitbi2",
"name": "harshitbi2",
"type": "Microsoft.DataProtection/backupVaults/backupInstances",
"tags": {
"key1": "val1"
},
"properties": {
"friendlyName": "harshitbi2",
"dataSourceInfo": {
"resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb",
"resourceUri": "",
"datasourceType": "OssDB",
"resourceName": "testdb",
"resourceType": "OssDB",
"resourceLocation": "",
"objectType": "Datasource"
},
"dataSourceSetInfo": {
"resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest",
"resourceUri": "",
"datasourceType": "OssDB",
"resourceName": "viveksipgtest",
"resourceType": "OssDB",
"resourceLocation": "",
"objectType": "DatasourceSet"
},
"policyInfo": {
"policyId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1",
"policyVersion": "3.2",
"policyParameters": {
"dataStoreParametersList": [
{
"objectType": "AzureOperationalStoreParameters",
"dataStoreType": "OperationalStore",
"resourceGroupId": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest"
}
]
}
},
"protectionStatus": {
"status": "NotProtected"
},
"provisioningState": "Provisioning",
"objectType": "BackupInstance"
}
}
Azure-AsyncOperation: https://management.windowsazure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==?api-version=2024-04-01
Location: https://management.windowsazure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupInstances/testInstance1/operationResults/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==?api-version=2024-04-01
Retry-After: 60
{
"id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupInstances/harshitbi2",
"name": "harshitbi2",
"type": "Microsoft.DataProtection/backupVaults/backupInstances",
"tags": {
"key1": "val1"
},
"properties": {
"friendlyName": "harshitbi2",
"dataSourceInfo": {
"resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb",
"resourceUri": "",
"datasourceType": "OssDB",
"resourceName": "testdb",
"resourceType": "OssDB",
"resourceLocation": "",
"objectType": "Datasource"
},
"dataSourceSetInfo": {
"resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest",
"resourceUri": "",
"datasourceType": "OssDB",
"resourceName": "viveksipgtest",
"resourceType": "OssDB",
"resourceLocation": "",
"objectType": "DatasourceSet"
},
"policyInfo": {
"policyId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1",
"policyVersion": "3.2",
"policyParameters": {
"dataStoreParametersList": [
{
"objectType": "AzureOperationalStoreParameters",
"dataStoreType": "OperationalStore",
"resourceGroupId": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest"
}
]
}
},
"protectionStatus": {
"status": "NotProtected"
},
"provisioningState": "Provisioned",
"objectType": "BackupInstance"
}
}
Create BackupInstance to perform critical operation With MUA
Sample request
PUT https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupInstances/testInstance1?api-version=2024-04-01
{
"tags": {
"key1": "val1"
},
"properties": {
"objectType": "BackupInstance",
"friendlyName": "harshitbi2",
"dataSourceSetInfo": {
"objectType": "DatasourceSet",
"resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest",
"resourceName": "viveksipgtest",
"resourceType": "Microsoft.DBforPostgreSQL/servers",
"resourceUri": "",
"resourceLocation": "",
"datasourceType": "Microsoft.DBforPostgreSQL/servers/databases"
},
"dataSourceInfo": {
"objectType": "Datasource",
"resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb",
"resourceName": "testdb",
"resourceType": "Microsoft.DBforPostgreSQL/servers/databases",
"resourceUri": "",
"resourceLocation": "",
"datasourceType": "Microsoft.DBforPostgreSQL/servers/databases"
},
"datasourceAuthCredentials": {
"secretStoreResource": {
"uri": "https://samplevault.vault.azure.net/secrets/credentials",
"secretStoreType": "AzureKeyVault"
},
"objectType": "SecretStoreBasedAuthCredentials"
},
"policyInfo": {
"policyId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/Backupvaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1",
"policyParameters": {
"dataStoreParametersList": [
{
"objectType": "AzureOperationalStoreParameters",
"dataStoreType": "OperationalStore",
"resourceGroupId": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest"
}
]
}
},
"resourceGuardOperationRequests": [
"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/ankurResourceGuard1/providers/Microsoft.DataProtection/resourceGuards/ResourceGuard38-1/dppModifyPolicy/default"
],
"validationType": "ShallowValidation"
}
}
Sample response
Azure-AsyncOperation: https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==?api-version=2024-04-01
Retry-After: 60
{
"id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupInstances/harshitbi2",
"name": "harshitbi2",
"type": "Microsoft.DataProtection/backupVaults/backupInstances",
"tags": {
"key1": "val1"
},
"properties": {
"friendlyName": "harshitbi2",
"dataSourceInfo": {
"resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb",
"resourceUri": "",
"datasourceType": "OssDB",
"resourceName": "testdb",
"resourceType": "OssDB",
"resourceLocation": "",
"objectType": "Datasource"
},
"dataSourceSetInfo": {
"resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest",
"resourceUri": "",
"datasourceType": "OssDB",
"resourceName": "viveksipgtest",
"resourceType": "OssDB",
"resourceLocation": "",
"objectType": "DatasourceSet"
},
"policyInfo": {
"policyId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1",
"policyVersion": "3.2",
"policyParameters": {
"dataStoreParametersList": [
{
"objectType": "AzureOperationalStoreParameters",
"dataStoreType": "OperationalStore",
"resourceGroupId": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest"
}
]
}
},
"protectionStatus": {
"status": "NotProtected"
},
"provisioningState": "Provisioning",
"objectType": "BackupInstance"
}
}
Azure-AsyncOperation: https://management.windowsazure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==?api-version=2024-04-01
Location: https://management.windowsazure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupInstances/testInstance1/operationResults/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==?api-version=2024-04-01
Retry-After: 60
{
"id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupInstances/harshitbi2",
"name": "harshitbi2",
"type": "Microsoft.DataProtection/backupVaults/backupInstances",
"tags": {
"key1": "val1"
},
"properties": {
"friendlyName": "harshitbi2",
"dataSourceInfo": {
"resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb",
"resourceUri": "",
"datasourceType": "OssDB",
"resourceName": "testdb",
"resourceType": "OssDB",
"resourceLocation": "",
"objectType": "Datasource"
},
"dataSourceSetInfo": {
"resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest",
"resourceUri": "",
"datasourceType": "OssDB",
"resourceName": "viveksipgtest",
"resourceType": "OssDB",
"resourceLocation": "",
"objectType": "DatasourceSet"
},
"policyInfo": {
"policyId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1",
"policyVersion": "3.2",
"policyParameters": {
"dataStoreParametersList": [
{
"objectType": "AzureOperationalStoreParameters",
"dataStoreType": "OperationalStore",
"resourceGroupId": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest"
}
]
}
},
"protectionStatus": {
"status": "NotProtected"
},
"provisioningState": "Provisioned",
"objectType": "BackupInstance"
}
}
Definitions
Name | Description |
---|---|
Azure |
Parameters for Operational-Tier DataStore |
Backup |
Backup Instance |
Backup |
BackupInstanceResource |
Blob |
Parameters to be used during configuration of backup of blobs |
Cloud |
CloudError |
created |
The type of identity that created the resource. |
Current |
Specifies the current protection state of the resource |
Datasource |
Datasource |
Datasource |
DatasourceSet |
Data |
type of datastore; Operational/Vault/Archive |
Default |
Default source properties |
Error |
The resource management error response. |
Error |
The resource management error additional info. |
Identity |
|
Inner |
InnerError |
Kubernetes |
Parameters for Kubernetes Cluster Backup Datasource |
Namespaced |
NamespacedNameResource |
Policy |
PolicyInfo |
Policy |
Parameters in Policy |
Protection |
ProtectionStatusDetails |
Secret |
Secret store based authentication credentials. |
Secret |
Class representing a secret store resource. |
Secret |
Gets or sets the type of secret store |
Status |
Specifies the protection status of the resource |
system |
Metadata pertaining to creation and last modification of the resource. |
User |
Error object used by layers that have access to localized content, and propagate that to user |
Validation |
Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. |
AzureOperationalStoreParameters
Parameters for Operational-Tier DataStore
Name | Type | Description |
---|---|---|
dataStoreType |
type of datastore; Operational/Vault/Archive |
|
objectType | string: |
Type of the specific object - used for deserializing |
resourceGroupId |
string |
Gets or sets the Snapshot Resource Group Uri. |
BackupInstance
Backup Instance
Name | Type | Description |
---|---|---|
currentProtectionState |
Specifies the current protection state of the resource |
|
dataSourceInfo |
Datasource |
|
dataSourceSetInfo |
DatasourceSet |
|
datasourceAuthCredentials | AuthCredentials: |
Credentials to use to authenticate with data source provider. |
friendlyName |
string |
Gets or sets the Backup Instance friendly name. |
identityDetails |
Contains information of the Identity Details for the BI. If it is null, default will be considered as System Assigned. |
|
objectType |
string |
|
policyInfo |
PolicyInfo |
|
protectionErrorDetails |
Specifies the protection error of the resource |
|
protectionStatus |
ProtectionStatusDetails |
|
provisioningState |
string |
Specifies the provisioning state of the resource i.e. provisioning/updating/Succeeded/Failed |
resourceGuardOperationRequests |
string[] |
ResourceGuardOperationRequests on which LAC check will be performed |
validationType |
Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. |
BackupInstanceResource
BackupInstanceResource
Name | Type | Description |
---|---|---|
id |
string |
Proxy Resource Id represents the complete path to the resource. |
name |
string |
Proxy Resource name associated with the resource. |
properties |
BackupInstanceResource properties |
|
systemData |
Metadata pertaining to creation and last modification of the resource. |
|
tags |
object |
Proxy Resource tags. |
type |
string |
Proxy Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... |
BlobBackupDatasourceParameters
Parameters to be used during configuration of backup of blobs
Name | Type | Description |
---|---|---|
containersList |
string[] |
List of containers to be backed up during configuration of backup of blobs |
objectType | string: |
Type of the specific object - used for deserializing |
CloudError
CloudError
Name | Type | Description |
---|---|---|
error |
The resource management error response. |
createdByType
The type of identity that created the resource.
Name | Type | Description |
---|---|---|
Application |
string |
|
Key |
string |
|
ManagedIdentity |
string |
|
User |
string |
CurrentProtectionState
Specifies the current protection state of the resource
Name | Type | Description |
---|---|---|
BackupSchedulesSuspended |
string |
|
ConfiguringProtection |
string |
|
ConfiguringProtectionFailed |
string |
|
Invalid |
string |
|
NotProtected |
string |
|
ProtectionConfigured |
string |
|
ProtectionError |
string |
|
ProtectionStopped |
string |
|
RetentionSchedulesSuspended |
string |
|
SoftDeleted |
string |
|
SoftDeleting |
string |
|
UpdatingProtection |
string |
Datasource
Datasource
Name | Type | Description |
---|---|---|
datasourceType |
string |
DatasourceType of the resource. |
objectType |
string |
Type of Datasource object, used to initialize the right inherited type |
resourceID |
string |
Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault. |
resourceLocation |
string |
Location of datasource. |
resourceName |
string |
Unique identifier of the resource in the context of parent. |
resourceProperties | BaseResourceProperties: |
Properties specific to data source |
resourceType |
string |
Resource Type of Datasource. |
resourceUri |
string |
Uri of the resource. |
DatasourceSet
DatasourceSet
Name | Type | Description |
---|---|---|
datasourceType |
string |
DatasourceType of the resource. |
objectType |
string |
Type of Datasource object, used to initialize the right inherited type |
resourceID |
string |
Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault. |
resourceLocation |
string |
Location of datasource. |
resourceName |
string |
Unique identifier of the resource in the context of parent. |
resourceProperties | BaseResourceProperties: |
Properties specific to data source set |
resourceType |
string |
Resource Type of Datasource. |
resourceUri |
string |
Uri of the resource. |
DataStoreTypes
type of datastore; Operational/Vault/Archive
Name | Type | Description |
---|---|---|
ArchiveStore |
string |
|
OperationalStore |
string |
|
VaultStore |
string |
DefaultResourceProperties
Default source properties
Name | Type | Description |
---|---|---|
objectType | string: |
Type of the specific object - used for deserializing |
Error
The resource management error response.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
Error[] |
The error details. |
message |
string |
The error message. |
target |
string |
The error target. |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
IdentityDetails
Name | Type | Description |
---|---|---|
useSystemAssignedIdentity |
boolean |
Specifies if the BI is protected by System Identity. |
userAssignedIdentityArmUrl |
string |
ARM URL for User Assigned Identity. |
InnerError
InnerError
Name | Type | Description |
---|---|---|
additionalInfo |
object |
Any Key value pairs that can be provided to the client for additional verbose information. |
code |
string |
Unique code for this error |
embeddedInnerError |
InnerError |
KubernetesClusterBackupDatasourceParameters
Parameters for Kubernetes Cluster Backup Datasource
Name | Type | Description |
---|---|---|
backupHookReferences |
Gets or sets the backup hook references. This property sets the hook reference to be executed during backup. |
|
excludedNamespaces |
string[] |
Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during backup. |
excludedResourceTypes |
string[] |
Gets or sets the exclude resource types property. This property sets the resource types to be excluded during backup. |
includeClusterScopeResources |
boolean |
Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during backup. |
includedNamespaces |
string[] |
Gets or sets the include namespaces property. This property sets the namespaces to be included during backup. |
includedResourceTypes |
string[] |
Gets or sets the include resource types property. This property sets the resource types to be included during backup. |
labelSelectors |
string[] |
Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during backup. |
objectType | string: |
Type of the specific object - used for deserializing |
snapshotVolumes |
boolean |
Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during backup. |
NamespacedNameResource
NamespacedNameResource
Name | Type | Description |
---|---|---|
name |
string |
Name of the resource |
namespace |
string |
Namespace in which the resource exists |
PolicyInfo
PolicyInfo
Name | Type | Description |
---|---|---|
policyId |
string |
|
policyParameters |
Policy parameters for the backup instance |
|
policyVersion |
string |
PolicyParameters
Parameters in Policy
Name | Type | Description |
---|---|---|
backupDatasourceParametersList | BackupDatasourceParameters[]: |
Gets or sets the Backup Data Source Parameters |
dataStoreParametersList | DataStoreParameters[]: |
Gets or sets the DataStore Parameters |
ProtectionStatusDetails
ProtectionStatusDetails
Name | Type | Description |
---|---|---|
errorDetails |
Specifies the protection status error of the resource |
|
status |
Specifies the protection status of the resource |
SecretStoreBasedAuthCredentials
Secret store based authentication credentials.
Name | Type | Description |
---|---|---|
objectType | string: |
Type of the specific object - used for deserializing |
secretStoreResource |
Secret store resource |
SecretStoreResource
Class representing a secret store resource.
Name | Type | Description |
---|---|---|
secretStoreType |
Gets or sets the type of secret store |
|
uri |
string |
Uri to get to the resource |
value |
string |
Gets or sets value stored in secret store resource |
SecretStoreType
Gets or sets the type of secret store
Name | Type | Description |
---|---|---|
AzureKeyVault |
string |
|
Invalid |
string |
Status
Specifies the protection status of the resource
Name | Type | Description |
---|---|---|
ConfiguringProtection |
string |
|
ConfiguringProtectionFailed |
string |
|
ProtectionConfigured |
string |
|
ProtectionStopped |
string |
|
SoftDeleted |
string |
|
SoftDeleting |
string |
systemData
Metadata pertaining to creation and last modification of the resource.
Name | Type | Description |
---|---|---|
createdAt |
string |
The timestamp of resource creation (UTC). |
createdBy |
string |
The identity that created the resource. |
createdByType |
The type of identity that created the resource. |
|
lastModifiedAt |
string |
The timestamp of resource last modification (UTC) |
lastModifiedBy |
string |
The identity that last modified the resource. |
lastModifiedByType |
The type of identity that last modified the resource. |
UserFacingError
Error object used by layers that have access to localized content, and propagate that to user
Name | Type | Description |
---|---|---|
code |
string |
Unique code for this error |
details |
Additional related Errors |
|
innerError |
InnerError |
|
isRetryable |
boolean |
Whether the operation will be retryable or not |
isUserError |
boolean |
Whether the operation is due to a user error or service error |
message |
string |
|
properties |
object |
Any key value pairs that can be injected inside error object |
recommendedAction |
string[] |
RecommendedAction � localized. |
target |
string |
Target of the error. |
ValidationType
Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again.
Name | Type | Description |
---|---|---|
DeepValidation |
string |
|
ShallowValidation |
string |