AppPlatformExtensions.GetAppPlatformServices Method

Definition

Overloads

GetAppPlatformServices(SubscriptionResource, CancellationToken)

Handles requests to list all resources in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AppPlatform/Spring
  • Operation Id: Services_ListBySubscription
GetAppPlatformServices(ResourceGroupResource)

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

GetAppPlatformServices(SubscriptionResource, CancellationToken)

Source:
AppPlatformExtensions.cs
Source:
AppPlatformExtensions.cs

Handles requests to list all resources in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AppPlatform/Spring
  • Operation Id: Services_ListBySubscription
public static Azure.Pageable<Azure.ResourceManager.AppPlatform.AppPlatformServiceResource> GetAppPlatformServices (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetAppPlatformServices : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppPlatform.AppPlatformServiceResource>
<Extension()>
Public Function GetAppPlatformServices (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of AppPlatformServiceResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to

GetAppPlatformServices(ResourceGroupResource)

Source:
AppPlatformExtensions.cs
Source:
AppPlatformExtensions.cs

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

public static Azure.ResourceManager.AppPlatform.AppPlatformServiceCollection GetAppPlatformServices (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetAppPlatformServices : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.AppPlatform.AppPlatformServiceCollection
<Extension()>
Public Function GetAppPlatformServices (resourceGroupResource As ResourceGroupResource) As AppPlatformServiceCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of AppPlatformServiceResources and their operations over a AppPlatformServiceResource.

Exceptions

resourceGroupResource is null.

Applies to