Class ManagedEnvironmentProperties
java.lang.Object
com.azure.resourcemanager.appcontainers.fluent.models.ManagedEnvironmentProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ManagedEnvironmentProperties>
public final class ManagedEnvironmentProperties
extends Object
implements com.azure.json.JsonSerializable<ManagedEnvironmentProperties>
Managed environment resource specific properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ManagedEnvironmentProperties 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 ManagedEnvironmentProperties
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of ManagedEnvironmentProperties from the JsonReader.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.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.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) 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.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.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 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
-
ManagedEnvironmentProperties
public ManagedEnvironmentProperties()Creates an instance of ManagedEnvironmentProperties class.
-
-
Method Details
-
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 ManagedEnvironmentProperties 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 ManagedEnvironmentProperties 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 ManagedEnvironmentProperties 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
public ManagedEnvironmentProperties withAppLogsConfiguration(AppLogsConfiguration appLogsConfiguration) 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 ManagedEnvironmentProperties 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 ManagedEnvironmentProperties object itself.
-
customDomainConfiguration
Get the customDomainConfiguration property: Custom domain configuration for the environment.- Returns:
- the customDomainConfiguration value.
-
withCustomDomainConfiguration
public ManagedEnvironmentProperties withCustomDomainConfiguration(CustomDomainConfiguration customDomainConfiguration) Set the customDomainConfiguration property: Custom domain configuration for the environment.- Parameters:
customDomainConfiguration
- the customDomainConfiguration value to set.- Returns:
- the ManagedEnvironmentProperties 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 ManagedEnvironmentProperties 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 ManagedEnvironmentProperties 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 ManagedEnvironmentProperties 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
public ManagedEnvironmentProperties withInfrastructureResourceGroup(String infrastructureResourceGroup) 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 ManagedEnvironmentProperties object itself.
-
peerAuthentication
Get the peerAuthentication property: Peer authentication settings for the Managed Environment.- Returns:
- the peerAuthentication value.
-
withPeerAuthentication
public ManagedEnvironmentProperties withPeerAuthentication(ManagedEnvironmentPropertiesPeerAuthentication peerAuthentication) Set the peerAuthentication property: Peer authentication settings for the Managed Environment.- Parameters:
peerAuthentication
- the peerAuthentication value to set.- Returns:
- the ManagedEnvironmentProperties object itself.
-
peerTrafficConfiguration
Get the peerTrafficConfiguration property: Peer traffic settings for the Managed Environment.- Returns:
- the peerTrafficConfiguration value.
-
withPeerTrafficConfiguration
public ManagedEnvironmentProperties withPeerTrafficConfiguration(ManagedEnvironmentPropertiesPeerTrafficConfiguration peerTrafficConfiguration) Set the peerTrafficConfiguration property: Peer traffic settings for the Managed Environment.- Parameters:
peerTrafficConfiguration
- the peerTrafficConfiguration value to set.- Returns:
- the ManagedEnvironmentProperties 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<ManagedEnvironmentProperties>
- Throws:
IOException
-
fromJson
public static ManagedEnvironmentProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ManagedEnvironmentProperties from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of ManagedEnvironmentProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException
- If an error occurs while reading the ManagedEnvironmentProperties.
-