共用方式為


WcfRelayAuthorizationRuleCollection Class

Definition

A class representing a collection of WcfRelayAuthorizationRuleResource and their operations. Each WcfRelayAuthorizationRuleResource in the collection will belong to the same instance of WcfRelayResource. To get a WcfRelayAuthorizationRuleCollection instance call the GetWcfRelayAuthorizationRules method from an instance of WcfRelayResource.

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

Constructors

WcfRelayAuthorizationRuleCollection()

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

Creates or updates an authorization rule for a WCF relay.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules/{authorizationRuleName}
  • Operation Id: WCFRelays_CreateOrUpdateAuthorizationRule
CreateOrUpdateAsync(WaitUntil, String, RelayAuthorizationRuleData, CancellationToken)

Creates or updates an authorization rule for a WCF relay.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules/{authorizationRuleName}
  • Operation Id: WCFRelays_CreateOrUpdateAuthorizationRule
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules/{authorizationRuleName}
  • Operation Id: WCFRelays_GetAuthorizationRule
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules/{authorizationRuleName}
  • Operation Id: WCFRelays_GetAuthorizationRule
Get(String, CancellationToken)

Get authorizationRule for a WCF relay by name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules/{authorizationRuleName}
  • Operation Id: WCFRelays_GetAuthorizationRule
GetAll(CancellationToken)

Authorization rules for a WCF relay.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules
  • Operation Id: WCFRelays_ListAuthorizationRules
GetAllAsync(CancellationToken)

Authorization rules for a WCF relay.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules
  • Operation Id: WCFRelays_ListAuthorizationRules
GetAsync(String, CancellationToken)

Get authorizationRule for a WCF relay by name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules/{authorizationRuleName}
  • Operation Id: WCFRelays_GetAuthorizationRule
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules/{authorizationRuleName}
  • Operation Id: WCFRelays_GetAuthorizationRule
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules/{authorizationRuleName}
  • Operation Id: WCFRelays_GetAuthorizationRule
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<WcfRelayAuthorizationRuleResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<WcfRelayAuthorizationRuleResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to