Interface ManagedEnvironment
public interface ManagedEnvironment
An immutable client-side representation of ManagedEnvironment.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the ManagedEnvironment definition.static interface
The ManagedEnvironment definition stages.static interface
The template for ManagedEnvironment update.static interface
The ManagedEnvironment update stages. -
Method Summary
Modifier and TypeMethodDescriptionGets the appLogsConfiguration property: Cluster configuration which enables the log daemon to export app logs to a destination.Gets the customDomainConfiguration property: Custom domain configuration for the environment.Gets the daprAIConnectionString property: Application Insights connection string used by Dapr to export Service to Service communication telemetry.Gets the daprAIInstrumentationKey property: Azure Monitor instrumentation key used by Dapr to export Service to Service communication telemetry.Gets the defaultDomain property: Default Domain Name for the cluster.Gets the deploymentErrors property: Any errors that occurred during deployment or deployment validation.Gets the eventStreamEndpoint property: The endpoint of the eventstream of the Environment.Get auth token for a managed environmentcom.azure.core.http.rest.Response<EnvironmentAuthToken>
getAuthTokenWithResponse
(com.azure.core.util.Context context) Get auth token for a managed environmentid()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.appcontainers.fluent.models.ManagedEnvironmentInner object.location()
Gets the location property: The geo-location where the resource lives.name()
Gets the name property: The name of the resource.Gets the provisioningState property: Provisioning state of the Environment.refresh()
Refreshes the resource to sync with Azure.refresh
(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.com.azure.core.management.Region
region()
Gets the region of the resource.Gets the name of the resource region.Gets the name of the resource group.sku()
Gets the sku property: SKU properties of the Environment.staticIp()
Gets the staticIp property: Static IP of the Environment.com.azure.core.management.SystemData
Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.tags()
Gets the tags property: Resource tags.type()
Gets the type property: The type of the resource.update()
Begins update for the ManagedEnvironment resource.Gets the vnetConfiguration property: Vnet configuration for the environment.Gets the workloadProfiles property: Workload profiles configured for the Managed Environment.Gets the zoneRedundant property: Whether or not this Managed Environment is zone-redundant.
-
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
Gets the tags property: Resource tags.- Returns:
- the tags value.
-
sku
EnvironmentSkuProperties 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
ManagedEnvironmentInner innerModel()Gets the inner com.azure.resourcemanager.appcontainers.fluent.models.ManagedEnvironmentInner object.- Returns:
- the inner object.
-
update
ManagedEnvironment.Update update()Begins update for the ManagedEnvironment resource.- Returns:
- the stage of resource update.
-
refresh
ManagedEnvironment refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
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 environmentChecks 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 environmentChecks 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.
-