Dela via


SignalRCollection Class

Definition

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

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

Constructors

SignalRCollection()

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

Create or update a resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}
  • Operation Id: SignalR_CreateOrUpdate
  • Default Api Version: 2022-02-01
  • Resource: SignalRResource
CreateOrUpdateAsync(WaitUntil, String, SignalRData, CancellationToken)

Create or update a resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}
  • Operation Id: SignalR_CreateOrUpdate
  • Default Api Version: 2022-02-01
  • Resource: SignalRResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}
  • Operation Id: SignalR_Get
  • Default Api Version: 2022-02-01
  • Resource: SignalRResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}
  • Operation Id: SignalR_Get
  • Default Api Version: 2022-02-01
  • Resource: SignalRResource
Get(String, CancellationToken)

Get the resource and its properties.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}
  • Operation Id: SignalR_Get
  • Default Api Version: 2022-02-01
  • Resource: SignalRResource
GetAll(CancellationToken)

Handles requests to list all resources in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR
  • Operation Id: SignalR_ListByResourceGroup
  • Default Api Version: 2022-02-01
  • Resource: SignalRResource
GetAllAsync(CancellationToken)

Handles requests to list all resources in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR
  • Operation Id: SignalR_ListByResourceGroup
  • Default Api Version: 2022-02-01
  • Resource: SignalRResource
GetAsync(String, CancellationToken)

Get the resource and its properties.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}
  • Operation Id: SignalR_Get
  • Default Api Version: 2022-02-01
  • Resource: SignalRResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}
  • Operation Id: SignalR_Get
  • Default Api Version: 2022-02-01
  • Resource: SignalRResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}
  • Operation Id: SignalR_Get
  • Default Api Version: 2022-02-01
  • Resource: SignalRResource
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<SignalRResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SignalRResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to