backups
Creates, updates, deletes, gets or lists a backups
resource.
Overview
Name | backups |
Type | Resource |
Id | azure.recovery_services_backup.backups |
Fields
The following fields are returned by SELECT
queries:
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
trigger | exec | vaultName , resourceGroupName , subscriptionId , fabricName , containerName , protectedItemName | api-version | Triggers backup for specified backed up item. This is an asynchronous operation. To know the status of the operation, call GetProtectedItemOperationResult API. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
containerName | string | Container name associated with the backup item. |
fabricName | string | Fabric name associated with the backup item. |
protectedItemName | string | Backup item for which backup needs to be triggered. |
resourceGroupName | string | The name of the resource group where the recovery services vault is present. |
subscriptionId | string | The subscription Id. |
vaultName | string | The name of the recovery services vault. |
api-version | string | Client Api Version. |
Lifecycle Methods
- trigger
Triggers backup for specified backed up item. This is an asynchronous operation. To know the status of the
operation, call GetProtectedItemOperationResult API.
EXEC azure.recovery_services_backup.backups.trigger
@vaultName='{{ vaultName }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@subscriptionId='{{ subscriptionId }}' --required,
@fabricName='{{ fabricName }}' --required,
@containerName='{{ containerName }}' --required,
@protectedItemName='{{ protectedItemName }}' --required,
@api-version='{{ api-version }}'
@@json=
'{
"properties": "{{ properties }}"
}'
;