azure.mgmt.rdbms.postgresql.models module

class azure.mgmt.rdbms.postgresql.models.ProxyResource[source]

Bases: msrest.serialization.Model

Resource properties.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
class azure.mgmt.rdbms.postgresql.models.TrackedResource(location, tags=None)[source]

Bases: azure.mgmt.rdbms.postgresql.models.proxy_resource.ProxyResource

Resource properties including location and tags for track resources.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
Parameters:
  • location (str) – The location the resource resides in.
  • tags (dict) – Application-specific metadata in the form of key-value pairs.
class azure.mgmt.rdbms.postgresql.models.ServerPropertiesForCreate(storage_mb=None, version=None, ssl_enforcement=None)[source]

Bases: msrest.serialization.Model

The properties used to create a new server.

Parameters:
  • storage_mb (long) – The maximum storage allowed for a server.
  • version (str or ServerVersion) – Server version. Possible values include: ‘9.5’, ‘9.6’
  • ssl_enforcement (str or SslEnforcementEnum) – Enable ssl enforcement or not when connect to server. Possible values include: ‘Enabled’, ‘Disabled’
  • create_mode (str) – Polymorphic Discriminator
class azure.mgmt.rdbms.postgresql.models.ServerPropertiesForDefaultCreate(administrator_login, administrator_login_password, storage_mb=None, version=None, ssl_enforcement=None)[source]

Bases: azure.mgmt.rdbms.postgresql.models.server_properties_for_create.ServerPropertiesForCreate

The properties used to create a new server.

Parameters:
  • storage_mb (long) – The maximum storage allowed for a server.
  • version (str or ServerVersion) – Server version. Possible values include: ‘9.5’, ‘9.6’
  • ssl_enforcement (str or SslEnforcementEnum) – Enable ssl enforcement or not when connect to server. Possible values include: ‘Enabled’, ‘Disabled’
  • create_mode (str) – Polymorphic Discriminator
  • administrator_login (str) – The administrator’s login name of a server. Can only be specified when the server is being created (and is required for creation).
  • administrator_login_password (str) – The password of the administrator login.
class azure.mgmt.rdbms.postgresql.models.ServerPropertiesForRestore(source_server_id, restore_point_in_time, storage_mb=None, version=None, ssl_enforcement=None)[source]

Bases: azure.mgmt.rdbms.postgresql.models.server_properties_for_create.ServerPropertiesForCreate

The properties to a new server by restoring from a backup.

Parameters:
  • storage_mb (long) – The maximum storage allowed for a server.
  • version (str or ServerVersion) – Server version. Possible values include: ‘9.5’, ‘9.6’
  • ssl_enforcement (str or SslEnforcementEnum) – Enable ssl enforcement or not when connect to server. Possible values include: ‘Enabled’, ‘Disabled’
  • create_mode (str) – Polymorphic Discriminator
  • source_server_id (str) – The source server id to restore from.
  • restore_point_in_time (datetime) – Restore point creation time (ISO8601 format), specifying the time to restore from.
class azure.mgmt.rdbms.postgresql.models.Sku(name=None, tier=None, capacity=None, size=None, family=None)[source]

Bases: msrest.serialization.Model

Billing information related properties of a server.

Parameters:
  • name (str) – The name of the sku, typically, a letter + Number code, e.g. P3.
  • tier (str or SkuTier) – The tier of the particular SKU, e.g. Basic. Possible values include: ‘Basic’, ‘Standard’
  • capacity (int) – The scale up/out capacity, representing server’s compute units.
  • size (str) – The size code, to be interpreted by resource as appropriate.
  • family (str) – The family of hardware.
class azure.mgmt.rdbms.postgresql.models.Server(location, tags=None, sku=None, administrator_login=None, storage_mb=None, version=None, ssl_enforcement=None, user_visible_state=None, fully_qualified_domain_name=None)[source]

Bases: azure.mgmt.rdbms.postgresql.models.tracked_resource.TrackedResource

Represents a server.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
Parameters:
  • location (str) – The location the resource resides in.
  • tags (dict) – Application-specific metadata in the form of key-value pairs.
  • sku (Sku) – The SKU (pricing tier) of the server.
  • administrator_login (str) – The administrator’s login name of a server. Can only be specified when the server is being created (and is required for creation).
  • storage_mb (long) – The maximum storage allowed for a server.
  • version (str or ServerVersion) – Server version. Possible values include: ‘9.5’, ‘9.6’
  • ssl_enforcement (str or SslEnforcementEnum) – Enable ssl enforcement or not when connect to server. Possible values include: ‘Enabled’, ‘Disabled’
  • user_visible_state (str or ServerState) – A state of a server that is visible to user. Possible values include: ‘Ready’, ‘Dropping’, ‘Disabled’
  • fully_qualified_domain_name (str) – The fully qualified domain name of a server.
class azure.mgmt.rdbms.postgresql.models.ServerForCreate(properties, location, sku=None, tags=None)[source]

Bases: msrest.serialization.Model

Represents a server to be created.

Parameters:
  • sku (Sku) – The SKU (pricing tier) of the server.
  • properties (ServerPropertiesForCreate) – Properties of the server.
  • location (str) – The location the resource resides in.
  • tags (dict) – Application-specific metadata in the form of key-value pairs.
