Condividi tramite


ManagedInstancePrivateLinkCollection Class

Definition

A class representing a collection of ManagedInstancePrivateLinkResource and their operations. Each ManagedInstancePrivateLinkResource in the collection will belong to the same instance of ManagedInstanceResource. To get a ManagedInstancePrivateLinkCollection instance call the GetManagedInstancePrivateLinks method from an instance of ManagedInstanceResource.

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

Constructors

ManagedInstancePrivateLinkCollection()

Initializes a new instance of the ManagedInstancePrivateLinkCollection 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.Sql/managedInstances/{managedInstanceName}/privateLinkResources/{groupName}
  • Operation Id: ManagedInstancePrivateLinkResources_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstancePrivateLinkResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/privateLinkResources/{groupName}
  • Operation Id: ManagedInstancePrivateLinkResources_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstancePrivateLinkResource
Get(String, CancellationToken)

Gets a private link resource for SQL server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/privateLinkResources/{groupName}
  • Operation Id: ManagedInstancePrivateLinkResources_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstancePrivateLinkResource
GetAll(CancellationToken)

Gets the private link resources for SQL server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/privateLinkResources
  • Operation Id: ManagedInstancePrivateLinkResources_ListByManagedInstance
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstancePrivateLinkResource
GetAllAsync(CancellationToken)

Gets the private link resources for SQL server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/privateLinkResources
  • Operation Id: ManagedInstancePrivateLinkResources_ListByManagedInstance
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstancePrivateLinkResource
GetAsync(String, CancellationToken)

Gets a private link resource for SQL server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/privateLinkResources/{groupName}
  • Operation Id: ManagedInstancePrivateLinkResources_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstancePrivateLinkResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/privateLinkResources/{groupName}
  • Operation Id: ManagedInstancePrivateLinkResources_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstancePrivateLinkResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/privateLinkResources/{groupName}
  • Operation Id: ManagedInstancePrivateLinkResources_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstancePrivateLinkResource
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<ManagedInstancePrivateLinkResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ManagedInstancePrivateLinkResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to