ArmNetAppModelFactory.NetAppElasticSnapshotPolicyProperties Method
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.
Initializes a new instance of NetAppElasticSnapshotPolicyProperties.
public static Azure.ResourceManager.NetApp.Models.NetAppElasticSnapshotPolicyProperties NetAppElasticSnapshotPolicyProperties(Azure.ResourceManager.NetApp.Models.ElasticSnapshotPolicyHourlySchedule hourlySchedule = default, Azure.ResourceManager.NetApp.Models.ElasticSnapshotPolicyDailySchedule dailySchedule = default, Azure.ResourceManager.NetApp.Models.ElasticSnapshotPolicyWeeklySchedule weeklySchedule = default, Azure.ResourceManager.NetApp.Models.ElasticSnapshotPolicyMonthlySchedule monthlySchedule = default, Azure.ResourceManager.NetApp.Models.NetAppPolicyStatus? policyStatus = default, Azure.ResourceManager.NetApp.Models.NetAppVolumeQuotaRuleProvisioningState? provisioningState = default);
static member NetAppElasticSnapshotPolicyProperties : Azure.ResourceManager.NetApp.Models.ElasticSnapshotPolicyHourlySchedule * Azure.ResourceManager.NetApp.Models.ElasticSnapshotPolicyDailySchedule * Azure.ResourceManager.NetApp.Models.ElasticSnapshotPolicyWeeklySchedule * Azure.ResourceManager.NetApp.Models.ElasticSnapshotPolicyMonthlySchedule * Nullable<Azure.ResourceManager.NetApp.Models.NetAppPolicyStatus> * Nullable<Azure.ResourceManager.NetApp.Models.NetAppVolumeQuotaRuleProvisioningState> -> Azure.ResourceManager.NetApp.Models.NetAppElasticSnapshotPolicyProperties
Public Shared Function NetAppElasticSnapshotPolicyProperties (Optional hourlySchedule As ElasticSnapshotPolicyHourlySchedule = Nothing, Optional dailySchedule As ElasticSnapshotPolicyDailySchedule = Nothing, Optional weeklySchedule As ElasticSnapshotPolicyWeeklySchedule = Nothing, Optional monthlySchedule As ElasticSnapshotPolicyMonthlySchedule = Nothing, Optional policyStatus As Nullable(Of NetAppPolicyStatus) = Nothing, Optional provisioningState As Nullable(Of NetAppVolumeQuotaRuleProvisioningState) = Nothing) As NetAppElasticSnapshotPolicyProperties
Parameters
- hourlySchedule
- ElasticSnapshotPolicyHourlySchedule
Schedule for hourly snapshots.
- dailySchedule
- ElasticSnapshotPolicyDailySchedule
Schedule for daily snapshots.
- weeklySchedule
- ElasticSnapshotPolicyWeeklySchedule
Schedule for weekly snapshots.
- monthlySchedule
- ElasticSnapshotPolicyMonthlySchedule
Schedule for monthly snapshots.
- policyStatus
- Nullable<NetAppPolicyStatus>
Configures if the snapshot policy is enabled on the volumes connected to the policy.
- provisioningState
- Nullable<NetAppVolumeQuotaRuleProvisioningState>
Azure lifecycle management.
Returns
A new NetAppElasticSnapshotPolicyProperties instance for mocking.