Share via


PurviewPrivateLinkResourceCollection Class

Definition

A class representing a collection of PurviewPrivateLinkResource and their operations. Each PurviewPrivateLinkResource in the collection will belong to the same instance of PurviewAccountResource. To get a PurviewPrivateLinkResourceCollection instance call the GetPurviewPrivateLinkResources method from an instance of PurviewAccountResource.

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

Constructors

PurviewPrivateLinkResourceCollection()

Initializes a new instance of the PurviewPrivateLinkResourceCollection 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.Purview/accounts/{accountName}/privateLinkResources/{groupId}
  • Operation Id: PrivateLinkResources_GetByGroupId
  • Default Api Version: 2023-05-01-preview
  • Resource: PurviewPrivateLinkResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Purview/accounts/{accountName}/privateLinkResources/{groupId}
  • Operation Id: PrivateLinkResources_GetByGroupId
  • Default Api Version: 2023-05-01-preview
  • Resource: PurviewPrivateLinkResource
Get(String, CancellationToken)

Gets a privately linkable resources for an account with given group identifier

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Purview/accounts/{accountName}/privateLinkResources/{groupId}
  • Operation Id: PrivateLinkResources_GetByGroupId
  • Default Api Version: 2023-05-01-preview
  • Resource: PurviewPrivateLinkResource
GetAll(CancellationToken)

Gets a list of privately linkable resources for an account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Purview/accounts/{accountName}/privateLinkResources
  • Operation Id: PrivateLinkResources_ListByAccount
  • Default Api Version: 2023-05-01-preview
  • Resource: PurviewPrivateLinkResource
GetAllAsync(CancellationToken)

Gets a list of privately linkable resources for an account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Purview/accounts/{accountName}/privateLinkResources
  • Operation Id: PrivateLinkResources_ListByAccount
  • Default Api Version: 2023-05-01-preview
  • Resource: PurviewPrivateLinkResource
GetAsync(String, CancellationToken)

Gets a privately linkable resources for an account with given group identifier

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Purview/accounts/{accountName}/privateLinkResources/{groupId}
  • Operation Id: PrivateLinkResources_GetByGroupId
  • Default Api Version: 2023-05-01-preview
  • Resource: PurviewPrivateLinkResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Purview/accounts/{accountName}/privateLinkResources/{groupId}
  • Operation Id: PrivateLinkResources_GetByGroupId
  • Default Api Version: 2023-05-01-preview
  • Resource: PurviewPrivateLinkResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Purview/accounts/{accountName}/privateLinkResources/{groupId}
  • Operation Id: PrivateLinkResources_GetByGroupId
  • Default Api Version: 2023-05-01-preview
  • Resource: PurviewPrivateLinkResource
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<PurviewPrivateLinkResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<PurviewPrivateLinkResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to