共用方式為


HDInsightPrivateLinkResourceCollection Class

Definition

A class representing a collection of HDInsightPrivateLinkResource and their operations. Each HDInsightPrivateLinkResource in the collection will belong to the same instance of HDInsightClusterResource. To get a HDInsightPrivateLinkResourceCollection instance call the GetHDInsightPrivateLinkResources method from an instance of HDInsightClusterResource.

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

Constructors

HDInsightPrivateLinkResourceCollection()

Initializes a new instance of the HDInsightPrivateLinkResourceCollection 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.HDInsight/clusters/{clusterName}/privateLinkResources/{privateLinkResourceName}
  • Operation Id: PrivateLinkResources_Get
  • Default Api Version: 2024-08-01-preview
  • Resource: HDInsightPrivateLinkResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/privateLinkResources/{privateLinkResourceName}
  • Operation Id: PrivateLinkResources_Get
  • Default Api Version: 2024-08-01-preview
  • Resource: HDInsightPrivateLinkResource
Get(String, CancellationToken)

Gets the specific private link resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/privateLinkResources/{privateLinkResourceName}
  • Operation Id: PrivateLinkResources_Get
  • Default Api Version: 2024-08-01-preview
  • Resource: HDInsightPrivateLinkResource
GetAll(CancellationToken)

Lists the private link resources in a HDInsight cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/privateLinkResources
  • Operation Id: PrivateLinkResources_ListByCluster
  • Default Api Version: 2024-08-01-preview
  • Resource: HDInsightPrivateLinkResource
GetAllAsync(CancellationToken)

Lists the private link resources in a HDInsight cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/privateLinkResources
  • Operation Id: PrivateLinkResources_ListByCluster
  • Default Api Version: 2024-08-01-preview
  • Resource: HDInsightPrivateLinkResource
GetAsync(String, CancellationToken)

Gets the specific private link resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/privateLinkResources/{privateLinkResourceName}
  • Operation Id: PrivateLinkResources_Get
  • Default Api Version: 2024-08-01-preview
  • Resource: HDInsightPrivateLinkResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/privateLinkResources/{privateLinkResourceName}
  • Operation Id: PrivateLinkResources_Get
  • Default Api Version: 2024-08-01-preview
  • Resource: HDInsightPrivateLinkResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/privateLinkResources/{privateLinkResourceName}
  • Operation Id: PrivateLinkResources_Get
  • Default Api Version: 2024-08-01-preview
  • Resource: HDInsightPrivateLinkResource
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<HDInsightPrivateLinkResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<HDInsightPrivateLinkResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to