azure.mgmt.rdbms.mysql.models module¶
-
class
azure.mgmt.rdbms.mysql.models.ProxyResource(**kwargs)[source]¶ Bases:
msrest.serialization.ModelResource properties.
Variables are only populated by the server, and will be ignored when sending a request.
Variables:
-
class
azure.mgmt.rdbms.mysql.models.TrackedResource(*, location: str, tags=None, **kwargs)[source]¶ Bases:
azure.mgmt.rdbms.mysql.models.proxy_resource_py3.ProxyResourceResource properties including location and tags for track resources.
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: Parameters: - 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.mysql.models.StorageProfile(*, backup_retention_days: int = None, geo_redundant_backup=None, storage_mb: int = None, storage_autogrow=None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelStorage 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.mysql.models.ServerPropertiesForCreate(*, version=None, ssl_enforcement=None, storage_profile=None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelThe 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: ‘5.6’, ‘5.7’
- ssl_enforcement (str or SslEnforcementEnum) – Enable ssl enforcement or not when connect to server. 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.mysql.models.ServerPropertiesForDefaultCreate(*, administrator_login: str, administrator_login_password: str, version=None, ssl_enforcement=None, storage_profile=None, **kwargs)[source]¶ Bases:
azure.mgmt.rdbms.mysql.models.server_properties_for_create_py3.ServerPropertiesForCreateThe 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: ‘5.6’, ‘5.7’
- ssl_enforcement (str or SslEnforcementEnum) – Enable ssl enforcement or not when connect to server. 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.mysql.models.ServerPropertiesForRestore(*, source_server_id: str, restore_point_in_time, version=None, ssl_enforcement=None, storage_profile=None, **kwargs)[source]¶ Bases:
azure.mgmt.rdbms.mysql.models.server_properties_for_create_py3.ServerPropertiesForCreateThe 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: ‘5.6’, ‘5.7’
- ssl_enforcement (str or SslEnforcementEnum) – Enable ssl enforcement or not when connect to server. 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.mysql.models.ServerPropertiesForGeoRestore(*, source_server_id: str, version=None, ssl_enforcement=None, storage_profile=None, **kwargs)[source]¶ Bases:
azure.mgmt.rdbms.mysql.models.server_properties_for_create_py3.ServerPropertiesForCreateThe 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: ‘5.6’, ‘5.7’
- ssl_enforcement (str or SslEnforcementEnum) – Enable ssl enforcement or not when connect to server. 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.mysql.models.ServerPropertiesForReplica(*, source_server_id: str, version=None, ssl_enforcement=None, storage_profile=None, **kwargs)[source]¶ Bases:
azure.mgmt.rdbms.mysql.models.server_properties_for_create_py3.ServerPropertiesForCreateThe 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: ‘5.6’, ‘5.7’
- ssl_enforcement (str or SslEnforcementEnum) – Enable ssl enforcement or not when connect to server. 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.mysql.models.Sku(*, name: str = None, tier=None, capacity: int = None, size: str = None, family: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelBilling 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.mysql.models.Server(*, location: str, tags=None, sku=None, administrator_login: str = None, version=None, ssl_enforcement=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, **kwargs)[source]¶ Bases:
azure.mgmt.rdbms.mysql.models.tracked_resource_py3.TrackedResourceRepresents 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: Parameters: - location (str) – Required. The location the resource resides in.
- tags (dict[str, str]) – 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).
- version (str or ServerVersion) – Server version. Possible values include: ‘5.6’, ‘5.7’
- 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.
- 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.
-
class
azure.mgmt.rdbms.mysql.models.ServerForCreate(*, properties, location: str, sku=None, tags=None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelRepresents a server to be created.
All required parameters must be populated in order to send to Azure.
Parameters: - 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.mysql.models.ServerUpdateParameters(*, sku=None, storage_profile=None, administrator_login_password: str = None, version=None, ssl_enforcement=None, replication_role: str = None, tags=None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelParameters allowed to update for a server.
Parameters: - 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: ‘5.6’, ‘5.7’
- ssl_enforcement (str or SslEnforcementEnum) – Enable ssl enforcement or not when connect to server. 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.mysql.models.FirewallRule(*, start_ip_address: str, end_ip_address: str, **kwargs)[source]¶ Bases:
azure.mgmt.rdbms.mysql.models.proxy_resource_py3.ProxyResourceRepresents 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: Parameters: - start_ip_address (str) – Required. The start IP address of the server firewall rule. Must be IPv4 format.
- end_ip_address (str) – Required. The end IP address of the server firewall rule. Must be IPv4 format.
-
class
azure.mgmt.rdbms.mysql.models.VirtualNetworkRule(*, virtual_network_subnet_id: str, ignore_missing_vnet_service_endpoint: bool = None, **kwargs)[source]¶ Bases:
azure.mgmt.rdbms.mysql.models.proxy_resource_py3.ProxyResourceA 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) – Resource ID
- name (str) – Resource name.
- type (str) – Resource type.
- state (str or VirtualNetworkRuleState) – Virtual Network Rule State. Possible values include: ‘Initializing’, ‘InProgress’, ‘Ready’, ‘Deleting’, ‘Unknown’
Parameters: - virtual_network_subnet_id (str) – Required. The ARM resource id of the virtual network subnet.
- ignore_missing_vnet_service_endpoint (bool) – Create firewall rule before the virtual network has vnet service endpoint enabled.
-
class
azure.mgmt.rdbms.mysql.models.Database(*, charset: str = None, collation: str = None, **kwargs)[source]¶ Bases:
azure.mgmt.rdbms.mysql.models.proxy_resource_py3.ProxyResourceRepresents 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.mysql.models.Configuration(*, value: str = None, source: str = None, **kwargs)[source]¶ Bases:
azure.mgmt.rdbms.mysql.models.proxy_resource_py3.ProxyResourceRepresents 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.mysql.models.OperationDisplay(**kwargs)[source]¶ Bases:
msrest.serialization.ModelDisplay 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.mysql.models.Operation(**kwargs)[source]¶ Bases:
msrest.serialization.ModelREST 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.mysql.models.OperationListResult(*, value=None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelA list of resource provider operations.
Parameters: value (list[Operation]) – The list of resource provider operations.
-
class
azure.mgmt.rdbms.mysql.models.LogFile(*, size_in_kb: int = None, log_file_type: str = None, url: str = None, **kwargs)[source]¶ Bases:
azure.mgmt.rdbms.mysql.models.proxy_resource_py3.ProxyResourceRepresents a log file.
Variables are only populated by the server, and will be ignored when sending a request.
Variables: Parameters: - size_in_kb (long) – Size 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.mysql.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.ModelService 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.mysql.models.PerformanceTierProperties(*, id: str = None, service_level_objectives=None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelPerformance 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.mysql.models.NameAvailabilityRequest(*, name: str, type: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelRequest from client to check resource name availability.
All required parameters must be populated in order to send to Azure.
Parameters: - name (str) – Required. Resource name to verify.
- type (str) – Resource type used for verification.
-
class
azure.mgmt.rdbms.mysql.models.NameAvailability(*, message: str = None, name_available: bool = None, reason: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelRepresents a resource name availability.
Parameters: - message (str) – Error Message.
- name_available (bool) – Indicates whether the resource name is available.
- reason (str) – Reason for name being unavailable.
-
class
azure.mgmt.rdbms.mysql.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.mysql.models.proxy_resource_py3.ProxyResourceA 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: 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.mysql.models.ServerPaged(*args, **kwargs)[source]¶ Bases:
msrest.paging.PagedA paging container for iterating over a list of
Serverobject
-
class
azure.mgmt.rdbms.mysql.models.FirewallRulePaged(*args, **kwargs)[source]¶ Bases:
msrest.paging.PagedA paging container for iterating over a list of
FirewallRuleobject
-
class
azure.mgmt.rdbms.mysql.models.VirtualNetworkRulePaged(*args, **kwargs)[source]¶ Bases:
msrest.paging.PagedA paging container for iterating over a list of
VirtualNetworkRuleobject
-
class
azure.mgmt.rdbms.mysql.models.DatabasePaged(*args, **kwargs)[source]¶ Bases:
msrest.paging.PagedA paging container for iterating over a list of
Databaseobject
-
class
azure.mgmt.rdbms.mysql.models.ConfigurationPaged(*args, **kwargs)[source]¶ Bases:
msrest.paging.PagedA paging container for iterating over a list of
Configurationobject
-
class
azure.mgmt.rdbms.mysql.models.LogFilePaged(*args, **kwargs)[source]¶ Bases:
msrest.paging.PagedA paging container for iterating over a list of
LogFileobject
-
class
azure.mgmt.rdbms.mysql.models.PerformanceTierPropertiesPaged(*args, **kwargs)[source]¶ Bases:
msrest.paging.PagedA paging container for iterating over a list of
PerformanceTierPropertiesobject
-
class
azure.mgmt.rdbms.mysql.models.ServerVersion[source]¶ Bases:
str,enum.EnumAn enumeration.
-
five_full_stop_seven= '5.7'¶
-
five_full_stop_six= '5.6'¶
-
-
class
azure.mgmt.rdbms.mysql.models.SslEnforcementEnum[source]¶ Bases:
str,enum.EnumAn enumeration.
-
disabled= 'Disabled'¶
-
enabled= 'Enabled'¶
-
-
class
azure.mgmt.rdbms.mysql.models.ServerState[source]¶ Bases:
str,enum.EnumAn enumeration.
-
disabled= 'Disabled'¶
-
dropping= 'Dropping'¶
-
ready= 'Ready'¶
-
-
class
azure.mgmt.rdbms.mysql.models.GeoRedundantBackup[source]¶ Bases:
str,enum.EnumAn enumeration.
-
disabled= 'Disabled'¶
-
enabled= 'Enabled'¶
-
-
class
azure.mgmt.rdbms.mysql.models.StorageAutogrow[source]¶ Bases:
str,enum.EnumAn enumeration.
-
disabled= 'Disabled'¶
-
enabled= 'Enabled'¶
-
-
class
azure.mgmt.rdbms.mysql.models.SkuTier[source]¶ Bases:
str,enum.EnumAn enumeration.
-
basic= 'Basic'¶
-
general_purpose= 'GeneralPurpose'¶
-
memory_optimized= 'MemoryOptimized'¶
-
-
class
azure.mgmt.rdbms.mysql.models.VirtualNetworkRuleState[source]¶ Bases:
str,enum.EnumAn enumeration.
-
deleting= 'Deleting'¶
-
in_progress= 'InProgress'¶
-
initializing= 'Initializing'¶
-
ready= 'Ready'¶
-
unknown= 'Unknown'¶
-