ManagedEnvironments interface
Interface representing a ManagedEnvironments.
Methods
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.
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.
The options parameters.
Returns
Promise<ManagedEnvironment>
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.
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.
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.
The options parameters.
Returns
Promise<ManagedEnvironment>
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.
The options parameters.
Returns
listBySubscription(ManagedEnvironmentsListBySubscriptionOptionalParams)
Get all Managed Environments for a subscription.
function listBySubscription(options?: ManagedEnvironmentsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ManagedEnvironment, ManagedEnvironment[], PageSettings>
Parameters
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.
The options parameters.
Returns
Promise<ManagedEnvironment>