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] update postgresql reademe.typescript.md #5311

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
4 changes: 2 additions & 2 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": "71fc6f2b11ad86aabef91c38f76687dafcd37ced",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.9.7",
"use": [
"@autorest/python@6.7.1",
"@autorest/modelerfour@4.26.2"
],
"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/python@6.7.1 --use=@autorest/modelerfour@4.26.2 --version=3.9.7 --version-tolerant=False",
"autorest_command": "autorest specification/postgresql/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/python@6.7.1 --use=@autorest/modelerfour@4.26.2 --version=3.9.7 --version-tolerant=False",
"readme": "specification/postgresql/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 @@ -27,16 +27,16 @@ class PostgreSQLManagementClientConfiguration(Configuration): # pylint: disable

:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The ID of the target subscription. Required.
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
:type subscription_id: str
:keyword api_version: Api Version. Default value is "2023-03-01-preview". Note that overriding
:keyword api_version: Api Version. Default value is "2023-06-01-preview". Note that overriding
this default value may result in unsupported behavior.
:paramtype api_version: str
"""

def __init__(self, credential: "TokenCredential", subscription_id: str, **kwargs: Any) -> None:
super(PostgreSQLManagementClientConfiguration, self).__init__(**kwargs)
api_version: str = kwargs.pop("api_version", "2023-03-01-preview")
api_version: str = kwargs.pop("api_version", "2023-06-01-preview")

if credential is None:
raise ValueError("Parameter 'credential' must not be None.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,15 @@
MigrationsOperations,
Operations,
PostgreSQLManagementClientOperationsMixin,
PrivateEndpointConnectionOperations,
PrivateEndpointConnectionsOperations,
PrivateLinkResourcesOperations,
QuotaUsagesOperations,
ReplicasOperations,
ServerCapabilitiesOperations,
ServerThreatProtectionSettingsOperations,
ServersOperations,
VirtualEndpointsOperations,
VirtualNetworkSubnetUsageOperations,
)

Expand Down Expand Up @@ -77,6 +83,12 @@ class PostgreSQLManagementClient(
azure.mgmt.rdbms.postgresql_flexibleservers.operations.FirewallRulesOperations
:ivar servers: ServersOperations operations
:vartype servers: azure.mgmt.rdbms.postgresql_flexibleservers.operations.ServersOperations
:ivar flexible_server: FlexibleServerOperations operations
:vartype flexible_server:
azure.mgmt.rdbms.postgresql_flexibleservers.operations.FlexibleServerOperations
:ivar ltr_backup_operations: LtrBackupOperationsOperations operations
:vartype ltr_backup_operations:
azure.mgmt.rdbms.postgresql_flexibleservers.operations.LtrBackupOperationsOperations
:ivar migrations: MigrationsOperations operations
:vartype migrations:
azure.mgmt.rdbms.postgresql_flexibleservers.operations.MigrationsOperations
Expand All @@ -85,26 +97,38 @@ class PostgreSQLManagementClient(
:ivar get_private_dns_zone_suffix: GetPrivateDnsZoneSuffixOperations operations
:vartype get_private_dns_zone_suffix:
azure.mgmt.rdbms.postgresql_flexibleservers.operations.GetPrivateDnsZoneSuffixOperations
:ivar private_endpoint_connections: PrivateEndpointConnectionsOperations operations
:vartype private_endpoint_connections:
azure.mgmt.rdbms.postgresql_flexibleservers.operations.PrivateEndpointConnectionsOperations
:ivar private_endpoint_connection: PrivateEndpointConnectionOperations operations
:vartype private_endpoint_connection:
azure.mgmt.rdbms.postgresql_flexibleservers.operations.PrivateEndpointConnectionOperations
:ivar private_link_resources: PrivateLinkResourcesOperations operations
:vartype private_link_resources:
azure.mgmt.rdbms.postgresql_flexibleservers.operations.PrivateLinkResourcesOperations
:ivar quota_usages: QuotaUsagesOperations operations
:vartype quota_usages:
azure.mgmt.rdbms.postgresql_flexibleservers.operations.QuotaUsagesOperations
:ivar replicas: ReplicasOperations operations
:vartype replicas: azure.mgmt.rdbms.postgresql_flexibleservers.operations.ReplicasOperations
:ivar log_files: LogFilesOperations operations
:vartype log_files: azure.mgmt.rdbms.postgresql_flexibleservers.operations.LogFilesOperations
:ivar server_threat_protection_settings: ServerThreatProtectionSettingsOperations operations
:vartype server_threat_protection_settings:
azure.mgmt.rdbms.postgresql_flexibleservers.operations.ServerThreatProtectionSettingsOperations
:ivar virtual_endpoints: VirtualEndpointsOperations operations
:vartype virtual_endpoints:
azure.mgmt.rdbms.postgresql_flexibleservers.operations.VirtualEndpointsOperations
:ivar virtual_network_subnet_usage: VirtualNetworkSubnetUsageOperations operations
:vartype virtual_network_subnet_usage:
azure.mgmt.rdbms.postgresql_flexibleservers.operations.VirtualNetworkSubnetUsageOperations
:ivar flexible_server: FlexibleServerOperations operations
:vartype flexible_server:
azure.mgmt.rdbms.postgresql_flexibleservers.operations.FlexibleServerOperations
:ivar ltr_backup_operations: LtrBackupOperationsOperations operations
:vartype ltr_backup_operations:
azure.mgmt.rdbms.postgresql_flexibleservers.operations.LtrBackupOperationsOperations
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The ID of the target subscription. Required.
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
:type subscription_id: str
:param base_url: Service URL. Default value is "https://management.azure.com".
:type base_url: str
:keyword api_version: Api Version. Default value is "2023-03-01-preview". Note that overriding
:keyword api_version: Api Version. Default value is "2023-06-01-preview". Note that overriding
this default value may result in unsupported behavior.
:paramtype api_version: str
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
Expand Down Expand Up @@ -145,18 +169,34 @@ def __init__(
self.databases = DatabasesOperations(self._client, self._config, self._serialize, self._deserialize)
self.firewall_rules = FirewallRulesOperations(self._client, self._config, self._serialize, self._deserialize)
self.servers = ServersOperations(self._client, self._config, self._serialize, self._deserialize)
self.flexible_server = FlexibleServerOperations(self._client, self._config, self._serialize, self._deserialize)
self.ltr_backup_operations = LtrBackupOperationsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.migrations = MigrationsOperations(self._client, self._config, self._serialize, self._deserialize)
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
self.get_private_dns_zone_suffix = GetPrivateDnsZoneSuffixOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.private_endpoint_connections = PrivateEndpointConnectionsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.private_endpoint_connection = PrivateEndpointConnectionOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.private_link_resources = PrivateLinkResourcesOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.quota_usages = QuotaUsagesOperations(self._client, self._config, self._serialize, self._deserialize)
self.replicas = ReplicasOperations(self._client, self._config, self._serialize, self._deserialize)
self.log_files = LogFilesOperations(self._client, self._config, self._serialize, self._deserialize)
self.virtual_network_subnet_usage = VirtualNetworkSubnetUsageOperations(
self.server_threat_protection_settings = ServerThreatProtectionSettingsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.flexible_server = FlexibleServerOperations(self._client, self._config, self._serialize, self._deserialize)
self.ltr_backup_operations = LtrBackupOperationsOperations(
self.virtual_endpoints = VirtualEndpointsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.virtual_network_subnet_usage = VirtualNetworkSubnetUsageOperations(
self._client, self._config, self._serialize, self._deserialize
)

Expand Down
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 @@ -27,16 +27,16 @@ class PostgreSQLManagementClientConfiguration(Configuration): # pylint: disable

:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param subscription_id: The ID of the target subscription. Required.
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
:type subscription_id: str
:keyword api_version: Api Version. Default value is "2023-03-01-preview". Note that overriding
:keyword api_version: Api Version. Default value is "2023-06-01-preview". Note that overriding
this default value may result in unsupported behavior.
:paramtype api_version: str
"""

