ArmNetAppModelFactory.ElasticBackupProperties Method

Definition

public static Azure.ResourceManager.NetApp.Models.ElasticBackupProperties ElasticBackupProperties(Azure.ResourceManager.NetApp.Models.NetAppProvisioningState? provisioningState = default, long? size = default, string label = default, Azure.ResourceManager.NetApp.Models.ElasticBackupType? backupType = default, string failureReason = default, Azure.Core.ResourceIdentifier elasticVolumeResourceId = default, Azure.ResourceManager.NetApp.Models.ElasticBackupSnapshotUsage? snapshotUsage = default, Azure.Core.ResourceIdentifier elasticSnapshotResourceId = default, Azure.Core.ResourceIdentifier elasticBackupPolicyResourceId = default, Azure.ResourceManager.NetApp.Models.ElasticBackupVolumeSize? volumeSize = default);
static member ElasticBackupProperties : Nullable<Azure.ResourceManager.NetApp.Models.NetAppProvisioningState> * Nullable<int64> * string * Nullable<Azure.ResourceManager.NetApp.Models.ElasticBackupType> * string * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.NetApp.Models.ElasticBackupSnapshotUsage> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.NetApp.Models.ElasticBackupVolumeSize> -> Azure.ResourceManager.NetApp.Models.ElasticBackupProperties
Public Shared Function ElasticBackupProperties (Optional provisioningState As Nullable(Of NetAppProvisioningState) = Nothing, Optional size As Nullable(Of Long) = Nothing, Optional label As String = Nothing, Optional backupType As Nullable(Of ElasticBackupType) = Nothing, Optional failureReason As String = Nothing, Optional elasticVolumeResourceId As ResourceIdentifier = Nothing, Optional snapshotUsage As Nullable(Of ElasticBackupSnapshotUsage) = Nothing, Optional elasticSnapshotResourceId As ResourceIdentifier = Nothing, Optional elasticBackupPolicyResourceId As ResourceIdentifier = Nothing, Optional volumeSize As Nullable(Of ElasticBackupVolumeSize) = Nothing) As ElasticBackupProperties

Parameters

provisioningState
Nullable<NetAppProvisioningState>

Azure lifecycle management.

size
Nullable<Int64>

Size of backup in bytes.

label
String

Label for backup.

backupType
Nullable<ElasticBackupType>

Type of backup Manual or Scheduled.

failureReason
String

Failure reason.

elasticVolumeResourceId
ResourceIdentifier

ResourceId used to identify the Elastic Volume.

snapshotUsage
Nullable<ElasticBackupSnapshotUsage>

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<ElasticBackupVolumeSize>

Specifies if the backup is for a large volume.

Returns

A new ElasticBackupProperties instance for mocking.

Applies to