Share via


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.

get(string, string, ManagedEnvironmentsGetOptionalParams)

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

listByResourceGroup(string, ManagedEnvironmentsListByResourceGroupOptionalParams)

Get all the Managed Environments in a resource group.

listBySubscription(ManagedEnvironmentsListBySubscriptionOptionalParams)

Get all Managed Environments for a subscription.

update(string, string, ManagedEnvironmentPatch, ManagedEnvironmentsUpdateOptionalParams)

Patches a Managed Environment. Only patching of tags is supported currently

Method Details

beginCreateOrUpdate(string, string, ManagedEnvironment, ManagedEnvironmentsCreateOrUpdateOptionalParams)

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

function beginCreateOrUpdate(resourceGroupName: string, name: string, environmentEnvelope: ManagedEnvironment, options?: ManagedEnvironmentsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ManagedEnvironment>, ManagedEnvironment>>

Parameters

resourceGroupName

string

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

name

string

Name of the Environment.

environmentEnvelope
ManagedEnvironment

Configuration details of the Environment.

options
ManagedEnvironmentsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<ManagedEnvironment>, ManagedEnvironment>>

beginCreateOrUpdateAndWait(string, string, ManagedEnvironment, ManagedEnvironmentsCreateOrUpdateOptionalParams)

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

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

Parameters

resourceGroupName

string

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

name

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, name: string, options?: ManagedEnvironmentsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

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

name

string

Name of the Environment.

options
ManagedEnvironmentsDeleteOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginDeleteAndWait(string, string, ManagedEnvironmentsDeleteOptionalParams)

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

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

Parameters

resourceGroupName

string

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

name

string

Name of the Environment.

options
ManagedEnvironmentsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, ManagedEnvironmentsGetOptionalParams)

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

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

Parameters

resourceGroupName

string

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

name

string

Name of the Environment.

options
ManagedEnvironmentsGetOptionalParams

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

update(string, string, ManagedEnvironmentPatch, ManagedEnvironmentsUpdateOptionalParams)

Patches a Managed Environment. Only patching of tags is supported currently

function update(resourceGroupName: string, name: string, environmentEnvelope: ManagedEnvironmentPatch, options?: ManagedEnvironmentsUpdateOptionalParams): Promise<ManagedEnvironment>

Parameters

resourceGroupName

string

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

name

string

Name of the Environment.

environmentEnvelope
ManagedEnvironmentPatch

Configuration details of the Environment.

options
ManagedEnvironmentsUpdateOptionalParams

The options parameters.

Returns