Skip to content

Commit

Permalink
Generated from 83be2a4c15b8e871f9e9dfd5f0cbc024aa08be1d
Browse files Browse the repository at this point in the history
exclude private apiversions for schemas generation
  • Loading branch information
SDK Automation committed Aug 28, 2020
1 parent 52bdd94 commit d496f04
Show file tree
Hide file tree
Showing 13 changed files with 341 additions and 37 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
from .operations import LogFilesOperations
from .operations import LocationBasedPerformanceTierOperations
from .operations import CheckNameAvailabilityOperations
from .operations import ServerSecurityAlertPoliciesOperations
from .operations import Operations
from .operations import QueryTextsOperations
from .operations import TopQueryStatisticsOperations
Expand All @@ -34,6 +33,7 @@
from .operations import LocationBasedRecommendedActionSessionsResultOperations
from .operations import PrivateEndpointConnectionsOperations
from .operations import PrivateLinkResourcesOperations
from .operations import ServerSecurityAlertPoliciesOperations
from . import models


Expand Down Expand Up @@ -61,8 +61,6 @@ class MariaDBManagementClient(MariaDBManagementClientOperationsMixin, SDKClient)
:vartype location_based_performance_tier: azure.mgmt.rdbms.mariadb.operations.LocationBasedPerformanceTierOperations
:ivar check_name_availability: CheckNameAvailability operations
:vartype check_name_availability: azure.mgmt.rdbms.mariadb.operations.CheckNameAvailabilityOperations
:ivar server_security_alert_policies: ServerSecurityAlertPolicies operations
:vartype server_security_alert_policies: azure.mgmt.rdbms.mariadb.operations.ServerSecurityAlertPoliciesOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.rdbms.mariadb.operations.Operations
:ivar query_texts: QueryTexts operations
Expand All @@ -83,6 +81,8 @@ class MariaDBManagementClient(MariaDBManagementClientOperationsMixin, SDKClient)
:vartype private_endpoint_connections: azure.mgmt.rdbms.mariadb.operations.PrivateEndpointConnectionsOperations
:ivar private_link_resources: PrivateLinkResources operations
:vartype private_link_resources: azure.mgmt.rdbms.mariadb.operations.PrivateLinkResourcesOperations
:ivar server_security_alert_policies: ServerSecurityAlertPolicies operations
:vartype server_security_alert_policies: azure.mgmt.rdbms.mariadb.operations.ServerSecurityAlertPoliciesOperations
:param credentials: Credentials needed for the client to connect to Azure.
:type credentials: :mod:`A msrestazure Credentials
Expand Down Expand Up @@ -121,8 +121,6 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.check_name_availability = CheckNameAvailabilityOperations(
self._client, self.config, self._serialize, self._deserialize)
self.server_security_alert_policies = ServerSecurityAlertPoliciesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.operations = Operations(
self._client, self.config, self._serialize, self._deserialize)
self.query_texts = QueryTextsOperations(
Expand All @@ -143,3 +141,5 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.private_link_resources = PrivateLinkResourcesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.server_security_alert_policies = ServerSecurityAlertPoliciesOperations(
self._client, self.config, self._serialize, self._deserialize)
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
from ._log_files_operations import LogFilesOperations
from ._location_based_performance_tier_operations import LocationBasedPerformanceTierOperations
from ._check_name_availability_operations import CheckNameAvailabilityOperations
from ._server_security_alert_policies_operations import ServerSecurityAlertPoliciesOperations
from ._operations import Operations
from ._query_texts_operations import QueryTextsOperations
from ._top_query_statistics_operations import TopQueryStatisticsOperations
Expand All @@ -29,6 +28,7 @@
from ._location_based_recommended_action_sessions_result_operations import LocationBasedRecommendedActionSessionsResultOperations
from ._private_endpoint_connections_operations import PrivateEndpointConnectionsOperations
from ._private_link_resources_operations import PrivateLinkResourcesOperations
from ._server_security_alert_policies_operations import ServerSecurityAlertPoliciesOperations
from ._maria_db_management_client_operations import MariaDBManagementClientOperationsMixin

__all__ = [
Expand All @@ -41,7 +41,6 @@
'LogFilesOperations',
'LocationBasedPerformanceTierOperations',
'CheckNameAvailabilityOperations',
'ServerSecurityAlertPoliciesOperations',
'Operations',
'QueryTextsOperations',
'TopQueryStatisticsOperations',
Expand All @@ -52,5 +51,6 @@
'LocationBasedRecommendedActionSessionsResultOperations',
'PrivateEndpointConnectionsOperations',
'PrivateLinkResourcesOperations',
'ServerSecurityAlertPoliciesOperations',
'MariaDBManagementClientOperationsMixin',
]
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
from .operations import ServerAdministratorsOperations
from .operations import LocationBasedPerformanceTierOperations
from .operations import CheckNameAvailabilityOperations
from .operations import ServerSecurityAlertPoliciesOperations
from .operations import Operations
from .operations import ServerSecurityAlertPoliciesOperations
from .operations import QueryTextsOperations
from .operations import TopQueryStatisticsOperations
from .operations import WaitStatisticsOperations
Expand Down Expand Up @@ -65,10 +65,10 @@ class MySQLManagementClient(MySQLManagementClientOperationsMixin, SDKClient):
:vartype location_based_performance_tier: azure.mgmt.rdbms.mysql.operations.LocationBasedPerformanceTierOperations
:ivar check_name_availability: CheckNameAvailability operations
:vartype check_name_availability: azure.mgmt.rdbms.mysql.operations.CheckNameAvailabilityOperations
:ivar server_security_alert_policies: ServerSecurityAlertPolicies operations
:vartype server_security_alert_policies: azure.mgmt.rdbms.mysql.operations.ServerSecurityAlertPoliciesOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.rdbms.mysql.operations.Operations
:ivar server_security_alert_policies: ServerSecurityAlertPolicies operations
:vartype server_security_alert_policies: azure.mgmt.rdbms.mysql.operations.ServerSecurityAlertPoliciesOperations
:ivar query_texts: QueryTexts operations
:vartype query_texts: azure.mgmt.rdbms.mysql.operations.QueryTextsOperations
:ivar top_query_statistics: TopQueryStatistics operations
Expand Down Expand Up @@ -128,10 +128,10 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.check_name_availability = CheckNameAvailabilityOperations(
self._client, self.config, self._serialize, self._deserialize)
self.server_security_alert_policies = ServerSecurityAlertPoliciesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.operations = Operations(
self._client, self.config, self._serialize, self._deserialize)
self.server_security_alert_policies = ServerSecurityAlertPoliciesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.query_texts = QueryTextsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.top_query_statistics = TopQueryStatisticsOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
from ._models_py3 import ServerPropertiesForRestore
from ._models_py3 import ServerSecurityAlertPolicy
from ._models_py3 import ServerUpdateParameters
from ._models_py3 import ServerUpgradeParameters
from ._models_py3 import Sku
from ._models_py3 import StorageProfile
from ._models_py3 import TagsObject
Expand Down Expand Up @@ -103,6 +104,7 @@
from ._models import ServerPropertiesForRestore
from ._models import ServerSecurityAlertPolicy
from ._models import ServerUpdateParameters
from ._models import ServerUpgradeParameters
from ._models import Sku
from ._models import StorageProfile
from ._models import TagsObject
Expand Down Expand Up @@ -189,6 +191,7 @@
'ServerPropertiesForRestore',
'ServerSecurityAlertPolicy',
'ServerUpdateParameters',
'ServerUpgradeParameters',
'Sku',
'StorageProfile',
'TagsObject',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def __init__(self, **kwargs):
class CloudError(Model):
"""An error response from the Batch service.
:param error:
:param error: Error message
:type error: ~azure.mgmt.rdbms.mysql.models.ErrorResponse
"""

Expand Down Expand Up @@ -1979,6 +1979,22 @@ def __init__(self, **kwargs):
self.tags = kwargs.get('tags', None)


class ServerUpgradeParameters(Model):
"""ServerUpgradeParameters.
:param target_server_version: Represents an server storage profile.
:type target_server_version: str
"""

_attribute_map = {
'target_server_version': {'key': 'properties.targetServerVersion', 'type': 'str'},
}

def __init__(self, **kwargs):
super(ServerUpgradeParameters, self).__init__(**kwargs)
self.target_server_version = kwargs.get('target_server_version', None)


class Sku(Model):
"""Billing information related properties of a server.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def __init__(self, **kwargs) -> None:
class CloudError(Model):
"""An error response from the Batch service.
:param error:
:param error: Error message
:type error: ~azure.mgmt.rdbms.mysql.models.ErrorResponse
"""

Expand Down Expand Up @@ -1979,6 +1979,22 @@ def __init__(self, *, identity=None, sku=None, storage_profile=None, administrat
self.tags = tags


class ServerUpgradeParameters(Model):
"""ServerUpgradeParameters.
:param target_server_version: Represents an server storage profile.
:type target_server_version: str
"""

_attribute_map = {
'target_server_version': {'key': 'properties.targetServerVersion', 'type': 'str'},
}

def __init__(self, *, target_server_version: str=None, **kwargs) -> None:
super(ServerUpgradeParameters, self).__init__(**kwargs)
self.target_server_version = target_server_version


class Sku(Model):
"""Billing information related properties of a server.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ class MinimalTlsVersionEnum(str, Enum):

class InfrastructureEncryption(str, Enum):

enabled = "Enabled"
disabled = "Disabled"
enabled = "Enabled" #: Default value for single layer of encryption for data at rest.
disabled = "Disabled" #: Additional (2nd) layer of encryption for data at rest


class PublicNetworkAccessEnum(str, Enum):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
from ._server_administrators_operations import ServerAdministratorsOperations
from ._location_based_performance_tier_operations import LocationBasedPerformanceTierOperations
from ._check_name_availability_operations import CheckNameAvailabilityOperations
from ._server_security_alert_policies_operations import ServerSecurityAlertPoliciesOperations
from ._operations import Operations
from ._server_security_alert_policies_operations import ServerSecurityAlertPoliciesOperations
from ._query_texts_operations import QueryTextsOperations
from ._top_query_statistics_operations import TopQueryStatisticsOperations
from ._wait_statistics_operations import WaitStatisticsOperations
Expand All @@ -44,8 +44,8 @@
'ServerAdministratorsOperations',
'LocationBasedPerformanceTierOperations',
'CheckNameAvailabilityOperations',
'ServerSecurityAlertPoliciesOperations',
'Operations',
'ServerSecurityAlertPoliciesOperations',
'QueryTextsOperations',
'TopQueryStatisticsOperations',
'WaitStatisticsOperations',
Expand Down
Loading

0 comments on commit d496f04

Please sign in to comment.