Share via


SpringAppDiscoveryExtensions.GetSpringBootSites Method

Definition

Overloads

GetSpringBootSites(ResourceGroupResource)

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

GetSpringBootSites(SubscriptionResource, CancellationToken)

List springbootsites resource by subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.OffAzureSpringBoot/springbootsites
  • Operation Id: springbootsites_ListBySubscription

GetSpringBootSites(ResourceGroupResource)

Source:
SpringAppDiscoveryExtensions.cs

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

public static Azure.ResourceManager.SpringAppDiscovery.SpringBootSiteCollection GetSpringBootSites (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetSpringBootSites : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.SpringAppDiscovery.SpringBootSiteCollection
<Extension()>
Public Function GetSpringBootSites (resourceGroupResource As ResourceGroupResource) As SpringBootSiteCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of SpringBootSiteResources and their operations over a SpringBootSiteResource.

Exceptions

resourceGroupResource is null.

Applies to

GetSpringBootSites(SubscriptionResource, CancellationToken)

Source:
SpringAppDiscoveryExtensions.cs

List springbootsites resource by subscription

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

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to