class azure.mgmt.rdbms.postgresql.models.ServerUpdateParameters(sku=None, storage_mb=None, administrator_login_password=None, version=None, ssl_enforcement=None, tags=None)[source]

Bases: msrest.serialization.Model

Parameters allowd to update for a server.

Parameters:
  • sku (Sku) – The SKU (pricing tier) of the server.
  • storage_mb (long) – The max storage allowed for a server.
  • administrator_login_password (str) – The password of the administrator login.
  • version (str or ServerVersion) – The version of a server. Possible values include: ‘9.5’, ‘9.6’
  • ssl_enforcement (str or SslEnforcementEnum) – Enable ssl enforcement or not when connect to server. Possible values include: ‘Enabled’, ‘Disabled’
  • tags (dict) – Application-specific metadata in the form of key-value pairs.
class azure.mgmt.rdbms.postgresql.models.FirewallRule(start_ip_address, end_ip_address)[source]

Bases: azure.mgmt.rdbms.postgresql.models.proxy_resource.ProxyResource

Represents a server firewall rule.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
Parameters:
  • start_ip_address (str) – The start IP address of the server firewall rule. Must be IPv4 format.
  • end_ip_address (str) – The end IP address of the server firewall rule. Must be IPv4 format.
class azure.mgmt.rdbms.postgresql.models.Database(charset=None, collation=None)[source]

Bases: azure.mgmt.rdbms.postgresql.models.proxy_resource.ProxyResource

Represents a Database.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
Parameters:
  • charset (str) – The charset of the database.
  • collation (str) – The collation of the database.
class azure.mgmt.rdbms.postgresql.models.Configuration(value=None, source=None)[source]

Bases: azure.mgmt.rdbms.postgresql.models.proxy_resource.ProxyResource

Represents a Configuration.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
  • id (str) – Resource ID
  • name (str) – Resource name.
  • type (str) – Resource type.
  • description (str) – Description of the configuration.
  • default_value (str) – Default value of the configuration.
  • data_type (str) – Data type of the configuration.
  • allowed_values (str) – Allowed values of the configuration.
Parameters:
  • value (str) – Value of the configuration.
  • source (str) – Source of the configuration.
class azure.mgmt.rdbms.postgresql.models.OperationDisplay[source]

Bases: msrest.serialization.Model

Display metadata associated with the operation.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
  • provider (str) – Operation resource provider name.
  • resource (str) – Resource on which the operation is performed.
  • operation (str) – Localized friendly name for the operation.
  • description (str) – Operation description.
class azure.mgmt.rdbms.postgresql.models.Operation[source]

Bases: msrest.serialization.Model

REST API operation definition.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
  • name (str) – The name of the operation being performed on this particular object.
  • display (OperationDisplay) – The localized display information for this particular operation or action.
  • origin (str or OperationOrigin) – The intended executor of the operation. Possible values include: ‘NotSpecified’, ‘user’, ‘system’
  • properties (dict) – Additional descriptions for the operation.
class azure.mgmt.rdbms.postgresql.models.OperationListResult(value=None)[source]

Bases: msrest.serialization.Model

A list of resource provider operations.

Parameters:value (list of Operation) – The list of resource provider operations.
class azure.mgmt.rdbms.postgresql.models.LogFile(log_file_name=None, size_in_kb=None, created_time=None, last_modified_time=None, log_file_type=None, url=None)[source]

Bases: azure.mgmt.rdbms.postgresql.models.proxy_resource.ProxyResource

Represents a log file.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
Parameters:
  • log_file_name (str) – Log file name.
  • size_in_kb (long) – Size of the log file.
  • created_time (datetime) – Creation timestamp of the log file.
  • last_modified_time (datetime) – Last modified timestamp of the log file.
  • log_file_type (str) – Type of the log file.
  • url (str) – The url to download the log file from.
class azure.mgmt.rdbms.postgresql.models.ServerPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of Server object

class azure.mgmt.rdbms.postgresql.models.FirewallRulePaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of FirewallRule object

class azure.mgmt.rdbms.postgresql.models.DatabasePaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of Database object

class azure.mgmt.rdbms.postgresql.models.ConfigurationPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of Configuration object

class azure.mgmt.rdbms.postgresql.models.LogFilePaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of LogFile object

class azure.mgmt.rdbms.postgresql.models.ServerVersion[source]

Bases: enum.Enum

nine_full_stop_five = '9.5'
nine_full_stop_six = '9.6'
class azure.mgmt.rdbms.postgresql.models.SslEnforcementEnum[source]

Bases: enum.Enum

disabled = 'Disabled'
enabled = 'Enabled'
class azure.mgmt.rdbms.postgresql.models.ServerState[source]

Bases: enum.Enum

disabled = 'Disabled'
dropping = 'Dropping'
ready = 'Ready'
class azure.mgmt.rdbms.postgresql.models.SkuTier[source]

Bases: enum.Enum

basic = 'Basic'
standard = 'Standard'
class azure.mgmt.rdbms.postgresql.models.OperationOrigin[source]

Bases: enum.Enum

not_specified = 'NotSpecified'
system = 'system'
user = 'user'