All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.containerservice.outputs.GetKubernetesClusterResult Maven / Gradle / Ivy

// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azure.containerservice.outputs;

import com.pulumi.azure.containerservice.outputs.GetKubernetesClusterAciConnectorLinux;
import com.pulumi.azure.containerservice.outputs.GetKubernetesClusterAgentPoolProfile;
import com.pulumi.azure.containerservice.outputs.GetKubernetesClusterAzureActiveDirectoryRoleBasedAccessControl;
import com.pulumi.azure.containerservice.outputs.GetKubernetesClusterIdentity;
import com.pulumi.azure.containerservice.outputs.GetKubernetesClusterIngressApplicationGateway;
import com.pulumi.azure.containerservice.outputs.GetKubernetesClusterKeyManagementService;
import com.pulumi.azure.containerservice.outputs.GetKubernetesClusterKeyVaultSecretsProvider;
import com.pulumi.azure.containerservice.outputs.GetKubernetesClusterKubeAdminConfig;
import com.pulumi.azure.containerservice.outputs.GetKubernetesClusterKubeConfig;
import com.pulumi.azure.containerservice.outputs.GetKubernetesClusterKubeletIdentity;
import com.pulumi.azure.containerservice.outputs.GetKubernetesClusterLinuxProfile;
import com.pulumi.azure.containerservice.outputs.GetKubernetesClusterMicrosoftDefender;
import com.pulumi.azure.containerservice.outputs.GetKubernetesClusterNetworkProfile;
import com.pulumi.azure.containerservice.outputs.GetKubernetesClusterOmsAgent;
import com.pulumi.azure.containerservice.outputs.GetKubernetesClusterServiceMeshProfile;
import com.pulumi.azure.containerservice.outputs.GetKubernetesClusterServicePrincipal;
import com.pulumi.azure.containerservice.outputs.GetKubernetesClusterStorageProfile;
import com.pulumi.azure.containerservice.outputs.GetKubernetesClusterWindowsProfile;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;

