public class KubernetesCluster extends com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<KubernetesCluster,ContainerServiceSubscription,com.azure.resourcemanager.containerservice.models.KubernetesCluster> implements com.microsoft.azure.toolkit.lib.common.model.Startable, com.microsoft.azure.toolkit.lib.common.model.Deletable
com.microsoft.azure.toolkit.lib.common.model.AzResource.Draft<T extends com.microsoft.azure.toolkit.lib.common.model.AzResource,R>, com.microsoft.azure.toolkit.lib.common.model.AzResource.FormalStatus, com.microsoft.azure.toolkit.lib.common.model.AzResource.None, com.microsoft.azure.toolkit.lib.common.model.AzResource.Status| Modifier and Type | Field and Description |
|---|---|
private KubernetesClusterAgentPoolModule |
agentPoolModule |
static com.microsoft.azure.toolkit.lib.common.action.Action.Id<KubernetesCluster> |
DOWNLOAD_CONFIG_ADMIN |
static com.microsoft.azure.toolkit.lib.common.action.Action.Id<KubernetesCluster> |
DOWNLOAD_CONFIG_USER |
| Modifier | Constructor and Description |
|---|---|
protected |
KubernetesCluster(KubernetesCluster cluster) |
protected |
KubernetesCluster(com.azure.resourcemanager.containerservice.models.KubernetesCluster remote,
KubernetesClusterModule module) |
protected |
KubernetesCluster(String name,
String resourceGroupName,
KubernetesClusterModule module) |
| Modifier and Type | Method and Description |
|---|---|
KubernetesClusterAgentPoolModule |
agentPools() |
byte[] |
getAdminKubeConfig() |
String |
getApiServerAddress() |
ContainerServiceNetworkProfile |
getContainerServiceNetworkProfile() |
String |
getKubernetesVersion() |
PowerState |
getPowerStatus() |
com.microsoft.azure.toolkit.lib.common.model.Region |
getRegion() |
List<com.microsoft.azure.toolkit.lib.common.model.AbstractAzResourceModule<?,?,?>> |
getSubModules() |
byte[] |
getUserKubeConfig() |
boolean |
isRestartable() |
protected String |
loadStatus(com.azure.resourcemanager.containerservice.models.KubernetesCluster remote) |
void |
restart() |
void |
start() |
void |
stop() |
canEqual, delete, doModify, doModify, equals, exists, getCachedSubModules, getId, getModule, getName, getParent, getRemote, getResourceGroup, getResourceGroupName, getStatus, getSubModule, hashCode, invalidateCache, is400, is404, isAuthRequired, isDraft, isDraftForCreating, isDraftForUpdating, isHttpException, isHttpException, isMocked, loadRemoteFromAzure, onRemoteUpdated, refresh, remoteOptional, setRemote, setStatus, toString, update, updateAdditionalPropertiesclone, finalize, getClass, notify, notifyAll, wait, wait, waitisStartable, isStoppabledelete, exists, getFormalStatus, getFullResourceType, getModule, getPortalUrl, getResourceGroupName, getResourceTypeName, getStatus, getSubscription, getSubscriptionId, id, name, refreshpublic static final com.microsoft.azure.toolkit.lib.common.action.Action.Id<KubernetesCluster> DOWNLOAD_CONFIG_ADMIN
public static final com.microsoft.azure.toolkit.lib.common.action.Action.Id<KubernetesCluster> DOWNLOAD_CONFIG_USER
private final KubernetesClusterAgentPoolModule agentPoolModule
protected KubernetesCluster(@Nonnull String name, @Nonnull String resourceGroupName, @Nonnull KubernetesClusterModule module)
protected KubernetesCluster(@Nonnull KubernetesCluster cluster)
protected KubernetesCluster(@Nonnull com.azure.resourcemanager.containerservice.models.KubernetesCluster remote, @Nonnull KubernetesClusterModule module)
public ContainerServiceNetworkProfile getContainerServiceNetworkProfile()
@Nullable public com.microsoft.azure.toolkit.lib.common.model.Region getRegion()
@Nullable public PowerState getPowerStatus()
@Nonnull public List<com.microsoft.azure.toolkit.lib.common.model.AbstractAzResourceModule<?,?,?>> getSubModules()
getSubModules in class com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<KubernetesCluster,ContainerServiceSubscription,com.azure.resourcemanager.containerservice.models.KubernetesCluster>@Nonnull protected String loadStatus(@Nonnull com.azure.resourcemanager.containerservice.models.KubernetesCluster remote)
loadStatus in class com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<KubernetesCluster,ContainerServiceSubscription,com.azure.resourcemanager.containerservice.models.KubernetesCluster>public void start()
start in interface com.microsoft.azure.toolkit.lib.common.model.Startablepublic void stop()
stop in interface com.microsoft.azure.toolkit.lib.common.model.Startable@Nonnull public byte[] getAdminKubeConfig()
@Nonnull public byte[] getUserKubeConfig()
public void restart()
restart in interface com.microsoft.azure.toolkit.lib.common.model.Startablepublic boolean isRestartable()
isRestartable in interface com.microsoft.azure.toolkit.lib.common.model.Startablepublic KubernetesClusterAgentPoolModule agentPools()
Copyright © 2024. All rights reserved.