Interface KubernetesClusterAgentPool.DefinitionStages.WithDiskType<ParentT>
- Type Parameters:
ParentT- the stage of the container service definition to return to after attaching this definition
- All Known Subinterfaces:
KubernetesClusterAgentPool.Definition<ParentT>,KubernetesClusterAgentPool.DefinitionStages.WithAttach<ParentT>
- Enclosing interface:
KubernetesClusterAgentPool.DefinitionStages
public static interface KubernetesClusterAgentPool.DefinitionStages.WithDiskType<ParentT>
The stage of a container service agent pool definition allowing to specify the agent pool disk type.
-
Method Summary
Modifier and TypeMethodDescriptionwithKubeletDiskType(KubeletDiskType kubeletDiskType) The disk type for the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage.withOSDiskType(OSDiskType osDiskType) The OS disk type to be used for machines in the agent pool.
-
Method Details
-
withOSDiskType
KubernetesClusterAgentPool.DefinitionStages.WithAttach<ParentT> withOSDiskType(OSDiskType osDiskType) The OS disk type to be used for machines in the agent pool. The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'.- Parameters:
osDiskType- the OS disk type to be used for machines in the agent pool- Returns:
- the next stage of the definition
-
withKubeletDiskType
KubernetesClusterAgentPool.DefinitionStages.WithAttach<ParentT> withKubeletDiskType(KubeletDiskType kubeletDiskType) The disk type for the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage.- Parameters:
kubeletDiskType- the disk type for the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage.- Returns:
- the next stage of the definition
-