@CustomType
public final class GetKubernetesClusterResult {
    /**
     * @return An `aci_connector_linux` block as documented below.
     * 
     */
    private List aciConnectorLinuxes;
    /**
     * @return An `agent_pool_profile` block as documented below.
     * 
     */
    private List agentPoolProfiles;
    /**
     * @return The IP ranges to whitelist for incoming traffic to the primaries.
     * 
     */
    private List apiServerAuthorizedIpRanges;
    /**
     * @return An `azure_active_directory_role_based_access_control` block as documented below.
     * 
     */
    private List azureActiveDirectoryRoleBasedAccessControls;
    /**
     * @return Is Azure Policy enabled on this managed Kubernetes Cluster?
     * 
     */
    private Boolean azurePolicyEnabled;
    /**
     * @return Contains the current version of Kubernetes running on the Cluster.
     * 
     */
    private String currentKubernetesVersion;
    /**
     * @return The ID of the Disk Encryption Set used for the Nodes and Volumes.
     * 
     */
    private String diskEncryptionSetId;
    /**
     * @return The DNS Prefix of the managed Kubernetes cluster.
     * 
     */
    private String dnsPrefix;
    /**
     * @return The FQDN of the Azure Kubernetes Managed Cluster.
     * 
     */
    private String fqdn;
    /**
     * @return Is HTTP Application Routing enabled for this managed Kubernetes Cluster?
     * 
     */
    private Boolean httpApplicationRoutingEnabled;
    /**
     * @return The Zone Name of the HTTP Application Routing.
     * 
     */
    private String httpApplicationRoutingZoneName;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return An `identity` block as documented below.
     * 
     */
    private List identities;
    /**
     * @return An `ingress_application_gateway` block as documented below.
     * 
     */
    private List ingressApplicationGateways;
    /**
     * @return A `key_management_service` block as documented below.
     * 
     */
    private List keyManagementServices;
    /**
     * @return A `key_vault_secrets_provider` block as documented below.
     * 
     */
    private List keyVaultSecretsProviders;
    /**
     * @return Raw Kubernetes config for the admin account to be used by [kubectl](https://kubernetes.io/docs/reference/kubectl/overview/) and other compatible tools. This is only available when Role Based Access Control with Azure Active Directory is enabled and local accounts are not disabled.
     * 
     */
    private String kubeAdminConfigRaw;
    /**
     * @return A `kube_admin_config` block as defined below. This is only available when Role Based Access Control with Azure Active Directory is enabled and local accounts are not disabled.
     * 
     */
    private List kubeAdminConfigs;
    /**
     * @return Base64 encoded Kubernetes configuration.
     * 
     */
    private String kubeConfigRaw;
    /**
     * @return A `kube_config` block as defined below.
     * 
     */
    private List kubeConfigs;
    /**
     * @return A `kubelet_identity` block as documented below.
     * 
     */
    private List kubeletIdentities;
    /**
     * @return The version of Kubernetes used on the managed Kubernetes Cluster.
     * 
     */
    private String kubernetesVersion;
    /**
     * @return A `linux_profile` block as documented below.
     * 
     */
    private List linuxProfiles;
    /**
     * @return The Azure Region in which the managed Kubernetes Cluster exists.
     * 
     */
    private String location;
    /**
     * @return A `microsoft_defender` block as defined below.
     * 
     */
    private List microsoftDefenders;
    /**
     * @return The name assigned to this pool of agents.
     * 
     */
    private String name;
    /**
     * @return A `network_profile` block as documented below.
     * 
     */
    private List networkProfiles;
    /**
     * @return Auto-generated Resource Group containing AKS Cluster resources.
     * 
     */
    private String nodeResourceGroup;
    /**
     * @return The ID of the Resource Group containing the resources for this Managed Kubernetes Cluster.
     * 
     */
    private String nodeResourceGroupId;
    /**
     * @return Whether or not the OIDC feature is enabled or disabled.
     * 
     */
    private Boolean oidcIssuerEnabled;
    /**
     * @return The OIDC issuer URL that is associated with the cluster.
     * 
     */
    private String oidcIssuerUrl;
    /**
     * @return An `oms_agent` block as documented below.
     * 
     */
    private List omsAgents;
    /**
     * @return Is Open Service Mesh enabled for this managed Kubernetes Cluster?
     * 
     */
    private Boolean openServiceMeshEnabled;
    /**
     * @return If the cluster has the Kubernetes API only exposed on internal IP addresses.
     * 
     */
    private Boolean privateClusterEnabled;
    /**
     * @return The FQDN of this Kubernetes Cluster when private link has been enabled. This name is only resolvable inside the Virtual Network where the Azure Kubernetes Service is located
     * 
     */
    private String privateFqdn;
    private String resourceGroupName;
    /**
     * @return Is Role Based Access Control enabled for this managed Kubernetes Cluster?
     * 
     */
    private Boolean roleBasedAccessControlEnabled;
    private List serviceMeshProfiles;
    /**
     * @return A `service_principal` block as documented below.
     * 
     */
    private List servicePrincipals;
    /**
     * @return A `storage_profile` block as documented below.
     * 
     */
    private List storageProfiles;
    /**
     * @return A mapping of tags to assign to the resource.
     * 
     */
    private Map tags;
    /**
     * @return A `windows_profile` block as documented below.
     * 
     */
    private List windowsProfiles;

