The locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups resource type can exist at: Subscriptions, Resource groups
Note
This resource type is read-only, which means it can't be deployed but an existing instance can be referenced. Typically, read-only resource types are automatically created by the service.
Use the reference
function.
To create a Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups resource, add the following JSON to your template.
[reference(resourceId('Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups', '{name}'), '2023-05-01-preview')]
Name | Description | Value |
---|---|---|
name | The name of the existing resource. See how to set names and types for child resources in JSON ARM templates. |
string (required) |