ManagedEnvironments interface

Interface representing a ManagedEnvironments.

Methods

beginCreateOrUpdate(string, string, ManagedEnvironment, ManagedEnvironmentsCreateOrUpdateOptionalParams)

Creates or updates a Managed Environment used to host container apps.

beginCreateOrUpdateAndWait(string, string, ManagedEnvironment, ManagedEnvironmentsCreateOrUpdateOptionalParams)

Creates or updates a Managed Environment used to host container apps.

beginDelete(string, string, ManagedEnvironmentsDeleteOptionalParams)

Delete a Managed Environment if it does not have any container apps.

beginDeleteAndWait(string, string, ManagedEnvironmentsDeleteOptionalParams)

Delete a Managed Environment if it does not have any container apps.

beginUpdate(string, string, ManagedEnvironment, ManagedEnvironmentsUpdateOptionalParams)

Patches a Managed Environment using JSON Merge Patch

beginUpdateAndWait(string, string, ManagedEnvironment, ManagedEnvironmentsUpdateOptionalParams)

Patches a Managed Environment using JSON Merge Patch

get(string, string, ManagedEnvironmentsGetOptionalParams)

Get the properties of a Managed Environment used to host container apps.

getAuthToken(string, string, ManagedEnvironmentsGetAuthTokenOptionalParams)

Checks if resource name is available.

listByResourceGroup(string, ManagedEnvironmentsListByResourceGroupOptionalParams)

Get all the Managed Environments in a resource group.

listBySubscription(ManagedEnvironmentsListBySubscriptionOptionalParams)

Get all Managed Environments for a subscription.

listWorkloadProfileStates(string, string, ManagedEnvironmentsListWorkloadProfileStatesOptionalParams)

Get all workload Profile States for a Managed Environment.

Method Details

beginCreateOrUpdate(string, string, ManagedEnvironment, ManagedEnvironmentsCreateOrUpdateOptionalParams)

Creates or updates a Managed Environment used to host container apps.

function beginCreateOrUpdate(resourceGroupName: string, environmentName: string, environmentEnvelope: ManagedEnvironment, options?: ManagedEnvironmentsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ManagedEnvironment>, ManagedEnvironment>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

environmentName

string

Name of the Environment.

environmentEnvelope
ManagedEnvironment

Configuration details of the Environment.

options
ManagedEnvironmentsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<ManagedEnvironment>, ManagedEnvironment>>

beginCreateOrUpdateAndWait(string, string, ManagedEnvironment, ManagedEnvironmentsCreateOrUpdateOptionalParams)

Creates or updates a Managed Environment used to host container apps.

function beginCreateOrUpdateAndWait(resourceGroupName: string, environmentName: string, environmentEnvelope: ManagedEnvironment, options?: ManagedEnvironmentsCreateOrUpdateOptionalParams): Promise<ManagedEnvironment>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

environmentName

string

Name of the Environment.

environmentEnvelope
ManagedEnvironment

Configuration details of the Environment.

options
ManagedEnvironmentsCreateOrUpdateOptionalParams

The options parameters.

Returns

beginDelete(string, string, ManagedEnvironmentsDeleteOptionalParams)

Delete a Managed Environment if it does not have any container apps.

function beginDelete(resourceGroupName: string, environmentName: string, options?: ManagedEnvironmentsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

environmentName

string

Name of the Environment.

options
ManagedEnvironmentsDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, ManagedEnvironmentsDeleteOptionalParams)

Delete a Managed Environment if it does not have any container apps.

function beginDeleteAndWait(resourceGroupName: string, environmentName: string, options?: ManagedEnvironmentsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

environmentName

string

Name of the Environment.

options
ManagedEnvironmentsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

beginUpdate(string, string, ManagedEnvironment, ManagedEnvironmentsUpdateOptionalParams)

Patches a Managed Environment using JSON Merge Patch

function beginUpdate(resourceGroupName: string, environmentName: string, environmentEnvelope: ManagedEnvironment, options?: ManagedEnvironmentsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ManagedEnvironment>, ManagedEnvironment>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

environmentName

string

Name of the Environment.

environmentEnvelope
ManagedEnvironment

Configuration details of the Environment.

options
ManagedEnvironmentsUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<ManagedEnvironment>, ManagedEnvironment>>

beginUpdateAndWait(string, string, ManagedEnvironment, ManagedEnvironmentsUpdateOptionalParams)

Patches a Managed Environment using JSON Merge Patch

function beginUpdateAndWait(resourceGroupName: string, environmentName: string, environmentEnvelope: ManagedEnvironment, options?: ManagedEnvironmentsUpdateOptionalParams): Promise<ManagedEnvironment>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

environmentName

string

Name of the Environment.

environmentEnvelope
ManagedEnvironment

Configuration details of the Environment.

options
ManagedEnvironmentsUpdateOptionalParams

The options parameters.

Returns

get(string, string, ManagedEnvironmentsGetOptionalParams)

Get the properties of a Managed Environment used to host container apps.

function get(resourceGroupName: string, environmentName: string, options?: ManagedEnvironmentsGetOptionalParams): Promise<ManagedEnvironment>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

environmentName

string

Name of the Environment.

options
ManagedEnvironmentsGetOptionalParams

The options parameters.

Returns

getAuthToken(string, string, ManagedEnvironmentsGetAuthTokenOptionalParams)

Checks if resource name is available.

function getAuthToken(resourceGroupName: string, environmentName: string, options?: ManagedEnvironmentsGetAuthTokenOptionalParams): Promise<EnvironmentAuthToken>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

environmentName

string

Name of the Managed Environment.

options
ManagedEnvironmentsGetAuthTokenOptionalParams

The options parameters.

Returns

listByResourceGroup(string, ManagedEnvironmentsListByResourceGroupOptionalParams)

Get all the Managed Environments in a resource group.

function listByResourceGroup(resourceGroupName: string, options?: ManagedEnvironmentsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ManagedEnvironment, ManagedEnvironment[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

Returns

listBySubscription(ManagedEnvironmentsListBySubscriptionOptionalParams)

Get all Managed Environments for a subscription.

function listBySubscription(options?: ManagedEnvironmentsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ManagedEnvironment, ManagedEnvironment[], PageSettings>

Parameters

options
ManagedEnvironmentsListBySubscriptionOptionalParams

The options parameters.

Returns

listWorkloadProfileStates(string, string, ManagedEnvironmentsListWorkloadProfileStatesOptionalParams)

Get all workload Profile States for a Managed Environment.

function listWorkloadProfileStates(resourceGroupName: string, environmentName: string, options?: ManagedEnvironmentsListWorkloadProfileStatesOptionalParams): PagedAsyncIterableIterator<WorkloadProfileStates, WorkloadProfileStates[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

environmentName

string

Name of the Managed Environment.

Returns