Interface KubernetesCluster

    • Method Detail

      • provisioningState

        String provisioningState()
        Returns:
        the provisioning state of the Kubernetes cluster
      • dnsPrefix

        String dnsPrefix()
        Returns:
        the DNS prefix which was specified at creation time
      • fqdn

        String fqdn()
        Returns:
        the FQDN for the master pool
      • version

        String version()
        Returns:
        the Kubernetes version
      • adminKubeConfigContent

        byte[] adminKubeConfigContent()
        Returns:
        the Kubernetes configuration file content with administrative privileges to the cluster
      • userKubeConfigContent

        byte[] userKubeConfigContent()
        Returns:
        the Kubernetes configuration file content with user-level privileges to the cluster
      • userKubeConfigContent

        byte[] userKubeConfigContent​(Format format)
        Parameters:
        format - Only apply to AAD clusters, specifies the format of returned kubeconfig. Format 'azure' will return azure auth-provider kubeconfig; format 'exec' will return exec format kubeconfig, which requires kubelogin binary in the path.
        Returns:
        the Kubernetes configuration file content with user-level privileges to the cluster
      • adminKubeConfigs

        List<CredentialResult> adminKubeConfigs()
        Returns:
        the Kubernetes credentials with administrative privileges to the cluster
      • userKubeConfigs

        List<CredentialResult> userKubeConfigs()
        Returns:
        the Kubernetes credentials with user-level privileges to the cluster
      • userKubeConfigs

        List<CredentialResult> userKubeConfigs​(Format format)
        Parameters:
        format - Only apply to AAD clusters, specifies the format of returned kubeconfig. Format 'azure' will return azure auth-provider kubeconfig; format 'exec' will return exec format kubeconfig, which requires kubelogin binary in the path.
        Returns:
        the Kubernetes credentials with user-level privileges to the cluster
      • servicePrincipalClientId

        String servicePrincipalClientId()
        Returns:
        the service principal client ID
      • servicePrincipalSecret

        String servicePrincipalSecret()
        Returns:
        the service principal secret
      • linuxRootUsername

        String linuxRootUsername()
        Returns:
        the Linux root username
      • sshKey

        String sshKey()
        Returns:
        the Linux SSH key
      • nodeResourceGroup

        String nodeResourceGroup()
        Returns:
        the name of the resource group containing agent pool nodes
      • enableRBAC

        boolean enableRBAC()
        Returns:
        true if Kubernetes Role-Based Access Control is enabled
      • powerState

        PowerState powerState()
        Returns:
        the power state
      • systemAssignedManagedServiceIdentityPrincipalId

        String systemAssignedManagedServiceIdentityPrincipalId()
        Returns:
        the System Assigned Managed Service Identity specific Active Directory service principal ID assigned to the Kubernetes cluster.
      • start

        void start()
        Starts a stopped Kubernetes cluster.
      • startAsync

        Mono<Void> startAsync()
        Starts a stopped Kubernetes cluster.
        Returns:
        the completion.
      • stop

        void stop()
        Stops a running Kubernetes cluster.
      • stopAsync

        Mono<Void> stopAsync()
        Stops a running Kubernetes cluster.
        Returns:
        the completion.