Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR track2_azure-mgmt-rdbms] New version 2023-06-30 for DBForMySQL #4923

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions sdk/rdbms/azure-mgmt-rdbms/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "85d0d6c98a47a6b6c2c1684cf94cc8e089c3c4ab",
"commit": "b4c0a0f7c81f075d9f45e73d79fab3256e29dee2",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.9.7",
"use": [
"@autorest/[email protected]",
"@autorest/[email protected]"
],
"autorest_command": "autorest specification/postgresql/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",
"readme": "specification/postgresql/resource-manager/readme.md"
"autorest_command": "autorest specification/mysql/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/mysql/resource-manager/readme.md"
}
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 = "10.2.0b11"
VERSION = "1.0.0b1"
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 = "10.2.0b11"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
from ._models_py3 import PrivateLinkServiceConnectionState
from ._models_py3 import ProxyResource
from ._models_py3 import Resource
from ._models_py3 import ResourceAutoGenerated
from ._models_py3 import Server
from ._models_py3 import ServerBackup
from ._models_py3 import ServerBackupListResult
Expand Down Expand Up @@ -145,6 +146,7 @@
"PrivateLinkServiceConnectionState",
"ProxyResource",
"Resource",
"ResourceAutoGenerated",
"Server",
"ServerBackup",
"ServerBackupListResult",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1997,7 +1997,48 @@ def __init__(self, **kwargs: Any) -> None:
self.id = None


class PrivateEndpointConnection(Resource):
class ResourceAutoGenerated(_serialization.Model):
"""Common fields that are returned in the response for all Azure Resource Manager resources.

Variables are only populated by the server, and will be ignored when sending a request.

:ivar id: Fully qualified resource ID for the resource. E.g.
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}".
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
:ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
"Microsoft.Storage/storageAccounts".
:vartype type: str
:ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy
information.
:vartype system_data: ~azure.mgmt.rdbms.mysql_flexibleservers.models.SystemData
"""

_validation = {
"id": {"readonly": True},
"name": {"readonly": True},
"type": {"readonly": True},
"system_data": {"readonly": True},
}

_attribute_map = {
"id": {"key": "id", "type": "str"},
"name": {"key": "name", "type": "str"},
"type": {"key": "type", "type": "str"},
"system_data": {"key": "systemData", "type": "SystemData"},
}

def __init__(self, **kwargs: Any) -> None:
""" """
super().__init__(**kwargs)
self.id = None
self.name = None
self.type = None
self.system_data = None


class PrivateEndpointConnection(ResourceAutoGenerated):
"""The private endpoint connection resource.

Variables are only populated by the server, and will be ignored when sending a request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ def build_create_or_update_request(
"resource_group_name", resource_group_name, "str", max_length=90, min_length=1
),
"serverName": _SERIALIZER.url("server_name", server_name, "str", pattern=r"^[a-z0-9][-a-z0-9]*(?<!-)$"),
"firewallRuleName": _SERIALIZER.url("firewall_rule_name", firewall_rule_name, "str"),
"firewallRuleName": _SERIALIZER.url(
"firewall_rule_name", firewall_rule_name, "str", pattern=r"^[a-zA-Z0-9][-_a-zA-Z0-9]{0,79}(?<!-)$"
),
}

_url: str = _url.format(**path_format_arguments) # type: ignore
Expand Down Expand Up @@ -95,7 +97,9 @@ def build_delete_request(
"resource_group_name", resource_group_name, "str", max_length=90, min_length=1
),
"serverName": _SERIALIZER.url("server_name", server_name, "str", pattern=r"^[a-z0-9][-a-z0-9]*(?<!-)$"),
"firewallRuleName": _SERIALIZER.url("firewall_rule_name", firewall_rule_name, "str"),
"firewallRuleName": _SERIALIZER.url(
"firewall_rule_name", firewall_rule_name, "str", pattern=r"^[a-zA-Z0-9][-_a-zA-Z0-9]{0,79}(?<!-)$"
),
}

_url: str = _url.format(**path_format_arguments) # type: ignore
Expand Down Expand Up @@ -129,7 +133,9 @@ def build_get_request(
"resource_group_name", resource_group_name, "str", max_length=90, min_length=1
),
"serverName": _SERIALIZER.url("server_name", server_name, "str", pattern=r"^[a-z0-9][-a-z0-9]*(?<!-)$"),
"firewallRuleName": _SERIALIZER.url("firewall_rule_name", firewall_rule_name, "str"),
"firewallRuleName": _SERIALIZER.url(
"firewall_rule_name", firewall_rule_name, "str", pattern=r"^[a-zA-Z0-9][-_a-zA-Z0-9]{0,79}(?<!-)$"
),
}

_url: str = _url.format(**path_format_arguments) # type: ignore
Expand Down