AppServiceEnvironmentCollection Class

Definition

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

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

Constructors

AppServiceEnvironmentCollection()

Initializes a new instance of the AppServiceEnvironmentCollection 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, AppServiceEnvironmentData, CancellationToken)

Description for Create or update an App Service Environment.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}
  • Operation Id: AppServiceEnvironments_CreateOrUpdate
  • Default Api Version: 2023-12-01
  • Resource: AppServiceEnvironmentResource
CreateOrUpdateAsync(WaitUntil, String, AppServiceEnvironmentData, CancellationToken)

Description for Create or update an App Service Environment.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}
  • Operation Id: AppServiceEnvironments_CreateOrUpdate
  • Default Api Version: 2023-12-01
  • Resource: AppServiceEnvironmentResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}
  • Operation Id: AppServiceEnvironments_Get
  • Default Api Version: 2023-12-01
  • Resource: AppServiceEnvironmentResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}
  • Operation Id: AppServiceEnvironments_Get
  • Default Api Version: 2023-12-01
  • Resource: AppServiceEnvironmentResource
Get(String, CancellationToken)

Description for Get the properties of an App Service Environment.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}
  • Operation Id: AppServiceEnvironments_Get
  • Default Api Version: 2023-12-01
  • Resource: AppServiceEnvironmentResource
GetAll(CancellationToken)

Description for Get all App Service Environments in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments
  • Operation Id: AppServiceEnvironments_ListByResourceGroup
  • Default Api Version: 2023-12-01
  • Resource: AppServiceEnvironmentResource
GetAllAsync(CancellationToken)

Description for Get all App Service Environments in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments
  • Operation Id: AppServiceEnvironments_ListByResourceGroup
  • Default Api Version: 2023-12-01
  • Resource: AppServiceEnvironmentResource
GetAsync(String, CancellationToken)

Description for Get the properties of an App Service Environment.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}
  • Operation Id: AppServiceEnvironments_Get
  • Default Api Version: 2023-12-01
  • Resource: AppServiceEnvironmentResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}
  • Operation Id: AppServiceEnvironments_Get
  • Default Api Version: 2023-12-01
  • Resource: AppServiceEnvironmentResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}
  • Operation Id: AppServiceEnvironments_Get
  • Default Api Version: 2023-12-01
  • Resource: AppServiceEnvironmentResource
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<AppServiceEnvironmentResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<AppServiceEnvironmentResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to