다음을 통해 공유


SystemTopicCollection Class

Definition

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

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

Constructors

SystemTopicCollection()

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

Asynchronously creates a new system topic with the specified parameters.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}
  • Operation Id: SystemTopics_CreateOrUpdate
  • Default Api Version: 2024-06-01-preview
  • Resource: SystemTopicResource
CreateOrUpdateAsync(WaitUntil, String, SystemTopicData, CancellationToken)

Asynchronously creates a new system topic with the specified parameters.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Get properties of a system topic.

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

List all the system topics under a resource group.

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

List all the system topics under a resource group.

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

Get properties of a system topic.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SystemTopicResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to