Partilhar via


SphereCatalogCollection Class

Definition

A class representing a collection of SphereCatalogResource and their operations. Each SphereCatalogResource in the collection will belong to the same instance of ResourceGroupResource. To get a SphereCatalogCollection instance call the GetSphereCatalogs method from an instance of ResourceGroupResource.

public class SphereCatalogCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Sphere.SphereCatalogResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sphere.SphereCatalogResource>
type SphereCatalogCollection = class
    inherit ArmCollection
    interface seq<SphereCatalogResource>
    interface IEnumerable
    interface IAsyncEnumerable<SphereCatalogResource>
Public Class SphereCatalogCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of SphereCatalogResource), IEnumerable(Of SphereCatalogResource)
Inheritance
SphereCatalogCollection
Implements

Constructors

SphereCatalogCollection()

Initializes a new instance of the SphereCatalogCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, SphereCatalogData, CancellationToken)

Create a Catalog

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}
  • Operation Id: Catalogs_CreateOrUpdate
  • Default Api Version: 2024-04-01
  • Resource: SphereCatalogResource
CreateOrUpdateAsync(WaitUntil, String, SphereCatalogData, CancellationToken)

Create a Catalog

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}
  • Operation Id: Catalogs_CreateOrUpdate
  • Default Api Version: 2024-04-01
  • Resource: SphereCatalogResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}
  • Operation Id: Catalogs_Get
  • Default Api Version: 2024-04-01
  • Resource: SphereCatalogResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}
  • Operation Id: Catalogs_Get
  • Default Api Version: 2024-04-01
  • Resource: SphereCatalogResource
Get(String, CancellationToken)

Get a Catalog

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}
  • Operation Id: Catalogs_Get
  • Default Api Version: 2024-04-01
  • Resource: SphereCatalogResource
GetAll(CancellationToken)

List Catalog resources by resource group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs
  • Operation Id: Catalogs_ListByResourceGroup
  • Default Api Version: 2024-04-01
  • Resource: SphereCatalogResource
GetAllAsync(CancellationToken)

List Catalog resources by resource group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs
  • Operation Id: Catalogs_ListByResourceGroup
  • Default Api Version: 2024-04-01
  • Resource: SphereCatalogResource
GetAsync(String, CancellationToken)

Get a Catalog

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}
  • Operation Id: Catalogs_Get
  • Default Api Version: 2024-04-01
  • Resource: SphereCatalogResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}
  • Operation Id: Catalogs_Get
  • Default Api Version: 2024-04-01
  • Resource: SphereCatalogResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}
  • Operation Id: Catalogs_Get
  • Default Api Version: 2024-04-01
  • Resource: SphereCatalogResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<SphereCatalogResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SphereCatalogResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to