你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
NetAppBackupPolicyData Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A class representing the NetAppBackupPolicy data model. Backup policy information
public class NetAppBackupPolicyData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.NetApp.NetAppBackupPolicyData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.NetApp.NetAppBackupPolicyData>
type NetAppBackupPolicyData = class
inherit TrackedResourceData
interface IJsonModel<NetAppBackupPolicyData>
interface IPersistableModel<NetAppBackupPolicyData>
Public Class NetAppBackupPolicyData
Inherits TrackedResourceData
Implements IJsonModel(Of NetAppBackupPolicyData), IPersistableModel(Of NetAppBackupPolicyData)
- Inheritance
- Implements
Constructors
NetAppBackupPolicyData(AzureLocation) |
Initializes a new instance of NetAppBackupPolicyData. |
Properties
BackupPolicyId |
Backup Policy GUID ID. |
DailyBackupsToKeep |
Daily backups count to keep. |
ETag |
A unique read-only string that changes whenever the resource is updated. |
Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. (Inherited from ResourceData) |
IsEnabled |
The property to decide policy is enabled or not. |
Location |
The geo-location where the resource lives. (Inherited from TrackedResourceData) |
MonthlyBackupsToKeep |
Monthly backups count to keep. |
Name |
The name of the resource. (Inherited from ResourceData) |
ProvisioningState |
Azure lifecycle management. |
ResourceType |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". (Inherited from ResourceData) |
SystemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. (Inherited from ResourceData) |
Tags |
Resource tags. (Inherited from TrackedResourceData) |
VolumeBackups |
A list of volumes assigned to this policy. |
VolumesAssigned |
Volumes using current backup policy. |
WeeklyBackupsToKeep |
Weekly backups count to keep. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | (Inherited from TrackedResourceData) |
Explicit Interface Implementations
IJsonModel<NetAppBackupPolicyData>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<NetAppBackupPolicyData>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<NetAppBackupPolicyData>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<NetAppBackupPolicyData>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<NetAppBackupPolicyData>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |