Class KubeEnvironmentPatchResource
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.models.KubeEnvironmentPatchResource
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
ARM resource for a KubeEnvironment when patching.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of KubeEnvironmentPatchResource class. -
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.static KubeEnvironmentPatchResourcefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of KubeEnvironmentPatchResource from the JsonReader.id()Get the id property: Fully qualified resource Id for the resource.Get the internalLoadBalancerEnabled property: Only visible within Vnet/Subnet.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.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The type of the resource.voidvalidate()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.withInternalLoadBalancerEnabled(Boolean internalLoadBalancerEnabled) Set the internalLoadBalancerEnabled property: Only visible within Vnet/Subnet.Set the kind property: Kind of resource.withStaticIp(String staticIp) Set the staticIp property: Static IP of the KubeEnvironment.Methods inherited from class ProxyOnlyResource
kindMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
KubeEnvironmentPatchResource
public KubeEnvironmentPatchResource()Creates an instance of KubeEnvironmentPatchResource class.
-
-
Method Details
-
type
Get the type property: The type of the resource.- Overrides:
typein classProxyOnlyResource- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
namein classProxyOnlyResource- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
idin classProxyOnlyResource- Returns:
- the id value.
-
withKind
Set the kind property: Kind of resource.- Overrides:
withKindin classProxyOnlyResource- Parameters:
kind- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
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
public KubeEnvironmentPatchResource withInternalLoadBalancerEnabled(Boolean internalLoadBalancerEnabled) Set the internalLoadBalancerEnabled property: Only visible within Vnet/Subnet.- Parameters:
internalLoadBalancerEnabled- the internalLoadBalancerEnabled value to set.- Returns:
- the KubeEnvironmentPatchResource 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 KubeEnvironmentPatchResource 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 KubeEnvironmentPatchResource 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
public KubeEnvironmentPatchResource 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 KubeEnvironmentPatchResource 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 KubeEnvironmentPatchResource 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 KubeEnvironmentPatchResource 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 KubeEnvironmentPatchResource object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classProxyOnlyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>- Overrides:
toJsonin classProxyOnlyResource- Throws:
IOException
-
fromJson
public static KubeEnvironmentPatchResource fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of KubeEnvironmentPatchResource from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of KubeEnvironmentPatchResource 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 KubeEnvironmentPatchResource.
-