enable_service_backups
Creates, updates, deletes, gets or lists an enable_service_backups resource.
Overview
| Name | enable_service_backups |
| Type | Resource |
| Id | azure.service_fabric_dataplane.enable_service_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 |
|---|---|---|---|---|
enable_service_backup | exec | service_id, endpoint, BackupPolicyName | timeout | Enables periodic backup of stateful partitions under this Service Fabric service. Enables periodic backup of stateful partitions which are part of this Service Fabric service. Each partition is backed up individually as per the specified backup policy description. In case the application, which the service is part of, is already enabled for backup then this operation would override the policy being used to take the periodic backup for this service and its partitions (unless explicitly overridden at the partition level). Note only C# based Reliable Actor and Reliable Stateful services are currently supported for periodic backup. |
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 |
|---|---|---|
endpoint | string | The service endpoint host (no scheme). (default: ) |
service_id | string | The identity of the service. This ID is typically the full name of the service without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the " |
timeout | integer (int64) | The server timeout for performing the operation in seconds. This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds. |
Lifecycle Methods
- enable_service_backup
Enables periodic backup of stateful partitions under this Service Fabric service. Enables periodic backup of stateful partitions which are part of this Service Fabric service. Each partition is backed up individually as per the specified backup policy description. In case the application, which the service is part of, is already enabled for backup then this operation would override the policy being used to take the periodic backup for this service and its partitions (unless explicitly overridden at the partition level). Note only C# based Reliable Actor and Reliable Stateful services are currently supported for periodic backup.
EXEC azure.service_fabric_dataplane.enable_service_backups.enable_service_backup
@service_id='{{ service_id }}' --required,
@endpoint='{{ endpoint }}' --required,
@timeout='{{ timeout }}'
@@json=
'{
"BackupPolicyName": "{{ BackupPolicyName }}"
}'
;