Class ManagedEnvironmentInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.appcontainers.fluent.models.ManagedEnvironmentInner
public final class ManagedEnvironmentInner
extends com.azure.core.management.Resource
An environment for hosting container apps.
-
Constructor Summary
ConstructorDescriptionCreates 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 a 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 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.Get the provisioningState property: Provisioning state of the Environment.sku()
Get the sku property: SKU properties 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.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 a 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.withLocation
(String location) Set the sku property: SKU properties of the 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 com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
ManagedEnvironmentInner
public ManagedEnvironmentInner()Creates an instance of ManagedEnvironmentInner class.
-
-
Method Details
-
sku
Get the sku property: SKU properties of the Environment.- Returns:
- the sku value.
-
withSku
Set the sku property: SKU properties of the Environment.- Parameters:
sku
- the sku 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.
-
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 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 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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-