KubeEnvironmentInner Class

public final class KubeEnvironmentInner
extends Resource

A Kubernetes cluster specialized for web workloads by Azure App Service.

Constructor Summary

Constructor Description
KubeEnvironmentInner()

Creates an instance of KubeEnvironmentInner class.

Method Summary

Modifier and Type Method and Description
String aksResourceId()

Get the aksResourceId property: The aksResourceID property.

AppLogsConfiguration appLogsConfiguration()

Get the appLogsConfiguration property: Cluster configuration which enables the log daemon to export app logs to a destination.

ArcConfiguration arcConfiguration()

Get the arcConfiguration property: Cluster configuration which determines the ARC cluster components types.

ContainerAppsConfiguration containerAppsConfiguration()

Get the containerAppsConfiguration property: Cluster configuration for Container Apps Environments to configure Dapr Instrumentation Key and VNET Configuration.

String defaultDomain()

Get the defaultDomain property: Default Domain Name for the cluster.

String deploymentErrors()

Get the deploymentErrors property: Any errors that occurred during deployment or deployment validation.

String environmentType()

Get the environmentType property: Type of Kubernetes Environment.

ExtendedLocation extendedLocation()

Get the extendedLocation property: Extended Location.

static KubeEnvironmentInner fromJson(JsonReader jsonReader)

Reads an instance of KubeEnvironmentInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

Boolean internalLoadBalancerEnabled()

Get the internalLoadBalancerEnabled property: Only visible within Vnet/Subnet.

String kind()

Get the kind property: Kind of resource.

String name()

Get the name property: The name of the resource.

KubeEnvironmentProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the Kubernetes Environment.

String staticIp()

Get the staticIp property: Static IP of the KubeEnvironment.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

KubeEnvironmentInner withAksResourceId(String aksResourceId)

Set the aksResourceId property: The aksResourceID property.

KubeEnvironmentInner withAppLogsConfiguration(AppLogsConfiguration appLogsConfiguration)

Set the appLogsConfiguration property: Cluster configuration which enables the log daemon to export app logs to a destination.

KubeEnvironmentInner withArcConfiguration(ArcConfiguration arcConfiguration)

Set the arcConfiguration property: Cluster configuration which determines the ARC cluster components types.

KubeEnvironmentInner withContainerAppsConfiguration(ContainerAppsConfiguration containerAppsConfiguration)

Set the containerAppsConfiguration property: Cluster configuration for Container Apps Environments to configure Dapr Instrumentation Key and VNET Configuration.

KubeEnvironmentInner withEnvironmentType(String environmentType)

Set the environmentType property: Type of Kubernetes Environment.

KubeEnvironmentInner withExtendedLocation(ExtendedLocation extendedLocation)

Set the extendedLocation property: Extended Location.

KubeEnvironmentInner withInternalLoadBalancerEnabled(Boolean internalLoadBalancerEnabled)

Set the internalLoadBalancerEnabled property: Only visible within Vnet/Subnet.

KubeEnvironmentInner withKind(String kind)

Set the kind property: Kind of resource.

KubeEnvironmentInner withLocation(String location)
KubeEnvironmentInner withStaticIp(String staticIp)

Set the staticIp property: Static IP of the KubeEnvironment.

KubeEnvironmentInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

KubeEnvironmentInner

public KubeEnvironmentInner()

Creates an instance of KubeEnvironmentInner class.

Method Details

aksResourceId

public String aksResourceId()

Get the aksResourceId property: The aksResourceID property.

Returns:

the aksResourceId value.

appLogsConfiguration

public AppLogsConfiguration 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.

arcConfiguration

public ArcConfiguration 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.

containerAppsConfiguration

public ContainerAppsConfiguration containerAppsConfiguration()

Get the containerAppsConfiguration property: Cluster configuration for Container Apps Environments to configure Dapr Instrumentation Key and VNET Configuration.

Returns:

the containerAppsConfiguration value.

defaultDomain

public String defaultDomain()

Get the defaultDomain property: Default Domain Name for the cluster.

Returns:

the defaultDomain value.

deploymentErrors

public String deploymentErrors()

Get the deploymentErrors property: Any errors that occurred during deployment or deployment validation.

Returns:

the deploymentErrors value.

environmentType

public String environmentType()

Get the environmentType property: Type of Kubernetes Environment. Only supported for Container App Environments with value as Managed.

Returns:

the environmentType value.

extendedLocation

public ExtendedLocation extendedLocation()

Get the extendedLocation property: Extended Location.

Returns:

the extendedLocation value.

fromJson

public static KubeEnvironmentInner fromJson(JsonReader jsonReader)

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:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

KubeEnvironmentInner.id()

Returns:

the id value.

internalLoadBalancerEnabled

public Boolean internalLoadBalancerEnabled()

Get the internalLoadBalancerEnabled property: Only visible within Vnet/Subnet.

Returns:

the internalLoadBalancerEnabled value.

kind

public String kind()

Get the kind property: Kind of resource.

Returns:

the kind value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

KubeEnvironmentInner.name()

Returns:

the name value.

provisioningState

public KubeEnvironmentProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the Kubernetes Environment.

Returns:

the provisioningState value.

staticIp

public String staticIp()

Get the staticIp property: Static IP of the KubeEnvironment.

Returns:

the staticIp value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

KubeEnvironmentInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

KubeEnvironmentInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withAksResourceId

public KubeEnvironmentInner withAksResourceId(String aksResourceId)

Set the aksResourceId property: The aksResourceID property.

Parameters:

aksResourceId - the aksResourceId value to set.

Returns:

the KubeEnvironmentInner object itself.

withAppLogsConfiguration

public KubeEnvironmentInner withAppLogsConfiguration(AppLogsConfiguration appLogsConfiguration)

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.

withArcConfiguration

public KubeEnvironmentInner withArcConfiguration(ArcConfiguration arcConfiguration)

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.

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.

withEnvironmentType

public KubeEnvironmentInner withEnvironmentType(String environmentType)

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.

withExtendedLocation

public KubeEnvironmentInner withExtendedLocation(ExtendedLocation extendedLocation)

Set the extendedLocation property: Extended Location.

Parameters:

extendedLocation - the extendedLocation value to set.

Returns:

the KubeEnvironmentInner object itself.

withInternalLoadBalancerEnabled

public KubeEnvironmentInner withInternalLoadBalancerEnabled(Boolean internalLoadBalancerEnabled)

Set the internalLoadBalancerEnabled property: Only visible within Vnet/Subnet.

Parameters:

internalLoadBalancerEnabled - the internalLoadBalancerEnabled value to set.

Returns:

the KubeEnvironmentInner object itself.

withKind

public KubeEnvironmentInner withKind(String kind)

Set the kind property: Kind of resource.

Parameters:

kind - the kind value to set.

Returns:

the KubeEnvironmentInner object itself.

withLocation

public KubeEnvironmentInner withLocation(String location)

Overrides:

KubeEnvironmentInner.withLocation(String location)

Parameters:

location

withStaticIp

public KubeEnvironmentInner withStaticIp(String staticIp)

Set the staticIp property: Static IP of the KubeEnvironment.

Parameters:

staticIp - the staticIp value to set.

Returns:

the KubeEnvironmentInner object itself.

withTags

public KubeEnvironmentInner withTags(Map tags)

Overrides:

KubeEnvironmentInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to