Udostępnij za pośrednictwem


EventGridTopicPrivateLinkResourceCollection Class

Definition

A class representing a collection of EventGridTopicPrivateLinkResource and their operations. Each EventGridTopicPrivateLinkResource in the collection will belong to the same instance of EventGridTopicResource. To get an EventGridTopicPrivateLinkResourceCollection instance call the GetEventGridTopicPrivateLinkResources method from an instance of EventGridTopicResource.

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

Constructors

EventGridTopicPrivateLinkResourceCollection()

Initializes a new instance of the EventGridTopicPrivateLinkResourceCollection 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

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateLinkResources/{privateLinkResourceName}
  • Operation Id: PrivateLinkResources_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: EventGridTopicPrivateLinkResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateLinkResources/{privateLinkResourceName}
  • Operation Id: PrivateLinkResources_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: EventGridTopicPrivateLinkResource
Get(String, CancellationToken)

Get properties of a private link resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateLinkResources/{privateLinkResourceName}
  • Operation Id: PrivateLinkResources_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: EventGridTopicPrivateLinkResource
GetAll(String, Nullable<Int32>, CancellationToken)

List all the private link resources under a topic, domain, or partner namespace or namespace.

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

List all the private link resources under a topic, domain, or partner namespace or namespace.

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

Get properties of a private link resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateLinkResources/{privateLinkResourceName}
  • Operation Id: PrivateLinkResources_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: EventGridTopicPrivateLinkResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateLinkResources/{privateLinkResourceName}
  • Operation Id: PrivateLinkResources_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: EventGridTopicPrivateLinkResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateLinkResources/{privateLinkResourceName}
  • Operation Id: PrivateLinkResources_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: EventGridTopicPrivateLinkResource
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<EventGridTopicPrivateLinkResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<EventGridTopicPrivateLinkResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to