KubernetesCluster Interface
Implements
public interface KubernetesCluster
extends GroupableResource<ContainerServiceManager,ManagedClusterInner>, Refreshable<KubernetesCluster>, Updatable<Update>, SupportsListingPrivateLinkResource, SupportsListingPrivateEndpointConnection
A client-side representation for a managed Kubernetes cluster.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Map<String,Managed |
addonProfiles()
Gets the cluster's add-on's profiles. |
abstract byte[] |
adminKubeConfigContent()
Gets the Kubernetes configuration file content with administrative privileges to the cluster. |
abstract
List<Credential |
adminKubeConfigs()
Gets the Kubernetes credentials with administrative privileges to the cluster. |
abstract String |
agentPoolResourceGroup()
Gets the resource group containing agent pool nodes. |
abstract
Map<String,Kubernetes |
agentPools()
Gets the agent pools in the Kubernetes cluster. |
abstract List<String> |
azureActiveDirectoryGroupIds()
Gets the IDs (object IDs) of the Azure AD groups as the admin group of the cluster. |
abstract
Accepted<Agent |
beginCreateAgentPool(String agentPoolName, AgentPoolData agentPool)
Begins creating the agent pool resource. |
abstract String |
diskEncryptionSetId()
Gets resource ID of the disk encryption set. |
abstract String |
dnsPrefix()
Gets the DNS prefix which was specified at creation time. |
abstract boolean |
enableRBAC()
Checks whether Kubernetes Role-Based Access Control is enabled. |
abstract String |
fqdn()
Gets the FQDN for the master pool. |
abstract boolean |
isAzureRbacEnabled()
Checks whether Azure Role-Based Access Control for Kubernetes authorization is enabled. |
abstract boolean |
isLocalAccountsEnabled()
Checks whether local accounts is enabled. |
abstract String |
linuxRootUsername()
Gets the Linux root username. |
abstract
Container |
networkProfile()
Gets the network profile settings for the cluster. |
abstract String |
nodeResourceGroup()
Gets the name of the resource group containing agent pool nodes. |
abstract
Power |
powerState()
Gets the power state. |
abstract String |
provisioningState()
Gets the provisioning state of the Kubernetes cluster. |
abstract
Public |
publicNetworkAccess()
Checks whether the kubernetes cluster can be accessed from public network. |
abstract String |
servicePrincipalClientId()
Gets the service principal client ID. |
abstract String |
servicePrincipalSecret()
Gets the service principal secret. |
abstract
Managed |
sku()
Gets the SKU of a Managed Cluster. |
abstract String |
sshKey()
Gets the Linux SSH key. |
abstract void |
start()
Starts a stopped Kubernetes cluster. |
abstract Mono<Void> |
startAsync()
Starts a stopped Kubernetes cluster. |
abstract void |
stop()
Stops a running Kubernetes cluster. |
abstract Mono<Void> |
stopAsync()
Stops a running Kubernetes cluster. |
abstract String |
systemAssignedManagedServiceIdentityPrincipalId()
Gets the System Assigned Managed Service Identity specific Active Directory service principal ID assigned to the Kubernetes cluster. |
abstract byte[] |
userKubeConfigContent()
Gets the Kubernetes configuration file content with user-level privileges to the cluster. |
abstract byte[] |
userKubeConfigContent(Format format)
Gets the Kubernetes configuration file content with user-level privileges to the cluster. |
abstract
List<Credential |
userKubeConfigs()
Gets the Kubernetes credentials with user-level privileges to the cluster. |
abstract
List<Credential |
userKubeConfigs(Format format)
Gets the Kubernetes credentials with user-level privileges to the cluster. |
abstract String |
version()
Gets the Kubernetes version. |
Method Details
addonProfiles
public abstract Map
Gets the cluster's add-on's profiles.
Returns:
adminKubeConfigContent
public abstract byte[] adminKubeConfigContent()
Gets the Kubernetes configuration file content with administrative privileges to the cluster.
Returns:
adminKubeConfigs
public abstract List
Gets the Kubernetes credentials with administrative privileges to the cluster.
Returns:
agentPoolResourceGroup
public abstract String agentPoolResourceGroup()
Gets the resource group containing agent pool nodes.
Returns:
agentPools
public abstract Map
Gets the agent pools in the Kubernetes cluster.
Returns:
azureActiveDirectoryGroupIds
public abstract List
Gets the IDs (object IDs) of the Azure AD groups as the admin group of the cluster.
Returns:
beginCreateAgentPool
public abstract Accepted
Begins creating the agent pool resource.
Parameters:
Returns:
diskEncryptionSetId
public abstract String diskEncryptionSetId()
Gets resource ID of the disk encryption set.
Returns:
dnsPrefix
public abstract String dnsPrefix()
Gets the DNS prefix which was specified at creation time.
Returns:
enableRBAC
public abstract boolean enableRBAC()
Checks whether Kubernetes Role-Based Access Control is enabled.
Returns:
fqdn
public abstract String fqdn()
Gets the FQDN for the master pool.
Returns:
isAzureRbacEnabled
public abstract boolean isAzureRbacEnabled()
Checks whether Azure Role-Based Access Control for Kubernetes authorization is enabled.
Returns:
isLocalAccountsEnabled
public abstract boolean isLocalAccountsEnabled()
Checks whether local accounts is enabled.
Returns:
linuxRootUsername
public abstract String linuxRootUsername()
Gets the Linux root username.
Returns:
networkProfile
public abstract ContainerServiceNetworkProfile networkProfile()
Gets the network profile settings for the cluster.
Returns:
nodeResourceGroup
public abstract String nodeResourceGroup()
Gets the name of the resource group containing agent pool nodes.
Returns:
powerState
public abstract PowerState powerState()
Gets the power state.
Returns:
provisioningState
public abstract String provisioningState()
Gets the provisioning state of the Kubernetes cluster.
Returns:
publicNetworkAccess
public abstract PublicNetworkAccess publicNetworkAccess()
Checks whether the kubernetes cluster can be accessed from public network.
Returns:
servicePrincipalClientId
public abstract String servicePrincipalClientId()
Gets the service principal client ID.
Returns:
servicePrincipalSecret
public abstract String servicePrincipalSecret()
Gets the service principal secret.
Returns:
sku
public abstract ManagedClusterSku sku()
Gets the SKU of a Managed Cluster.
Returns:
sshKey
public abstract String sshKey()
Gets the Linux SSH key.
Returns:
start
public abstract void start()
Starts a stopped Kubernetes cluster.
startAsync
public abstract Mono
Starts a stopped Kubernetes cluster.
Returns:
stop
public abstract void stop()
Stops a running Kubernetes cluster.
stopAsync
public abstract Mono
Stops a running Kubernetes cluster.
Returns:
systemAssignedManagedServiceIdentityPrincipalId
public abstract String systemAssignedManagedServiceIdentityPrincipalId()
Gets the System Assigned Managed Service Identity specific Active Directory service principal ID assigned to the Kubernetes cluster.
Returns:
userKubeConfigContent
public abstract byte[] userKubeConfigContent()
Gets the Kubernetes configuration file content with user-level privileges to the cluster.
Returns:
userKubeConfigContent
public abstract byte[] userKubeConfigContent(Format format)
Gets the Kubernetes configuration file content with user-level privileges to the cluster.
Parameters:
Returns:
userKubeConfigs
public abstract List
Gets the Kubernetes credentials with user-level privileges to the cluster.
Returns:
userKubeConfigs
public abstract List
Gets the Kubernetes credentials with user-level privileges to the cluster.
Parameters:
Returns:
version
public abstract String version()
Gets the Kubernetes version.
Returns:
Applies to
Azure SDK for Java