共用方式為


EventHubsSchemaGroupCollection Class

Definition

A class representing a collection of EventHubsSchemaGroupResource and their operations. Each EventHubsSchemaGroupResource in the collection will belong to the same instance of EventHubsNamespaceResource. To get an EventHubsSchemaGroupCollection instance call the GetEventHubsSchemaGroups method from an instance of EventHubsNamespaceResource.

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

Constructors

EventHubsSchemaGroupCollection()

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

Creates or Updates an EventHub schema group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/schemagroups/{schemaGroupName}
  • Operation Id: SchemaRegistry_CreateOrUpdate
  • Default Api Version: 2024-01-01
  • Resource: EventHubsSchemaGroupResource
CreateOrUpdateAsync(WaitUntil, String, EventHubsSchemaGroupData, CancellationToken)

Creates or Updates an EventHub schema group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/schemagroups/{schemaGroupName}
  • Operation Id: SchemaRegistry_CreateOrUpdate
  • Default Api Version: 2024-01-01
  • Resource: EventHubsSchemaGroupResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/schemagroups/{schemaGroupName}
  • Operation Id: SchemaRegistry_Get
  • Default Api Version: 2024-01-01
  • Resource: EventHubsSchemaGroupResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/schemagroups/{schemaGroupName}
  • Operation Id: SchemaRegistry_Get
  • Default Api Version: 2024-01-01
  • Resource: EventHubsSchemaGroupResource
Get(String, CancellationToken)

Gets the details of an EventHub schema group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/schemagroups/{schemaGroupName}
  • Operation Id: SchemaRegistry_Get
  • Default Api Version: 2024-01-01
  • Resource: EventHubsSchemaGroupResource
GetAll(Nullable<Int32>, Nullable<Int32>, CancellationToken)

Gets all the Schema Groups in a Namespace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/schemagroups
  • Operation Id: SchemaRegistry_ListByNamespace
  • Default Api Version: 2024-01-01
  • Resource: EventHubsSchemaGroupResource
GetAllAsync(Nullable<Int32>, Nullable<Int32>, CancellationToken)

Gets all the Schema Groups in a Namespace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/schemagroups
  • Operation Id: SchemaRegistry_ListByNamespace
  • Default Api Version: 2024-01-01
  • Resource: EventHubsSchemaGroupResource
GetAsync(String, CancellationToken)

Gets the details of an EventHub schema group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/schemagroups/{schemaGroupName}
  • Operation Id: SchemaRegistry_Get
  • Default Api Version: 2024-01-01
  • Resource: EventHubsSchemaGroupResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/schemagroups/{schemaGroupName}
  • Operation Id: SchemaRegistry_Get
  • Default Api Version: 2024-01-01
  • Resource: EventHubsSchemaGroupResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/schemagroups/{schemaGroupName}
  • Operation Id: SchemaRegistry_Get
  • Default Api Version: 2024-01-01
  • Resource: EventHubsSchemaGroupResource
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<EventHubsSchemaGroupResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<EventHubsSchemaGroupResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to