azure.mgmt.rdbms.mariadb.operations module¶
-
class
azure.mgmt.rdbms.mariadb.operations.
ServersOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
ServersOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – The API version to use for this operation. Constant value: “2018-06-01”.
-
create
(resource_group_name, server_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Creates a new server or updates an existing server. The update action will overwrite the existing server.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
parameters (ServerForCreate) – The required parameters for creating or updating a server.
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns Server or ClientRawResponse<Server> if raw==True
- Return type
AzureOperationPoller[Server] or AzureOperationPoller[ClientRawResponse[Server]]
- Raises
CloudError
-
delete
(resource_group_name, server_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Deletes a server.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
- Return type
AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
- Raises
CloudError
-
get
(resource_group_name, server_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets information about a server.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
Server or ClientRawResponse if raw=true
- Return type
Server or ClientRawResponse
- Raises
CloudError
-
list
(custom_headers=None, raw=False, **operation_config)[source]¶ List all the servers in a given subscription.
- Parameters
- Returns
An iterator like instance of Server
- Return type
- Raises
CloudError
-
list_by_resource_group
(resource_group_name, custom_headers=None, raw=False, **operation_config)[source]¶ List all the servers in a given resource group.
- Parameters
- Returns
An iterator like instance of Server
- Return type
- Raises
CloudError
-
restart
(resource_group_name, server_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Restarts a server.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
- Return type
AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
- Raises
CloudError
-
update
(resource_group_name, server_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Updates an existing server. The request body can contain one to many of the properties present in the normal server definition.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
parameters (ServerUpdateParameters) – The required parameters for updating a server.
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns Server or ClientRawResponse<Server> if raw==True
- Return type
AzureOperationPoller[Server] or AzureOperationPoller[ClientRawResponse[Server]]
- Raises
CloudError
-
models
= <module 'azure.mgmt.rdbms.mariadb.models' from '/home/vsts/work/1/s/sdk/rdbms/azure-mgmt-rdbms/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/rdbms/mariadb/models/__init__.py'>¶
-
class
azure.mgmt.rdbms.mariadb.operations.
ReplicasOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
ReplicasOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – The API version to use for this operation. Constant value: “2018-06-01”.
-
list_by_server
(resource_group_name, server_name, custom_headers=None, raw=False, **operation_config)[source]¶ List all the replicas for a given server.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
An iterator like instance of Server
- Return type
- Raises
CloudError
-
models
= <module 'azure.mgmt.rdbms.mariadb.models' from '/home/vsts/work/1/s/sdk/rdbms/azure-mgmt-rdbms/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/rdbms/mariadb/models/__init__.py'>¶
-
class
azure.mgmt.rdbms.mariadb.operations.
FirewallRulesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
FirewallRulesOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – The API version to use for this operation. Constant value: “2018-06-01”.
-
create_or_update
(resource_group_name, server_name, firewall_rule_name, start_ip_address, end_ip_address, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Creates a new firewall rule or updates an existing firewall rule.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
firewall_rule_name (str) – The name of the server firewall rule.
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.
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns FirewallRule or ClientRawResponse<FirewallRule> if raw==True
- Return type
AzureOperationPoller[FirewallRule] or AzureOperationPoller[ClientRawResponse[FirewallRule]]
- Raises
CloudError
-
delete
(resource_group_name, server_name, firewall_rule_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Deletes a server firewall rule.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
firewall_rule_name (str) – The name of the server firewall rule.
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
- Return type
AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
- Raises
CloudError
-
get
(resource_group_name, server_name, firewall_rule_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets information about a server firewall rule.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
firewall_rule_name (str) – The name of the server firewall rule.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
FirewallRule or ClientRawResponse if raw=true
- Return type
FirewallRule or ClientRawResponse
- Raises
CloudError
-
list_by_server
(resource_group_name, server_name, custom_headers=None, raw=False, **operation_config)[source]¶ List all the firewall rules in a given server.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
An iterator like instance of FirewallRule
- Return type
- Raises
CloudError
-
models
= <module 'azure.mgmt.rdbms.mariadb.models' from '/home/vsts/work/1/s/sdk/rdbms/azure-mgmt-rdbms/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/rdbms/mariadb/models/__init__.py'>¶
-
class
azure.mgmt.rdbms.mariadb.operations.
VirtualNetworkRulesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
VirtualNetworkRulesOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – The API version to use for this operation. Constant value: “2018-06-01”.
-
create_or_update
(resource_group_name, server_name, virtual_network_rule_name, virtual_network_subnet_id, ignore_missing_vnet_service_endpoint=None, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Creates or updates an existing virtual network rule.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
virtual_network_rule_name (str) – The name of the virtual network rule.
virtual_network_subnet_id (str) – 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.
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns VirtualNetworkRule or ClientRawResponse<VirtualNetworkRule> if raw==True
- Return type
AzureOperationPoller[VirtualNetworkRule] or AzureOperationPoller[ClientRawResponse[VirtualNetworkRule]]
- Raises
CloudError
-
delete
(resource_group_name, server_name, virtual_network_rule_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Deletes the virtual network rule with the given name.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
virtual_network_rule_name (str) – The name of the virtual network rule.
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
- Return type
AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
- Raises
CloudError
-
get
(resource_group_name, server_name, virtual_network_rule_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets a virtual network rule.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
virtual_network_rule_name (str) – The name of the virtual network rule.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
VirtualNetworkRule or ClientRawResponse if raw=true
- Return type
VirtualNetworkRule or ClientRawResponse
- Raises
CloudError
-
list_by_server
(resource_group_name, server_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets a list of virtual network rules in a server.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
An iterator like instance of VirtualNetworkRule
- Return type
- Raises
CloudError
-
models
= <module 'azure.mgmt.rdbms.mariadb.models' from '/home/vsts/work/1/s/sdk/rdbms/azure-mgmt-rdbms/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/rdbms/mariadb/models/__init__.py'>¶
-
class
azure.mgmt.rdbms.mariadb.operations.
DatabasesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
DatabasesOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – The API version to use for this operation. Constant value: “2018-06-01”.
-
create_or_update
(resource_group_name, server_name, database_name, charset=None, collation=None, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Creates a new database or updates an existing database.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
database_name (str) – The name of the database.
charset (str) – The charset of the database.
collation (str) – The collation of the database.
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns Database or ClientRawResponse<Database> if raw==True
- Return type
AzureOperationPoller[Database] or AzureOperationPoller[ClientRawResponse[Database]]
- Raises
CloudError
-
delete
(resource_group_name, server_name, database_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Deletes a database.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
database_name (str) – The name of the database.
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
- Return type
AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
- Raises
CloudError
-
get
(resource_group_name, server_name, database_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets information about a database.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
database_name (str) – The name of the database.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
Database or ClientRawResponse if raw=true
- Return type
Database or ClientRawResponse
- Raises
CloudError
-
list_by_server
(resource_group_name, server_name, custom_headers=None, raw=False, **operation_config)[source]¶ List all the databases in a given server.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
An iterator like instance of Database
- Return type
- Raises
CloudError
-
models
= <module 'azure.mgmt.rdbms.mariadb.models' from '/home/vsts/work/1/s/sdk/rdbms/azure-mgmt-rdbms/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/rdbms/mariadb/models/__init__.py'>¶
-
class
azure.mgmt.rdbms.mariadb.operations.
ConfigurationsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
ConfigurationsOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – The API version to use for this operation. Constant value: “2018-06-01”.
-
create_or_update
(resource_group_name, server_name, configuration_name, value=None, source=None, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Updates a configuration of a server.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
configuration_name (str) – The name of the server configuration.
value (str) – Value of the configuration.
source (str) – Source of the configuration.
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns Configuration or ClientRawResponse<Configuration> if raw==True
- Return type
AzureOperationPoller[Configuration] or AzureOperationPoller[ClientRawResponse[Configuration]]
- Raises
CloudError
-
get
(resource_group_name, server_name, configuration_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets information about a configuration of server.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
configuration_name (str) – The name of the server configuration.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
Configuration or ClientRawResponse if raw=true
- Return type
Configuration or ClientRawResponse
- Raises
CloudError
-
list_by_server
(resource_group_name, server_name, custom_headers=None, raw=False, **operation_config)[source]¶ List all the configurations in a given server.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
An iterator like instance of Configuration
- Return type
- Raises
CloudError
-
models
= <module 'azure.mgmt.rdbms.mariadb.models' from '/home/vsts/work/1/s/sdk/rdbms/azure-mgmt-rdbms/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/rdbms/mariadb/models/__init__.py'>¶
-
class
azure.mgmt.rdbms.mariadb.operations.
LogFilesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
LogFilesOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – The API version to use for this operation. Constant value: “2018-06-01”.
-
list_by_server
(resource_group_name, server_name, custom_headers=None, raw=False, **operation_config)[source]¶ List all the log files in a given server.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
An iterator like instance of LogFile
- Return type
- Raises
CloudError
-
models
= <module 'azure.mgmt.rdbms.mariadb.models' from '/home/vsts/work/1/s/sdk/rdbms/azure-mgmt-rdbms/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/rdbms/mariadb/models/__init__.py'>¶
-
class
azure.mgmt.rdbms.mariadb.operations.
LocationBasedPerformanceTierOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
LocationBasedPerformanceTierOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – The API version to use for this operation. Constant value: “2018-06-01”.
-
list
(location_name, custom_headers=None, raw=False, **operation_config)[source]¶ List all the performance tiers at specified location in a given subscription.
- Parameters
- Returns
An iterator like instance of PerformanceTierProperties
- Return type
- Raises
CloudError
-
models
= <module 'azure.mgmt.rdbms.mariadb.models' from '/home/vsts/work/1/s/sdk/rdbms/azure-mgmt-rdbms/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/rdbms/mariadb/models/__init__.py'>¶
-
class
azure.mgmt.rdbms.mariadb.operations.
CheckNameAvailabilityOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
CheckNameAvailabilityOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – The API version to use for this operation. Constant value: “2018-06-01”.
-
execute
(name, type=None, custom_headers=None, raw=False, **operation_config)[source]¶ Check the availability of name for resource.
- Parameters
- Returns
NameAvailability or ClientRawResponse if raw=true
- Return type
NameAvailability or ClientRawResponse
- Raises
CloudError
-
models
= <module 'azure.mgmt.rdbms.mariadb.models' from '/home/vsts/work/1/s/sdk/rdbms/azure-mgmt-rdbms/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/rdbms/mariadb/models/__init__.py'>¶
-
class
azure.mgmt.rdbms.mariadb.operations.
ServerSecurityAlertPoliciesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
ServerSecurityAlertPoliciesOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
security_alert_policy_name – The name of the security alert policy. Constant value: “Default”.
api_version – The API version to use for this operation. Constant value: “2018-06-01”.
-
create_or_update
(resource_group_name, server_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Creates or updates a threat detection policy.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
parameters (ServerSecurityAlertPolicy) – The server security alert policy.
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns ServerSecurityAlertPolicy or ClientRawResponse<ServerSecurityAlertPolicy> if raw==True
- Return type
AzureOperationPoller[ServerSecurityAlertPolicy] or AzureOperationPoller[ClientRawResponse[ServerSecurityAlertPolicy]]
- Raises
CloudError
-
get
(resource_group_name, server_name, custom_headers=None, raw=False, **operation_config)[source]¶ Get a server’s security alert policy.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
ServerSecurityAlertPolicy or ClientRawResponse if raw=true
- Return type
ServerSecurityAlertPolicy or ClientRawResponse
- Raises
CloudError
-
models
= <module 'azure.mgmt.rdbms.mariadb.models' from '/home/vsts/work/1/s/sdk/rdbms/azure-mgmt-rdbms/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/rdbms/mariadb/models/__init__.py'>¶
-
class
azure.mgmt.rdbms.mariadb.operations.
Operations
(client, config, serializer, deserializer)[source]¶ Bases:
object
Operations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – The API version to use for this operation. Constant value: “2018-06-01”.
-
list
(custom_headers=None, raw=False, **operation_config)[source]¶ Lists all of the available REST API operations.
- Parameters
- Returns
OperationListResult or ClientRawResponse if raw=true
- Return type
OperationListResult or ClientRawResponse
- Raises
CloudError
-
models
= <module 'azure.mgmt.rdbms.mariadb.models' from '/home/vsts/work/1/s/sdk/rdbms/azure-mgmt-rdbms/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/rdbms/mariadb/models/__init__.py'>¶
-
class
azure.mgmt.rdbms.mariadb.operations.
QueryTextsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
QueryTextsOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – The API version to use for this operation. Constant value: “2018-06-01”.
-
get
(resource_group_name, server_name, query_id, custom_headers=None, raw=False, **operation_config)[source]¶ Retrieve the Query-Store query texts for the queryId.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
query_id (str) – The Query-Store query identifier.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
QueryText or ClientRawResponse if raw=true
- Return type
QueryText or ClientRawResponse
- Raises
CloudError
-
list_by_server
(resource_group_name, server_name, query_ids, custom_headers=None, raw=False, **operation_config)[source]¶ Retrieve the Query-Store query texts for specified queryIds.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
An iterator like instance of QueryText
- Return type
- Raises
CloudError
-
models
= <module 'azure.mgmt.rdbms.mariadb.models' from '/home/vsts/work/1/s/sdk/rdbms/azure-mgmt-rdbms/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/rdbms/mariadb/models/__init__.py'>¶
-
class
azure.mgmt.rdbms.mariadb.operations.
TopQueryStatisticsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
TopQueryStatisticsOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – The API version to use for this operation. Constant value: “2018-06-01”.
-
get
(resource_group_name, server_name, query_statistic_id, custom_headers=None, raw=False, **operation_config)[source]¶ Retrieve the query statistic for specified identifier.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
query_statistic_id (str) – The Query Statistic identifier.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
QueryStatistic or ClientRawResponse if raw=true
- Return type
QueryStatistic or ClientRawResponse
- Raises
CloudError
-
list_by_server
(resource_group_name, server_name, parameters, custom_headers=None, raw=False, **operation_config)[source]¶ Retrieve the Query-Store top queries for specified metric and aggregation.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
parameters (TopQueryStatisticsInput) – The required parameters for retrieving top query statistics.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
An iterator like instance of QueryStatistic
- Return type
- Raises
CloudError
-
models
= <module 'azure.mgmt.rdbms.mariadb.models' from '/home/vsts/work/1/s/sdk/rdbms/azure-mgmt-rdbms/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/rdbms/mariadb/models/__init__.py'>¶
-
class
azure.mgmt.rdbms.mariadb.operations.
WaitStatisticsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
WaitStatisticsOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – The API version to use for this operation. Constant value: “2018-06-01”.
-
get
(resource_group_name, server_name, wait_statistics_id, custom_headers=None, raw=False, **operation_config)[source]¶ Retrieve wait statistics for specified identifier.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
wait_statistics_id (str) – The Wait Statistic identifier.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
WaitStatistic or ClientRawResponse if raw=true
- Return type
WaitStatistic or ClientRawResponse
- Raises
CloudError
-
list_by_server
(resource_group_name, server_name, parameters, custom_headers=None, raw=False, **operation_config)[source]¶ Retrieve wait statistics for specified aggregation window.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
parameters (WaitStatisticsInput) – The required parameters for retrieving wait statistics.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
An iterator like instance of WaitStatistic
- Return type
- Raises
CloudError
-
models
= <module 'azure.mgmt.rdbms.mariadb.models' from '/home/vsts/work/1/s/sdk/rdbms/azure-mgmt-rdbms/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/rdbms/mariadb/models/__init__.py'>¶
-
class
azure.mgmt.rdbms.mariadb.operations.
AdvisorsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
AdvisorsOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – The API version to use for this operation. Constant value: “2018-06-01”.
-
get
(resource_group_name, server_name, advisor_name, custom_headers=None, raw=False, **operation_config)[source]¶ Get a recommendation action advisor.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
advisor_name (str) – The advisor name for recommendation action.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
Advisor or ClientRawResponse if raw=true
- Return type
Advisor or ClientRawResponse
- Raises
CloudError
-
list_by_server
(resource_group_name, server_name, custom_headers=None, raw=False, **operation_config)[source]¶ List recommendation action advisors.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
An iterator like instance of Advisor
- Return type
- Raises
CloudError
-
models
= <module 'azure.mgmt.rdbms.mariadb.models' from '/home/vsts/work/1/s/sdk/rdbms/azure-mgmt-rdbms/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/rdbms/mariadb/models/__init__.py'>¶
-
class
azure.mgmt.rdbms.mariadb.operations.
RecommendedActionsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
RecommendedActionsOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – The API version to use for this operation. Constant value: “2018-06-01”.
-
get
(resource_group_name, server_name, advisor_name, recommended_action_name, custom_headers=None, raw=False, **operation_config)[source]¶ Retrieve recommended actions from the advisor.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
advisor_name (str) – The advisor name for recommendation action.
recommended_action_name (str) – The recommended action name.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
RecommendationAction or ClientRawResponse if raw=true
- Return type
RecommendationAction or ClientRawResponse
- Raises
CloudError
-
list_by_server
(resource_group_name, server_name, advisor_name, session_id=None, custom_headers=None, raw=False, **operation_config)[source]¶ Retrieve recommended actions from the advisor.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
advisor_name (str) – The advisor name for recommendation action.
session_id (str) – The recommendation action session identifier.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
An iterator like instance of RecommendationAction
- Return type
- Raises
CloudError
-
models
= <module 'azure.mgmt.rdbms.mariadb.models' from '/home/vsts/work/1/s/sdk/rdbms/azure-mgmt-rdbms/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/rdbms/mariadb/models/__init__.py'>¶
-
class
azure.mgmt.rdbms.mariadb.operations.
LocationBasedRecommendedActionSessionsOperationStatusOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
LocationBasedRecommendedActionSessionsOperationStatusOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – The API version to use for this operation. Constant value: “2018-06-01”.
-
get
(location_name, operation_id, custom_headers=None, raw=False, **operation_config)[source]¶ Recommendation action session operation status.
- Parameters
- Returns
RecommendedActionSessionsOperationStatus or ClientRawResponse if raw=true
- Return type
RecommendedActionSessionsOperationStatus or ClientRawResponse
- Raises
CloudError
-
models
= <module 'azure.mgmt.rdbms.mariadb.models' from '/home/vsts/work/1/s/sdk/rdbms/azure-mgmt-rdbms/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/rdbms/mariadb/models/__init__.py'>¶
-
class
azure.mgmt.rdbms.mariadb.operations.
LocationBasedRecommendedActionSessionsResultOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
LocationBasedRecommendedActionSessionsResultOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – The API version to use for this operation. Constant value: “2018-06-01”.
-
list
(location_name, operation_id, custom_headers=None, raw=False, **operation_config)[source]¶ Recommendation action session operation result.
- Parameters
- Returns
An iterator like instance of RecommendationAction
- Return type
- Raises
CloudError
-
models
= <module 'azure.mgmt.rdbms.mariadb.models' from '/home/vsts/work/1/s/sdk/rdbms/azure-mgmt-rdbms/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/rdbms/mariadb/models/__init__.py'>¶
-
class
azure.mgmt.rdbms.mariadb.operations.
PrivateEndpointConnectionsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
PrivateEndpointConnectionsOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – The API version to use for this operation. Constant value: “2018-06-01”.
-
create_or_update
(resource_group_name, server_name, private_endpoint_connection_name, private_endpoint=None, private_link_service_connection_state=None, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Approve or reject a private endpoint connection with a given name.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
private_endpoint_connection_name (str) –
private_endpoint (PrivateEndpointProperty) – Private endpoint which the connection belongs to.
private_link_service_connection_state (PrivateLinkServiceConnectionStateProperty) – Connection state of the private endpoint connection.
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns PrivateEndpointConnection or ClientRawResponse<PrivateEndpointConnection> if raw==True
- Return type
AzureOperationPoller[PrivateEndpointConnection] or AzureOperationPoller[ClientRawResponse[PrivateEndpointConnection]]
- Raises
CloudError
-
delete
(resource_group_name, server_name, private_endpoint_connection_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Deletes a private endpoint connection with a given name.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
private_endpoint_connection_name (str) –
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
- Return type
AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
- Raises
CloudError
-
get
(resource_group_name, server_name, private_endpoint_connection_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets a private endpoint connection.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
private_endpoint_connection_name (str) – The name of the private endpoint connection.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
PrivateEndpointConnection or ClientRawResponse if raw=true
- Return type
PrivateEndpointConnection or ClientRawResponse
- Raises
CloudError
-
list_by_server
(resource_group_name, server_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets all private endpoint connections on a server.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
An iterator like instance of PrivateEndpointConnection
- Return type
- Raises
CloudError
Updates tags on private endpoint connection.
Updates private endpoint connection with the specified tags.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
private_endpoint_connection_name (str) –
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns PrivateEndpointConnection or ClientRawResponse<PrivateEndpointConnection> if raw==True
- Return type
AzureOperationPoller[PrivateEndpointConnection] or AzureOperationPoller[ClientRawResponse[PrivateEndpointConnection]]
- Raises
CloudError
-
models
= <module 'azure.mgmt.rdbms.mariadb.models' from '/home/vsts/work/1/s/sdk/rdbms/azure-mgmt-rdbms/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/rdbms/mariadb/models/__init__.py'>¶
-
class
azure.mgmt.rdbms.mariadb.operations.
PrivateLinkResourcesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
PrivateLinkResourcesOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – The API version to use for this operation. Constant value: “2018-06-01”.
-
get
(resource_group_name, server_name, group_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets a private link resource for MariaDB server.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
group_name (str) – The name of the private link resource.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
PrivateLinkResource or ClientRawResponse if raw=true
- Return type
PrivateLinkResource or ClientRawResponse
- Raises
CloudError
-
list_by_server
(resource_group_name, server_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets the private link resources for MariaDB server.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
An iterator like instance of PrivateLinkResource
- Return type
- Raises
CloudError
-
models
= <module 'azure.mgmt.rdbms.mariadb.models' from '/home/vsts/work/1/s/sdk/rdbms/azure-mgmt-rdbms/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/rdbms/mariadb/models/__init__.py'>¶
-
class
azure.mgmt.rdbms.mariadb.operations.
MariaDBManagementClientOperationsMixin
[source]¶ Bases:
object
-
create_recommended_action_session
(resource_group_name, server_name, advisor_name, database_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Create recommendation action session for the advisor.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
server_name (str) – The name of the server.
advisor_name (str) – The advisor name for recommendation action.
database_name (str) – The name of the database.
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
- Return type
AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
- Raises
CloudError
-