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, 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.
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.
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, 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.
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.
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.
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.
The options parameters.
Returns
Promise<ManagedEnvironment>
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.
The options parameters.
Returns
Promise<ManagedEnvironment>
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.
The options parameters.
Returns
Promise<EnvironmentAuthToken>
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
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.
The options parameters.