Share via


SphereDeviceGroupCollection Class

Definition

A class representing a collection of SphereDeviceGroupResource and their operations. Each SphereDeviceGroupResource in the collection will belong to the same instance of SphereProductResource. To get a SphereDeviceGroupCollection instance call the GetSphereDeviceGroups method from an instance of SphereProductResource.

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

Constructors

SphereDeviceGroupCollection()

Initializes a new instance of the SphereDeviceGroupCollection 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, SphereDeviceGroupData, CancellationToken)

Create a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}
  • Operation Id: DeviceGroups_CreateOrUpdate
  • Default Api Version: 2024-04-01
  • Resource: SphereDeviceGroupResource
CreateOrUpdateAsync(WaitUntil, String, SphereDeviceGroupData, CancellationToken)

Create a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Get a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}
  • Operation Id: DeviceGroups_Get
  • Default Api Version: 2024-04-01
  • Resource: SphereDeviceGroupResource
GetAll(String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, CancellationToken)

List DeviceGroup resources by Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups
  • Operation Id: DeviceGroups_ListByProduct
  • Default Api Version: 2024-04-01
  • Resource: SphereDeviceGroupResource
GetAllAsync(String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, CancellationToken)

List DeviceGroup resources by Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.

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

Get a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}
  • Operation Id: DeviceGroups_Get
  • Default Api Version: 2024-04-01
  • Resource: SphereDeviceGroupResource
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<SphereDeviceGroupResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SphereDeviceGroupResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to