共用方式為


ServiceBusQueueCollection Class

Definition

A class representing a collection of ServiceBusQueueResource and their operations. Each ServiceBusQueueResource in the collection will belong to the same instance of ServiceBusNamespaceResource. To get a ServiceBusQueueCollection instance call the GetServiceBusQueues method from an instance of ServiceBusNamespaceResource.

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

Constructors

ServiceBusQueueCollection()

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

Creates or updates a Service Bus queue. This operation is idempotent.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}
  • Operation Id: Queues_CreateOrUpdate
  • Default Api Version: 2024-01-01
  • Resource: ServiceBusQueueResource
CreateOrUpdateAsync(WaitUntil, String, ServiceBusQueueData, CancellationToken)

Creates or updates a Service Bus queue. This operation is idempotent.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}
  • Operation Id: Queues_CreateOrUpdate
  • Default Api Version: 2024-01-01
  • Resource: ServiceBusQueueResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}
  • Operation Id: Queues_Get
  • Default Api Version: 2024-01-01
  • Resource: ServiceBusQueueResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}
  • Operation Id: Queues_Get
  • Default Api Version: 2024-01-01
  • Resource: ServiceBusQueueResource
Get(String, CancellationToken)

Returns a description for the specified queue.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}
  • Operation Id: Queues_Get
  • Default Api Version: 2024-01-01
  • Resource: ServiceBusQueueResource
GetAll(Nullable<Int32>, Nullable<Int32>, CancellationToken)

Gets the queues within a namespace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues
  • Operation Id: Queues_ListByNamespace
  • Default Api Version: 2024-01-01
  • Resource: ServiceBusQueueResource
GetAllAsync(Nullable<Int32>, Nullable<Int32>, CancellationToken)

Gets the queues within a namespace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues
  • Operation Id: Queues_ListByNamespace
  • Default Api Version: 2024-01-01
  • Resource: ServiceBusQueueResource
GetAsync(String, CancellationToken)

Returns a description for the specified queue.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}
  • Operation Id: Queues_Get
  • Default Api Version: 2024-01-01
  • Resource: ServiceBusQueueResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}
  • Operation Id: Queues_Get
  • Default Api Version: 2024-01-01
  • Resource: ServiceBusQueueResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}
  • Operation Id: Queues_Get
  • Default Api Version: 2024-01-01
  • Resource: ServiceBusQueueResource
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<ServiceBusQueueResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ServiceBusQueueResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to