ArmNetAppModelFactory.SnapshotPolicyPatch 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 SnapshotPolicyPatch.
public static Azure.ResourceManager.NetApp.Models.SnapshotPolicyPatch SnapshotPolicyPatch (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.NetApp.Models.SnapshotPolicyHourlySchedule hourlySchedule = default, Azure.ResourceManager.NetApp.Models.SnapshotPolicyDailySchedule dailySchedule = default, Azure.ResourceManager.NetApp.Models.SnapshotPolicyWeeklySchedule weeklySchedule = default, Azure.ResourceManager.NetApp.Models.SnapshotPolicyMonthlySchedule monthlySchedule = default, bool? isEnabled = default, string provisioningState = default);
static member SnapshotPolicyPatch : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.NetApp.Models.SnapshotPolicyHourlySchedule * Azure.ResourceManager.NetApp.Models.SnapshotPolicyDailySchedule * Azure.ResourceManager.NetApp.Models.SnapshotPolicyWeeklySchedule * Azure.ResourceManager.NetApp.Models.SnapshotPolicyMonthlySchedule * Nullable<bool> * string -> Azure.ResourceManager.NetApp.Models.SnapshotPolicyPatch
Public Shared Function SnapshotPolicyPatch (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional hourlySchedule As SnapshotPolicyHourlySchedule = Nothing, Optional dailySchedule As SnapshotPolicyDailySchedule = Nothing, Optional weeklySchedule As SnapshotPolicyWeeklySchedule = Nothing, Optional monthlySchedule As SnapshotPolicyMonthlySchedule = Nothing, Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional provisioningState As String = Nothing) As SnapshotPolicyPatch
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- tags
- IDictionary<String,String>
The tags.
- location
- AzureLocation
The location.
- hourlySchedule
- SnapshotPolicyHourlySchedule
Schedule for hourly snapshots.
- dailySchedule
- SnapshotPolicyDailySchedule
Schedule for daily snapshots.
- weeklySchedule
- SnapshotPolicyWeeklySchedule
Schedule for weekly snapshots.
- monthlySchedule
- SnapshotPolicyMonthlySchedule
Schedule for monthly snapshots.
- provisioningState
- String
Azure lifecycle management.
Returns
A new SnapshotPolicyPatch instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET