Share via


ArmContainerServiceModelFactory.ManagedClusterSnapshotData Method

Definition

Initializes a new instance of ManagedClusterSnapshotData.

public static Azure.ResourceManager.ContainerService.ManagedClusterSnapshotData ManagedClusterSnapshotData (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.Core.ResourceIdentifier creationDataSourceResourceId = default, Azure.ResourceManager.ContainerService.Models.SnapshotType? snapshotType = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterPropertiesForSnapshot managedClusterPropertiesReadOnly = default);
static member ManagedClusterSnapshotData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.ContainerService.Models.SnapshotType> * Azure.ResourceManager.ContainerService.Models.ManagedClusterPropertiesForSnapshot -> Azure.ResourceManager.ContainerService.ManagedClusterSnapshotData
Public Shared Function ManagedClusterSnapshotData (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 creationDataSourceResourceId As ResourceIdentifier = Nothing, Optional snapshotType As Nullable(Of SnapshotType) = Nothing, Optional managedClusterPropertiesReadOnly As ManagedClusterPropertiesForSnapshot = Nothing) As ManagedClusterSnapshotData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

creationDataSourceResourceId
ResourceIdentifier

CreationData to be used to specify the source resource ID to create this snapshot.

snapshotType
Nullable<SnapshotType>

The type of a snapshot. The default is NodePool.

managedClusterPropertiesReadOnly
ManagedClusterPropertiesForSnapshot

What the properties will be showed when getting managed cluster snapshot. Those properties are read-only.

Returns

A new ManagedClusterSnapshotData instance for mocking.

Applies to