    private GetKubernetesClusterResult() {}
    /**
     * @return An `aci_connector_linux` block as documented below.
     * 
     */
    public List aciConnectorLinuxes() {
        return this.aciConnectorLinuxes;
    }
    /**
     * @return An `agent_pool_profile` block as documented below.
     * 
     */
    public List agentPoolProfiles() {
        return this.agentPoolProfiles;
    }
    /**
     * @return The IP ranges to whitelist for incoming traffic to the primaries.
     * 
     */
    public List apiServerAuthorizedIpRanges() {
        return this.apiServerAuthorizedIpRanges;
    }
    /**
     * @return An `azure_active_directory_role_based_access_control` block as documented below.
     * 
     */
    public List azureActiveDirectoryRoleBasedAccessControls() {
        return this.azureActiveDirectoryRoleBasedAccessControls;
    }
    /**
     * @return Is Azure Policy enabled on this managed Kubernetes Cluster?
     * 
     */
    public Boolean azurePolicyEnabled() {
        return this.azurePolicyEnabled;
    }
    /**
     * @return Contains the current version of Kubernetes running on the Cluster.
     * 
     */
    public String currentKubernetesVersion() {
        return this.currentKubernetesVersion;
    }
    /**
     * @return The ID of the Disk Encryption Set used for the Nodes and Volumes.
     * 
     */
    public String diskEncryptionSetId() {
        return this.diskEncryptionSetId;
    }
    /**
     * @return The DNS Prefix of the managed Kubernetes cluster.
     * 
     */
    public String dnsPrefix() {
        return this.dnsPrefix;
    }
    /**
     * @return The FQDN of the Azure Kubernetes Managed Cluster.
     * 
     */
    public String fqdn() {
        return this.fqdn;
    }
    /**
     * @return Is HTTP Application Routing enabled for this managed Kubernetes Cluster?
     * 
     */
    public Boolean httpApplicationRoutingEnabled() {
        return this.httpApplicationRoutingEnabled;
    }
    /**
     * @return The Zone Name of the HTTP Application Routing.
     * 
     */
    public String httpApplicationRoutingZoneName() {
        return this.httpApplicationRoutingZoneName;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return An `identity` block as documented below.
     * 
     */
    public List identities() {
        return this.identities;
    }
    /**
     * @return An `ingress_application_gateway` block as documented below.
     * 
     */
    public List ingressApplicationGateways() {
        return this.ingressApplicationGateways;
    }
    /**
     * @return A `key_management_service` block as documented below.
     * 
     */
    public List keyManagementServices() {
        return this.keyManagementServices;
    }
    /**
     * @return A `key_vault_secrets_provider` block as documented below.
     * 
     */
    public List keyVaultSecretsProviders() {
        return this.keyVaultSecretsProviders;
    }
    /**
     * @return Raw Kubernetes config for the admin account to be used by [kubectl](https://kubernetes.io/docs/reference/kubectl/overview/) and other compatible tools. This is only available when Role Based Access Control with Azure Active Directory is enabled and local accounts are not disabled.
     * 
     */
    public String kubeAdminConfigRaw() {
        return this.kubeAdminConfigRaw;
    }
    /**
     * @return A `kube_admin_config` block as defined below. This is only available when Role Based Access Control with Azure Active Directory is enabled and local accounts are not disabled.
     * 
     */
    public List kubeAdminConfigs() {
        return this.kubeAdminConfigs;
    }
    /**
     * @return Base64 encoded Kubernetes configuration.
     * 
     */
    public String kubeConfigRaw() {
        return this.kubeConfigRaw;
    }
    /**
     * @return A `kube_config` block as defined below.
     * 
     */
    public List kubeConfigs() {
        return this.kubeConfigs;
    }
    /**
     * @return A `kubelet_identity` block as documented below.
     * 
     */
    public List kubeletIdentities() {
        return this.kubeletIdentities;
    }
    /**
     * @return The version of Kubernetes used on the managed Kubernetes Cluster.
     * 
     */
    public String kubernetesVersion() {
        return this.kubernetesVersion;
    }
    /**
     * @return A `linux_profile` block as documented below.
     * 
     */
    public List linuxProfiles() {
        return this.linuxProfiles;
    }
    /**
     * @return The Azure Region in which the managed Kubernetes Cluster exists.
     * 
     */
    public String location() {
        return this.location;
    }
    /**
     * @return A `microsoft_defender` block as defined below.
     * 
     */
    public List microsoftDefenders() {
        return this.microsoftDefenders;
    }
    /**
     * @return The name assigned to this pool of agents.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return A `network_profile` block as documented below.
     * 
     */
    public List networkProfiles() {
        return this.networkProfiles;
    }
    /**
     * @return Auto-generated Resource Group containing AKS Cluster resources.
     * 
     */
    public String nodeResourceGroup() {
        return this.nodeResourceGroup;
    }
    /**
     * @return The ID of the Resource Group containing the resources for this Managed Kubernetes Cluster.
     * 
     */
    public String nodeResourceGroupId() {
        return this.nodeResourceGroupId;
    }
    /**
     * @return Whether or not the OIDC feature is enabled or disabled.
     * 
     */
    public Boolean oidcIssuerEnabled() {
        return this.oidcIssuerEnabled;
    }
    /**
     * @return The OIDC issuer URL that is associated with the cluster.
     * 
     */
    public String oidcIssuerUrl() {
        return this.oidcIssuerUrl;
    }
    /**
     * @return An `oms_agent` block as documented below.
     * 
     */
    public List omsAgents() {
        return this.omsAgents;
    }
    /**
     * @return Is Open Service Mesh enabled for this managed Kubernetes Cluster?
     * 
     */
    public Boolean openServiceMeshEnabled() {
        return this.openServiceMeshEnabled;
    }
    /**
     * @return If the cluster has the Kubernetes API only exposed on internal IP addresses.
     * 
     */
    public Boolean privateClusterEnabled() {
        return this.privateClusterEnabled;
    }
    /**
     * @return The FQDN of this Kubernetes Cluster when private link has been enabled. This name is only resolvable inside the Virtual Network where the Azure Kubernetes Service is located
     * 
     */
    public String privateFqdn() {
        return this.privateFqdn;
    }
    public String resourceGroupName() {
        return this.resourceGroupName;
    }
    /**
     * @return Is Role Based Access Control enabled for this managed Kubernetes Cluster?
     * 
     */
    public Boolean roleBasedAccessControlEnabled() {
        return this.roleBasedAccessControlEnabled;
    }
    public List serviceMeshProfiles() {
        return this.serviceMeshProfiles;
    }
    /**
     * @return A `service_principal` block as documented below.
     * 
     */
    public List servicePrincipals() {
        return this.servicePrincipals;
    }
    /**
     * @return A `storage_profile` block as documented below.
     * 
     */
    public List storageProfiles() {
        return this.storageProfiles;
    }
    /**
     * @return A mapping of tags to assign to the resource.
     * 
     */
    public Map tags() {
        return this.tags;
    }
    /**
     * @return A `windows_profile` block as documented below.
     * 
     */
    public List windowsProfiles() {
        return this.windowsProfiles;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(GetKubernetesClusterResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List aciConnectorLinuxes;
        private List agentPoolProfiles;
        private List apiServerAuthorizedIpRanges;
        private List azureActiveDirectoryRoleBasedAccessControls;
        private Boolean azurePolicyEnabled;
        private String currentKubernetesVersion;
        private String diskEncryptionSetId;
        private String dnsPrefix;
        private String fqdn;
        private Boolean httpApplicationRoutingEnabled;
        private String httpApplicationRoutingZoneName;
        private String id;
        private List identities;
        private List ingressApplicationGateways;
        private List keyManagementServices;
        private List keyVaultSecretsProviders;
        private String kubeAdminConfigRaw;
        private List kubeAdminConfigs;
        private String kubeConfigRaw;
        private List kubeConfigs;
        private List kubeletIdentities;
        private String kubernetesVersion;
        private List linuxProfiles;
        private String location;
        private List microsoftDefenders;
        private String name;
        private List networkProfiles;
        private String nodeResourceGroup;
        private String nodeResourceGroupId;
        private Boolean oidcIssuerEnabled;
        private String oidcIssuerUrl;
        private List omsAgents;
        private Boolean openServiceMeshEnabled;
        private Boolean privateClusterEnabled;
        private String privateFqdn;
        private String resourceGroupName;
        private Boolean roleBasedAccessControlEnabled;
        private List serviceMeshProfiles;
        private List servicePrincipals;
        private List storageProfiles;
        private Map tags;
        private List windowsProfiles;
        public Builder() {}
        public Builder(GetKubernetesClusterResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.aciConnectorLinuxes = defaults.aciConnectorLinuxes;
    	      this.agentPoolProfiles = defaults.agentPoolProfiles;
    	      this.apiServerAuthorizedIpRanges = defaults.apiServerAuthorizedIpRanges;
    	      this.azureActiveDirectoryRoleBasedAccessControls = defaults.azureActiveDirectoryRoleBasedAccessControls;
    	      this.azurePolicyEnabled = defaults.azurePolicyEnabled;
    	      this.currentKubernetesVersion = defaults.currentKubernetesVersion;
    	      this.diskEncryptionSetId = defaults.diskEncryptionSetId;
    	      this.dnsPrefix = defaults.dnsPrefix;
    	      this.fqdn = defaults.fqdn;
    	      this.httpApplicationRoutingEnabled = defaults.httpApplicationRoutingEnabled;
    	      this.httpApplicationRoutingZoneName = defaults.httpApplicationRoutingZoneName;
    	      this.id = defaults.id;
    	      this.identities = defaults.identities;
    	      this.ingressApplicationGateways = defaults.ingressApplicationGateways;
    	      this.keyManagementServices = defaults.keyManagementServices;
    	      this.keyVaultSecretsProviders = defaults.keyVaultSecretsProviders;
    	      this.kubeAdminConfigRaw = defaults.kubeAdminConfigRaw;
    	      this.kubeAdminConfigs = defaults.kubeAdminConfigs;
    	      this.kubeConfigRaw = defaults.kubeConfigRaw;
    	      this.kubeConfigs = defaults.kubeConfigs;
    	      this.kubeletIdentities = defaults.kubeletIdentities;
    	      this.kubernetesVersion = defaults.kubernetesVersion;
    	      this.linuxProfiles = defaults.linuxProfiles;
    	      this.location = defaults.location;
    	      this.microsoftDefenders = defaults.microsoftDefenders;
    	      this.name = defaults.name;
    	      this.networkProfiles = defaults.networkProfiles;
    	      this.nodeResourceGroup = defaults.nodeResourceGroup;
    	      this.nodeResourceGroupId = defaults.nodeResourceGroupId;
    	      this.oidcIssuerEnabled = defaults.oidcIssuerEnabled;
    	      this.oidcIssuerUrl = defaults.oidcIssuerUrl;
    	      this.omsAgents = defaults.omsAgents;
    	      this.openServiceMeshEnabled = defaults.openServiceMeshEnabled;
    	      this.privateClusterEnabled = defaults.privateClusterEnabled;
    	      this.privateFqdn = defaults.privateFqdn;
    	      this.resourceGroupName = defaults.resourceGroupName;
    	      this.roleBasedAccessControlEnabled = defaults.roleBasedAccessControlEnabled;
    	      this.serviceMeshProfiles = defaults.serviceMeshProfiles;
    	      this.servicePrincipals = defaults.servicePrincipals;
    	      this.storageProfiles = defaults.storageProfiles;
    	      this.tags = defaults.tags;
    	      this.windowsProfiles = defaults.windowsProfiles;
        }

        @CustomType.Setter
        public Builder aciConnectorLinuxes(List aciConnectorLinuxes) {
            if (aciConnectorLinuxes == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "aciConnectorLinuxes");
            }
            this.aciConnectorLinuxes = aciConnectorLinuxes;
            return this;
        }
        public Builder aciConnectorLinuxes(GetKubernetesClusterAciConnectorLinux... aciConnectorLinuxes) {
            return aciConnectorLinuxes(List.of(aciConnectorLinuxes));
        }
        @CustomType.Setter
        public Builder agentPoolProfiles(List agentPoolProfiles) {
            if (agentPoolProfiles == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "agentPoolProfiles");
            }
            this.agentPoolProfiles = agentPoolProfiles;
            return this;
        }
        public Builder agentPoolProfiles(GetKubernetesClusterAgentPoolProfile... agentPoolProfiles) {
            return agentPoolProfiles(List.of(agentPoolProfiles));
        }
        @CustomType.Setter
        public Builder apiServerAuthorizedIpRanges(List apiServerAuthorizedIpRanges) {
            if (apiServerAuthorizedIpRanges == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "apiServerAuthorizedIpRanges");
            }
            this.apiServerAuthorizedIpRanges = apiServerAuthorizedIpRanges;
            return this;
        }
        public Builder apiServerAuthorizedIpRanges(String... apiServerAuthorizedIpRanges) {
            return apiServerAuthorizedIpRanges(List.of(apiServerAuthorizedIpRanges));
        }
        @CustomType.Setter
        public Builder azureActiveDirectoryRoleBasedAccessControls(List azureActiveDirectoryRoleBasedAccessControls) {
            if (azureActiveDirectoryRoleBasedAccessControls == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "azureActiveDirectoryRoleBasedAccessControls");
            }
            this.azureActiveDirectoryRoleBasedAccessControls = azureActiveDirectoryRoleBasedAccessControls;
            return this;
        }
        public Builder azureActiveDirectoryRoleBasedAccessControls(GetKubernetesClusterAzureActiveDirectoryRoleBasedAccessControl... azureActiveDirectoryRoleBasedAccessControls) {
            return azureActiveDirectoryRoleBasedAccessControls(List.of(azureActiveDirectoryRoleBasedAccessControls));
        }
        @CustomType.Setter
        public Builder azurePolicyEnabled(Boolean azurePolicyEnabled) {
            if (azurePolicyEnabled == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "azurePolicyEnabled");
            }
            this.azurePolicyEnabled = azurePolicyEnabled;
            return this;
        }
        @CustomType.Setter
        public Builder currentKubernetesVersion(String currentKubernetesVersion) {
            if (currentKubernetesVersion == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "currentKubernetesVersion");
            }
            this.currentKubernetesVersion = currentKubernetesVersion;
            return this;
        }
        @CustomType.Setter
        public Builder diskEncryptionSetId(String diskEncryptionSetId) {
            if (diskEncryptionSetId == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "diskEncryptionSetId");
            }
            this.diskEncryptionSetId = diskEncryptionSetId;
            return this;
        }
        @CustomType.Setter
        public Builder dnsPrefix(String dnsPrefix) {
            if (dnsPrefix == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "dnsPrefix");
            }
            this.dnsPrefix = dnsPrefix;
            return this;
        }
        @CustomType.Setter
        public Builder fqdn(String fqdn) {
            if (fqdn == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "fqdn");
            }
            this.fqdn = fqdn;
            return this;
        }
        @CustomType.Setter
        public Builder httpApplicationRoutingEnabled(Boolean httpApplicationRoutingEnabled) {
            if (httpApplicationRoutingEnabled == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "httpApplicationRoutingEnabled");
            }
            this.httpApplicationRoutingEnabled = httpApplicationRoutingEnabled;
            return this;
        }
        @CustomType.Setter
        public Builder httpApplicationRoutingZoneName(String httpApplicationRoutingZoneName) {
            if (httpApplicationRoutingZoneName == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "httpApplicationRoutingZoneName");
            }
            this.httpApplicationRoutingZoneName = httpApplicationRoutingZoneName;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder identities(List identities) {
            if (identities == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "identities");
            }
            this.identities = identities;
            return this;
        }
        public Builder identities(GetKubernetesClusterIdentity... identities) {
            return identities(List.of(identities));
        }
        @CustomType.Setter
        public Builder ingressApplicationGateways(List ingressApplicationGateways) {
            if (ingressApplicationGateways == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "ingressApplicationGateways");
            }
            this.ingressApplicationGateways = ingressApplicationGateways;
            return this;
        }
        public Builder ingressApplicationGateways(GetKubernetesClusterIngressApplicationGateway... ingressApplicationGateways) {
            return ingressApplicationGateways(List.of(ingressApplicationGateways));
        }
        @CustomType.Setter
        public Builder keyManagementServices(List keyManagementServices) {
            if (keyManagementServices == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "keyManagementServices");
            }
            this.keyManagementServices = keyManagementServices;
            return this;
        }
        public Builder keyManagementServices(GetKubernetesClusterKeyManagementService... keyManagementServices) {
            return keyManagementServices(List.of(keyManagementServices));
        }
        @CustomType.Setter
        public Builder keyVaultSecretsProviders(List keyVaultSecretsProviders) {
            if (keyVaultSecretsProviders == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "keyVaultSecretsProviders");
            }
            this.keyVaultSecretsProviders = keyVaultSecretsProviders;
            return this;
        }
        public Builder keyVaultSecretsProviders(GetKubernetesClusterKeyVaultSecretsProvider... keyVaultSecretsProviders) {
            return keyVaultSecretsProviders(List.of(keyVaultSecretsProviders));
        }
        @CustomType.Setter
        public Builder kubeAdminConfigRaw(String kubeAdminConfigRaw) {
            if (kubeAdminConfigRaw == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "kubeAdminConfigRaw");
            }
            this.kubeAdminConfigRaw = kubeAdminConfigRaw;
            return this;
        }
        @CustomType.Setter
        public Builder kubeAdminConfigs(List kubeAdminConfigs) {
            if (kubeAdminConfigs == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "kubeAdminConfigs");
            }
            this.kubeAdminConfigs = kubeAdminConfigs;
            return this;
        }
        public Builder kubeAdminConfigs(GetKubernetesClusterKubeAdminConfig... kubeAdminConfigs) {
            return kubeAdminConfigs(List.of(kubeAdminConfigs));
        }
        @CustomType.Setter
        public Builder kubeConfigRaw(String kubeConfigRaw) {
            if (kubeConfigRaw == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "kubeConfigRaw");
            }
            this.kubeConfigRaw = kubeConfigRaw;
            return this;
        }
        @CustomType.Setter
        public Builder kubeConfigs(List kubeConfigs) {
            if (kubeConfigs == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "kubeConfigs");
            }
            this.kubeConfigs = kubeConfigs;
            return this;
        }
        public Builder kubeConfigs(GetKubernetesClusterKubeConfig... kubeConfigs) {
            return kubeConfigs(List.of(kubeConfigs));
        }
        @CustomType.Setter
        public Builder kubeletIdentities(List kubeletIdentities) {
            if (kubeletIdentities == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "kubeletIdentities");
            }
            this.kubeletIdentities = kubeletIdentities;
            return this;
        }
        public Builder kubeletIdentities(GetKubernetesClusterKubeletIdentity... kubeletIdentities) {
            return kubeletIdentities(List.of(kubeletIdentities));
        }
        @CustomType.Setter
        public Builder kubernetesVersion(String kubernetesVersion) {
            if (kubernetesVersion == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "kubernetesVersion");
            }
            this.kubernetesVersion = kubernetesVersion;
            return this;
        }
        @CustomType.Setter
        public Builder linuxProfiles(List linuxProfiles) {
            if (linuxProfiles == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "linuxProfiles");
            }
            this.linuxProfiles = linuxProfiles;
            return this;
        }
        public Builder linuxProfiles(GetKubernetesClusterLinuxProfile... linuxProfiles) {
            return linuxProfiles(List.of(linuxProfiles));
        }
        @CustomType.Setter
        public Builder location(String location) {
            if (location == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "location");
            }
            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder microsoftDefenders(List microsoftDefenders) {
            if (microsoftDefenders == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "microsoftDefenders");
            }
            this.microsoftDefenders = microsoftDefenders;
            return this;
        }
        public Builder microsoftDefenders(GetKubernetesClusterMicrosoftDefender... microsoftDefenders) {
            return microsoftDefenders(List.of(microsoftDefenders));
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder networkProfiles(List networkProfiles) {
            if (networkProfiles == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "networkProfiles");
            }
            this.networkProfiles = networkProfiles;
            return this;
        }
        public Builder networkProfiles(GetKubernetesClusterNetworkProfile... networkProfiles) {
            return networkProfiles(List.of(networkProfiles));
        }
        @CustomType.Setter
        public Builder nodeResourceGroup(String nodeResourceGroup) {
            if (nodeResourceGroup == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "nodeResourceGroup");
            }
            this.nodeResourceGroup = nodeResourceGroup;
            return this;
        }
        @CustomType.Setter
        public Builder nodeResourceGroupId(String nodeResourceGroupId) {
            if (nodeResourceGroupId == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "nodeResourceGroupId");
            }
            this.nodeResourceGroupId = nodeResourceGroupId;
            return this;
        }
        @CustomType.Setter
        public Builder oidcIssuerEnabled(Boolean oidcIssuerEnabled) {
            if (oidcIssuerEnabled == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "oidcIssuerEnabled");
            }
            this.oidcIssuerEnabled = oidcIssuerEnabled;
            return this;
        }
        @CustomType.Setter
        public Builder oidcIssuerUrl(String oidcIssuerUrl) {
            if (oidcIssuerUrl == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "oidcIssuerUrl");
            }
            this.oidcIssuerUrl = oidcIssuerUrl;
            return this;
        }
        @CustomType.Setter
        public Builder omsAgents(List omsAgents) {
            if (omsAgents == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "omsAgents");
            }
            this.omsAgents = omsAgents;
            return this;
        }
        public Builder omsAgents(GetKubernetesClusterOmsAgent... omsAgents) {
            return omsAgents(List.of(omsAgents));
        }
        @CustomType.Setter
        public Builder openServiceMeshEnabled(Boolean openServiceMeshEnabled) {
            if (openServiceMeshEnabled == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "openServiceMeshEnabled");
            }
            this.openServiceMeshEnabled = openServiceMeshEnabled;
            return this;
        }
        @CustomType.Setter
        public Builder privateClusterEnabled(Boolean privateClusterEnabled) {
            if (privateClusterEnabled == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "privateClusterEnabled");
            }
            this.privateClusterEnabled = privateClusterEnabled;
            return this;
        }
        @CustomType.Setter
        public Builder privateFqdn(String privateFqdn) {
            if (privateFqdn == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "privateFqdn");
            }
            this.privateFqdn = privateFqdn;
            return this;
        }
        @CustomType.Setter
        public Builder resourceGroupName(String resourceGroupName) {
            if (resourceGroupName == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "resourceGroupName");
            }
            this.resourceGroupName = resourceGroupName;
            return this;
        }
        @CustomType.Setter
        public Builder roleBasedAccessControlEnabled(Boolean roleBasedAccessControlEnabled) {
            if (roleBasedAccessControlEnabled == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "roleBasedAccessControlEnabled");
            }
            this.roleBasedAccessControlEnabled = roleBasedAccessControlEnabled;
            return this;
        }
        @CustomType.Setter
        public Builder serviceMeshProfiles(List serviceMeshProfiles) {
            if (serviceMeshProfiles == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "serviceMeshProfiles");
            }
            this.serviceMeshProfiles = serviceMeshProfiles;
            return this;
        }
        public Builder serviceMeshProfiles(GetKubernetesClusterServiceMeshProfile... serviceMeshProfiles) {
            return serviceMeshProfiles(List.of(serviceMeshProfiles));
        }
        @CustomType.Setter
        public Builder servicePrincipals(List servicePrincipals) {
            if (servicePrincipals == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "servicePrincipals");
            }
            this.servicePrincipals = servicePrincipals;
            return this;
        }
        public Builder servicePrincipals(GetKubernetesClusterServicePrincipal... servicePrincipals) {
            return servicePrincipals(List.of(servicePrincipals));
        }
        @CustomType.Setter
        public Builder storageProfiles(List storageProfiles) {
            if (storageProfiles == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "storageProfiles");
            }
            this.storageProfiles = storageProfiles;
            return this;
        }
        public Builder storageProfiles(GetKubernetesClusterStorageProfile... storageProfiles) {
            return storageProfiles(List.of(storageProfiles));
        }
        @CustomType.Setter
        public Builder tags(Map tags) {
            if (tags == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "tags");
            }
            this.tags = tags;
            return this;
        }
        @CustomType.Setter
        public Builder windowsProfiles(List windowsProfiles) {
            if (windowsProfiles == null) {
              throw new MissingRequiredPropertyException("GetKubernetesClusterResult", "windowsProfiles");
            }
            this.windowsProfiles = windowsProfiles;
            return this;
        }
        public Builder windowsProfiles(GetKubernetesClusterWindowsProfile... windowsProfiles) {
            return windowsProfiles(List.of(windowsProfiles));
        }
        public GetKubernetesClusterResult build() {
            final var _resultValue = new GetKubernetesClusterResult();
            _resultValue.aciConnectorLinuxes = aciConnectorLinuxes;
            _resultValue.agentPoolProfiles = agentPoolProfiles;
            _resultValue.apiServerAuthorizedIpRanges = apiServerAuthorizedIpRanges;
            _resultValue.azureActiveDirectoryRoleBasedAccessControls = azureActiveDirectoryRoleBasedAccessControls;
            _resultValue.azurePolicyEnabled = azurePolicyEnabled;
            _resultValue.currentKubernetesVersion = currentKubernetesVersion;
            _resultValue.diskEncryptionSetId = diskEncryptionSetId;
            _resultValue.dnsPrefix = dnsPrefix;
            _resultValue.fqdn = fqdn;
            _resultValue.httpApplicationRoutingEnabled = httpApplicationRoutingEnabled;
            _resultValue.httpApplicationRoutingZoneName = httpApplicationRoutingZoneName;
            _resultValue.id = id;
            _resultValue.identities = identities;
            _resultValue.ingressApplicationGateways = ingressApplicationGateways;
            _resultValue.keyManagementServices = keyManagementServices;
            _resultValue.keyVaultSecretsProviders = keyVaultSecretsProviders;
            _resultValue.kubeAdminConfigRaw = kubeAdminConfigRaw;
            _resultValue.kubeAdminConfigs = kubeAdminConfigs;
            _resultValue.kubeConfigRaw = kubeConfigRaw;
            _resultValue.kubeConfigs = kubeConfigs;
            _resultValue.kubeletIdentities = kubeletIdentities;
            _resultValue.kubernetesVersion = kubernetesVersion;
            _resultValue.linuxProfiles = linuxProfiles;
            _resultValue.location = location;
            _resultValue.microsoftDefenders = microsoftDefenders;
            _resultValue.name = name;
            _resultValue.networkProfiles = networkProfiles;
            _resultValue.nodeResourceGroup = nodeResourceGroup;
            _resultValue.nodeResourceGroupId = nodeResourceGroupId;
            _resultValue.oidcIssuerEnabled = oidcIssuerEnabled;
            _resultValue.oidcIssuerUrl = oidcIssuerUrl;
            _resultValue.omsAgents = omsAgents;
            _resultValue.openServiceMeshEnabled = openServiceMeshEnabled;
            _resultValue.privateClusterEnabled = privateClusterEnabled;
            _resultValue.privateFqdn = privateFqdn;
            _resultValue.resourceGroupName = resourceGroupName;
            _resultValue.roleBasedAccessControlEnabled = roleBasedAccessControlEnabled;
            _resultValue.serviceMeshProfiles = serviceMeshProfiles;
            _resultValue.servicePrincipals = servicePrincipals;
            _resultValue.storageProfiles = storageProfiles;
            _resultValue.tags = tags;
            _resultValue.windowsProfiles = windowsProfiles;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy