backup_and_exports
Creates, updates, deletes, gets or lists a backup_and_exports
resource.
Overview
Name | backup_and_exports |
Type | Resource |
Id | azure.mysql.backup_and_exports |
Fields
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
create | INSERT | resourceGroupName, serverName, subscriptionId, data__backupSettings, data__targetDetails | Exports the backup of the given server by creating a backup if not existing. |
validate_backup | EXEC | resourceGroupName, serverName, subscriptionId | Validates if backup can be performed for given server. |
INSERT
example
Use the following StackQL query and manifest file to create a new backup_and_exports
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.mysql.backup_and_exports (
resourceGroupName,
serverName,
subscriptionId,
data__backupSettings,
data__targetDetails,
backupSettings,
targetDetails
)
SELECT
'{{ resourceGroupName }}',
'{{ serverName }}',
'{{ subscriptionId }}',
'{{ data__backupSettings }}',
'{{ data__targetDetails }}',
'{{ backupSettings }}',
'{{ targetDetails }}'
;
- name: your_resource_model_name
props:
- name: backupSettings
value:
- name: backupName
value: []
- name: backupFormat
value: string
- name: targetDetails
value:
- name: objectType
value: string