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 Details

    • ManagedEnvironmentProperties

      public ManagedEnvironmentProperties()
      Creates an instance of ManagedEnvironmentProperties class.
  • Method Details

    • provisioningState

      public EnvironmentProvisioningState provisioningState()
      Get the provisioningState property: Provisioning state of the Environment.
      Returns:
      the provisioningState value.
    • daprAIInstrumentationKey

      public String daprAIInstrumentationKey()
      Get the daprAIInstrumentationKey property: Azure Monitor instrumentation key used by Dapr to export Service to Service communication telemetry.
      Returns:
      the daprAIInstrumentationKey value.
    • withDaprAIInstrumentationKey

      public ManagedEnvironmentProperties withDaprAIInstrumentationKey(String daprAIInstrumentationKey)
      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

      public String daprAIConnectionString()
      Get the daprAIConnectionString property: Application Insights connection string used by Dapr to export Service to Service communication telemetry.
      Returns:
      the daprAIConnectionString value.
    • withDaprAIConnectionString

      public ManagedEnvironmentProperties withDaprAIConnectionString(String daprAIConnectionString)
      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

      public VnetConfiguration vnetConfiguration()
      Get the vnetConfiguration property: Vnet configuration for the environment.
      Returns:
      the vnetConfiguration value.
    • withVnetConfiguration

      public ManagedEnvironmentProperties withVnetConfiguration(VnetConfiguration vnetConfiguration)
      Set the vnetConfiguration property: Vnet configuration for the environment.
      Parameters:
      vnetConfiguration - the vnetConfiguration value to set.
      Returns:
      the ManagedEnvironmentProperties object itself.
    • deploymentErrors

      public String deploymentErrors()
      Get the deploymentErrors property: Any errors that occurred during deployment or deployment validation.
      Returns:
      the deploymentErrors value.
    • 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 Environment.
      Returns:
      the staticIp value.
    • appLogsConfiguration

      public AppLogsConfiguration 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

      public Boolean zoneRedundant()
      Get the zoneRedundant property: Whether or not this Managed Environment is zone-redundant.
      Returns:
      the zoneRedundant value.
    • withZoneRedundant

      public ManagedEnvironmentProperties withZoneRedundant(Boolean zoneRedundant)
      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

      public CustomDomainConfiguration 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

      public String eventStreamEndpoint()
      Get the eventStreamEndpoint property: The endpoint of the eventstream of the Environment.
      Returns:
      the eventStreamEndpoint value.
    • workloadProfiles

      public List<WorkloadProfile> workloadProfiles()
      Get the workloadProfiles property: Workload profiles configured for the Managed Environment.
      Returns:
      the workloadProfiles value.
    • withWorkloadProfiles

      public ManagedEnvironmentProperties withWorkloadProfiles(List<WorkloadProfile> workloadProfiles)
      Set the workloadProfiles property: Workload profiles configured for the Managed Environment.
      Parameters:
      workloadProfiles - the workloadProfiles value to set.
      Returns:
      the ManagedEnvironmentProperties object itself.
    • kedaConfiguration

      public KedaConfiguration kedaConfiguration()
      Get the kedaConfiguration property: The configuration of Keda component.
      Returns:
      the kedaConfiguration value.
    • withKedaConfiguration

      public ManagedEnvironmentProperties withKedaConfiguration(KedaConfiguration kedaConfiguration)
      Set the kedaConfiguration property: The configuration of Keda component.
      Parameters:
      kedaConfiguration - the kedaConfiguration value to set.
      Returns:
      the ManagedEnvironmentProperties object itself.
    • daprConfiguration

      public DaprConfiguration daprConfiguration()
      Get the daprConfiguration property: The configuration of Dapr component.
      Returns:
      the daprConfiguration value.
    • withDaprConfiguration

      public ManagedEnvironmentProperties withDaprConfiguration(DaprConfiguration daprConfiguration)
      Set the daprConfiguration property: The configuration of Dapr component.
      Parameters:
      daprConfiguration - the daprConfiguration value to set.
      Returns:
      the ManagedEnvironmentProperties object itself.
    • infrastructureResourceGroup

      public String 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

      public ManagedEnvironmentPropertiesPeerTrafficConfiguration 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.