azure.mgmt.rdbms.postgresql.models module¶
-
class
azure.mgmt.rdbms.postgresql.models.
AzureEntityResource
(**kwargs)[source]¶ Bases:
azure.mgmt.rdbms.postgresql.models._models_py3.Resource
The resource model definition for a Azure Resource Manager resource with an etag.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
id (str) – Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name (str) – The name of the resource
type (str) – The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
etag (str) – Resource Etag.
-
class
azure.mgmt.rdbms.postgresql.models.
Configuration
(*, value: str = None, source: str = None, **kwargs)[source]¶ Bases:
azure.mgmt.rdbms.postgresql.models._models_py3.ProxyResource
Represents a Configuration.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
id (str) – Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name (str) – The name of the resource
type (str) – The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
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
-
class
azure.mgmt.rdbms.postgresql.models.
Database
(*, charset: str = None, collation: str = None, **kwargs)[source]¶ Bases:
azure.mgmt.rdbms.postgresql.models._models_py3.ProxyResource
Represents a Database.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
id (str) – Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name (str) – The name of the resource
type (str) – The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- Parameters
-
class
azure.mgmt.rdbms.postgresql.models.
ErrorAdditionalInfo
(**kwargs)[source]¶ Bases:
msrest.serialization.Model
The resource management error additional info.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.rdbms.postgresql.models.
ErrorResponse
(**kwargs)[source]¶ Bases:
msrest.serialization.Model
The resource management error response.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
message (str) – The error message.
target (str) – The error target.
details (list[ErrorResponse]) – The error details.
additional_info (list[ErrorAdditionalInfo]) – The error additional info.
-
class
azure.mgmt.rdbms.postgresql.models.
FirewallRule
(*, start_ip_address: str, end_ip_address: str, **kwargs)[source]¶ Bases:
azure.mgmt.rdbms.postgresql.models._models_py3.ProxyResource
Represents a server firewall rule.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Variables
id (str) – Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name (str) – The name of the resource
type (str) – The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- Parameters
-
class
azure.mgmt.rdbms.postgresql.models.
LogFile
(*, size_in_kb: int = None, log_file_type: str = None, url: str = None, **kwargs)[source]¶ Bases:
azure.mgmt.rdbms.postgresql.models._models_py3.ProxyResource
Represents a log file.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
id (str) – Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name (str) – The name of the resource
type (str) – The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
created_time (datetime) – Creation timestamp of the log file.
last_modified_time (datetime) – Last modified timestamp of the log file.
- Parameters
-
class
azure.mgmt.rdbms.postgresql.models.
NameAvailability
(*, message: str = None, name_available: bool = None, reason: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Represents a resource name availability.
-
class
azure.mgmt.rdbms.postgresql.models.
NameAvailabilityRequest
(*, name: str, type: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Request from client to check resource name availability.
All required parameters must be populated in order to send to Azure.
-
class
azure.mgmt.rdbms.postgresql.models.
Operation
(**kwargs)[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[str, object]) – Additional descriptions for the operation.
-
class
azure.mgmt.rdbms.postgresql.models.
OperationDisplay
(**kwargs)[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.
-
class
azure.mgmt.rdbms.postgresql.models.
OperationListResult
(*, value=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
A list of resource provider operations.
-
class
azure.mgmt.rdbms.postgresql.models.
PerformanceTierProperties
(*, id: str = None, service_level_objectives=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Performance tier properties.
- Parameters
id (str) – ID of the performance tier.
service_level_objectives (list[PerformanceTierServiceLevelObjectives]) – Service level objectives associated with the performance tier
-
class
azure.mgmt.rdbms.postgresql.models.
PerformanceTierServiceLevelObjectives
(*, id: str = None, edition: str = None, v_core: int = None, hardware_generation: str = None, max_backup_retention_days: int = None, min_backup_retention_days: int = None, max_storage_mb: int = None, min_storage_mb: int = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Service level objectives for performance tier.
- Parameters
id (str) – ID for the service level objective.
edition (str) – Edition of the performance tier.
v_core (int) – vCore associated with the service level objective
hardware_generation (str) – Hardware generation associated with the service level objective
max_backup_retention_days (int) – Maximum Backup retention in days for the performance tier edition
min_backup_retention_days (int) – Minimum Backup retention in days for the performance tier edition
max_storage_mb (int) – Max storage allowed for a server.
min_storage_mb (int) – Max storage allowed for a server.
-
class
azure.mgmt.rdbms.postgresql.models.
PrivateEndpointConnection
(*, private_endpoint=None, private_link_service_connection_state=None, **kwargs)[source]¶ Bases:
azure.mgmt.rdbms.postgresql.models._models_py3.ProxyResource
A private endpoint connection.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
id (str) – Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name (str) – The name of the resource
type (str) – The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
provisioning_state (str) – State of the private endpoint connection.
- Parameters
private_endpoint (PrivateEndpointProperty) – Private endpoint which the connection belongs to.
private_link_service_connection_state (PrivateLinkServiceConnectionStateProperty) – Connection state of the private endpoint connection.
-
class
azure.mgmt.rdbms.postgresql.models.
PrivateEndpointProperty
(*, id: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
PrivateEndpointProperty.
- Parameters
id (str) – Resource id of the private endpoint.
-
class
azure.mgmt.rdbms.postgresql.models.
PrivateLinkResource
(**kwargs)[source]¶ Bases:
azure.mgmt.rdbms.postgresql.models._models_py3.ProxyResource
A private link resource.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
id (str) – Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name (str) – The name of the resource
type (str) – The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
properties (PrivateLinkResourceProperties) – The private link resource group id.
-
class
azure.mgmt.rdbms.postgresql.models.
PrivateLinkResourceProperties
(**kwargs)[source]¶ Bases:
msrest.serialization.Model
Properties of a private link resource.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.rdbms.postgresql.models.
PrivateLinkServiceConnectionStateProperty
(*, status: str, description: str, **kwargs)[source]¶ Bases:
msrest.serialization.Model
PrivateLinkServiceConnectionStateProperty.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
-
class
azure.mgmt.rdbms.postgresql.models.
ProxyResource
(**kwargs)[source]¶ Bases:
azure.mgmt.rdbms.postgresql.models._models_py3.Resource
The resource model definition for a ARM proxy resource. It will have everything other than required location and tags.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
id (str) – Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name (str) – The name of the resource
type (str) – The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
-
class
azure.mgmt.rdbms.postgresql.models.
Resource
(**kwargs)[source]¶ Bases:
msrest.serialization.Model
Resource.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
id (str) – Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name (str) – The name of the resource
type (str) – The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
-
class
azure.mgmt.rdbms.postgresql.models.
ResourceIdentity
(*, type=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Azure Active Directory identity configuration for a resource.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
type (str or IdentityType) – The identity type. Set this to ‘SystemAssigned’ in order to automatically create and assign an Azure Active Directory principal for the resource. Possible values include: ‘SystemAssigned’
-
class
azure.mgmt.rdbms.postgresql.models.
Server
(*, location: str, tags=None, identity=None, sku=None, administrator_login: str = None, version=None, ssl_enforcement=None, minimal_tls_version=None, infrastructure_encryption=None, user_visible_state=None, fully_qualified_domain_name: str = None, earliest_restore_date=None, storage_profile=None, replication_role: str = None, master_server_id: str = None, replica_capacity: int = None, public_network_access=None, **kwargs)[source]¶ Bases:
azure.mgmt.rdbms.postgresql.models._models_py3.TrackedResource
Represents a server.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Variables
id (str) – Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name (str) – The name of the resource
type (str) – The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
byok_enforcement (str) – Status showing whether the server data encryption is enabled with customer-managed keys.
private_endpoint_connections (list[ServerPrivateEndpointConnection]) – List of private endpoint connections on a server
- Parameters
location (str) – Required. The geo-location where the resource lives
identity (ResourceIdentity) – The Azure Active Directory identity of the server.
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).
version (str or ServerVersion) – Server version. Possible values include: ‘9.5’, ‘9.6’, ‘10’, ‘10.0’, ‘10.2’, ‘11’
ssl_enforcement (str or SslEnforcementEnum) – Enable ssl enforcement or not when connect to server. Possible values include: ‘Enabled’, ‘Disabled’
minimal_tls_version (str or MinimalTlsVersionEnum) – Enforce a minimal Tls version for the server. Possible values include: ‘TLS1_0’, ‘TLS1_1’, ‘TLS1_2’, ‘TLSEnforcementDisabled’
infrastructure_encryption (str or InfrastructureEncryption) – Status showing whether the server enabled infrastructure encryption. 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’, ‘Inaccessible’
fully_qualified_domain_name (str) – The fully qualified domain name of a server.
earliest_restore_date (datetime) – Earliest restore point creation time (ISO8601 format)
storage_profile (StorageProfile) – Storage profile of a server.
replication_role (str) – The replication role of the server.
master_server_id (str) – The master server id of a replica server.
replica_capacity (int) – The maximum number of replicas that a master server can have.
public_network_access (str or PublicNetworkAccessEnum) – Whether or not public network access is allowed for this server. Value is optional but if passed in, must be ‘Enabled’ or ‘Disabled’. Possible values include: ‘Enabled’, ‘Disabled’
-
class
azure.mgmt.rdbms.postgresql.models.
ServerAdministratorResource
(*, login: str, sid: str, tenant_id: str, **kwargs)[source]¶ Bases:
azure.mgmt.rdbms.postgresql.models._models_py3.ProxyResource
Represents a and external administrator to be created.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Variables
id (str) – Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name (str) – The name of the resource
type (str) – The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
administrator_type (str) – Required. The type of administrator. Default value: “ActiveDirectory” .
- Parameters
-
administrator_type
= 'ActiveDirectory'¶
-
class
azure.mgmt.rdbms.postgresql.models.
ServerForCreate
(*, properties, location: str, identity=None, sku=None, tags=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Represents a server to be created.
All required parameters must be populated in order to send to Azure.
- Parameters
identity (ResourceIdentity) – The Azure Active Directory identity of the server.
sku (Sku) – The SKU (pricing tier) of the server.
properties (ServerPropertiesForCreate) – Required. Properties of the server.
location (str) – Required. The location the resource resides in.
tags (dict[str, str]) – Application-specific metadata in the form of key-value pairs.
-
class
azure.mgmt.rdbms.postgresql.models.
ServerKey
(*, uri: str = None, **kwargs)[source]¶ Bases:
azure.mgmt.rdbms.postgresql.models._models_py3.ProxyResource
A PostgreSQL Server key.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Variables
id (str) – Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name (str) – The name of the resource
type (str) – The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
kind (str) – Kind of encryption protector used to protect the key.
server_key_type (str) – Required. The key type like ‘AzureKeyVault’. Default value: “AzureKeyVault” .
creation_date (datetime) – The key creation date.
- Parameters
uri (str) – The URI of the key.
-
server_key_type
= 'AzureKeyVault'¶
-
class
azure.mgmt.rdbms.postgresql.models.
ServerPrivateEndpointConnection
(**kwargs)[source]¶ Bases:
msrest.serialization.Model
A private endpoint connection under a server.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
properties (ServerPrivateEndpointConnectionProperties) – Private endpoint connection properties
-
class
azure.mgmt.rdbms.postgresql.models.
ServerPrivateEndpointConnectionProperties
(*, private_endpoint=None, private_link_service_connection_state=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Properties of a private endpoint connection.
Variables are only populated by the server, and will be ignored when sending a request.
- Parameters
private_endpoint (PrivateEndpointProperty) – Private endpoint which the connection belongs to.
private_link_service_connection_state (ServerPrivateLinkServiceConnectionStateProperty) – Connection state of the private endpoint connection.
- Variables
provisioning_state (str or PrivateEndpointProvisioningState) – State of the private endpoint connection. Possible values include: ‘Approving’, ‘Ready’, ‘Dropping’, ‘Failed’, ‘Rejecting’
-
class
azure.mgmt.rdbms.postgresql.models.
ServerPrivateLinkServiceConnectionStateProperty
(*, status, description: str, **kwargs)[source]¶ Bases:
msrest.serialization.Model
ServerPrivateLinkServiceConnectionStateProperty.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Parameters
status (str or PrivateLinkServiceConnectionStateStatus) – Required. The private link service connection status. Possible values include: ‘Approved’, ‘Pending’, ‘Rejected’, ‘Disconnected’
description (str) – Required. The private link service connection description.
- Variables
actions_required (str or PrivateLinkServiceConnectionStateActionsRequire) – The actions required for private link service connection. Possible values include: ‘None’
-
class
azure.mgmt.rdbms.postgresql.models.
ServerPropertiesForCreate
(*, version=None, ssl_enforcement=None, minimal_tls_version=None, infrastructure_encryption=None, public_network_access=None, storage_profile=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
The properties used to create a new server.
You probably want to use the sub-classes and not this class directly. Known sub-classes are: ServerPropertiesForDefaultCreate, ServerPropertiesForRestore, ServerPropertiesForGeoRestore, ServerPropertiesForReplica
All required parameters must be populated in order to send to Azure.
- Parameters
version (str or ServerVersion) – Server version. Possible values include: ‘9.5’, ‘9.6’, ‘10’, ‘10.0’, ‘10.2’, ‘11’
ssl_enforcement (str or SslEnforcementEnum) – Enable ssl enforcement or not when connect to server. Possible values include: ‘Enabled’, ‘Disabled’
minimal_tls_version (str or MinimalTlsVersionEnum) – Enforce a minimal Tls version for the server. Possible values include: ‘TLS1_0’, ‘TLS1_1’, ‘TLS1_2’, ‘TLSEnforcementDisabled’
infrastructure_encryption (str or InfrastructureEncryption) – Status showing whether the server enabled infrastructure encryption. Possible values include: ‘Enabled’, ‘Disabled’
public_network_access (str or PublicNetworkAccessEnum) – Whether or not public network access is allowed for this server. Value is optional but if passed in, must be ‘Enabled’ or ‘Disabled’. Possible values include: ‘Enabled’, ‘Disabled’
storage_profile (StorageProfile) – Storage profile of a server.
create_mode (str) – Required. Constant filled by server.
-
class
azure.mgmt.rdbms.postgresql.models.
ServerPropertiesForDefaultCreate
(*, administrator_login: str, administrator_login_password: str, version=None, ssl_enforcement=None, minimal_tls_version=None, infrastructure_encryption=None, public_network_access=None, storage_profile=None, **kwargs)[source]¶ Bases:
azure.mgmt.rdbms.postgresql.models._models_py3.ServerPropertiesForCreate
The properties used to create a new server.
All required parameters must be populated in order to send to Azure.
- Parameters
version (str or ServerVersion) – Server version. Possible values include: ‘9.5’, ‘9.6’, ‘10’, ‘10.0’, ‘10.2’, ‘11’
ssl_enforcement (str or SslEnforcementEnum) – Enable ssl enforcement or not when connect to server. Possible values include: ‘Enabled’, ‘Disabled’
minimal_tls_version (str or MinimalTlsVersionEnum) – Enforce a minimal Tls version for the server. Possible values include: ‘TLS1_0’, ‘TLS1_1’, ‘TLS1_2’, ‘TLSEnforcementDisabled’
infrastructure_encryption (str or InfrastructureEncryption) – Status showing whether the server enabled infrastructure encryption. Possible values include: ‘Enabled’, ‘Disabled’
public_network_access (str or PublicNetworkAccessEnum) – Whether or not public network access is allowed for this server. Value is optional but if passed in, must be ‘Enabled’ or ‘Disabled’. Possible values include: ‘Enabled’, ‘Disabled’
storage_profile (StorageProfile) – Storage profile of a server.
create_mode (str) – Required. Constant filled by server.
administrator_login (str) – Required. 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) – Required. The password of the administrator login.
-
class
azure.mgmt.rdbms.postgresql.models.
ServerPropertiesForGeoRestore
(*, source_server_id: str, version=None, ssl_enforcement=None, minimal_tls_version=None, infrastructure_encryption=None, public_network_access=None, storage_profile=None, **kwargs)[source]¶ Bases:
azure.mgmt.rdbms.postgresql.models._models_py3.ServerPropertiesForCreate
The properties used to create a new server by restoring to a different region from a geo replicated backup.
All required parameters must be populated in order to send to Azure.
- Parameters
version (str or ServerVersion) – Server version. Possible values include: ‘9.5’, ‘9.6’, ‘10’, ‘10.0’, ‘10.2’, ‘11’
ssl_enforcement (str or SslEnforcementEnum) – Enable ssl enforcement or not when connect to server. Possible values include: ‘Enabled’, ‘Disabled’
minimal_tls_version (str or MinimalTlsVersionEnum) – Enforce a minimal Tls version for the server. Possible values include: ‘TLS1_0’, ‘TLS1_1’, ‘TLS1_2’, ‘TLSEnforcementDisabled’
infrastructure_encryption (str or InfrastructureEncryption) – Status showing whether the server enabled infrastructure encryption. Possible values include: ‘Enabled’, ‘Disabled’
public_network_access (str or PublicNetworkAccessEnum) – Whether or not public network access is allowed for this server. Value is optional but if passed in, must be ‘Enabled’ or ‘Disabled’. Possible values include: ‘Enabled’, ‘Disabled’
storage_profile (StorageProfile) – Storage profile of a server.
create_mode (str) – Required. Constant filled by server.
source_server_id (str) – Required. The source server id to restore from.
-
class
azure.mgmt.rdbms.postgresql.models.
ServerPropertiesForReplica
(*, source_server_id: str, version=None, ssl_enforcement=None, minimal_tls_version=None, infrastructure_encryption=None, public_network_access=None, storage_profile=None, **kwargs)[source]¶ Bases:
azure.mgmt.rdbms.postgresql.models._models_py3.ServerPropertiesForCreate
The properties to create a new replica.
All required parameters must be populated in order to send to Azure.
- Parameters
version (str or ServerVersion) – Server version. Possible values include: ‘9.5’, ‘9.6’, ‘10’, ‘10.0’, ‘10.2’, ‘11’
ssl_enforcement (str or SslEnforcementEnum) – Enable ssl enforcement or not when connect to server. Possible values include: ‘Enabled’, ‘Disabled’
minimal_tls_version (str or MinimalTlsVersionEnum) – Enforce a minimal Tls version for the server. Possible values include: ‘TLS1_0’, ‘TLS1_1’, ‘TLS1_2’, ‘TLSEnforcementDisabled’
infrastructure_encryption (str or InfrastructureEncryption) – Status showing whether the server enabled infrastructure encryption. Possible values include: ‘Enabled’, ‘Disabled’
public_network_access (str or PublicNetworkAccessEnum) – Whether or not public network access is allowed for this server. Value is optional but if passed in, must be ‘Enabled’ or ‘Disabled’. Possible values include: ‘Enabled’, ‘Disabled’
storage_profile (StorageProfile) – Storage profile of a server.
create_mode (str) – Required. Constant filled by server.
source_server_id (str) – Required. The master server id to create replica from.
-
class
azure.mgmt.rdbms.postgresql.models.
ServerPropertiesForRestore
(*, source_server_id: str, restore_point_in_time, version=None, ssl_enforcement=None, minimal_tls_version=None, infrastructure_encryption=None, public_network_access=None, storage_profile=None, **kwargs)[source]¶ Bases:
azure.mgmt.rdbms.postgresql.models._models_py3.ServerPropertiesForCreate
The properties used to create a new server by restoring from a backup.
All required parameters must be populated in order to send to Azure.
- Parameters
version (str or ServerVersion) – Server version. Possible values include: ‘9.5’, ‘9.6’, ‘10’, ‘10.0’, ‘10.2’, ‘11’
ssl_enforcement (str or SslEnforcementEnum) – Enable ssl enforcement or not when connect to server. Possible values include: ‘Enabled’, ‘Disabled’
minimal_tls_version (str or MinimalTlsVersionEnum) – Enforce a minimal Tls version for the server. Possible values include: ‘TLS1_0’, ‘TLS1_1’, ‘TLS1_2’, ‘TLSEnforcementDisabled’
infrastructure_encryption (str or InfrastructureEncryption) – Status showing whether the server enabled infrastructure encryption. Possible values include: ‘Enabled’, ‘Disabled’
public_network_access (str or PublicNetworkAccessEnum) – Whether or not public network access is allowed for this server. Value is optional but if passed in, must be ‘Enabled’ or ‘Disabled’. Possible values include: ‘Enabled’, ‘Disabled’
storage_profile (StorageProfile) – Storage profile of a server.
create_mode (str) – Required. Constant filled by server.
source_server_id (str) – Required. The source server id to restore from.
restore_point_in_time (datetime) – Required. Restore point creation time (ISO8601 format), specifying the time to restore from.
-
class
azure.mgmt.rdbms.postgresql.models.
ServerSecurityAlertPolicy
(*, state, disabled_alerts=None, email_addresses=None, email_account_admins: bool = None, storage_endpoint: str = None, storage_account_access_key: str = None, retention_days: int = None, **kwargs)[source]¶ Bases:
azure.mgmt.rdbms.postgresql.models._models_py3.ProxyResource
A server security alert policy.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Variables
id (str) – Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name (str) – The name of the resource
type (str) – The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- Parameters
state (str or ServerSecurityAlertPolicyState) – Required. Specifies the state of the policy, whether it is enabled or disabled. Possible values include: ‘Enabled’, ‘Disabled’
disabled_alerts (list[str]) – Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly
email_addresses (list[str]) – Specifies an array of e-mail addresses to which the alert is sent.
email_account_admins (bool) – Specifies that the alert is sent to the account administrators.
storage_endpoint (str) – Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs.
storage_account_access_key (str) – Specifies the identifier key of the Threat Detection audit storage account.
retention_days (int) – Specifies the number of days to keep in the Threat Detection audit logs.
-
class
azure.mgmt.rdbms.postgresql.models.
ServerUpdateParameters
(*, identity=None, sku=None, storage_profile=None, administrator_login_password: str = None, version=None, ssl_enforcement=None, minimal_tls_version=None, public_network_access=None, replication_role: str = None, tags=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Parameters allowed to update for a server.
- Parameters
identity (ResourceIdentity) – The Azure Active Directory identity of the server.
sku (Sku) – The SKU (pricing tier) of the server.
storage_profile (StorageProfile) – Storage profile of 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’, ‘10’, ‘10.0’, ‘10.2’, ‘11’
ssl_enforcement (str or SslEnforcementEnum) – Enable ssl enforcement or not when connect to server. Possible values include: ‘Enabled’, ‘Disabled’
minimal_tls_version (str or MinimalTlsVersionEnum) – Enforce a minimal Tls version for the server. Possible values include: ‘TLS1_0’, ‘TLS1_1’, ‘TLS1_2’, ‘TLSEnforcementDisabled’
public_network_access (str or PublicNetworkAccessEnum) – Whether or not public network access is allowed for this server. Value is optional but if passed in, must be ‘Enabled’ or ‘Disabled’. Possible values include: ‘Enabled’, ‘Disabled’
replication_role (str) – The replication role of the server.
tags (dict[str, str]) – Application-specific metadata in the form of key-value pairs.
-
class
azure.mgmt.rdbms.postgresql.models.
Sku
(*, name: str = None, tier=None, capacity: int = None, size: str = None, family: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Billing information related properties of a server.
- Parameters
name (str) – The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.
tier (str or SkuTier) – The tier of the particular SKU, e.g. Basic. Possible values include: ‘Basic’, ‘GeneralPurpose’, ‘MemoryOptimized’
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.
StorageProfile
(*, backup_retention_days: int = None, geo_redundant_backup=None, storage_mb: int = None, storage_autogrow=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Storage Profile properties of a server.
- Parameters
backup_retention_days (int) – Backup retention days for the server.
geo_redundant_backup (str or GeoRedundantBackup) – Enable Geo-redundant or not for server backup. Possible values include: ‘Enabled’, ‘Disabled’
storage_mb (int) – Max storage allowed for a server.
storage_autogrow (str or StorageAutogrow) – Enable Storage Auto Grow. Possible values include: ‘Enabled’, ‘Disabled’
-
class
azure.mgmt.rdbms.postgresql.models.
TagsObject
(*, tags=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Tags object for patch operations.
-
class
azure.mgmt.rdbms.postgresql.models.
TrackedResource
(*, location: str, tags=None, **kwargs)[source]¶ Bases:
azure.mgmt.rdbms.postgresql.models._models_py3.Resource
The resource model definition for a ARM tracked top level resource.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Variables
id (str) – Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name (str) – The name of the resource
type (str) – The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- Parameters
-
class
azure.mgmt.rdbms.postgresql.models.
VirtualNetworkRule
(*, virtual_network_subnet_id: str, ignore_missing_vnet_service_endpoint: bool = None, **kwargs)[source]¶ Bases:
azure.mgmt.rdbms.postgresql.models._models_py3.ProxyResource
A virtual network rule.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Variables
id (str) – Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name (str) – The name of the resource
type (str) – The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
state (str or VirtualNetworkRuleState) – Virtual Network Rule State. Possible values include: ‘Initializing’, ‘InProgress’, ‘Ready’, ‘Deleting’, ‘Unknown’
- Parameters
-
class
azure.mgmt.rdbms.postgresql.models.
ServerPaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
Server
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.rdbms.postgresql.models.
FirewallRulePaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
FirewallRule
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.rdbms.postgresql.models.
VirtualNetworkRulePaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
VirtualNetworkRule
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.rdbms.postgresql.models.
DatabasePaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
Database
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.rdbms.postgresql.models.
ConfigurationPaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
Configuration
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.rdbms.postgresql.models.
LogFilePaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
LogFile
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.rdbms.postgresql.models.
ServerAdministratorResourcePaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
ServerAdministratorResource
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.rdbms.postgresql.models.
PerformanceTierPropertiesPaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
PerformanceTierProperties
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.rdbms.postgresql.models.
PrivateEndpointConnectionPaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
PrivateEndpointConnection
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.rdbms.postgresql.models.
PrivateLinkResourcePaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
PrivateLinkResource
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.rdbms.postgresql.models.
ServerKeyPaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
ServerKey
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.rdbms.postgresql.models.
ServerVersion
[source]¶ -
An enumeration.
-
nine_full_stop_five
= '9.5'¶
-
nine_full_stop_six
= '9.6'¶
-
one_one
= '11'¶
-
one_zero
= '10'¶
-
one_zero_full_stop_two
= '10.2'¶
-
one_zero_full_stop_zero
= '10.0'¶
-
-
class
azure.mgmt.rdbms.postgresql.models.
SslEnforcementEnum
[source]¶ -
An enumeration.
-
disabled
= 'Disabled'¶
-
enabled
= 'Enabled'¶
-
-
class
azure.mgmt.rdbms.postgresql.models.
MinimalTlsVersionEnum
[source]¶ -
An enumeration.
-
tls1_0
= 'TLS1_0'¶
-
tls1_1
= 'TLS1_1'¶
-
tls1_2
= 'TLS1_2'¶
-
tls_enforcement_disabled
= 'TLSEnforcementDisabled'¶
-
-
class
azure.mgmt.rdbms.postgresql.models.
InfrastructureEncryption
[source]¶ -
An enumeration.
-
disabled
= 'Disabled'¶
-
enabled
= 'Enabled'¶
-
-
class
azure.mgmt.rdbms.postgresql.models.
PublicNetworkAccessEnum
[source]¶ -
An enumeration.
-
disabled
= 'Disabled'¶
-
enabled
= 'Enabled'¶
-
-
class
azure.mgmt.rdbms.postgresql.models.
PrivateLinkServiceConnectionStateStatus
[source]¶ -
An enumeration.
-
approved
= 'Approved'¶
-
disconnected
= 'Disconnected'¶
-
pending
= 'Pending'¶
-
rejected
= 'Rejected'¶
-
-
class
azure.mgmt.rdbms.postgresql.models.
PrivateLinkServiceConnectionStateActionsRequire
[source]¶ -
An enumeration.
-
none
= 'None'¶
-
-
class
azure.mgmt.rdbms.postgresql.models.
PrivateEndpointProvisioningState
[source]¶ -
An enumeration.
-
approving
= 'Approving'¶
-
dropping
= 'Dropping'¶
-
failed
= 'Failed'¶
-
ready
= 'Ready'¶
-
rejecting
= 'Rejecting'¶
-
-
class
azure.mgmt.rdbms.postgresql.models.
ServerState
[source]¶ -
An enumeration.
-
disabled
= 'Disabled'¶
-
dropping
= 'Dropping'¶
-
inaccessible
= 'Inaccessible'¶
-
ready
= 'Ready'¶
-
-
class
azure.mgmt.rdbms.postgresql.models.
GeoRedundantBackup
[source]¶ -
An enumeration.
-
disabled
= 'Disabled'¶
-
enabled
= 'Enabled'¶
-
-
class
azure.mgmt.rdbms.postgresql.models.
StorageAutogrow
[source]¶ -
An enumeration.
-
disabled
= 'Disabled'¶
-
enabled
= 'Enabled'¶
-
-
class
azure.mgmt.rdbms.postgresql.models.
SkuTier
[source]¶ -
An enumeration.
-
basic
= 'Basic'¶
-
general_purpose
= 'GeneralPurpose'¶
-
memory_optimized
= 'MemoryOptimized'¶
-
-
class
azure.mgmt.rdbms.postgresql.models.
IdentityType
[source]¶ -
An enumeration.
-
system_assigned
= 'SystemAssigned'¶
-
-
class
azure.mgmt.rdbms.postgresql.models.
VirtualNetworkRuleState
[source]¶ -
An enumeration.
-
deleting
= 'Deleting'¶
-
in_progress
= 'InProgress'¶
-
initializing
= 'Initializing'¶
-
ready
= 'Ready'¶
-
unknown
= 'Unknown'¶
-