Share via


HostingEnvironmentWorkerPoolCollection Class

Definition

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

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

Constructors

HostingEnvironmentWorkerPoolCollection()

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

Description for Create or update a worker pool.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}
  • Operation Id: AppServiceEnvironments_CreateOrUpdateWorkerPool
  • Default Api Version: 2021-02-01
  • Resource: HostingEnvironmentWorkerPoolResource
CreateOrUpdateAsync(WaitUntil, String, AppServiceWorkerPoolData, CancellationToken)

Description for Create or update a worker pool.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}
  • Operation Id: AppServiceEnvironments_CreateOrUpdateWorkerPool
  • Default Api Version: 2021-02-01
  • Resource: HostingEnvironmentWorkerPoolResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}
  • Operation Id: AppServiceEnvironments_GetWorkerPool
  • Default Api Version: 2021-02-01
  • Resource: HostingEnvironmentWorkerPoolResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}
  • Operation Id: AppServiceEnvironments_GetWorkerPool
  • Default Api Version: 2021-02-01
  • Resource: HostingEnvironmentWorkerPoolResource
Get(String, CancellationToken)

Description for Get properties of a worker pool.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}
  • Operation Id: AppServiceEnvironments_GetWorkerPool
  • Default Api Version: 2021-02-01
  • Resource: HostingEnvironmentWorkerPoolResource
GetAll(CancellationToken)

Description for Get all worker pools of an App Service Environment.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools
  • Operation Id: AppServiceEnvironments_ListWorkerPools
  • Default Api Version: 2021-02-01
  • Resource: HostingEnvironmentWorkerPoolResource
GetAllAsync(CancellationToken)

Description for Get all worker pools of an App Service Environment.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools
  • Operation Id: AppServiceEnvironments_ListWorkerPools
  • Default Api Version: 2021-02-01
  • Resource: HostingEnvironmentWorkerPoolResource
GetAsync(String, CancellationToken)

Description for Get properties of a worker pool.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}
  • Operation Id: AppServiceEnvironments_GetWorkerPool
  • Default Api Version: 2021-02-01
  • Resource: HostingEnvironmentWorkerPoolResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}
  • Operation Id: AppServiceEnvironments_GetWorkerPool
  • Default Api Version: 2021-02-01
  • Resource: HostingEnvironmentWorkerPoolResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}
  • Operation Id: AppServiceEnvironments_GetWorkerPool
  • Default Api Version: 2021-02-01
  • Resource: HostingEnvironmentWorkerPoolResource
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<HostingEnvironmentWorkerPoolResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<HostingEnvironmentWorkerPoolResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to