Class ManagedEnvironmentInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.appcontainers.fluent.models.ManagedEnvironmentInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class ManagedEnvironmentInner
extends com.azure.core.management.Resource
An environment for hosting container apps.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ManagedEnvironmentInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the appLogsConfiguration property: Cluster configuration which enables the log daemon to export app logs to configured destination.Get the customDomainConfiguration property: Custom domain configuration for the environment.Get the daprAIConnectionString property: Application Insights connection string used by Dapr to export Service to Service communication telemetry.Get the daprAIInstrumentationKey property: Azure Monitor instrumentation key used by Dapr to export Service to Service communication telemetry.Get the daprConfiguration property: The configuration of Dapr component.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 eventStreamEndpoint property: The endpoint of the eventstream of the Environment.static ManagedEnvironmentInner
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of ManagedEnvironmentInner from the JsonReader.id()
Get the id property: Fully qualified resource Id for the resource.identity()
Get the identity property: Managed identities for the Managed Environment to interact with other Azure services without maintaining any secrets or credentials in code.Get the infrastructureResourceGroup property: Name of the platform-managed resource group created for the Managed Environment to host infrastructure resources.Get the kedaConfiguration property: The configuration of Keda component.kind()
Get the kind property: Kind of the Environment.name()
Get the name property: The name of the resource.Get the peerAuthentication property: Peer authentication settings for the Managed Environment.Get the peerTrafficConfiguration property: Peer traffic settings for the Managed Environment.Get the provisioningState property: Provisioning state of the Environment.staticIp()
Get the staticIp property: Static IP of the Environment.com.azure.core.management.SystemData
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.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.Get the vnetConfiguration property: Vnet configuration for the environment.withAppLogsConfiguration
(AppLogsConfiguration appLogsConfiguration) Set the appLogsConfiguration property: Cluster configuration which enables the log daemon to export app logs to configured destination.withCustomDomainConfiguration
(CustomDomainConfiguration customDomainConfiguration) Set the customDomainConfiguration property: Custom domain configuration for the environment.withDaprAIConnectionString
(String daprAIConnectionString) Set the daprAIConnectionString property: Application Insights connection string used by Dapr to export Service to Service communication telemetry.withDaprAIInstrumentationKey
(String daprAIInstrumentationKey) Set the daprAIInstrumentationKey property: Azure Monitor instrumentation key used by Dapr to export Service to Service communication telemetry.withDaprConfiguration
(DaprConfiguration daprConfiguration) Set the daprConfiguration property: The configuration of Dapr component.withIdentity
(ManagedServiceIdentity identity) Set the identity property: Managed identities for the Managed Environment to interact with other Azure services without maintaining any secrets or credentials in code.withInfrastructureResourceGroup
(String infrastructureResourceGroup) Set the infrastructureResourceGroup property: Name of the platform-managed resource group created for the Managed Environment to host infrastructure resources.withKedaConfiguration
(KedaConfiguration kedaConfiguration) Set the kedaConfiguration property: The configuration of Keda component.Set the kind property: Kind of the Environment.withLocation
(String location) withPeerAuthentication
(ManagedEnvironmentPropertiesPeerAuthentication peerAuthentication) Set the peerAuthentication property: Peer authentication settings for the Managed Environment.withPeerTrafficConfiguration
(ManagedEnvironmentPropertiesPeerTrafficConfiguration peerTrafficConfiguration) Set the peerTrafficConfiguration property: Peer traffic settings for the Managed Environment.withVnetConfiguration
(VnetConfiguration vnetConfiguration) Set the vnetConfiguration property: Vnet configuration for the environment.withWorkloadProfiles
(List<WorkloadProfile> workloadProfiles) Set the workloadProfiles property: Workload profiles configured for the Managed Environment.withZoneRedundant
(Boolean zoneRedundant) Set the zoneRedundant property: Whether or not this Managed Environment is zone-redundant.Get the workloadProfiles property: Workload profiles configured for the Managed Environment.Get the zoneRedundant property: Whether or not this Managed Environment is zone-redundant.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
-
ManagedEnvironmentInner
public ManagedEnvironmentInner()Creates an instance of ManagedEnvironmentInner class.
-
-
Method Details
-
kind
Get the kind property: Kind of the Environment.- Returns:
- the kind value.
-
withKind
Set the kind property: Kind of the Environment.- Parameters:
kind
- the kind value to set.- Returns:
- the ManagedEnvironmentInner object itself.
-
identity
Get the identity property: Managed identities for the Managed Environment to interact with other Azure services without maintaining any secrets or credentials in code.- Returns:
- the identity value.
-
withIdentity
Set the identity property: Managed identities for the Managed Environment to interact with other Azure services without maintaining any secrets or credentials in code.- Parameters:
identity
- the identity value to set.- Returns:
- the ManagedEnvironmentInner object itself.
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
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 Environment.- Returns:
- the provisioningState value.
-
daprAIInstrumentationKey
Get the daprAIInstrumentationKey property: Azure Monitor instrumentation key used by Dapr to export Service to Service communication telemetry.- Returns:
- the daprAIInstrumentationKey value.
-
withDaprAIInstrumentationKey
Set the daprAIInstrumentationKey property: Azure Monitor instrumentation key used by Dapr to export Service to Service communication telemetry.- Parameters:
daprAIInstrumentationKey
- the daprAIInstrumentationKey value to set.- Returns:
- the ManagedEnvironmentInner object itself.
-
daprAIConnectionString
Get the daprAIConnectionString property: Application Insights connection string used by Dapr to export Service to Service communication telemetry.- Returns:
- the daprAIConnectionString value.
-
withDaprAIConnectionString
Set the daprAIConnectionString property: Application Insights connection string used by Dapr to export Service to Service communication telemetry.- Parameters:
daprAIConnectionString
- the daprAIConnectionString value to set.- Returns:
- the ManagedEnvironmentInner object itself.
-
vnetConfiguration
Get the vnetConfiguration property: Vnet configuration for the environment.- Returns:
- the vnetConfiguration value.
-
withVnetConfiguration
Set the vnetConfiguration property: Vnet configuration for the environment.- Parameters:
vnetConfiguration
- the vnetConfiguration value to set.- Returns:
- the ManagedEnvironmentInner object itself.
-
deploymentErrors
Get the deploymentErrors property: Any errors that occurred during deployment or deployment validation.- Returns:
- the deploymentErrors value.
-
defaultDomain
Get the defaultDomain property: Default Domain Name for the cluster.- Returns:
- the defaultDomain value.
-
staticIp
Get the staticIp property: Static IP of the Environment.- Returns:
- the staticIp value.
-
appLogsConfiguration
Get the appLogsConfiguration property: Cluster configuration which enables the log daemon to export app logs to configured destination.- Returns:
- the appLogsConfiguration value.
-
withAppLogsConfiguration
Set the appLogsConfiguration property: Cluster configuration which enables the log daemon to export app logs to configured destination.- Parameters:
appLogsConfiguration
- the appLogsConfiguration value to set.- Returns:
- the ManagedEnvironmentInner object itself.
-
zoneRedundant
Get the zoneRedundant property: Whether or not this Managed Environment is zone-redundant.- Returns:
- the zoneRedundant value.
-
withZoneRedundant
Set the zoneRedundant property: Whether or not this Managed Environment is zone-redundant.- Parameters:
zoneRedundant
- the zoneRedundant value to set.- Returns:
- the ManagedEnvironmentInner object itself.
-
customDomainConfiguration
Get the customDomainConfiguration property: Custom domain configuration for the environment.- Returns:
- the customDomainConfiguration value.
-
withCustomDomainConfiguration
public ManagedEnvironmentInner withCustomDomainConfiguration(CustomDomainConfiguration customDomainConfiguration) Set the customDomainConfiguration property: Custom domain configuration for the environment.- Parameters:
customDomainConfiguration
- the customDomainConfiguration value to set.- Returns:
- the ManagedEnvironmentInner object itself.
-
eventStreamEndpoint
Get the eventStreamEndpoint property: The endpoint of the eventstream of the Environment.- Returns:
- the eventStreamEndpoint value.
-
workloadProfiles
Get the workloadProfiles property: Workload profiles configured for the Managed Environment.- Returns:
- the workloadProfiles value.
-
withWorkloadProfiles
Set the workloadProfiles property: Workload profiles configured for the Managed Environment.- Parameters:
workloadProfiles
- the workloadProfiles value to set.- Returns:
- the ManagedEnvironmentInner object itself.
-
kedaConfiguration
Get the kedaConfiguration property: The configuration of Keda component.- Returns:
- the kedaConfiguration value.
-
withKedaConfiguration
Set the kedaConfiguration property: The configuration of Keda component.- Parameters:
kedaConfiguration
- the kedaConfiguration value to set.- Returns:
- the ManagedEnvironmentInner object itself.
-
daprConfiguration
Get the daprConfiguration property: The configuration of Dapr component.- Returns:
- the daprConfiguration value.
-
withDaprConfiguration
Set the daprConfiguration property: The configuration of Dapr component.- Parameters:
daprConfiguration
- the daprConfiguration value to set.- Returns:
- the ManagedEnvironmentInner object itself.
-
infrastructureResourceGroup
Get the infrastructureResourceGroup property: Name of the platform-managed resource group created for the Managed Environment to host infrastructure resources. If a subnet ID is provided, this resource group will be created in the same subscription as the subnet.- Returns:
- the infrastructureResourceGroup value.
-
withInfrastructureResourceGroup
Set the infrastructureResourceGroup property: Name of the platform-managed resource group created for the Managed Environment to host infrastructure resources. If a subnet ID is provided, this resource group will be created in the same subscription as the subnet.- Parameters:
infrastructureResourceGroup
- the infrastructureResourceGroup value to set.- Returns:
- the ManagedEnvironmentInner object itself.
-
peerAuthentication
Get the peerAuthentication property: Peer authentication settings for the Managed Environment.- Returns:
- the peerAuthentication value.
-
withPeerAuthentication
public ManagedEnvironmentInner withPeerAuthentication(ManagedEnvironmentPropertiesPeerAuthentication peerAuthentication) Set the peerAuthentication property: Peer authentication settings for the Managed Environment.- Parameters:
peerAuthentication
- the peerAuthentication value to set.- Returns:
- the ManagedEnvironmentInner object itself.
-
peerTrafficConfiguration
Get the peerTrafficConfiguration property: Peer traffic settings for the Managed Environment.- Returns:
- the peerTrafficConfiguration value.
-
withPeerTrafficConfiguration
public ManagedEnvironmentInner withPeerTrafficConfiguration(ManagedEnvironmentPropertiesPeerTrafficConfiguration peerTrafficConfiguration) Set the peerTrafficConfiguration property: Peer traffic settings for the Managed Environment.- Parameters:
peerTrafficConfiguration
- the peerTrafficConfiguration value to set.- Returns:
- the ManagedEnvironmentInner 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 ManagedEnvironmentInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ManagedEnvironmentInner from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of ManagedEnvironmentInner 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 ManagedEnvironmentInner.
-