GetBackupPolicyResult

data class GetBackupPolicyResult(val azureApiVersion: String, val backupPolicyId: String, val dailyBackupsToKeep: Int? = null, val enabled: Boolean? = null, val etag: String, val id: String, val location: String, val monthlyBackupsToKeep: Int? = null, val name: String, val provisioningState: String, val systemData: SystemDataResponse, val tags: Map<String, String>? = null, val type: String, val volumeBackups: List<VolumeBackupsResponse>, val volumesAssigned: Int, val weeklyBackupsToKeep: Int? = null)

Backup policy information

Constructors

Link copied to clipboard
constructor(azureApiVersion: String, backupPolicyId: String, dailyBackupsToKeep: Int? = null, enabled: Boolean? = null, etag: String, id: String, location: String, monthlyBackupsToKeep: Int? = null, name: String, provisioningState: String, systemData: SystemDataResponse, tags: Map<String, String>? = null, type: String, volumeBackups: List<VolumeBackupsResponse>, volumesAssigned: Int, weeklyBackupsToKeep: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The Azure API version of the resource.

Link copied to clipboard

Backup Policy GUID ID

Link copied to clipboard
val dailyBackupsToKeep: Int? = null

Daily backups count to keep

Link copied to clipboard
val enabled: Boolean? = null

The property to decide policy is enabled or not

Link copied to clipboard

A unique read-only string that changes whenever the resource is updated.

Link copied to clipboard
val id: String

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

Link copied to clipboard

The geo-location where the resource lives

Link copied to clipboard

Monthly backups count to keep

Link copied to clipboard

The name of the resource

Link copied to clipboard

Azure lifecycle management

Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Link copied to clipboard
val tags: Map<String, String>? = null

Resource tags.

Link copied to clipboard

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard

A list of volumes assigned to this policy

Link copied to clipboard

Volumes using current backup policy

Link copied to clipboard

Weekly backups count to keep