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.ResourceA node pool snapshot resource.
-
-
Constructor Summary
Constructors Constructor Description SnapshotInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreationDatacreationData()Get the creationData property: CreationData to be used to specify the source agent pool resource ID to create this snapshot.BooleanenableFips()Get the enableFips property: Whether to use a FIPS-enabled OS.StringkubernetesVersion()Get the kubernetesVersion property: The version of Kubernetes.StringnodeImageVersion()Get the nodeImageVersion property: The version of node image.OSSkuosSku()Get the osSku property: Specifies an OS SKU.OSTypeosType()Get the osType property: OsType to be used to specify os type.SnapshotTypesnapshotType()Get the snapshotType property: The type of a snapshot.com.azure.core.management.SystemDatasystemData()Get the systemData property: The system metadata relating to this snapshot.voidvalidate()Validates the instance.StringvmSize()Get the vmSize property: The size of the VM.SnapshotInnerwithCreationData(CreationData creationData)Set the creationData property: CreationData to be used to specify the source agent pool resource ID to create this snapshot.SnapshotInnerwithLocation(String location)SnapshotInnerwithSnapshotType(SnapshotType snapshotType)Set the snapshotType property: The type of a snapshot.SnapshotInnerwithTags(Map<String,String> tags)
-
-
-
Method Detail
-
systemData
public com.azure.core.management.SystemData systemData()
Get the systemData property: The system metadata relating to this snapshot.- Returns:
- the systemData value.
-
withLocation
public SnapshotInner withLocation(String location)
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
public SnapshotInner withTags(Map<String,String> tags)
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
creationData
public CreationData 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
public SnapshotInner withCreationData(CreationData creationData)
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
public SnapshotType snapshotType()
Get the snapshotType property: The type of a snapshot. The default is NodePool.- Returns:
- the snapshotType value.
-
withSnapshotType
public SnapshotInner withSnapshotType(SnapshotType snapshotType)
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
public String kubernetesVersion()
Get the kubernetesVersion property: The version of Kubernetes.- Returns:
- the kubernetesVersion value.
-
nodeImageVersion
public String nodeImageVersion()
Get the nodeImageVersion property: The version of node image.- Returns:
- the nodeImageVersion value.
-
osType
public OSType 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
public OSSku osSku()
Get the osSku property: Specifies an OS SKU. This value must not be specified if OSType is Windows.- Returns:
- the osSku value.
-
vmSize
public String vmSize()
Get the vmSize property: The size of the VM.- Returns:
- the vmSize value.
-
enableFips
public Boolean 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.
-
-