Udostępnij za pośrednictwem


ServiceBusQueueAuthorizationRuleCollection Class

Definition

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

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

Constructors

ServiceBusQueueAuthorizationRuleCollection()

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

Creates an authorization rule for a queue.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}/authorizationRules/{authorizationRuleName}
  • Operation Id: QueueAuthorizationRules_CreateOrUpdate
  • Default Api Version: 2022-10-01-preview
  • Resource: ServiceBusQueueAuthorizationRuleResource
CreateOrUpdateAsync(WaitUntil, String, ServiceBusAuthorizationRuleData, CancellationToken)

Creates an authorization rule for a queue.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}/authorizationRules/{authorizationRuleName}
  • Operation Id: QueueAuthorizationRules_CreateOrUpdate
  • Default Api Version: 2022-10-01-preview
  • Resource: ServiceBusQueueAuthorizationRuleResource
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}/authorizationRules/{authorizationRuleName}
  • Operation Id: QueueAuthorizationRules_Get
  • Default Api Version: 2022-10-01-preview
  • Resource: ServiceBusQueueAuthorizationRuleResource
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}/authorizationRules/{authorizationRuleName}
  • Operation Id: QueueAuthorizationRules_Get
  • Default Api Version: 2022-10-01-preview
  • Resource: ServiceBusQueueAuthorizationRuleResource
Get(String, CancellationToken)

Gets an authorization rule for a queue by rule name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}/authorizationRules/{authorizationRuleName}
  • Operation Id: QueueAuthorizationRules_Get
  • Default Api Version: 2022-10-01-preview
  • Resource: ServiceBusQueueAuthorizationRuleResource
GetAll(CancellationToken)

Gets all authorization rules for a queue.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}/authorizationRules
  • Operation Id: QueueAuthorizationRules_List
  • Default Api Version: 2022-10-01-preview
  • Resource: ServiceBusQueueAuthorizationRuleResource
GetAllAsync(CancellationToken)

Gets all authorization rules for a queue.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}/authorizationRules
  • Operation Id: QueueAuthorizationRules_List
  • Default Api Version: 2022-10-01-preview
  • Resource: ServiceBusQueueAuthorizationRuleResource
GetAsync(String, CancellationToken)

Gets an authorization rule for a queue by rule name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}/authorizationRules/{authorizationRuleName}
  • Operation Id: QueueAuthorizationRules_Get
  • Default Api Version: 2022-10-01-preview
  • Resource: ServiceBusQueueAuthorizationRuleResource
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}/authorizationRules/{authorizationRuleName}
  • Operation Id: QueueAuthorizationRules_Get
  • Default Api Version: 2022-10-01-preview
  • Resource: ServiceBusQueueAuthorizationRuleResource
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}/authorizationRules/{authorizationRuleName}
  • Operation Id: QueueAuthorizationRules_Get
  • Default Api Version: 2022-10-01-preview
  • Resource: ServiceBusQueueAuthorizationRuleResource
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<ServiceBusQueueAuthorizationRuleResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ServiceBusQueueAuthorizationRuleResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to