共用方式為


MockableSpringAppDiscoverySubscriptionResource.GetSpringBootAppsAsync Method

Definition

List springbootapps resource by subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.OffAzureSpringBoot/springbootsites/{siteName}/springbootapps
  • Operation Id: springbootapps_ListBySubscription
public virtual Azure.AsyncPageable<Azure.ResourceManager.SpringAppDiscovery.SpringBootAppResource> GetSpringBootAppsAsync (string siteName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSpringBootAppsAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SpringAppDiscovery.SpringBootAppResource>
override this.GetSpringBootAppsAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SpringAppDiscovery.SpringBootAppResource>
Public Overridable Function GetSpringBootAppsAsync (siteName As String, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SpringBootAppResource)

Parameters

siteName
String

The springbootsites name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of SpringBootAppResource that may take multiple service requests to iterate over.

Exceptions

siteName is an empty string, and was expected to be non-empty.

siteName is null.

Applies to