Class KubeEnvironmentInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.appservice.fluent.models.KubeEnvironmentInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class KubeEnvironmentInner
extends com.azure.core.management.Resource
A Kubernetes cluster specialized for web workloads by Azure App Service.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the aksResourceId property: The aksResourceID property.Get the appLogsConfiguration property: Cluster configuration which enables the log daemon to export app logs to a destination.Get the arcConfiguration property: Cluster configuration which determines the ARC cluster components types.Get the containerAppsConfiguration property: Cluster configuration for Container Apps Environments to configure Dapr Instrumentation Key and VNET Configuration.Get the defaultDomain property: Default Domain Name for the cluster.Get the deploymentErrors property: Any errors that occurred during deployment or deployment validation.Get the environmentType property: Type of Kubernetes Environment.Get the extendedLocation property: Extended Location.static KubeEnvironmentInner
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of KubeEnvironmentInner from the JsonReader.id()
Get the id property: Fully qualified resource Id for the resource.Get the internalLoadBalancerEnabled property: Only visible within Vnet/Subnet.kind()
Get the kind property: Kind of resource.name()
Get the name property: The name of the resource.Get the provisioningState property: Provisioning state of the Kubernetes Environment.staticIp()
Get the staticIp property: Static IP of the KubeEnvironment.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) type()
Get the type property: The type of the resource.void
validate()
Validates the instance.withAksResourceId
(String aksResourceId) Set the aksResourceId property: The aksResourceID property.withAppLogsConfiguration
(AppLogsConfiguration appLogsConfiguration) Set the appLogsConfiguration property: Cluster configuration which enables the log daemon to export app logs to a destination.withArcConfiguration
(ArcConfiguration arcConfiguration) Set the arcConfiguration property: Cluster configuration which determines the ARC cluster components types.withContainerAppsConfiguration
(ContainerAppsConfiguration containerAppsConfiguration) Set the containerAppsConfiguration property: Cluster configuration for Container Apps Environments to configure Dapr Instrumentation Key and VNET Configuration.withEnvironmentType
(String environmentType) Set the environmentType property: Type of Kubernetes Environment.withExtendedLocation
(ExtendedLocation extendedLocation) Set the extendedLocation property: Extended Location.withInternalLoadBalancerEnabled
(Boolean internalLoadBalancerEnabled) Set the internalLoadBalancerEnabled property: Only visible within Vnet/Subnet.Set the kind property: Kind of resource.withLocation
(String location) withStaticIp
(String staticIp) Set the staticIp property: Static IP of the KubeEnvironment.Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
KubeEnvironmentInner
public KubeEnvironmentInner()Creates an instance of KubeEnvironmentInner class.
-
-
Method Details
-
extendedLocation
Get the extendedLocation property: Extended Location.- Returns:
- the extendedLocation value.
-
withExtendedLocation
Set the extendedLocation property: Extended Location.- Parameters:
extendedLocation
- the extendedLocation value to set.- Returns:
- the KubeEnvironmentInner object itself.
-
kind
Get the kind property: Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind.- Returns:
- the kind value.
-
withKind
Set the kind property: Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind.- Parameters:
kind
- the kind value to set.- Returns:
- the KubeEnvironmentInner object itself.
-
type
Get the type property: The type of the resource.- Overrides:
type
in classcom.azure.core.management.ProxyResource
- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
name
in classcom.azure.core.management.ProxyResource
- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
id
in classcom.azure.core.management.ProxyResource
- Returns:
- the id value.
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
provisioningState
Get the provisioningState property: Provisioning state of the Kubernetes Environment.- Returns:
- the provisioningState value.
-
deploymentErrors
Get the deploymentErrors property: Any errors that occurred during deployment or deployment validation.- Returns:
- the deploymentErrors value.
-
internalLoadBalancerEnabled
Get the internalLoadBalancerEnabled property: Only visible within Vnet/Subnet.- Returns:
- the internalLoadBalancerEnabled value.
-
withInternalLoadBalancerEnabled
Set the internalLoadBalancerEnabled property: Only visible within Vnet/Subnet.- Parameters:
internalLoadBalancerEnabled
- the internalLoadBalancerEnabled value to set.- Returns:
- the KubeEnvironmentInner object itself.
-
defaultDomain
Get the defaultDomain property: Default Domain Name for the cluster.- Returns:
- the defaultDomain value.
-
staticIp
Get the staticIp property: Static IP of the KubeEnvironment.- Returns:
- the staticIp value.
-
withStaticIp
Set the staticIp property: Static IP of the KubeEnvironment.- Parameters:
staticIp
- the staticIp value to set.- Returns:
- the KubeEnvironmentInner object itself.
-
environmentType
Get the environmentType property: Type of Kubernetes Environment. Only supported for Container App Environments with value as Managed.- Returns:
- the environmentType value.
-
withEnvironmentType
Set the environmentType property: Type of Kubernetes Environment. Only supported for Container App Environments with value as Managed.- Parameters:
environmentType
- the environmentType value to set.- Returns:
- the KubeEnvironmentInner object itself.
-
arcConfiguration
Get the arcConfiguration property: Cluster configuration which determines the ARC cluster components types. Eg: Choosing between BuildService kind, FrontEnd Service ArtifactsStorageType etc.- Returns:
- the arcConfiguration value.
-
withArcConfiguration
Set the arcConfiguration property: Cluster configuration which determines the ARC cluster components types. Eg: Choosing between BuildService kind, FrontEnd Service ArtifactsStorageType etc.- Parameters:
arcConfiguration
- the arcConfiguration value to set.- Returns:
- the KubeEnvironmentInner object itself.
-
appLogsConfiguration
Get the appLogsConfiguration property: Cluster configuration which enables the log daemon to export app logs to a destination. Currently only "log-analytics" is supported.- Returns:
- the appLogsConfiguration value.
-
withAppLogsConfiguration
Set the appLogsConfiguration property: Cluster configuration which enables the log daemon to export app logs to a destination. Currently only "log-analytics" is supported.- Parameters:
appLogsConfiguration
- the appLogsConfiguration value to set.- Returns:
- the KubeEnvironmentInner object itself.
-
containerAppsConfiguration
Get the containerAppsConfiguration property: Cluster configuration for Container Apps Environments to configure Dapr Instrumentation Key and VNET Configuration.- Returns:
- the containerAppsConfiguration value.
-
withContainerAppsConfiguration
public KubeEnvironmentInner withContainerAppsConfiguration(ContainerAppsConfiguration containerAppsConfiguration) Set the containerAppsConfiguration property: Cluster configuration for Container Apps Environments to configure Dapr Instrumentation Key and VNET Configuration.- Parameters:
containerAppsConfiguration
- the containerAppsConfiguration value to set.- Returns:
- the KubeEnvironmentInner object itself.
-
aksResourceId
Get the aksResourceId property: The aksResourceID property.- Returns:
- the aksResourceId value.
-
withAksResourceId
Set the aksResourceId property: The aksResourceID property.- Parameters:
aksResourceId
- the aksResourceId value to set.- Returns:
- the KubeEnvironmentInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
- Overrides:
toJson
in classcom.azure.core.management.Resource
- Throws:
IOException
-
fromJson
public static KubeEnvironmentInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of KubeEnvironmentInner from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of KubeEnvironmentInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException
- If the deserialized JSON object was missing any required properties.IOException
- If an error occurs while reading the KubeEnvironmentInner.
-