Condividi tramite


ArmNetAppModelFactory.NetAppElasticBackupProperties Method

Definition

Initializes a new instance of NetAppElasticBackupProperties.

public static Azure.ResourceManager.NetApp.Models.NetAppElasticBackupProperties NetAppElasticBackupProperties(DateTimeOffset? createdOn = default, DateTimeOffset? snapshotCreationOn = default, DateTimeOffset? completionOn = default, Azure.ResourceManager.NetApp.Models.NetAppVolumeQuotaRuleProvisioningState? provisioningState = default, long? size = default, string label = default, Azure.ResourceManager.NetApp.Models.NetAppElasticBackupType? backupType = default, string failureReason = default, Azure.Core.ResourceIdentifier elasticVolumeResourceId = default, Azure.ResourceManager.NetApp.Models.NetAppSnapshotUsage? snapshotUsage = default, Azure.Core.ResourceIdentifier elasticSnapshotResourceId = default, Azure.Core.ResourceIdentifier elasticBackupPolicyResourceId = default, Azure.ResourceManager.NetApp.Models.NetAppBackupVolumeSize? volumeSize = default);
static member NetAppElasticBackupProperties : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.NetApp.Models.NetAppVolumeQuotaRuleProvisioningState> * Nullable<int64> * string * Nullable<Azure.ResourceManager.NetApp.Models.NetAppElasticBackupType> * string * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.NetApp.Models.NetAppSnapshotUsage> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.NetApp.Models.NetAppBackupVolumeSize> -> Azure.ResourceManager.NetApp.Models.NetAppElasticBackupProperties
Public Shared Function NetAppElasticBackupProperties (Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional snapshotCreationOn As Nullable(Of DateTimeOffset) = Nothing, Optional completionOn As Nullable(Of DateTimeOffset) = Nothing, Optional provisioningState As Nullable(Of NetAppVolumeQuotaRuleProvisioningState) = Nothing, Optional size As Nullable(Of Long) = Nothing, Optional label As String = Nothing, Optional backupType As Nullable(Of NetAppElasticBackupType) = Nothing, Optional failureReason As String = Nothing, Optional elasticVolumeResourceId As ResourceIdentifier = Nothing, Optional snapshotUsage As Nullable(Of NetAppSnapshotUsage) = Nothing, Optional elasticSnapshotResourceId As ResourceIdentifier = Nothing, Optional elasticBackupPolicyResourceId As ResourceIdentifier = Nothing, Optional volumeSize As Nullable(Of NetAppBackupVolumeSize) = Nothing) As NetAppElasticBackupProperties

Parameters

createdOn
Nullable<DateTimeOffset>

The creation date of the backup.

snapshotCreationOn
Nullable<DateTimeOffset>

The snapshot creation date of the backup.

completionOn
Nullable<DateTimeOffset>

The completion date of the backup.

provisioningState
Nullable<NetAppVolumeQuotaRuleProvisioningState>

Azure lifecycle management.

size
Nullable<Int64>

Size of backup in bytes.

label
String

Label for backup.

backupType
Nullable<NetAppElasticBackupType>

Type of backup Manual or Scheduled.

failureReason
String

Failure reason.

elasticVolumeResourceId
ResourceIdentifier

ResourceId used to identify the Elastic Volume.

snapshotUsage
Nullable<NetAppSnapshotUsage>

Manual backup using an already existing snapshot. This will always be CreateNewSnapshot for scheduled backups and UseExistingSnapshot/CreateNewSnapshot for manual backups.

elasticSnapshotResourceId
ResourceIdentifier

ResourceId used to identify the elastic snapshot resource. This is required when an existing snapshot needs to be used for creating a manual backup.

elasticBackupPolicyResourceId
ResourceIdentifier

ResourceId used to identify the elastic backup policy.

volumeSize
Nullable<NetAppBackupVolumeSize>

Specifies if the backup is for a large volume.

Returns

A new NetAppElasticBackupProperties instance for mocking.

Applies to