Skip to content

Commit

Permalink
CodeGen from PR 3172 in test-repo-billy/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge c59c3d282e295c97a63326692a7140acce97c0fe into 67f4b5ff52fd6a0f6a4bfae872b3f16b31c25362
  • Loading branch information
SDKAuto committed Jan 2, 2024
1 parent e56a49c commit 4e2521a
Show file tree
Hide file tree
Showing 26 changed files with 95 additions and 135 deletions.
6 changes: 3 additions & 3 deletions sdk/sql/azure-mgmt-sql/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "a87d4d8ae70c7603c35a911f27efd774bd0d9ff8",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"commit": "e8c066c7ece348ffdfd77ad987022e0940230c18",
"repository_url": "https://github.com/test-repo-billy/azure-rest-api-specs",
"autorest": "3.9.7",
"use": [
"@autorest/[email protected]",
"@autorest/[email protected]"
],
"autorest_command": "autorest specification/sql/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.9.7 --version-tolerant=False",
"autorest_command": "autorest specification/sql/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.9.7 --version-tolerant=False",
"readme": "specification/sql/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,8 @@ class SqlManagementClient: # pylint: disable=client-accepts-api-version-keyword
DatabaseSqlVulnerabilityAssessmentsSettingsOperations operations
:vartype database_sql_vulnerability_assessments_settings:
azure.mgmt.sql.operations.DatabaseSqlVulnerabilityAssessmentsSettingsOperations
:ivar servers: ServersOperations operations
:vartype servers: azure.mgmt.sql.operations.ServersOperations
:ivar failover_groups: FailoverGroupsOperations operations
:vartype failover_groups: azure.mgmt.sql.operations.FailoverGroupsOperations
:ivar instance_pools: InstancePoolsOperations operations
Expand All @@ -594,8 +596,6 @@ class SqlManagementClient: # pylint: disable=client-accepts-api-version-keyword
:ivar long_term_retention_policies: LongTermRetentionPoliciesOperations operations
:vartype long_term_retention_policies:
azure.mgmt.sql.operations.LongTermRetentionPoliciesOperations
:ivar servers: ServersOperations operations
:vartype servers: azure.mgmt.sql.operations.ServersOperations
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The subscription ID that identifies an Azure subscription. Required.
Expand Down Expand Up @@ -1019,6 +1019,7 @@ def __init__(
self.database_sql_vulnerability_assessments_settings = DatabaseSqlVulnerabilityAssessmentsSettingsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.servers = ServersOperations(self._client, self._config, self._serialize, self._deserialize)
self.failover_groups = FailoverGroupsOperations(self._client, self._config, self._serialize, self._deserialize)
self.instance_pools = InstancePoolsOperations(self._client, self._config, self._serialize, self._deserialize)
self.long_term_retention_backups = LongTermRetentionBackupsOperations(
Expand All @@ -1027,7 +1028,6 @@ def __init__(
self.long_term_retention_policies = LongTermRetentionPoliciesOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.servers = ServersOperations(self._client, self._config, self._serialize, self._deserialize)

def _send_request(self, request: HttpRequest, **kwargs: Any) -> HttpResponse:
"""Runs the network request through the client's chained policies.
Expand Down
2 changes: 1 addition & 1 deletion sdk/sql/azure-mgmt-sql/azure/mgmt/sql/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "4.0.0b14"
VERSION = "0.9.0"
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,8 @@ class SqlManagementClient: # pylint: disable=client-accepts-api-version-keyword
DatabaseSqlVulnerabilityAssessmentsSettingsOperations operations
:vartype database_sql_vulnerability_assessments_settings:
azure.mgmt.sql.aio.operations.DatabaseSqlVulnerabilityAssessmentsSettingsOperations
:ivar servers: ServersOperations operations
:vartype servers: azure.mgmt.sql.aio.operations.ServersOperations
:ivar failover_groups: FailoverGroupsOperations operations
:vartype failover_groups: azure.mgmt.sql.aio.operations.FailoverGroupsOperations
:ivar instance_pools: InstancePoolsOperations operations
Expand All @@ -600,8 +602,6 @@ class SqlManagementClient: # pylint: disable=client-accepts-api-version-keyword
:ivar long_term_retention_policies: LongTermRetentionPoliciesOperations operations
:vartype long_term_retention_policies:
azure.mgmt.sql.aio.operations.LongTermRetentionPoliciesOperations
:ivar servers: ServersOperations operations
:vartype servers: azure.mgmt.sql.aio.operations.ServersOperations
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param subscription_id: The subscription ID that identifies an Azure subscription. Required.
Expand Down Expand Up @@ -1025,6 +1025,7 @@ def __init__(
self.database_sql_vulnerability_assessments_settings = DatabaseSqlVulnerabilityAssessmentsSettingsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.servers = ServersOperations(self._client, self._config, self._serialize, self._deserialize)
self.failover_groups = FailoverGroupsOperations(self._client, self._config, self._serialize, self._deserialize)
self.instance_pools = InstancePoolsOperations(self._client, self._config, self._serialize, self._deserialize)
self.long_term_retention_backups = LongTermRetentionBackupsOperations(
Expand All @@ -1033,7 +1034,6 @@ def __init__(
self.long_term_retention_policies = LongTermRetentionPoliciesOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.servers = ServersOperations(self._client, self._config, self._serialize, self._deserialize)

def _send_request(self, request: HttpRequest, **kwargs: Any) -> Awaitable[AsyncHttpResponse]:
"""Runs the network request through the client's chained policies.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,11 @@
from ._database_sql_vulnerability_assessments_settings_operations import (
DatabaseSqlVulnerabilityAssessmentsSettingsOperations,
)
from ._servers_operations import ServersOperations
from ._failover_groups_operations import FailoverGroupsOperations
from ._instance_pools_operations import InstancePoolsOperations
from ._long_term_retention_backups_operations import LongTermRetentionBackupsOperations
from ._long_term_retention_policies_operations import LongTermRetentionPoliciesOperations
from ._servers_operations import ServersOperations

from ._patch import __all__ as _patch_all
from ._patch import * # pylint: disable=unused-wildcard-import
Expand Down Expand Up @@ -337,11 +337,11 @@
"DatabaseSqlVulnerabilityAssessmentScanResultOperations",
"DatabaseSqlVulnerabilityAssessmentScansOperations",
"DatabaseSqlVulnerabilityAssessmentsSettingsOperations",
"ServersOperations",
"FailoverGroupsOperations",
"InstancePoolsOperations",
"LongTermRetentionBackupsOperations",
"LongTermRetentionPoliciesOperations",
"ServersOperations",
]
__all__.extend([p for p in _patch_all if p not in __all__])
_patch_sdk()
Loading

0 comments on commit 4e2521a

Please sign in to comment.