AppPlatformExtensions.GetAppPlatformServices Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetAppPlatformServices(SubscriptionResource, CancellationToken) |
Handles requests to list all resources in a subscription.
|
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
- Default Api Version: 2022-12-01
- Resource: AppPlatformServiceResource
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.