Class SnapshotInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.containerservice.fluent.models.SnapshotInner
public final class SnapshotInner
extends com.azure.core.management.Resource
A node pool snapshot resource.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the creationData property: CreationData to be used to specify the source agent pool resource ID to create this snapshot.Get the enableFips property: Whether to use a FIPS-enabled OS.Get the kubernetesVersion property: The version of Kubernetes.Get the nodeImageVersion property: The version of node image.osSku()Get the osSku property: Specifies the OS SKU used by the agent pool.osType()Get the osType property: OsType to be used to specify os type.Get the snapshotType property: The type of a snapshot.com.azure.core.management.SystemDataGet the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.voidvalidate()Validates the instance.vmSize()Get the vmSize property: The size of the VM.withCreationData(CreationData creationData) Set the creationData property: CreationData to be used to specify the source agent pool resource ID to create this snapshot.withLocation(String location) withSnapshotType(SnapshotType snapshotType) Set the snapshotType property: The type of a snapshot.Methods inherited from class com.azure.core.management.Resource
location, tagsMethods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
SnapshotInner
public SnapshotInner()
-
-
Method Details
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
withLocation
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
creationData
Get the creationData property: CreationData to be used to specify the source agent pool resource ID to create this snapshot.- Returns:
- the creationData value.
-
withCreationData
Set the creationData property: CreationData to be used to specify the source agent pool resource ID to create this snapshot.- Parameters:
creationData- the creationData value to set.- Returns:
- the SnapshotInner object itself.
-
snapshotType
Get the snapshotType property: The type of a snapshot. The default is NodePool.- Returns:
- the snapshotType value.
-
withSnapshotType
Set the snapshotType property: The type of a snapshot. The default is NodePool.- Parameters:
snapshotType- the snapshotType value to set.- Returns:
- the SnapshotInner object itself.
-
kubernetesVersion
Get the kubernetesVersion property: The version of Kubernetes.- Returns:
- the kubernetesVersion value.
-
nodeImageVersion
Get the nodeImageVersion property: The version of node image.- Returns:
- the nodeImageVersion value.
-
osType
Get the osType property: OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux.- Returns:
- the osType value.
-
osSku
Get the osSku property: 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.- Returns:
- the osSku value.
-
vmSize
Get the vmSize property: The size of the VM.- Returns:
- the vmSize value.
-
enableFips
Get the enableFips property: Whether to use a FIPS-enabled OS.- Returns:
- the enableFips value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-