Aracılığıyla paylaş


ServiceBusTopicAuthorizationRuleCollection Class

Definition

A class representing a collection of ServiceBusTopicAuthorizationRuleResource and their operations. Each ServiceBusTopicAuthorizationRuleResource in the collection will belong to the same instance of ServiceBusTopicResource. To get a ServiceBusTopicAuthorizationRuleCollection instance call the GetServiceBusTopicAuthorizationRules method from an instance of ServiceBusTopicResource.

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

Constructors

ServiceBusTopicAuthorizationRuleCollection()

Initializes a new instance of the ServiceBusTopicAuthorizationRuleCollection 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 the specified topic.

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

Creates an authorization rule for the specified topic.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/authorizationRules/{authorizationRuleName}
  • Operation Id: TopicAuthorizationRules_CreateOrUpdate
  • Default Api Version: 2022-10-01-preview
  • Resource: ServiceBusTopicAuthorizationRuleResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/authorizationRules/{authorizationRuleName}
  • Operation Id: TopicAuthorizationRules_Get
  • Default Api Version: 2022-10-01-preview
  • Resource: ServiceBusTopicAuthorizationRuleResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/authorizationRules/{authorizationRuleName}
  • Operation Id: TopicAuthorizationRules_Get
  • Default Api Version: 2022-10-01-preview
  • Resource: ServiceBusTopicAuthorizationRuleResource
Get(String, CancellationToken)

Returns the specified authorization rule.

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

Gets authorization rules for a topic.

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

Gets authorization rules for a topic.

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

Returns the specified authorization rule.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/authorizationRules/{authorizationRuleName}
  • Operation Id: TopicAuthorizationRules_Get
  • Default Api Version: 2022-10-01-preview
  • Resource: ServiceBusTopicAuthorizationRuleResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/authorizationRules/{authorizationRuleName}
  • Operation Id: TopicAuthorizationRules_Get
  • Default Api Version: 2022-10-01-preview
  • Resource: ServiceBusTopicAuthorizationRuleResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ServiceBusTopicAuthorizationRuleResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to