Interface ManagedEnvironment


public interface ManagedEnvironment
An immutable client-side representation of ManagedEnvironment.
  • Method Details

    • id

      String id()
      Gets the id property: Fully qualified resource Id for the resource.
      Returns:
      the id value.
    • name

      String name()
      Gets the name property: The name of the resource.
      Returns:
      the name value.
    • type

      String type()
      Gets the type property: The type of the resource.
      Returns:
      the type value.
    • location

      String location()
      Gets the location property: The geo-location where the resource lives.
      Returns:
      the location value.
    • tags

      Map<String,String> tags()
      Gets the tags property: Resource tags.
      Returns:
      the tags value.
    • sku

      Gets the sku property: SKU properties of the Environment.
      Returns:
      the sku value.
    • systemData

      com.azure.core.management.SystemData systemData()
      Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
      Returns:
      the systemData value.
    • provisioningState

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

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

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

      VnetConfiguration vnetConfiguration()
      Gets the vnetConfiguration property: Vnet configuration for the environment.
      Returns:
      the vnetConfiguration value.
    • deploymentErrors

      String deploymentErrors()
      Gets the deploymentErrors property: Any errors that occurred during deployment or deployment validation.
      Returns:
      the deploymentErrors value.
    • defaultDomain

      String defaultDomain()
      Gets the defaultDomain property: Default Domain Name for the cluster.
      Returns:
      the defaultDomain value.
    • staticIp

      String staticIp()
      Gets the staticIp property: Static IP of the Environment.
      Returns:
      the staticIp value.
    • appLogsConfiguration

      AppLogsConfiguration appLogsConfiguration()
      Gets 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.
    • zoneRedundant

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

      CustomDomainConfiguration customDomainConfiguration()
      Gets the customDomainConfiguration property: Custom domain configuration for the environment.
      Returns:
      the customDomainConfiguration value.
    • eventStreamEndpoint

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

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

      com.azure.core.management.Region region()
      Gets the region of the resource.
      Returns:
      the region of the resource.
    • regionName

      String regionName()
      Gets the name of the resource region.
      Returns:
      the name of the resource region.
    • resourceGroupName

      String resourceGroupName()
      Gets the name of the resource group.
      Returns:
      the name of the resource group.
    • innerModel

      Gets the inner com.azure.resourcemanager.appcontainers.fluent.models.ManagedEnvironmentInner object.
      Returns:
      the inner object.
    • update

      Begins update for the ManagedEnvironment resource.
      Returns:
      the stage of resource update.
    • refresh

      Refreshes the resource to sync with Azure.
      Returns:
      the refreshed resource.
    • refresh

      ManagedEnvironment refresh(com.azure.core.util.Context context)
      Refreshes the resource to sync with Azure.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the refreshed resource.
    • getAuthTokenWithResponse

      com.azure.core.http.rest.Response<EnvironmentAuthToken> getAuthTokenWithResponse(com.azure.core.util.Context context)
      Get auth token for a managed environment

      Checks if resource name is available.

      Parameters:
      context - The context to associate with this operation.
      Returns:
      environment Auth Token along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      DefaultErrorResponseErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getAuthToken

      EnvironmentAuthToken getAuthToken()
      Get auth token for a managed environment

      Checks if resource name is available.

      Returns:
      environment Auth Token.
      Throws:
      DefaultErrorResponseErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.