AppServiceExtensions.GetAppServiceEnvironments Method

Definition

Overloads

GetAppServiceEnvironments(ResourceGroupResource)

Gets a collection of AppServiceEnvironmentResources in the ResourceGroupResource. MockingTo mock this method, please mock GetAppServiceEnvironments() instead.

GetAppServiceEnvironments(SubscriptionResource, CancellationToken)

Description for Get all App Service Environments for a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Web/hostingEnvironments
  • Operation Id: AppServiceEnvironments_List
  • Default Api Version: 2023-12-01
  • Resource: AppServiceEnvironmentResource

GetAppServiceEnvironments(ResourceGroupResource)

Source:
AppServiceExtensions.cs
Source:
AppServiceExtensions.cs

Gets a collection of AppServiceEnvironmentResources in the ResourceGroupResource. MockingTo mock this method, please mock GetAppServiceEnvironments() instead.

public static Azure.ResourceManager.AppService.AppServiceEnvironmentCollection GetAppServiceEnvironments (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetAppServiceEnvironments : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.AppService.AppServiceEnvironmentCollection
<Extension()>
Public Function GetAppServiceEnvironments (resourceGroupResource As ResourceGroupResource) As AppServiceEnvironmentCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of AppServiceEnvironmentResources and their operations over a AppServiceEnvironmentResource.

Exceptions

resourceGroupResource is null.

Applies to

GetAppServiceEnvironments(SubscriptionResource, CancellationToken)

Source:
AppServiceExtensions.cs
Source:
AppServiceExtensions.cs

Description for Get all App Service Environments for a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Web/hostingEnvironments
  • Operation Id: AppServiceEnvironments_List
  • Default Api Version: 2023-12-01
  • Resource: AppServiceEnvironmentResource
public static Azure.Pageable<Azure.ResourceManager.AppService.AppServiceEnvironmentResource> GetAppServiceEnvironments (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetAppServiceEnvironments : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppService.AppServiceEnvironmentResource>
<Extension()>
Public Function GetAppServiceEnvironments (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of AppServiceEnvironmentResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of AppServiceEnvironmentResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to