你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AppPlatformExtensions.GetAppPlatformServices 方法

定义

重载

GetAppPlatformServices(SubscriptionResource, CancellationToken)

处理列出订阅中所有资源的请求。

  • 请求路径/subscriptions/{subscriptionId}/providers/Microsoft.AppPlatform/Spring
  • 操作IdServices_ListBySubscription
GetAppPlatformServices(ResourceGroupResource)

获取 ResourceGroupResource 中 AppPlatformServiceResources 的集合。

GetAppPlatformServices(SubscriptionResource, CancellationToken)

处理列出订阅中所有资源的请求。

  • 请求路径/subscriptions/{subscriptionId}/providers/Microsoft.AppPlatform/Spring
  • 操作IdServices_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)

参数

subscriptionResource
SubscriptionResource

方法 SubscriptionResource 将对其执行的实例。

cancellationToken
CancellationToken

要使用的取消标记。

返回

可能需要多个服务请求来循环访问的 的 AppPlatformServiceResource 集合。

适用于

GetAppPlatformServices(ResourceGroupResource)

获取 ResourceGroupResource 中 AppPlatformServiceResources 的集合。

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

参数

resourceGroupResource
ResourceGroupResource

方法 ResourceGroupResource 将对其执行的实例。

返回

一个 对象,该对象表示 AppPlatformServiceResources 的集合及其在 AppPlatformServiceResource 上的操作。

适用于