Share via


EventGridNamespaceClientCollection Class

Definition

A class representing a collection of EventGridNamespaceClientResource and their operations. Each EventGridNamespaceClientResource in the collection will belong to the same instance of EventGridNamespaceResource. To get an EventGridNamespaceClientCollection instance call the GetEventGridNamespaceClients method from an instance of EventGridNamespaceResource.

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

Constructors

EventGridNamespaceClientCollection()

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

Create or update a client with the specified parameters.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/namespaces/{namespaceName}/clients/{clientName}
  • Operation Id: Clients_CreateOrUpdate
  • Default Api Version: 2024-06-01-preview
  • Resource: EventGridNamespaceClientResource
CreateOrUpdateAsync(WaitUntil, String, EventGridNamespaceClientData, CancellationToken)

Create or update a client with the specified parameters.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/namespaces/{namespaceName}/clients/{clientName}
  • Operation Id: Clients_CreateOrUpdate
  • Default Api Version: 2024-06-01-preview
  • Resource: EventGridNamespaceClientResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/namespaces/{namespaceName}/clients/{clientName}
  • Operation Id: Clients_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: EventGridNamespaceClientResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/namespaces/{namespaceName}/clients/{clientName}
  • Operation Id: Clients_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: EventGridNamespaceClientResource
Get(String, CancellationToken)

Get properties of a client.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/namespaces/{namespaceName}/clients/{clientName}
  • Operation Id: Clients_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: EventGridNamespaceClientResource
GetAll(String, Nullable<Int32>, CancellationToken)

Get all the permission bindings under a namespace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/namespaces/{namespaceName}/clients
  • Operation Id: Clients_ListByNamespace
  • Default Api Version: 2024-06-01-preview
  • Resource: EventGridNamespaceClientResource
GetAllAsync(String, Nullable<Int32>, CancellationToken)

Get all the permission bindings under a namespace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/namespaces/{namespaceName}/clients
  • Operation Id: Clients_ListByNamespace
  • Default Api Version: 2024-06-01-preview
  • Resource: EventGridNamespaceClientResource
GetAsync(String, CancellationToken)

Get properties of a client.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/namespaces/{namespaceName}/clients/{clientName}
  • Operation Id: Clients_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: EventGridNamespaceClientResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/namespaces/{namespaceName}/clients/{clientName}
  • Operation Id: Clients_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: EventGridNamespaceClientResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/namespaces/{namespaceName}/clients/{clientName}
  • Operation Id: Clients_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: EventGridNamespaceClientResource
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<EventGridNamespaceClientResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<EventGridNamespaceClientResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to