Freigeben über


ArmNetAppModelFactory.SnapshotPolicyData Methode

Definition

Initialisiert eine neue instance von SnapshotPolicyData.

public static Azure.ResourceManager.NetApp.SnapshotPolicyData SnapshotPolicyData (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.ETag? etag = 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 SnapshotPolicyData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ETag> * 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.SnapshotPolicyData
Public Shared Function SnapshotPolicyData (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 etag As Nullable(Of ETag) = 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 SnapshotPolicyData

Parameter

id
ResourceIdentifier

Die ID.

name
String

Der Name.

resourceType
ResourceType

Der resourceType.

systemData
SystemData

SystemDaten.

tags
IDictionary<String,String>

Die Tags.

location
AzureLocation

Der Speicherort.

etag
Nullable<ETag>

Eine eindeutige schreibgeschützte Zeichenfolge, die sich ändert, wenn die Ressource aktualisiert wird.

hourlySchedule
SnapshotPolicyHourlySchedule

Planen Sie stündliche Momentaufnahmen.

dailySchedule
SnapshotPolicyDailySchedule

Planen Sie tägliche Momentaufnahmen.

weeklySchedule
SnapshotPolicyWeeklySchedule

Planen Sie wöchentliche Momentaufnahmen.

monthlySchedule
SnapshotPolicyMonthlySchedule

Planen Sie monatliche Momentaufnahmen.

isEnabled
Nullable<Boolean>

Die Eigenschaft, ob die Richtlinie aktiviert ist oder nicht.

provisioningState
String

Azure-Lebenszyklusverwaltung.

Gibt zurück

Eine neue SnapshotPolicyData instance zum Mocking.

Gilt für: