共用方式為


PostgreSqlConfigurationCollection Class

Definition

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

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

Constructors

PostgreSqlConfigurationCollection()

Initializes a new instance of the PostgreSqlConfigurationCollection 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, PostgreSqlConfigurationData, CancellationToken)

Updates a configuration of a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/configurations/{configurationName}
  • Operation Id: Configurations_CreateOrUpdate
  • Default Api Version: 2017-12-01
  • Resource: PostgreSqlConfigurationResource
CreateOrUpdateAsync(WaitUntil, String, PostgreSqlConfigurationData, CancellationToken)

Updates a configuration of a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/configurations/{configurationName}
  • Operation Id: Configurations_CreateOrUpdate
  • Default Api Version: 2017-12-01
  • Resource: PostgreSqlConfigurationResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/configurations/{configurationName}
  • Operation Id: Configurations_Get
  • Default Api Version: 2017-12-01
  • Resource: PostgreSqlConfigurationResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/configurations/{configurationName}
  • Operation Id: Configurations_Get
  • Default Api Version: 2017-12-01
  • Resource: PostgreSqlConfigurationResource
Get(String, CancellationToken)

Gets information about a configuration of server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/configurations/{configurationName}
  • Operation Id: Configurations_Get
  • Default Api Version: 2017-12-01
  • Resource: PostgreSqlConfigurationResource
GetAll(CancellationToken)

List all the configurations in a given server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/configurations
  • Operation Id: Configurations_ListByServer
  • Default Api Version: 2017-12-01
  • Resource: PostgreSqlConfigurationResource
GetAllAsync(CancellationToken)

List all the configurations in a given server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/configurations
  • Operation Id: Configurations_ListByServer
  • Default Api Version: 2017-12-01
  • Resource: PostgreSqlConfigurationResource
GetAsync(String, CancellationToken)

Gets information about a configuration of server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/configurations/{configurationName}
  • Operation Id: Configurations_Get
  • Default Api Version: 2017-12-01
  • Resource: PostgreSqlConfigurationResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/configurations/{configurationName}
  • Operation Id: Configurations_Get
  • Default Api Version: 2017-12-01
  • Resource: PostgreSqlConfigurationResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/configurations/{configurationName}
  • Operation Id: Configurations_Get
  • Default Api Version: 2017-12-01
  • Resource: PostgreSqlConfigurationResource
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<PostgreSqlConfigurationResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<PostgreSqlConfigurationResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to