Skip to content

Commit

Permalink
CodeGen from PR 12951 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Fixing s360 violations related to recommendedactions APIs (Azure#12951)

* Fixing s360 violations related to recommendedactions APIs

* update the md file

* fixing operation id

* addressing pr comments
  • Loading branch information
SDKAuto committed Feb 25, 2021
1 parent ec812f0 commit acb17ed
Show file tree
Hide file tree
Showing 20 changed files with 1,396 additions and 173 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@
from .operations import VirtualNetworkRulesOperations
from .operations import DatabasesOperations
from .operations import ConfigurationsOperations
from .operations import ServerParametersOperations
from .operations import LogFilesOperations
from .operations import ServerAdministratorsOperations
from .operations import RecoverableServersOperations
from .operations import ServerBasedPerformanceTierOperations
from .operations import LocationBasedPerformanceTierOperations
from .operations import CheckNameAvailabilityOperations
from .operations import Operations
Expand Down Expand Up @@ -49,10 +52,16 @@ class PostgreSQLManagementClient(SDKClient):
:vartype databases: azure.mgmt.rdbms.postgresql.operations.DatabasesOperations
:ivar configurations: Configurations operations
:vartype configurations: azure.mgmt.rdbms.postgresql.operations.ConfigurationsOperations
:ivar server_parameters: ServerParameters operations
:vartype server_parameters: azure.mgmt.rdbms.postgresql.operations.ServerParametersOperations
:ivar log_files: LogFiles operations
:vartype log_files: azure.mgmt.rdbms.postgresql.operations.LogFilesOperations
:ivar server_administrators: ServerAdministrators operations
:vartype server_administrators: azure.mgmt.rdbms.postgresql.operations.ServerAdministratorsOperations
:ivar recoverable_servers: RecoverableServers operations
:vartype recoverable_servers: azure.mgmt.rdbms.postgresql.operations.RecoverableServersOperations
:ivar server_based_performance_tier: ServerBasedPerformanceTier operations
:vartype server_based_performance_tier: azure.mgmt.rdbms.postgresql.operations.ServerBasedPerformanceTierOperations
:ivar location_based_performance_tier: LocationBasedPerformanceTier operations
:vartype location_based_performance_tier: azure.mgmt.rdbms.postgresql.operations.LocationBasedPerformanceTierOperations
:ivar check_name_availability: CheckNameAvailability operations
Expand Down Expand Up @@ -98,10 +107,16 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.configurations = ConfigurationsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.server_parameters = ServerParametersOperations(
self._client, self.config, self._serialize, self._deserialize)
self.log_files = LogFilesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.server_administrators = ServerAdministratorsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.recoverable_servers = RecoverableServersOperations(
self._client, self.config, self._serialize, self._deserialize)
self.server_based_performance_tier = ServerBasedPerformanceTierOperations(
self._client, self.config, self._serialize, self._deserialize)
self.location_based_performance_tier = LocationBasedPerformanceTierOperations(
self._client, self.config, self._serialize, self._deserialize)
self.check_name_availability = CheckNameAvailabilityOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
try:
from ._models_py3 import AzureEntityResource
from ._models_py3 import Configuration
from ._models_py3 import ConfigurationListResult
from ._models_py3 import Database
from ._models_py3 import ErrorAdditionalInfo
from ._models_py3 import ErrorResponse
Expand All @@ -30,6 +31,7 @@
from ._models_py3 import PrivateLinkResourceProperties
from ._models_py3 import PrivateLinkServiceConnectionStateProperty
from ._models_py3 import ProxyResource
from ._models_py3 import RecoverableServerResource
from ._models_py3 import Resource
from ._models_py3 import ResourceIdentity
from ._models_py3 import Server
Expand All @@ -54,6 +56,7 @@
except (SyntaxError, ImportError):
from ._models import AzureEntityResource
from ._models import Configuration
from ._models import ConfigurationListResult
from ._models import Database
from ._models import ErrorAdditionalInfo
from ._models import ErrorResponse
Expand All @@ -72,6 +75,7 @@
from ._models import PrivateLinkResourceProperties
from ._models import PrivateLinkServiceConnectionStateProperty
from ._models import ProxyResource
from ._models import RecoverableServerResource
from ._models import Resource
from ._models import ResourceIdentity
from ._models import Server
Expand Down Expand Up @@ -103,6 +107,7 @@
from ._paged_models import ServerAdministratorResourcePaged
from ._paged_models import ServerKeyPaged
from ._paged_models import ServerPaged
from ._paged_models import ServerSecurityAlertPolicyPaged
from ._paged_models import VirtualNetworkRulePaged
from ._postgre_sql_management_client_enums import (
ServerVersion,
Expand All @@ -126,6 +131,7 @@
__all__ = [
'AzureEntityResource',
'Configuration',
'ConfigurationListResult',
'Database',
'ErrorAdditionalInfo',
'ErrorResponse',
Expand All @@ -144,6 +150,7 @@
'PrivateLinkResourceProperties',
'PrivateLinkServiceConnectionStateProperty',
'ProxyResource',
'RecoverableServerResource',
'Resource',
'ResourceIdentity',
'Server',
Expand Down Expand Up @@ -173,6 +180,7 @@
'LogFilePaged',
'ServerAdministratorResourcePaged',
'PerformanceTierPropertiesPaged',
'ServerSecurityAlertPolicyPaged',
'PrivateEndpointConnectionPaged',
'PrivateLinkResourcePaged',
'ServerKeyPaged',
Expand Down
Loading

0 comments on commit acb17ed

Please sign in to comment.