Share via


PostgreSqlPrivateLinkResourceCollection Class

Definition

A class representing a collection of PostgreSqlPrivateLinkResource and their operations. Each PostgreSqlPrivateLinkResource in the collection will belong to the same instance of PostgreSqlServerResource. To get a PostgreSqlPrivateLinkResourceCollection instance call the GetPostgreSqlPrivateLinkResources method from an instance of PostgreSqlServerResource.

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

Constructors

PostgreSqlPrivateLinkResourceCollection()

Initializes a new instance of the PostgreSqlPrivateLinkResourceCollection 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.DBforPostgreSQL/servers/{serverName}/privateLinkResources/{groupName}
  • Operation Id: PrivateLinkResources_Get
  • Default Api Version: 2018-06-01
  • Resource: PostgreSqlPrivateLinkResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/privateLinkResources/{groupName}
  • Operation Id: PrivateLinkResources_Get
  • Default Api Version: 2018-06-01
  • Resource: PostgreSqlPrivateLinkResource
Get(String, CancellationToken)

Gets a private link resource for PostgreSQL server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/privateLinkResources/{groupName}
  • Operation Id: PrivateLinkResources_Get
  • Default Api Version: 2018-06-01
  • Resource: PostgreSqlPrivateLinkResource
GetAll(CancellationToken)

Gets the private link resources for PostgreSQL server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/privateLinkResources
  • Operation Id: PrivateLinkResources_ListByServer
  • Default Api Version: 2018-06-01
  • Resource: PostgreSqlPrivateLinkResource
GetAllAsync(CancellationToken)

Gets the private link resources for PostgreSQL server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/privateLinkResources
  • Operation Id: PrivateLinkResources_ListByServer
  • Default Api Version: 2018-06-01
  • Resource: PostgreSqlPrivateLinkResource
GetAsync(String, CancellationToken)

Gets a private link resource for PostgreSQL server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/privateLinkResources/{groupName}
  • Operation Id: PrivateLinkResources_Get
  • Default Api Version: 2018-06-01
  • Resource: PostgreSqlPrivateLinkResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/privateLinkResources/{groupName}
  • Operation Id: PrivateLinkResources_Get
  • Default Api Version: 2018-06-01
  • Resource: PostgreSqlPrivateLinkResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/privateLinkResources/{groupName}
  • Operation Id: PrivateLinkResources_Get
  • Default Api Version: 2018-06-01
  • Resource: PostgreSqlPrivateLinkResource
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<PostgreSqlPrivateLinkResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<PostgreSqlPrivateLinkResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to