Share via


ContainerAppManagedEnvironmentCollection Class

Definition

A class representing a collection of ContainerAppManagedEnvironmentResource and their operations. Each ContainerAppManagedEnvironmentResource in the collection will belong to the same instance of ResourceGroupResource. To get a ContainerAppManagedEnvironmentCollection instance call the GetContainerAppManagedEnvironments method from an instance of ResourceGroupResource.

public class ContainerAppManagedEnvironmentCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.AppContainers.ContainerAppManagedEnvironmentResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppContainers.ContainerAppManagedEnvironmentResource>
type ContainerAppManagedEnvironmentCollection = class
    inherit ArmCollection
    interface seq<ContainerAppManagedEnvironmentResource>
    interface IEnumerable
    interface IAsyncEnumerable<ContainerAppManagedEnvironmentResource>
Public Class ContainerAppManagedEnvironmentCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of ContainerAppManagedEnvironmentResource), IEnumerable(Of ContainerAppManagedEnvironmentResource)
Inheritance
ContainerAppManagedEnvironmentCollection
Implements

Constructors

ContainerAppManagedEnvironmentCollection()

Initializes a new instance of the ContainerAppManagedEnvironmentCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, ContainerAppManagedEnvironmentData, CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}
  • Operation Id: ManagedEnvironments_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, ContainerAppManagedEnvironmentData, CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}
  • Operation Id: ManagedEnvironments_CreateOrUpdate
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}
  • Operation Id: ManagedEnvironments_Get
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}
  • Operation Id: ManagedEnvironments_Get
Get(String, CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}
  • Operation Id: ManagedEnvironments_Get
GetAll(CancellationToken)

Get all the Managed Environments in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments
  • Operation Id: ManagedEnvironments_ListByResourceGroup
GetAllAsync(CancellationToken)

Get all the Managed Environments in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments
  • Operation Id: ManagedEnvironments_ListByResourceGroup
GetAsync(String, CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}
  • Operation Id: ManagedEnvironments_Get
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}
  • Operation Id: ManagedEnvironments_Get
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}
  • Operation Id: ManagedEnvironments_Get
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<ContainerAppManagedEnvironmentResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ContainerAppManagedEnvironmentResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to