def __init__(self, credential: "AsyncTokenCredential", subscription_id: str, **kwargs: Any) -> None:
super(PostgreSQLManagementClientConfiguration, self).__init__(**kwargs)
api_version: str = kwargs.pop("api_version", "2023-03-01-preview")
api_version: str = kwargs.pop("api_version", "2023-06-01-preview")

if credential is None:
raise ValueError("Parameter 'credential' must not be None.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,15 @@
MigrationsOperations,
Operations,
PostgreSQLManagementClientOperationsMixin,
PrivateEndpointConnectionOperations,
PrivateEndpointConnectionsOperations,
PrivateLinkResourcesOperations,
QuotaUsagesOperations,
ReplicasOperations,
ServerCapabilitiesOperations,
ServerThreatProtectionSettingsOperations,
ServersOperations,
VirtualEndpointsOperations,
VirtualNetworkSubnetUsageOperations,
)

Expand Down Expand Up @@ -78,6 +84,12 @@ class PostgreSQLManagementClient(
azure.mgmt.rdbms.postgresql_flexibleservers.aio.operations.FirewallRulesOperations
:ivar servers: ServersOperations operations
:vartype servers: azure.mgmt.rdbms.postgresql_flexibleservers.aio.operations.ServersOperations
:ivar flexible_server: FlexibleServerOperations operations
:vartype flexible_server:
azure.mgmt.rdbms.postgresql_flexibleservers.aio.operations.FlexibleServerOperations
:ivar ltr_backup_operations: LtrBackupOperationsOperations operations
:vartype ltr_backup_operations:
azure.mgmt.rdbms.postgresql_flexibleservers.aio.operations.LtrBackupOperationsOperations
:ivar migrations: MigrationsOperations operations
:vartype migrations:
azure.mgmt.rdbms.postgresql_flexibleservers.aio.operations.MigrationsOperations
Expand All @@ -86,28 +98,40 @@ class PostgreSQLManagementClient(
:ivar get_private_dns_zone_suffix: GetPrivateDnsZoneSuffixOperations operations
:vartype get_private_dns_zone_suffix:
azure.mgmt.rdbms.postgresql_flexibleservers.aio.operations.GetPrivateDnsZoneSuffixOperations
:ivar private_endpoint_connections: PrivateEndpointConnectionsOperations operations
:vartype private_endpoint_connections:
azure.mgmt.rdbms.postgresql_flexibleservers.aio.operations.PrivateEndpointConnectionsOperations
:ivar private_endpoint_connection: PrivateEndpointConnectionOperations operations
:vartype private_endpoint_connection:
azure.mgmt.rdbms.postgresql_flexibleservers.aio.operations.PrivateEndpointConnectionOperations
:ivar private_link_resources: PrivateLinkResourcesOperations operations
:vartype private_link_resources:
azure.mgmt.rdbms.postgresql_flexibleservers.aio.operations.PrivateLinkResourcesOperations
:ivar quota_usages: QuotaUsagesOperations operations
:vartype quota_usages:
azure.mgmt.rdbms.postgresql_flexibleservers.aio.operations.QuotaUsagesOperations
:ivar replicas: ReplicasOperations operations
:vartype replicas:
azure.mgmt.rdbms.postgresql_flexibleservers.aio.operations.ReplicasOperations
:ivar log_files: LogFilesOperations operations
:vartype log_files:
azure.mgmt.rdbms.postgresql_flexibleservers.aio.operations.LogFilesOperations
:ivar server_threat_protection_settings: ServerThreatProtectionSettingsOperations operations
:vartype server_threat_protection_settings:
azure.mgmt.rdbms.postgresql_flexibleservers.aio.operations.ServerThreatProtectionSettingsOperations
:ivar virtual_endpoints: VirtualEndpointsOperations operations
:vartype virtual_endpoints:
azure.mgmt.rdbms.postgresql_flexibleservers.aio.operations.VirtualEndpointsOperations
:ivar virtual_network_subnet_usage: VirtualNetworkSubnetUsageOperations operations
:vartype virtual_network_subnet_usage:
azure.mgmt.rdbms.postgresql_flexibleservers.aio.operations.VirtualNetworkSubnetUsageOperations
:ivar flexible_server: FlexibleServerOperations operations
:vartype flexible_server:
azure.mgmt.rdbms.postgresql_flexibleservers.aio.operations.FlexibleServerOperations
:ivar ltr_backup_operations: LtrBackupOperationsOperations operations
:vartype ltr_backup_operations:
azure.mgmt.rdbms.postgresql_flexibleservers.aio.operations.LtrBackupOperationsOperations
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param subscription_id: The ID of the target subscription. Required.
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
:type subscription_id: str
:param base_url: Service URL. Default value is "https://management.azure.com".
:type base_url: str
:keyword api_version: Api Version. Default value is "2023-03-01-preview". Note that overriding
:keyword api_version: Api Version. Default value is "2023-06-01-preview". Note that overriding
this default value may result in unsupported behavior.
:paramtype api_version: str
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
Expand Down Expand Up @@ -148,18 +172,34 @@ def __init__(
self.databases = DatabasesOperations(self._client, self._config, self._serialize, self._deserialize)
self.firewall_rules = FirewallRulesOperations(self._client, self._config, self._serialize, self._deserialize)
self.servers = ServersOperations(self._client, self._config, self._serialize, self._deserialize)
self.flexible_server = FlexibleServerOperations(self._client, self._config, self._serialize, self._deserialize)
self.ltr_backup_operations = LtrBackupOperationsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.migrations = MigrationsOperations(self._client, self._config, self._serialize, self._deserialize)
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
self.get_private_dns_zone_suffix = GetPrivateDnsZoneSuffixOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.private_endpoint_connections = PrivateEndpointConnectionsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.private_endpoint_connection = PrivateEndpointConnectionOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.private_link_resources = PrivateLinkResourcesOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.quota_usages = QuotaUsagesOperations(self._client, self._config, self._serialize, self._deserialize)
self.replicas = ReplicasOperations(self._client, self._config, self._serialize, self._deserialize)
self.log_files = LogFilesOperations(self._client, self._config, self._serialize, self._deserialize)
self.virtual_network_subnet_usage = VirtualNetworkSubnetUsageOperations(
self.server_threat_protection_settings = ServerThreatProtectionSettingsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.flexible_server = FlexibleServerOperations(self._client, self._config, self._serialize, self._deserialize)
self.ltr_backup_operations = LtrBackupOperationsOperations(
self.virtual_endpoints = VirtualEndpointsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.virtual_network_subnet_usage = VirtualNetworkSubnetUsageOperations(
self._client, self._config, self._serialize, self._deserialize
)

Expand Down
Loading