pulumi-azure-native 2.65.0a1728039140__py3-none-any.whl → 2.65.0a1728295684__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-azure-native might be problematic. Click here for more details.
- pulumi_azure_native/__init__.py +95 -2
- pulumi_azure_native/authorization/__init__.py +3 -0
- pulumi_azure_native/authorization/get_role_management_policy_assignment.py +2 -2
- pulumi_azure_native/authorization/role_management_policy_assignment.py +3 -3
- pulumi_azure_native/authorization/v20201001/role_management_policy_assignment.py +1 -1
- pulumi_azure_native/authorization/v20201001preview/role_management_policy_assignment.py +1 -1
- pulumi_azure_native/authorization/v20240201preview/role_management_policy_assignment.py +1 -1
- pulumi_azure_native/authorization/v20240901preview/__init__.py +10 -0
- pulumi_azure_native/authorization/v20240901preview/get_role_management_policy_assignment.py +175 -0
- pulumi_azure_native/authorization/v20240901preview/outputs.py +1456 -0
- pulumi_azure_native/authorization/v20240901preview/role_management_policy_assignment.py +246 -0
- pulumi_azure_native/azurearcdata/__init__.py +8 -0
- pulumi_azure_native/azurearcdata/_enums.py +55 -0
- pulumi_azure_native/azurearcdata/_inputs.py +226 -0
- pulumi_azure_native/azurearcdata/active_directory_connector.py +3 -3
- pulumi_azure_native/azurearcdata/data_controller.py +3 -3
- pulumi_azure_native/azurearcdata/failover_group.py +3 -3
- pulumi_azure_native/azurearcdata/get_active_directory_connector.py +2 -2
- pulumi_azure_native/azurearcdata/get_data_controller.py +2 -2
- pulumi_azure_native/azurearcdata/get_failover_group.py +2 -2
- pulumi_azure_native/azurearcdata/get_postgres_instance.py +2 -2
- pulumi_azure_native/azurearcdata/get_sql_managed_instance.py +2 -2
- pulumi_azure_native/azurearcdata/get_sql_server_availability_group.py +4 -0
- pulumi_azure_native/azurearcdata/get_sql_server_availability_group_detail_view.py +4 -0
- pulumi_azure_native/azurearcdata/get_sql_server_database.py +2 -2
- pulumi_azure_native/azurearcdata/get_sql_server_esu_license.py +164 -0
- pulumi_azure_native/azurearcdata/get_sql_server_instance.py +2 -2
- pulumi_azure_native/azurearcdata/get_sql_server_instance_jobs_status.py +96 -0
- pulumi_azure_native/azurearcdata/get_sql_server_instance_telemetry.py +4 -0
- pulumi_azure_native/azurearcdata/get_sql_server_license.py +164 -0
- pulumi_azure_native/azurearcdata/outputs.py +489 -0
- pulumi_azure_native/azurearcdata/postgres_instance.py +3 -3
- pulumi_azure_native/azurearcdata/sql_managed_instance.py +3 -3
- pulumi_azure_native/azurearcdata/sql_server_availability_group.py +5 -1
- pulumi_azure_native/azurearcdata/sql_server_database.py +3 -3
- pulumi_azure_native/azurearcdata/sql_server_esu_license.py +261 -0
- pulumi_azure_native/azurearcdata/sql_server_instance.py +3 -3
- pulumi_azure_native/azurearcdata/sql_server_license.py +261 -0
- pulumi_azure_native/azurearcdata/v20230115preview/active_directory_connector.py +1 -1
- pulumi_azure_native/azurearcdata/v20230115preview/data_controller.py +1 -1
- pulumi_azure_native/azurearcdata/v20230115preview/failover_group.py +1 -1
- pulumi_azure_native/azurearcdata/v20230115preview/postgres_instance.py +1 -1
- pulumi_azure_native/azurearcdata/v20230115preview/sql_managed_instance.py +1 -1
- pulumi_azure_native/azurearcdata/v20230115preview/sql_server_database.py +1 -1
- pulumi_azure_native/azurearcdata/v20230115preview/sql_server_instance.py +1 -1
- pulumi_azure_native/azurearcdata/v20240101/active_directory_connector.py +1 -1
- pulumi_azure_native/azurearcdata/v20240101/data_controller.py +1 -1
- pulumi_azure_native/azurearcdata/v20240101/failover_group.py +1 -1
- pulumi_azure_native/azurearcdata/v20240101/postgres_instance.py +1 -1
- pulumi_azure_native/azurearcdata/v20240101/sql_managed_instance.py +1 -1
- pulumi_azure_native/azurearcdata/v20240101/sql_server_availability_group.py +1 -1
- pulumi_azure_native/azurearcdata/v20240101/sql_server_database.py +1 -1
- pulumi_azure_native/azurearcdata/v20240101/sql_server_instance.py +1 -1
- pulumi_azure_native/azurearcdata/v20240501preview/__init__.py +33 -0
- pulumi_azure_native/azurearcdata/v20240501preview/_enums.py +334 -0
- pulumi_azure_native/azurearcdata/v20240501preview/_inputs.py +4953 -0
- pulumi_azure_native/azurearcdata/v20240501preview/active_directory_connector.py +222 -0
- pulumi_azure_native/azurearcdata/v20240501preview/data_controller.py +288 -0
- pulumi_azure_native/azurearcdata/v20240501preview/failover_group.py +222 -0
- pulumi_azure_native/azurearcdata/v20240501preview/get_active_directory_connector.py +141 -0
- pulumi_azure_native/azurearcdata/v20240501preview/get_data_controller.py +175 -0
- pulumi_azure_native/azurearcdata/v20240501preview/get_failover_group.py +141 -0
- pulumi_azure_native/azurearcdata/v20240501preview/get_postgres_instance.py +188 -0
- pulumi_azure_native/azurearcdata/v20240501preview/get_sql_managed_instance.py +188 -0
- pulumi_azure_native/azurearcdata/v20240501preview/get_sql_server_availability_group.py +167 -0
- pulumi_azure_native/azurearcdata/v20240501preview/get_sql_server_availability_group_detail_view.py +167 -0
- pulumi_azure_native/azurearcdata/v20240501preview/get_sql_server_database.py +167 -0
- pulumi_azure_native/azurearcdata/v20240501preview/get_sql_server_esu_license.py +162 -0
- pulumi_azure_native/azurearcdata/v20240501preview/get_sql_server_instance.py +162 -0
- pulumi_azure_native/azurearcdata/v20240501preview/get_sql_server_instance_jobs_status.py +94 -0
- pulumi_azure_native/azurearcdata/v20240501preview/get_sql_server_instance_telemetry.py +141 -0
- pulumi_azure_native/azurearcdata/v20240501preview/get_sql_server_license.py +162 -0
- pulumi_azure_native/azurearcdata/v20240501preview/outputs.py +6407 -0
- pulumi_azure_native/azurearcdata/v20240501preview/postgres_instance.py +317 -0
- pulumi_azure_native/azurearcdata/v20240501preview/sql_managed_instance.py +317 -0
- pulumi_azure_native/azurearcdata/v20240501preview/sql_server_availability_group.py +280 -0
- pulumi_azure_native/azurearcdata/v20240501preview/sql_server_database.py +280 -0
- pulumi_azure_native/azurearcdata/v20240501preview/sql_server_esu_license.py +259 -0
- pulumi_azure_native/azurearcdata/v20240501preview/sql_server_instance.py +258 -0
- pulumi_azure_native/azurearcdata/v20240501preview/sql_server_license.py +259 -0
- pulumi_azure_native/azurefleet/__init__.py +3 -0
- pulumi_azure_native/azurefleet/fleet.py +3 -3
- pulumi_azure_native/azurefleet/get_fleet.py +2 -2
- pulumi_azure_native/azurefleet/v20231101preview/fleet.py +1 -1
- pulumi_azure_native/azurefleet/v20240501preview/fleet.py +1 -1
- pulumi_azure_native/azurefleet/v20241101/__init__.py +12 -0
- pulumi_azure_native/azurefleet/v20241101/_enums.py +795 -0
- pulumi_azure_native/azurefleet/v20241101/_inputs.py +7209 -0
- pulumi_azure_native/azurefleet/v20241101/fleet.py +522 -0
- pulumi_azure_native/azurefleet/v20241101/get_fleet.py +305 -0
- pulumi_azure_native/azurefleet/v20241101/outputs.py +5832 -0
- pulumi_azure_native/codesigning/__init__.py +3 -0
- pulumi_azure_native/codesigning/certificate_profile.py +5 -1
- pulumi_azure_native/codesigning/code_signing_account.py +5 -1
- pulumi_azure_native/codesigning/get_certificate_profile.py +4 -0
- pulumi_azure_native/codesigning/get_code_signing_account.py +4 -0
- pulumi_azure_native/codesigning/v20240205preview/certificate_profile.py +1 -1
- pulumi_azure_native/codesigning/v20240205preview/code_signing_account.py +1 -1
- pulumi_azure_native/codesigning/v20240930preview/__init__.py +14 -0
- pulumi_azure_native/codesigning/v20240930preview/_enums.py +50 -0
- pulumi_azure_native/codesigning/v20240930preview/_inputs.py +59 -0
- pulumi_azure_native/codesigning/v20240930preview/certificate_profile.py +436 -0
- pulumi_azure_native/codesigning/v20240930preview/code_signing_account.py +278 -0
- pulumi_azure_native/codesigning/v20240930preview/get_certificate_profile.py +245 -0
- pulumi_azure_native/codesigning/v20240930preview/get_code_signing_account.py +188 -0
- pulumi_azure_native/codesigning/v20240930preview/outputs.py +154 -0
- pulumi_azure_native/containerinstance/__init__.py +8 -0
- pulumi_azure_native/containerinstance/_enums.py +1 -1
- pulumi_azure_native/containerinstance/_inputs.py +165 -0
- pulumi_azure_native/containerinstance/container_group.py +3 -3
- pulumi_azure_native/containerinstance/get_container_group.py +2 -2
- pulumi_azure_native/containerinstance/get_n_group.py +216 -0
- pulumi_azure_native/containerinstance/n_group.py +357 -0
- pulumi_azure_native/containerinstance/outputs.py +328 -0
- pulumi_azure_native/containerinstance/v20210301/container_group.py +1 -1
- pulumi_azure_native/containerinstance/v20210701/container_group.py +1 -1
- pulumi_azure_native/containerinstance/v20230201preview/container_group.py +1 -1
- pulumi_azure_native/containerinstance/v20230501/container_group.py +1 -1
- pulumi_azure_native/containerinstance/v20240501preview/container_group.py +1 -1
- pulumi_azure_native/containerinstance/v20240901preview/__init__.py +14 -0
- pulumi_azure_native/containerinstance/v20240901preview/_enums.py +127 -0
- pulumi_azure_native/containerinstance/v20240901preview/_inputs.py +2739 -0
- pulumi_azure_native/containerinstance/v20240901preview/container_group.py +746 -0
- pulumi_azure_native/containerinstance/v20240901preview/get_container_group.py +386 -0
- pulumi_azure_native/containerinstance/v20240901preview/get_n_group.py +214 -0
- pulumi_azure_native/containerinstance/v20240901preview/n_group.py +355 -0
- pulumi_azure_native/containerinstance/v20240901preview/outputs.py +2792 -0
- pulumi_azure_native/containerinstance/v20241001preview/__init__.py +12 -0
- pulumi_azure_native/containerinstance/v20241001preview/_enums.py +127 -0
- pulumi_azure_native/containerinstance/v20241001preview/_inputs.py +2729 -0
- pulumi_azure_native/containerinstance/v20241001preview/container_group.py +775 -0
- pulumi_azure_native/containerinstance/v20241001preview/get_container_group.py +399 -0
- pulumi_azure_native/containerinstance/v20241001preview/outputs.py +2582 -0
- pulumi_azure_native/dbforpostgresql/__init__.py +3 -0
- pulumi_azure_native/dbforpostgresql/administrator.py +3 -3
- pulumi_azure_native/dbforpostgresql/backup.py +5 -1
- pulumi_azure_native/dbforpostgresql/configuration.py +3 -3
- pulumi_azure_native/dbforpostgresql/database.py +3 -3
- pulumi_azure_native/dbforpostgresql/firewall_rule.py +3 -3
- pulumi_azure_native/dbforpostgresql/get_administrator.py +2 -2
- pulumi_azure_native/dbforpostgresql/get_backup.py +4 -0
- pulumi_azure_native/dbforpostgresql/get_configuration.py +2 -2
- pulumi_azure_native/dbforpostgresql/get_database.py +2 -2
- pulumi_azure_native/dbforpostgresql/get_firewall_rule.py +2 -2
- pulumi_azure_native/dbforpostgresql/get_get_private_dns_zone_suffix_execute.py +2 -2
- pulumi_azure_native/dbforpostgresql/get_migration.py +2 -2
- pulumi_azure_native/dbforpostgresql/get_private_endpoint_connection.py +2 -2
- pulumi_azure_native/dbforpostgresql/get_server.py +2 -2
- pulumi_azure_native/dbforpostgresql/get_virtual_endpoint.py +2 -2
- pulumi_azure_native/dbforpostgresql/migration.py +3 -3
- pulumi_azure_native/dbforpostgresql/private_endpoint_connection.py +2 -2
- pulumi_azure_native/dbforpostgresql/server.py +3 -3
- pulumi_azure_native/dbforpostgresql/v20200214preview/server.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20210410privatepreview/server.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20210615privatepreview/migration.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20210615privatepreview/server.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20220308preview/server.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20220501preview/migration.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20221201/administrator.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20221201/configuration.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20221201/database.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20221201/firewall_rule.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20221201/server.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20230301preview/administrator.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20230301preview/configuration.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20230301preview/database.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20230301preview/firewall_rule.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20230301preview/migration.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20230301preview/server.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20230601preview/administrator.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20230601preview/configuration.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20230601preview/database.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20230601preview/firewall_rule.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20230601preview/migration.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20230601preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20230601preview/server.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20230601preview/virtual_endpoint.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20231201preview/administrator.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20231201preview/configuration.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20231201preview/database.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20231201preview/firewall_rule.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20231201preview/migration.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20231201preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20231201preview/server.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20231201preview/virtual_endpoint.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20240301preview/administrator.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20240301preview/backup.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20240301preview/configuration.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20240301preview/database.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20240301preview/firewall_rule.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20240301preview/migration.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20240301preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20240301preview/server.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20240301preview/virtual_endpoint.py +1 -1
- pulumi_azure_native/dbforpostgresql/v20240801/__init__.py +29 -0
- pulumi_azure_native/dbforpostgresql/v20240801/_enums.py +318 -0
- pulumi_azure_native/dbforpostgresql/v20240801/_inputs.py +1168 -0
- pulumi_azure_native/dbforpostgresql/v20240801/administrator.py +287 -0
- pulumi_azure_native/dbforpostgresql/v20240801/backup.py +220 -0
- pulumi_azure_native/dbforpostgresql/v20240801/configuration.py +338 -0
- pulumi_azure_native/dbforpostgresql/v20240801/database.py +248 -0
- pulumi_azure_native/dbforpostgresql/v20240801/firewall_rule.py +250 -0
- pulumi_azure_native/dbforpostgresql/v20240801/get_administrator.py +180 -0
- pulumi_azure_native/dbforpostgresql/v20240801/get_backup.py +167 -0
- pulumi_azure_native/dbforpostgresql/v20240801/get_configuration.py +271 -0
- pulumi_azure_native/dbforpostgresql/v20240801/get_database.py +154 -0
- pulumi_azure_native/dbforpostgresql/v20240801/get_firewall_rule.py +154 -0
- pulumi_azure_native/dbforpostgresql/v20240801/get_get_private_dns_zone_suffix_execute.py +66 -0
- pulumi_azure_native/dbforpostgresql/v20240801/get_migration.py +471 -0
- pulumi_azure_native/dbforpostgresql/v20240801/get_private_endpoint_connection.py +180 -0
- pulumi_azure_native/dbforpostgresql/v20240801/get_server.py +409 -0
- pulumi_azure_native/dbforpostgresql/v20240801/get_virtual_endpoint.py +167 -0
- pulumi_azure_native/dbforpostgresql/v20240801/migration.py +891 -0
- pulumi_azure_native/dbforpostgresql/v20240801/outputs.py +1907 -0
- pulumi_azure_native/dbforpostgresql/v20240801/private_endpoint_connection.py +252 -0
- pulumi_azure_native/dbforpostgresql/v20240801/server.py +778 -0
- pulumi_azure_native/dbforpostgresql/v20240801/virtual_endpoint.py +259 -0
- pulumi_azure_native/dbforpostgresql/virtual_endpoint.py +3 -3
- pulumi_azure_native/iotoperations/__init__.py +3 -0
- pulumi_azure_native/iotoperations/broker.py +3 -3
- pulumi_azure_native/iotoperations/broker_authentication.py +3 -3
- pulumi_azure_native/iotoperations/broker_authorization.py +3 -3
- pulumi_azure_native/iotoperations/broker_listener.py +3 -3
- pulumi_azure_native/iotoperations/data_flow.py +1 -1
- pulumi_azure_native/iotoperations/data_flow_endpoint.py +1 -1
- pulumi_azure_native/iotoperations/data_flow_profile.py +1 -1
- pulumi_azure_native/iotoperations/get_broker.py +2 -2
- pulumi_azure_native/iotoperations/get_broker_authentication.py +2 -2
- pulumi_azure_native/iotoperations/get_broker_authorization.py +2 -2
- pulumi_azure_native/iotoperations/get_broker_listener.py +2 -2
- pulumi_azure_native/iotoperations/get_instance.py +2 -2
- pulumi_azure_native/iotoperations/instance.py +3 -3
- pulumi_azure_native/iotoperations/v20240701preview/broker.py +1 -1
- pulumi_azure_native/iotoperations/v20240701preview/broker_authentication.py +1 -1
- pulumi_azure_native/iotoperations/v20240701preview/broker_authorization.py +1 -1
- pulumi_azure_native/iotoperations/v20240701preview/broker_listener.py +1 -1
- pulumi_azure_native/iotoperations/v20240701preview/data_flow.py +1 -1
- pulumi_azure_native/iotoperations/v20240701preview/data_flow_endpoint.py +1 -1
- pulumi_azure_native/iotoperations/v20240701preview/data_flow_profile.py +1 -1
- pulumi_azure_native/iotoperations/v20240701preview/instance.py +1 -1
- pulumi_azure_native/iotoperations/v20240815preview/broker.py +1 -1
- pulumi_azure_native/iotoperations/v20240815preview/broker_authentication.py +1 -1
- pulumi_azure_native/iotoperations/v20240815preview/broker_authorization.py +1 -1
- pulumi_azure_native/iotoperations/v20240815preview/broker_listener.py +1 -1
- pulumi_azure_native/iotoperations/v20240815preview/dataflow.py +1 -1
- pulumi_azure_native/iotoperations/v20240815preview/dataflow_endpoint.py +1 -1
- pulumi_azure_native/iotoperations/v20240815preview/dataflow_profile.py +1 -1
- pulumi_azure_native/iotoperations/v20240815preview/instance.py +1 -1
- pulumi_azure_native/iotoperations/v20240915preview/__init__.py +26 -0
- pulumi_azure_native/iotoperations/v20240915preview/_enums.py +616 -0
- pulumi_azure_native/iotoperations/v20240915preview/_inputs.py +6404 -0
- pulumi_azure_native/iotoperations/v20240915preview/broker.py +251 -0
- pulumi_azure_native/iotoperations/v20240915preview/broker_authentication.py +272 -0
- pulumi_azure_native/iotoperations/v20240915preview/broker_authorization.py +272 -0
- pulumi_azure_native/iotoperations/v20240915preview/broker_listener.py +272 -0
- pulumi_azure_native/iotoperations/v20240915preview/dataflow.py +272 -0
- pulumi_azure_native/iotoperations/v20240915preview/dataflow_endpoint.py +251 -0
- pulumi_azure_native/iotoperations/v20240915preview/dataflow_profile.py +251 -0
- pulumi_azure_native/iotoperations/v20240915preview/get_broker.py +154 -0
- pulumi_azure_native/iotoperations/v20240915preview/get_broker_authentication.py +159 -0
- pulumi_azure_native/iotoperations/v20240915preview/get_broker_authorization.py +159 -0
- pulumi_azure_native/iotoperations/v20240915preview/get_broker_listener.py +159 -0
- pulumi_azure_native/iotoperations/v20240915preview/get_dataflow.py +159 -0
- pulumi_azure_native/iotoperations/v20240915preview/get_dataflow_endpoint.py +154 -0
- pulumi_azure_native/iotoperations/v20240915preview/get_dataflow_profile.py +154 -0
- pulumi_azure_native/iotoperations/v20240915preview/get_instance.py +188 -0
- pulumi_azure_native/iotoperations/v20240915preview/instance.py +317 -0
- pulumi_azure_native/iotoperations/v20240915preview/outputs.py +5389 -0
- pulumi_azure_native/pulumi-plugin.json +1 -1
- {pulumi_azure_native-2.65.0a1728039140.dist-info → pulumi_azure_native-2.65.0a1728295684.dist-info}/METADATA +1 -1
- {pulumi_azure_native-2.65.0a1728039140.dist-info → pulumi_azure_native-2.65.0a1728295684.dist-info}/RECORD +273 -164
- {pulumi_azure_native-2.65.0a1728039140.dist-info → pulumi_azure_native-2.65.0a1728295684.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-2.65.0a1728039140.dist-info → pulumi_azure_native-2.65.0a1728295684.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,338 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import copy
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from ... import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
|
|
18
|
+
__all__ = ['ConfigurationArgs', 'Configuration']
|
|
19
|
+
|
|
20
|
+
@pulumi.input_type
|
|
21
|
+
class ConfigurationArgs:
|
|
22
|
+
def __init__(__self__, *,
|
|
23
|
+
resource_group_name: pulumi.Input[str],
|
|
24
|
+
server_name: pulumi.Input[str],
|
|
25
|
+
configuration_name: Optional[pulumi.Input[str]] = None,
|
|
26
|
+
source: Optional[pulumi.Input[str]] = None,
|
|
27
|
+
value: Optional[pulumi.Input[str]] = None):
|
|
28
|
+
"""
|
|
29
|
+
The set of arguments for constructing a Configuration resource.
|
|
30
|
+
:param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
|
|
31
|
+
:param pulumi.Input[str] server_name: The name of the server.
|
|
32
|
+
:param pulumi.Input[str] configuration_name: The name of the server configuration.
|
|
33
|
+
:param pulumi.Input[str] source: Source of the configuration. Required to update the configuration.
|
|
34
|
+
:param pulumi.Input[str] value: Value of the configuration. Required to update the configuration.
|
|
35
|
+
"""
|
|
36
|
+
pulumi.set(__self__, "resource_group_name", resource_group_name)
|
|
37
|
+
pulumi.set(__self__, "server_name", server_name)
|
|
38
|
+
if configuration_name is not None:
|
|
39
|
+
pulumi.set(__self__, "configuration_name", configuration_name)
|
|
40
|
+
if source is not None:
|
|
41
|
+
pulumi.set(__self__, "source", source)
|
|
42
|
+
if value is not None:
|
|
43
|
+
pulumi.set(__self__, "value", value)
|
|
44
|
+
|
|
45
|
+
@property
|
|
46
|
+
@pulumi.getter(name="resourceGroupName")
|
|
47
|
+
def resource_group_name(self) -> pulumi.Input[str]:
|
|
48
|
+
"""
|
|
49
|
+
The name of the resource group. The name is case insensitive.
|
|
50
|
+
"""
|
|
51
|
+
return pulumi.get(self, "resource_group_name")
|
|
52
|
+
|
|
53
|
+
@resource_group_name.setter
|
|
54
|
+
def resource_group_name(self, value: pulumi.Input[str]):
|
|
55
|
+
pulumi.set(self, "resource_group_name", value)
|
|
56
|
+
|
|
57
|
+
@property
|
|
58
|
+
@pulumi.getter(name="serverName")
|
|
59
|
+
def server_name(self) -> pulumi.Input[str]:
|
|
60
|
+
"""
|
|
61
|
+
The name of the server.
|
|
62
|
+
"""
|
|
63
|
+
return pulumi.get(self, "server_name")
|
|
64
|
+
|
|
65
|
+
@server_name.setter
|
|
66
|
+
def server_name(self, value: pulumi.Input[str]):
|
|
67
|
+
pulumi.set(self, "server_name", value)
|
|
68
|
+
|
|
69
|
+
@property
|
|
70
|
+
@pulumi.getter(name="configurationName")
|
|
71
|
+
def configuration_name(self) -> Optional[pulumi.Input[str]]:
|
|
72
|
+
"""
|
|
73
|
+
The name of the server configuration.
|
|
74
|
+
"""
|
|
75
|
+
return pulumi.get(self, "configuration_name")
|
|
76
|
+
|
|
77
|
+
@configuration_name.setter
|
|
78
|
+
def configuration_name(self, value: Optional[pulumi.Input[str]]):
|
|
79
|
+
pulumi.set(self, "configuration_name", value)
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
@pulumi.getter
|
|
83
|
+
def source(self) -> Optional[pulumi.Input[str]]:
|
|
84
|
+
"""
|
|
85
|
+
Source of the configuration. Required to update the configuration.
|
|
86
|
+
"""
|
|
87
|
+
return pulumi.get(self, "source")
|
|
88
|
+
|
|
89
|
+
@source.setter
|
|
90
|
+
def source(self, value: Optional[pulumi.Input[str]]):
|
|
91
|
+
pulumi.set(self, "source", value)
|
|
92
|
+
|
|
93
|
+
@property
|
|
94
|
+
@pulumi.getter
|
|
95
|
+
def value(self) -> Optional[pulumi.Input[str]]:
|
|
96
|
+
"""
|
|
97
|
+
Value of the configuration. Required to update the configuration.
|
|
98
|
+
"""
|
|
99
|
+
return pulumi.get(self, "value")
|
|
100
|
+
|
|
101
|
+
@value.setter
|
|
102
|
+
def value(self, value: Optional[pulumi.Input[str]]):
|
|
103
|
+
pulumi.set(self, "value", value)
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
class Configuration(pulumi.CustomResource):
|
|
107
|
+
@overload
|
|
108
|
+
def __init__(__self__,
|
|
109
|
+
resource_name: str,
|
|
110
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
111
|
+
configuration_name: Optional[pulumi.Input[str]] = None,
|
|
112
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
113
|
+
server_name: Optional[pulumi.Input[str]] = None,
|
|
114
|
+
source: Optional[pulumi.Input[str]] = None,
|
|
115
|
+
value: Optional[pulumi.Input[str]] = None,
|
|
116
|
+
__props__=None):
|
|
117
|
+
"""
|
|
118
|
+
Represents a Configuration.
|
|
119
|
+
|
|
120
|
+
:param str resource_name: The name of the resource.
|
|
121
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
122
|
+
:param pulumi.Input[str] configuration_name: The name of the server configuration.
|
|
123
|
+
:param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
|
|
124
|
+
:param pulumi.Input[str] server_name: The name of the server.
|
|
125
|
+
:param pulumi.Input[str] source: Source of the configuration. Required to update the configuration.
|
|
126
|
+
:param pulumi.Input[str] value: Value of the configuration. Required to update the configuration.
|
|
127
|
+
"""
|
|
128
|
+
...
|
|
129
|
+
@overload
|
|
130
|
+
def __init__(__self__,
|
|
131
|
+
resource_name: str,
|
|
132
|
+
args: ConfigurationArgs,
|
|
133
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
134
|
+
"""
|
|
135
|
+
Represents a Configuration.
|
|
136
|
+
|
|
137
|
+
:param str resource_name: The name of the resource.
|
|
138
|
+
:param ConfigurationArgs args: The arguments to use to populate this resource's properties.
|
|
139
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
140
|
+
"""
|
|
141
|
+
...
|
|
142
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
143
|
+
resource_args, opts = _utilities.get_resource_args_opts(ConfigurationArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
144
|
+
if resource_args is not None:
|
|
145
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
146
|
+
else:
|
|
147
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
148
|
+
|
|
149
|
+
def _internal_init(__self__,
|
|
150
|
+
resource_name: str,
|
|
151
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
152
|
+
configuration_name: Optional[pulumi.Input[str]] = None,
|
|
153
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
154
|
+
server_name: Optional[pulumi.Input[str]] = None,
|
|
155
|
+
source: Optional[pulumi.Input[str]] = None,
|
|
156
|
+
value: Optional[pulumi.Input[str]] = None,
|
|
157
|
+
__props__=None):
|
|
158
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
159
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
160
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
161
|
+
if opts.id is None:
|
|
162
|
+
if __props__ is not None:
|
|
163
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
164
|
+
__props__ = ConfigurationArgs.__new__(ConfigurationArgs)
|
|
165
|
+
|
|
166
|
+
__props__.__dict__["configuration_name"] = configuration_name
|
|
167
|
+
if resource_group_name is None and not opts.urn:
|
|
168
|
+
raise TypeError("Missing required property 'resource_group_name'")
|
|
169
|
+
__props__.__dict__["resource_group_name"] = resource_group_name
|
|
170
|
+
if server_name is None and not opts.urn:
|
|
171
|
+
raise TypeError("Missing required property 'server_name'")
|
|
172
|
+
__props__.__dict__["server_name"] = server_name
|
|
173
|
+
__props__.__dict__["source"] = source
|
|
174
|
+
__props__.__dict__["value"] = value
|
|
175
|
+
__props__.__dict__["allowed_values"] = None
|
|
176
|
+
__props__.__dict__["data_type"] = None
|
|
177
|
+
__props__.__dict__["default_value"] = None
|
|
178
|
+
__props__.__dict__["description"] = None
|
|
179
|
+
__props__.__dict__["documentation_link"] = None
|
|
180
|
+
__props__.__dict__["is_config_pending_restart"] = None
|
|
181
|
+
__props__.__dict__["is_dynamic_config"] = None
|
|
182
|
+
__props__.__dict__["is_read_only"] = None
|
|
183
|
+
__props__.__dict__["name"] = None
|
|
184
|
+
__props__.__dict__["system_data"] = None
|
|
185
|
+
__props__.__dict__["type"] = None
|
|
186
|
+
__props__.__dict__["unit"] = None
|
|
187
|
+
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20200214privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210410privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210615privatepreview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220308preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20221201:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20230301preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20230601preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20231201preview:Configuration"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20240301preview:Configuration")])
|
|
188
|
+
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
189
|
+
super(Configuration, __self__).__init__(
|
|
190
|
+
'azure-native:dbforpostgresql/v20240801:Configuration',
|
|
191
|
+
resource_name,
|
|
192
|
+
__props__,
|
|
193
|
+
opts)
|
|
194
|
+
|
|
195
|
+
@staticmethod
|
|
196
|
+
def get(resource_name: str,
|
|
197
|
+
id: pulumi.Input[str],
|
|
198
|
+
opts: Optional[pulumi.ResourceOptions] = None) -> 'Configuration':
|
|
199
|
+
"""
|
|
200
|
+
Get an existing Configuration resource's state with the given name, id, and optional extra
|
|
201
|
+
properties used to qualify the lookup.
|
|
202
|
+
|
|
203
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
204
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
205
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
206
|
+
"""
|
|
207
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
208
|
+
|
|
209
|
+
__props__ = ConfigurationArgs.__new__(ConfigurationArgs)
|
|
210
|
+
|
|
211
|
+
__props__.__dict__["allowed_values"] = None
|
|
212
|
+
__props__.__dict__["data_type"] = None
|
|
213
|
+
__props__.__dict__["default_value"] = None
|
|
214
|
+
__props__.__dict__["description"] = None
|
|
215
|
+
__props__.__dict__["documentation_link"] = None
|
|
216
|
+
__props__.__dict__["is_config_pending_restart"] = None
|
|
217
|
+
__props__.__dict__["is_dynamic_config"] = None
|
|
218
|
+
__props__.__dict__["is_read_only"] = None
|
|
219
|
+
__props__.__dict__["name"] = None
|
|
220
|
+
__props__.__dict__["source"] = None
|
|
221
|
+
__props__.__dict__["system_data"] = None
|
|
222
|
+
__props__.__dict__["type"] = None
|
|
223
|
+
__props__.__dict__["unit"] = None
|
|
224
|
+
__props__.__dict__["value"] = None
|
|
225
|
+
return Configuration(resource_name, opts=opts, __props__=__props__)
|
|
226
|
+
|
|
227
|
+
@property
|
|
228
|
+
@pulumi.getter(name="allowedValues")
|
|
229
|
+
def allowed_values(self) -> pulumi.Output[str]:
|
|
230
|
+
"""
|
|
231
|
+
Allowed values of the configuration.
|
|
232
|
+
"""
|
|
233
|
+
return pulumi.get(self, "allowed_values")
|
|
234
|
+
|
|
235
|
+
@property
|
|
236
|
+
@pulumi.getter(name="dataType")
|
|
237
|
+
def data_type(self) -> pulumi.Output[str]:
|
|
238
|
+
"""
|
|
239
|
+
Data type of the configuration.
|
|
240
|
+
"""
|
|
241
|
+
return pulumi.get(self, "data_type")
|
|
242
|
+
|
|
243
|
+
@property
|
|
244
|
+
@pulumi.getter(name="defaultValue")
|
|
245
|
+
def default_value(self) -> pulumi.Output[str]:
|
|
246
|
+
"""
|
|
247
|
+
Default value of the configuration.
|
|
248
|
+
"""
|
|
249
|
+
return pulumi.get(self, "default_value")
|
|
250
|
+
|
|
251
|
+
@property
|
|
252
|
+
@pulumi.getter
|
|
253
|
+
def description(self) -> pulumi.Output[str]:
|
|
254
|
+
"""
|
|
255
|
+
Description of the configuration.
|
|
256
|
+
"""
|
|
257
|
+
return pulumi.get(self, "description")
|
|
258
|
+
|
|
259
|
+
@property
|
|
260
|
+
@pulumi.getter(name="documentationLink")
|
|
261
|
+
def documentation_link(self) -> pulumi.Output[str]:
|
|
262
|
+
"""
|
|
263
|
+
Configuration documentation link.
|
|
264
|
+
"""
|
|
265
|
+
return pulumi.get(self, "documentation_link")
|
|
266
|
+
|
|
267
|
+
@property
|
|
268
|
+
@pulumi.getter(name="isConfigPendingRestart")
|
|
269
|
+
def is_config_pending_restart(self) -> pulumi.Output[bool]:
|
|
270
|
+
"""
|
|
271
|
+
Configuration is pending restart or not.
|
|
272
|
+
"""
|
|
273
|
+
return pulumi.get(self, "is_config_pending_restart")
|
|
274
|
+
|
|
275
|
+
@property
|
|
276
|
+
@pulumi.getter(name="isDynamicConfig")
|
|
277
|
+
def is_dynamic_config(self) -> pulumi.Output[bool]:
|
|
278
|
+
"""
|
|
279
|
+
Configuration dynamic or static.
|
|
280
|
+
"""
|
|
281
|
+
return pulumi.get(self, "is_dynamic_config")
|
|
282
|
+
|
|
283
|
+
@property
|
|
284
|
+
@pulumi.getter(name="isReadOnly")
|
|
285
|
+
def is_read_only(self) -> pulumi.Output[bool]:
|
|
286
|
+
"""
|
|
287
|
+
Configuration read-only or not.
|
|
288
|
+
"""
|
|
289
|
+
return pulumi.get(self, "is_read_only")
|
|
290
|
+
|
|
291
|
+
@property
|
|
292
|
+
@pulumi.getter
|
|
293
|
+
def name(self) -> pulumi.Output[str]:
|
|
294
|
+
"""
|
|
295
|
+
The name of the resource
|
|
296
|
+
"""
|
|
297
|
+
return pulumi.get(self, "name")
|
|
298
|
+
|
|
299
|
+
@property
|
|
300
|
+
@pulumi.getter
|
|
301
|
+
def source(self) -> pulumi.Output[Optional[str]]:
|
|
302
|
+
"""
|
|
303
|
+
Source of the configuration. Required to update the configuration.
|
|
304
|
+
"""
|
|
305
|
+
return pulumi.get(self, "source")
|
|
306
|
+
|
|
307
|
+
@property
|
|
308
|
+
@pulumi.getter(name="systemData")
|
|
309
|
+
def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']:
|
|
310
|
+
"""
|
|
311
|
+
Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
312
|
+
"""
|
|
313
|
+
return pulumi.get(self, "system_data")
|
|
314
|
+
|
|
315
|
+
@property
|
|
316
|
+
@pulumi.getter
|
|
317
|
+
def type(self) -> pulumi.Output[str]:
|
|
318
|
+
"""
|
|
319
|
+
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
320
|
+
"""
|
|
321
|
+
return pulumi.get(self, "type")
|
|
322
|
+
|
|
323
|
+
@property
|
|
324
|
+
@pulumi.getter
|
|
325
|
+
def unit(self) -> pulumi.Output[str]:
|
|
326
|
+
"""
|
|
327
|
+
Configuration unit.
|
|
328
|
+
"""
|
|
329
|
+
return pulumi.get(self, "unit")
|
|
330
|
+
|
|
331
|
+
@property
|
|
332
|
+
@pulumi.getter
|
|
333
|
+
def value(self) -> pulumi.Output[Optional[str]]:
|
|
334
|
+
"""
|
|
335
|
+
Value of the configuration. Required to update the configuration.
|
|
336
|
+
"""
|
|
337
|
+
return pulumi.get(self, "value")
|
|
338
|
+
|
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import copy
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from ... import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
|
|
18
|
+
__all__ = ['DatabaseArgs', 'Database']
|
|
19
|
+
|
|
20
|
+
@pulumi.input_type
|
|
21
|
+
class DatabaseArgs:
|
|
22
|
+
def __init__(__self__, *,
|
|
23
|
+
resource_group_name: pulumi.Input[str],
|
|
24
|
+
server_name: pulumi.Input[str],
|
|
25
|
+
charset: Optional[pulumi.Input[str]] = None,
|
|
26
|
+
collation: Optional[pulumi.Input[str]] = None,
|
|
27
|
+
database_name: Optional[pulumi.Input[str]] = None):
|
|
28
|
+
"""
|
|
29
|
+
The set of arguments for constructing a Database resource.
|
|
30
|
+
:param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
|
|
31
|
+
:param pulumi.Input[str] server_name: The name of the server.
|
|
32
|
+
:param pulumi.Input[str] charset: The charset of the database.
|
|
33
|
+
:param pulumi.Input[str] collation: The collation of the database.
|
|
34
|
+
:param pulumi.Input[str] database_name: The name of the database.
|
|
35
|
+
"""
|
|
36
|
+
pulumi.set(__self__, "resource_group_name", resource_group_name)
|
|
37
|
+
pulumi.set(__self__, "server_name", server_name)
|
|
38
|
+
if charset is not None:
|
|
39
|
+
pulumi.set(__self__, "charset", charset)
|
|
40
|
+
if collation is not None:
|
|
41
|
+
pulumi.set(__self__, "collation", collation)
|
|
42
|
+
if database_name is not None:
|
|
43
|
+
pulumi.set(__self__, "database_name", database_name)
|
|
44
|
+
|
|
45
|
+
@property
|
|
46
|
+
@pulumi.getter(name="resourceGroupName")
|
|
47
|
+
def resource_group_name(self) -> pulumi.Input[str]:
|
|
48
|
+
"""
|
|
49
|
+
The name of the resource group. The name is case insensitive.
|
|
50
|
+
"""
|
|
51
|
+
return pulumi.get(self, "resource_group_name")
|
|
52
|
+
|
|
53
|
+
@resource_group_name.setter
|
|
54
|
+
def resource_group_name(self, value: pulumi.Input[str]):
|
|
55
|
+
pulumi.set(self, "resource_group_name", value)
|
|
56
|
+
|
|
57
|
+
@property
|
|
58
|
+
@pulumi.getter(name="serverName")
|
|
59
|
+
def server_name(self) -> pulumi.Input[str]:
|
|
60
|
+
"""
|
|
61
|
+
The name of the server.
|
|
62
|
+
"""
|
|
63
|
+
return pulumi.get(self, "server_name")
|
|
64
|
+
|
|
65
|
+
@server_name.setter
|
|
66
|
+
def server_name(self, value: pulumi.Input[str]):
|
|
67
|
+
pulumi.set(self, "server_name", value)
|
|
68
|
+
|
|
69
|
+
@property
|
|
70
|
+
@pulumi.getter
|
|
71
|
+
def charset(self) -> Optional[pulumi.Input[str]]:
|
|
72
|
+
"""
|
|
73
|
+
The charset of the database.
|
|
74
|
+
"""
|
|
75
|
+
return pulumi.get(self, "charset")
|
|
76
|
+
|
|
77
|
+
@charset.setter
|
|
78
|
+
def charset(self, value: Optional[pulumi.Input[str]]):
|
|
79
|
+
pulumi.set(self, "charset", value)
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
@pulumi.getter
|
|
83
|
+
def collation(self) -> Optional[pulumi.Input[str]]:
|
|
84
|
+
"""
|
|
85
|
+
The collation of the database.
|
|
86
|
+
"""
|
|
87
|
+
return pulumi.get(self, "collation")
|
|
88
|
+
|
|
89
|
+
@collation.setter
|
|
90
|
+
def collation(self, value: Optional[pulumi.Input[str]]):
|
|
91
|
+
pulumi.set(self, "collation", value)
|
|
92
|
+
|
|
93
|
+
@property
|
|
94
|
+
@pulumi.getter(name="databaseName")
|
|
95
|
+
def database_name(self) -> Optional[pulumi.Input[str]]:
|
|
96
|
+
"""
|
|
97
|
+
The name of the database.
|
|
98
|
+
"""
|
|
99
|
+
return pulumi.get(self, "database_name")
|
|
100
|
+
|
|
101
|
+
@database_name.setter
|
|
102
|
+
def database_name(self, value: Optional[pulumi.Input[str]]):
|
|
103
|
+
pulumi.set(self, "database_name", value)
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
class Database(pulumi.CustomResource):
|
|
107
|
+
@overload
|
|
108
|
+
def __init__(__self__,
|
|
109
|
+
resource_name: str,
|
|
110
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
111
|
+
charset: Optional[pulumi.Input[str]] = None,
|
|
112
|
+
collation: Optional[pulumi.Input[str]] = None,
|
|
113
|
+
database_name: Optional[pulumi.Input[str]] = None,
|
|
114
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
115
|
+
server_name: Optional[pulumi.Input[str]] = None,
|
|
116
|
+
__props__=None):
|
|
117
|
+
"""
|
|
118
|
+
Represents a Database.
|
|
119
|
+
|
|
120
|
+
:param str resource_name: The name of the resource.
|
|
121
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
122
|
+
:param pulumi.Input[str] charset: The charset of the database.
|
|
123
|
+
:param pulumi.Input[str] collation: The collation of the database.
|
|
124
|
+
:param pulumi.Input[str] database_name: The name of the database.
|
|
125
|
+
:param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
|
|
126
|
+
:param pulumi.Input[str] server_name: The name of the server.
|
|
127
|
+
"""
|
|
128
|
+
...
|
|
129
|
+
@overload
|
|
130
|
+
def __init__(__self__,
|
|
131
|
+
resource_name: str,
|
|
132
|
+
args: DatabaseArgs,
|
|
133
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
134
|
+
"""
|
|
135
|
+
Represents a Database.
|
|
136
|
+
|
|
137
|
+
:param str resource_name: The name of the resource.
|
|
138
|
+
:param DatabaseArgs args: The arguments to use to populate this resource's properties.
|
|
139
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
140
|
+
"""
|
|
141
|
+
...
|
|
142
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
143
|
+
resource_args, opts = _utilities.get_resource_args_opts(DatabaseArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
144
|
+
if resource_args is not None:
|
|
145
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
146
|
+
else:
|
|
147
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
148
|
+
|
|
149
|
+
def _internal_init(__self__,
|
|
150
|
+
resource_name: str,
|
|
151
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
152
|
+
charset: Optional[pulumi.Input[str]] = None,
|
|
153
|
+
collation: Optional[pulumi.Input[str]] = None,
|
|
154
|
+
database_name: Optional[pulumi.Input[str]] = None,
|
|
155
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
156
|
+
server_name: Optional[pulumi.Input[str]] = None,
|
|
157
|
+
__props__=None):
|
|
158
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
159
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
160
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
161
|
+
if opts.id is None:
|
|
162
|
+
if __props__ is not None:
|
|
163
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
164
|
+
__props__ = DatabaseArgs.__new__(DatabaseArgs)
|
|
165
|
+
|
|
166
|
+
__props__.__dict__["charset"] = charset
|
|
167
|
+
__props__.__dict__["collation"] = collation
|
|
168
|
+
__props__.__dict__["database_name"] = database_name
|
|
169
|
+
if resource_group_name is None and not opts.urn:
|
|
170
|
+
raise TypeError("Missing required property 'resource_group_name'")
|
|
171
|
+
__props__.__dict__["resource_group_name"] = resource_group_name
|
|
172
|
+
if server_name is None and not opts.urn:
|
|
173
|
+
raise TypeError("Missing required property 'server_name'")
|
|
174
|
+
__props__.__dict__["server_name"] = server_name
|
|
175
|
+
__props__.__dict__["name"] = None
|
|
176
|
+
__props__.__dict__["system_data"] = None
|
|
177
|
+
__props__.__dict__["type"] = None
|
|
178
|
+
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dbforpostgresql:Database"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20201105preview:Database"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601:Database"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20210601preview:Database"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220120preview:Database"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20220308preview:Database"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20221201:Database"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20230301preview:Database"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20230601preview:Database"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20231201preview:Database"), pulumi.Alias(type_="azure-native:dbforpostgresql/v20240301preview:Database")])
|
|
179
|
+
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
180
|
+
super(Database, __self__).__init__(
|
|
181
|
+
'azure-native:dbforpostgresql/v20240801:Database',
|
|
182
|
+
resource_name,
|
|
183
|
+
__props__,
|
|
184
|
+
opts)
|
|
185
|
+
|
|
186
|
+
@staticmethod
|
|
187
|
+
def get(resource_name: str,
|
|
188
|
+
id: pulumi.Input[str],
|
|
189
|
+
opts: Optional[pulumi.ResourceOptions] = None) -> 'Database':
|
|
190
|
+
"""
|
|
191
|
+
Get an existing Database resource's state with the given name, id, and optional extra
|
|
192
|
+
properties used to qualify the lookup.
|
|
193
|
+
|
|
194
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
195
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
196
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
197
|
+
"""
|
|
198
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
199
|
+
|
|
200
|
+
__props__ = DatabaseArgs.__new__(DatabaseArgs)
|
|
201
|
+
|
|
202
|
+
__props__.__dict__["charset"] = None
|
|
203
|
+
__props__.__dict__["collation"] = None
|
|
204
|
+
__props__.__dict__["name"] = None
|
|
205
|
+
__props__.__dict__["system_data"] = None
|
|
206
|
+
__props__.__dict__["type"] = None
|
|
207
|
+
return Database(resource_name, opts=opts, __props__=__props__)
|
|
208
|
+
|
|
209
|
+
@property
|
|
210
|
+
@pulumi.getter
|
|
211
|
+
def charset(self) -> pulumi.Output[Optional[str]]:
|
|
212
|
+
"""
|
|
213
|
+
The charset of the database.
|
|
214
|
+
"""
|
|
215
|
+
return pulumi.get(self, "charset")
|
|
216
|
+
|
|
217
|
+
@property
|
|
218
|
+
@pulumi.getter
|
|
219
|
+
def collation(self) -> pulumi.Output[Optional[str]]:
|
|
220
|
+
"""
|
|
221
|
+
The collation of the database.
|
|
222
|
+
"""
|
|
223
|
+
return pulumi.get(self, "collation")
|
|
224
|
+
|
|
225
|
+
@property
|
|
226
|
+
@pulumi.getter
|
|
227
|
+
def name(self) -> pulumi.Output[str]:
|
|
228
|
+
"""
|
|
229
|
+
The name of the resource
|
|
230
|
+
"""
|
|
231
|
+
return pulumi.get(self, "name")
|
|
232
|
+
|
|
233
|
+
@property
|
|
234
|
+
@pulumi.getter(name="systemData")
|
|
235
|
+
def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']:
|
|
236
|
+
"""
|
|
237
|
+
Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
238
|
+
"""
|
|
239
|
+
return pulumi.get(self, "system_data")
|
|
240
|
+
|
|
241
|
+
@property
|
|
242
|
+
@pulumi.getter
|
|
243
|
+
def type(self) -> pulumi.Output[str]:
|
|
244
|
+
"""
|
|
245
|
+
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
246
|
+
"""
|
|
247
|
+
return pulumi.get(self, "type")
|
|
248
|
+
|