Snapshot Constructors
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.
Overloads
Snapshot() |
Initializes a new instance of the Snapshot class. |
Snapshot(String, String, String, String, SystemData, IDictionary<String, String>, CreationData, String, String, String, String, String, String, Nullable<Boolean>) |
Initializes a new instance of the Snapshot class. |
Snapshot()
Initializes a new instance of the Snapshot class.
public Snapshot ();
Public Sub New ()
Applies to
Snapshot(String, String, String, String, SystemData, IDictionary<String, String>, CreationData, String, String, String, String, String, String, Nullable<Boolean>)
Initializes a new instance of the Snapshot class.
public Snapshot (string location, string id = default, string name = default, string type = default, Microsoft.Azure.Management.ContainerService.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.ContainerService.Models.CreationData creationData = default, string snapshotType = default, string osType = default, string kubernetesVersion = default, string nodeImageVersion = default, string osSku = default, string vmSize = default, bool? enableFips = default);
new Microsoft.Azure.Management.ContainerService.Models.Snapshot : string * string * string * string * Microsoft.Azure.Management.ContainerService.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.ContainerService.Models.CreationData * string * string * string * string * string * string * Nullable<bool> -> Microsoft.Azure.Management.ContainerService.Models.Snapshot
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional creationData As CreationData = Nothing, Optional snapshotType As String = Nothing, Optional osType As String = Nothing, Optional kubernetesVersion As String = Nothing, Optional nodeImageVersion As String = Nothing, Optional osSku As String = Nothing, Optional vmSize As String = Nothing, Optional enableFips As Nullable(Of Boolean) = Nothing)
Parameters
- location
- String
The geo-location where the resource lives
- id
- String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name
- String
The name of the resource
- type
- String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- systemData
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- tags
- IDictionary<String,String>
Resource tags.
- creationData
- CreationData
CreationData to be used to specify the source agent pool resource ID to create this snapshot.
- snapshotType
- String
The type of a snapshot. The default is NodePool. Possible values include: 'NodePool'
- osType
- String
The operating system type. The default is Linux. Possible values include: 'Linux', 'Windows'
- kubernetesVersion
- String
The version of Kubernetes.
- nodeImageVersion
- String
The version of node image.
- osSku
- String
Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows. Possible values include: 'Ubuntu', 'AzureLinux', 'CBLMariner', 'Windows2019', 'Windows2022'
- vmSize
- String
The size of the VM.