다음을 통해 공유


EventGridDomainCollection Class

Definition

A class representing a collection of EventGridDomainResource and their operations. Each EventGridDomainResource in the collection will belong to the same instance of ResourceGroupResource. To get an EventGridDomainCollection instance call the GetEventGridDomains method from an instance of ResourceGroupResource.

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

Constructors

EventGridDomainCollection()

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

Asynchronously creates or updates a new domain with the specified parameters.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}
  • Operation Id: Domains_CreateOrUpdate
  • Default Api Version: 2024-06-01-preview
  • Resource: EventGridDomainResource
CreateOrUpdateAsync(WaitUntil, String, EventGridDomainData, CancellationToken)

Asynchronously creates or updates a new domain with the specified parameters.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}
  • Operation Id: Domains_CreateOrUpdate
  • Default Api Version: 2024-06-01-preview
  • Resource: EventGridDomainResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}
  • Operation Id: Domains_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: EventGridDomainResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}
  • Operation Id: Domains_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: EventGridDomainResource
Get(String, CancellationToken)

Get properties of a domain.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}
  • Operation Id: Domains_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: EventGridDomainResource
GetAll(String, Nullable<Int32>, CancellationToken)

List all the domains under a resource group.

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

List all the domains under a resource group.

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

Get properties of a domain.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}
  • Operation Id: Domains_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: EventGridDomainResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}
  • Operation Id: Domains_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: EventGridDomainResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}
  • Operation Id: Domains_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: EventGridDomainResource
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<EventGridDomainResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<EventGridDomainResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to