Partilhar 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
  • Default Api Version: 2024-03-01
  • Resource: ContainerAppManagedEnvironmentResource
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
  • Default Api Version: 2024-03-01
  • Resource: ContainerAppManagedEnvironmentResource
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
  • Default Api Version: 2024-03-01
  • Resource: ContainerAppManagedEnvironmentResource
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
  • Default Api Version: 2024-03-01
  • Resource: ContainerAppManagedEnvironmentResource
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
  • Default Api Version: 2024-03-01
  • Resource: ContainerAppManagedEnvironmentResource
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
  • Default Api Version: 2024-03-01
  • Resource: ContainerAppManagedEnvironmentResource
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
  • Default Api Version: 2024-03-01
  • Resource: ContainerAppManagedEnvironmentResource
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
  • Default Api Version: 2024-03-01
  • Resource: ContainerAppManagedEnvironmentResource
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
  • Default Api Version: 2024-03-01
  • Resource: ContainerAppManagedEnvironmentResource
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
  • Default Api Version: 2024-03-01
  • Resource: ContainerAppManagedEnvironmentResource
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