Sdílet prostřednictvím


StorageQueueCollection Class

Definition

A class representing a collection of StorageQueueResource and their operations. Each StorageQueueResource in the collection will belong to the same instance of QueueServiceResource. To get a StorageQueueCollection instance call the GetStorageQueues method from an instance of QueueServiceResource.

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

Constructors

StorageQueueCollection()

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

Creates a new queue with the specified queue name, under the specified account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}
  • Operation Id: Queue_Create
  • Default Api Version: 2023-05-01
  • Resource: StorageQueueResource
CreateOrUpdateAsync(WaitUntil, String, StorageQueueData, CancellationToken)

Creates a new queue with the specified queue name, under the specified account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}
  • Operation Id: Queue_Create
  • Default Api Version: 2023-05-01
  • Resource: StorageQueueResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}
  • Operation Id: Queue_Get
  • Default Api Version: 2023-05-01
  • Resource: StorageQueueResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}
  • Operation Id: Queue_Get
  • Default Api Version: 2023-05-01
  • Resource: StorageQueueResource
Get(String, CancellationToken)

Gets the queue with the specified queue name, under the specified account if it exists.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}
  • Operation Id: Queue_Get
  • Default Api Version: 2023-05-01
  • Resource: StorageQueueResource
GetAll(Nullable<Int32>, String, CancellationToken)

Gets a list of all the queues under the specified storage account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues
  • Operation Id: Queue_List
  • Default Api Version: 2023-05-01
  • Resource: StorageQueueResource
GetAll(String, String, CancellationToken)

Gets a list of all the queues under the specified storage account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues
  • Operation Id: Queue_List
  • Default Api Version: 2022-09-01
  • Resource: StorageQueueResource
GetAllAsync(Nullable<Int32>, String, CancellationToken)

Gets a list of all the queues under the specified storage account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues
  • Operation Id: Queue_List
  • Default Api Version: 2023-05-01
  • Resource: StorageQueueResource
GetAllAsync(String, String, CancellationToken)

Gets a list of all the queues under the specified storage account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues
  • Operation Id: Queue_List
  • Default Api Version: 2022-09-01
  • Resource: StorageQueueResource
GetAsync(String, CancellationToken)

Gets the queue with the specified queue name, under the specified account if it exists.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}
  • Operation Id: Queue_Get
  • Default Api Version: 2023-05-01
  • Resource: StorageQueueResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}
  • Operation Id: Queue_Get
  • Default Api Version: 2023-05-01
  • Resource: StorageQueueResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}
  • Operation Id: Queue_Get
  • Default Api Version: 2023-05-01
  • Resource: StorageQueueResource
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<StorageQueueResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<StorageQueueResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to