Udostępnij za pośrednictwem


ServiceBusDisasterRecoveryAuthorizationRuleCollection Class

Definition

A class representing a collection of ServiceBusDisasterRecoveryAuthorizationRuleResource and their operations. Each ServiceBusDisasterRecoveryAuthorizationRuleResource in the collection will belong to the same instance of ServiceBusDisasterRecoveryResource. To get a ServiceBusDisasterRecoveryAuthorizationRuleCollection instance call the GetServiceBusDisasterRecoveryAuthorizationRules method from an instance of ServiceBusDisasterRecoveryResource.

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

Constructors

ServiceBusDisasterRecoveryAuthorizationRuleCollection()

Initializes a new instance of the ServiceBusDisasterRecoveryAuthorizationRuleCollection 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

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Gets an authorization rule for a namespace by rule name.

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

Gets the authorization rules for a namespace.

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

Gets the authorization rules for a namespace.

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

Gets an authorization rule for a namespace by rule name.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ServiceBusDisasterRecoveryAuthorizationRuleResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to