Share via


ConfigurationsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

PostgreSQLManagementClient's

<xref:configurations> attribute.

Constructor

ConfigurationsOperations(*args, **kwargs)

Methods

begin_create_or_update

Updates a configuration of a server.

get

Gets information about a configuration of server.

list_by_server

List all the configurations in a given server.

begin_create_or_update

Updates a configuration of a server.

begin_create_or_update(resource_group_name: str, server_name: str, configuration_name: str, parameters: _models.Configuration, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.Configuration]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

server_name
Required
str

The name of the server. Required.

configuration_name
Required
str

The name of the server configuration. Required.

parameters
Required

The required parameters for updating a server configuration. Is either a Configuration type or a IO[bytes] type. Required.

Returns

Type Description

An instance of LROPoller that returns either Configuration or the result of cls(response)

Exceptions

Type Description

get

Gets information about a configuration of server.

get(resource_group_name: str, server_name: str, configuration_name: str, **kwargs: Any) -> Configuration

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

server_name
Required
str

The name of the server. Required.

configuration_name
Required
str

The name of the server configuration. Required.

Returns

Type Description

Configuration or the result of cls(response)

Exceptions

Type Description

list_by_server

List all the configurations in a given server.

list_by_server(resource_group_name: str, server_name: str, **kwargs: Any) -> ItemPaged[Configuration]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

server_name
Required
str

The name of the server. Required.

Returns

Type Description

An iterator like instance of either Configuration or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.rdbms.postgresql.models' from 'C:\\ToolCache\\Python\\3.11.9\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv198\\Lib\\site-packages\\azure\\mgmt\\rdbms\\postgresql\\models\\__init__.py'>