Class KubeEnvironmentInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.appservice.fluent.models.KubeEnvironmentInner
-
public final class KubeEnvironmentInner extends com.azure.core.management.ResourceA Kubernetes cluster specialized for web workloads by Azure App Service.
-
-
Constructor Summary
Constructors Constructor Description KubeEnvironmentInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaksResourceId()Get the aksResourceId property: The aksResourceID property.AppLogsConfigurationappLogsConfiguration()Get the appLogsConfiguration property: Cluster configuration which enables the log daemon to export app logs to a destination.ArcConfigurationarcConfiguration()Get the arcConfiguration property: Cluster configuration which determines the ARC cluster components types.ContainerAppsConfigurationcontainerAppsConfiguration()Get the containerAppsConfiguration property: Cluster configuration for Container Apps Environments to configure Dapr Instrumentation Key and VNET Configuration.StringdefaultDomain()Get the defaultDomain property: Default Domain Name for the cluster.StringdeploymentErrors()Get the deploymentErrors property: Any errors that occurred during deployment or deployment validation.StringenvironmentType()Get the environmentType property: Type of Kubernetes Environment.ExtendedLocationextendedLocation()Get the extendedLocation property: Extended Location.BooleaninternalLoadBalancerEnabled()Get the internalLoadBalancerEnabled property: Only visible within Vnet/Subnet.Stringkind()Get the kind property: Kind of resource.KubeEnvironmentProvisioningStateprovisioningState()Get the provisioningState property: Provisioning state of the Kubernetes Environment.StringstaticIp()Get the staticIp property: Static IP of the KubeEnvironment.voidvalidate()Validates the instance.KubeEnvironmentInnerwithAksResourceId(String aksResourceId)Set the aksResourceId property: The aksResourceID property.KubeEnvironmentInnerwithAppLogsConfiguration(AppLogsConfiguration appLogsConfiguration)Set the appLogsConfiguration property: Cluster configuration which enables the log daemon to export app logs to a destination.KubeEnvironmentInnerwithArcConfiguration(ArcConfiguration arcConfiguration)Set the arcConfiguration property: Cluster configuration which determines the ARC cluster components types.KubeEnvironmentInnerwithContainerAppsConfiguration(ContainerAppsConfiguration containerAppsConfiguration)Set the containerAppsConfiguration property: Cluster configuration for Container Apps Environments to configure Dapr Instrumentation Key and VNET Configuration.KubeEnvironmentInnerwithEnvironmentType(String environmentType)Set the environmentType property: Type of Kubernetes Environment.KubeEnvironmentInnerwithExtendedLocation(ExtendedLocation extendedLocation)Set the extendedLocation property: Extended Location.KubeEnvironmentInnerwithInternalLoadBalancerEnabled(Boolean internalLoadBalancerEnabled)Set the internalLoadBalancerEnabled property: Only visible within Vnet/Subnet.KubeEnvironmentInnerwithKind(String kind)Set the kind property: Kind of resource.KubeEnvironmentInnerwithLocation(String location)KubeEnvironmentInnerwithStaticIp(String staticIp)Set the staticIp property: Static IP of the KubeEnvironment.KubeEnvironmentInnerwithTags(Map<String,String> tags)
-
-
-
Method Detail
-
extendedLocation
public ExtendedLocation extendedLocation()
Get the extendedLocation property: Extended Location.- Returns:
- the extendedLocation value.
-
withExtendedLocation
public KubeEnvironmentInner withExtendedLocation(ExtendedLocation extendedLocation)
Set the extendedLocation property: Extended Location.- Parameters:
extendedLocation- the extendedLocation value to set.- Returns:
- the KubeEnvironmentInner object itself.
-
kind
public String kind()
Get the kind property: Kind of resource.- Returns:
- the kind value.
-
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:
withLocationin classcom.azure.core.management.Resource
-
withTags
public KubeEnvironmentInner withTags(Map<String,String> tags)
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
provisioningState
public KubeEnvironmentProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the Kubernetes Environment.- Returns:
- the provisioningState value.
-
deploymentErrors
public String deploymentErrors()
Get the deploymentErrors property: Any errors that occurred during deployment or deployment validation.- Returns:
- the deploymentErrors value.
-
internalLoadBalancerEnabled
public Boolean internalLoadBalancerEnabled()
Get the internalLoadBalancerEnabled property: Only visible within Vnet/Subnet.- Returns:
- the internalLoadBalancerEnabled value.
-
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.
-
defaultDomain
public String defaultDomain()
Get the defaultDomain property: Default Domain Name for the cluster.- Returns:
- the defaultDomain value.
-
staticIp
public String staticIp()
Get the staticIp property: Static IP of the KubeEnvironment.- Returns:
- the staticIp value.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
public String aksResourceId()
Get the aksResourceId property: The aksResourceID property.- Returns:
- the aksResourceId value.
-
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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-