共用方式為


ManagedEnvironmentCollection Class

Definition

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

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

Constructors

ManagedEnvironmentCollection()

Initializes a new instance of the ManagedEnvironmentCollection 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, ManagedEnvironmentData, 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, ManagedEnvironmentData, 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

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<ManagedEnvironmentResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ManagedEnvironmentResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to