Share via


PostgreSqlPrivateEndpointConnectionCollection Class

Definition

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

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

Constructors

PostgreSqlPrivateEndpointConnectionCollection()

Initializes a new instance of the PostgreSqlPrivateEndpointConnectionCollection 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

CreateOrUpdate(WaitUntil, String, PostgreSqlPrivateEndpointConnectionData, CancellationToken)

Approve or reject a private endpoint connection with a given name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_CreateOrUpdate
  • Default Api Version: 2018-06-01
  • Resource: PostgreSqlPrivateEndpointConnectionResource
CreateOrUpdateAsync(WaitUntil, String, PostgreSqlPrivateEndpointConnectionData, CancellationToken)

Approve or reject a private endpoint connection with a given name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_CreateOrUpdate
  • Default Api Version: 2018-06-01
  • Resource: PostgreSqlPrivateEndpointConnectionResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2018-06-01
  • Resource: PostgreSqlPrivateEndpointConnectionResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

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

Gets a private endpoint connection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2018-06-01
  • Resource: PostgreSqlPrivateEndpointConnectionResource
GetAll(CancellationToken)

Gets all private endpoint connections on a server.

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

Gets all private endpoint connections on a server.

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

Gets a private endpoint connection.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<PostgreSqlPrivateEndpointConnectionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to