다음을 통해 공유


PartnerTopicCollection Class

Definition

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

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

Constructors

PartnerTopicCollection()

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

Asynchronously creates a new partner topic with the specified parameters.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerTopics/{partnerTopicName}
  • Operation Id: PartnerTopics_CreateOrUpdate
  • Default Api Version: 2024-06-01-preview
  • Resource: PartnerTopicResource
CreateOrUpdateAsync(WaitUntil, String, PartnerTopicData, CancellationToken)

Asynchronously creates a new partner topic with the specified parameters.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Get properties of a partner topic.

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

List all the partner topics under a resource group.

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

List all the partner topics under a resource group.

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

Get properties of a partner topic.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<PartnerTopicResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to