SphereExtensions.GetSphereCatalogs Method

Definition

Overloads

GetSphereCatalogs(ResourceGroupResource)

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

GetSphereCatalogs(SubscriptionResource, CancellationToken)

List Catalog resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzureSphere/catalogs
  • Operation Id: Catalogs_ListBySubscription
  • Default Api Version: 2024-04-01
  • Resource: SphereCatalogResource

GetSphereCatalogs(ResourceGroupResource)

Source:
SphereExtensions.cs
Source:
SphereExtensions.cs

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

public static Azure.ResourceManager.Sphere.SphereCatalogCollection GetSphereCatalogs (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetSphereCatalogs : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Sphere.SphereCatalogCollection
<Extension()>
Public Function GetSphereCatalogs (resourceGroupResource As ResourceGroupResource) As SphereCatalogCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of SphereCatalogResources and their operations over a SphereCatalogResource.

Exceptions

resourceGroupResource is null.

Applies to

GetSphereCatalogs(SubscriptionResource, CancellationToken)

Source:
SphereExtensions.cs
Source:
SphereExtensions.cs

List Catalog resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzureSphere/catalogs
  • Operation Id: Catalogs_ListBySubscription
  • Default Api Version: 2024-04-01
  • Resource: SphereCatalogResource
public static Azure.Pageable<Azure.ResourceManager.Sphere.SphereCatalogResource> GetSphereCatalogs (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetSphereCatalogs : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sphere.SphereCatalogResource>
<Extension()>
Public Function GetSphereCatalogs (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SphereCatalogResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to