共用方式為


PostgreSqlFlexibleServersPrivateLinkResourceCollection Class

Definition

A class representing a collection of PostgreSqlFlexibleServersPrivateLinkResource and their operations. Each PostgreSqlFlexibleServersPrivateLinkResource in the collection will belong to the same instance of PostgreSqlFlexibleServerResource. To get a PostgreSqlFlexibleServersPrivateLinkResourceCollection instance call the GetPostgreSqlFlexibleServersPrivateLinkResources method from an instance of PostgreSqlFlexibleServerResource.

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

Constructors

PostgreSqlFlexibleServersPrivateLinkResourceCollection()

Initializes a new instance of the PostgreSqlFlexibleServersPrivateLinkResourceCollection 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/flexibleServers/{serverName}/privateLinkResources/{groupName}
  • Operation Id: PrivateLinkResources_Get
  • Default Api Version: 2024-08-01
  • Resource: PostgreSqlFlexibleServersPrivateLinkResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

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

Gets a private link resource for PostgreSQL server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/privateLinkResources/{groupName}
  • Operation Id: PrivateLinkResources_Get
  • Default Api Version: 2024-08-01
  • Resource: PostgreSqlFlexibleServersPrivateLinkResource
GetAll(CancellationToken)

Gets the private link resources for PostgreSQL server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/privateLinkResources
  • Operation Id: PrivateLinkResources_ListByServer
  • Default Api Version: 2024-08-01
  • Resource: PostgreSqlFlexibleServersPrivateLinkResource
GetAllAsync(CancellationToken)

Gets the private link resources for PostgreSQL server.

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

Gets a private link resource for PostgreSQL server.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<PostgreSqlFlexibleServersPrivateLinkResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to