Share via


SphereExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.Sphere.

public static class SphereExtensions
type SphereExtensions = class
Public Module SphereExtensions
Inheritance
SphereExtensions

Methods

GetSphereCatalog(ResourceGroupResource, 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
GetSphereCatalogAsync(ResourceGroupResource, 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
GetSphereCatalogResource(ArmClient, ResourceIdentifier)

Gets an object representing a SphereCatalogResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a SphereCatalogResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSphereCatalogResource(ResourceIdentifier) instead.

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
GetSphereCatalogsAsync(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
GetSphereCertificateResource(ArmClient, ResourceIdentifier)

Gets an object representing a SphereCertificateResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a SphereCertificateResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSphereCertificateResource(ResourceIdentifier) instead.

GetSphereDeploymentResource(ArmClient, ResourceIdentifier)

Gets an object representing a SphereDeploymentResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String, String) to create a SphereDeploymentResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSphereDeploymentResource(ResourceIdentifier) instead.

GetSphereDeviceGroupResource(ArmClient, ResourceIdentifier)

Gets an object representing a SphereDeviceGroupResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a SphereDeviceGroupResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSphereDeviceGroupResource(ResourceIdentifier) instead.

GetSphereDeviceResource(ArmClient, ResourceIdentifier)

Gets an object representing a SphereDeviceResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String, String) to create a SphereDeviceResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSphereDeviceResource(ResourceIdentifier) instead.

GetSphereImageResource(ArmClient, ResourceIdentifier)

Gets an object representing a SphereImageResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a SphereImageResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSphereImageResource(ResourceIdentifier) instead.

GetSphereProductResource(ArmClient, ResourceIdentifier)

Gets an object representing a SphereProductResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a SphereProductResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSphereProductResource(ResourceIdentifier) instead.

Applies to