共用方式為


PartnerNamespacePrivateLinkResourceCollection Class

Definition

A class representing a collection of PartnerNamespacePrivateLinkResource and their operations. Each PartnerNamespacePrivateLinkResource in the collection will belong to the same instance of PartnerNamespaceResource. To get a PartnerNamespacePrivateLinkResourceCollection instance call the GetPartnerNamespacePrivateLinkResources method from an instance of PartnerNamespaceResource.

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

Constructors

PartnerNamespacePrivateLinkResourceCollection()

Initializes a new instance of the PartnerNamespacePrivateLinkResourceCollection 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: PartnerNamespacePrivateLinkResource
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: PartnerNamespacePrivateLinkResource
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: PartnerNamespacePrivateLinkResource
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: PartnerNamespacePrivateLinkResource
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: PartnerNamespacePrivateLinkResource
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: PartnerNamespacePrivateLinkResource
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: PartnerNamespacePrivateLinkResource
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: PartnerNamespacePrivateLinkResource
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<PartnerNamespacePrivateLinkResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<PartnerNamespacePrivateLinkResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to