pulumi-azure-native 2.64.3__py3-none-any.whl → 2.65.0__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.64.3.dist-info → pulumi_azure_native-2.65.0.dist-info}/METADATA +1 -1
- {pulumi_azure_native-2.64.3.dist-info → pulumi_azure_native-2.65.0.dist-info}/RECORD +273 -164
- {pulumi_azure_native-2.64.3.dist-info → pulumi_azure_native-2.65.0.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-2.64.3.dist-info → pulumi_azure_native-2.65.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,271 @@
|
|
|
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__ = [
|
|
19
|
+
'GetConfigurationResult',
|
|
20
|
+
'AwaitableGetConfigurationResult',
|
|
21
|
+
'get_configuration',
|
|
22
|
+
'get_configuration_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetConfigurationResult:
|
|
27
|
+
"""
|
|
28
|
+
Represents a Configuration.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, allowed_values=None, data_type=None, default_value=None, description=None, documentation_link=None, id=None, is_config_pending_restart=None, is_dynamic_config=None, is_read_only=None, name=None, source=None, system_data=None, type=None, unit=None, value=None):
|
|
31
|
+
if allowed_values and not isinstance(allowed_values, str):
|
|
32
|
+
raise TypeError("Expected argument 'allowed_values' to be a str")
|
|
33
|
+
pulumi.set(__self__, "allowed_values", allowed_values)
|
|
34
|
+
if data_type and not isinstance(data_type, str):
|
|
35
|
+
raise TypeError("Expected argument 'data_type' to be a str")
|
|
36
|
+
pulumi.set(__self__, "data_type", data_type)
|
|
37
|
+
if default_value and not isinstance(default_value, str):
|
|
38
|
+
raise TypeError("Expected argument 'default_value' to be a str")
|
|
39
|
+
pulumi.set(__self__, "default_value", default_value)
|
|
40
|
+
if description and not isinstance(description, str):
|
|
41
|
+
raise TypeError("Expected argument 'description' to be a str")
|
|
42
|
+
pulumi.set(__self__, "description", description)
|
|
43
|
+
if documentation_link and not isinstance(documentation_link, str):
|
|
44
|
+
raise TypeError("Expected argument 'documentation_link' to be a str")
|
|
45
|
+
pulumi.set(__self__, "documentation_link", documentation_link)
|
|
46
|
+
if id and not isinstance(id, str):
|
|
47
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
48
|
+
pulumi.set(__self__, "id", id)
|
|
49
|
+
if is_config_pending_restart and not isinstance(is_config_pending_restart, bool):
|
|
50
|
+
raise TypeError("Expected argument 'is_config_pending_restart' to be a bool")
|
|
51
|
+
pulumi.set(__self__, "is_config_pending_restart", is_config_pending_restart)
|
|
52
|
+
if is_dynamic_config and not isinstance(is_dynamic_config, bool):
|
|
53
|
+
raise TypeError("Expected argument 'is_dynamic_config' to be a bool")
|
|
54
|
+
pulumi.set(__self__, "is_dynamic_config", is_dynamic_config)
|
|
55
|
+
if is_read_only and not isinstance(is_read_only, bool):
|
|
56
|
+
raise TypeError("Expected argument 'is_read_only' to be a bool")
|
|
57
|
+
pulumi.set(__self__, "is_read_only", is_read_only)
|
|
58
|
+
if name and not isinstance(name, str):
|
|
59
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
60
|
+
pulumi.set(__self__, "name", name)
|
|
61
|
+
if source and not isinstance(source, str):
|
|
62
|
+
raise TypeError("Expected argument 'source' to be a str")
|
|
63
|
+
pulumi.set(__self__, "source", source)
|
|
64
|
+
if system_data and not isinstance(system_data, dict):
|
|
65
|
+
raise TypeError("Expected argument 'system_data' to be a dict")
|
|
66
|
+
pulumi.set(__self__, "system_data", system_data)
|
|
67
|
+
if type and not isinstance(type, str):
|
|
68
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
69
|
+
pulumi.set(__self__, "type", type)
|
|
70
|
+
if unit and not isinstance(unit, str):
|
|
71
|
+
raise TypeError("Expected argument 'unit' to be a str")
|
|
72
|
+
pulumi.set(__self__, "unit", unit)
|
|
73
|
+
if value and not isinstance(value, str):
|
|
74
|
+
raise TypeError("Expected argument 'value' to be a str")
|
|
75
|
+
pulumi.set(__self__, "value", value)
|
|
76
|
+
|
|
77
|
+
@property
|
|
78
|
+
@pulumi.getter(name="allowedValues")
|
|
79
|
+
def allowed_values(self) -> str:
|
|
80
|
+
"""
|
|
81
|
+
Allowed values of the configuration.
|
|
82
|
+
"""
|
|
83
|
+
return pulumi.get(self, "allowed_values")
|
|
84
|
+
|
|
85
|
+
@property
|
|
86
|
+
@pulumi.getter(name="dataType")
|
|
87
|
+
def data_type(self) -> str:
|
|
88
|
+
"""
|
|
89
|
+
Data type of the configuration.
|
|
90
|
+
"""
|
|
91
|
+
return pulumi.get(self, "data_type")
|
|
92
|
+
|
|
93
|
+
@property
|
|
94
|
+
@pulumi.getter(name="defaultValue")
|
|
95
|
+
def default_value(self) -> str:
|
|
96
|
+
"""
|
|
97
|
+
Default value of the configuration.
|
|
98
|
+
"""
|
|
99
|
+
return pulumi.get(self, "default_value")
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
@pulumi.getter
|
|
103
|
+
def description(self) -> str:
|
|
104
|
+
"""
|
|
105
|
+
Description of the configuration.
|
|
106
|
+
"""
|
|
107
|
+
return pulumi.get(self, "description")
|
|
108
|
+
|
|
109
|
+
@property
|
|
110
|
+
@pulumi.getter(name="documentationLink")
|
|
111
|
+
def documentation_link(self) -> str:
|
|
112
|
+
"""
|
|
113
|
+
Configuration documentation link.
|
|
114
|
+
"""
|
|
115
|
+
return pulumi.get(self, "documentation_link")
|
|
116
|
+
|
|
117
|
+
@property
|
|
118
|
+
@pulumi.getter
|
|
119
|
+
def id(self) -> str:
|
|
120
|
+
"""
|
|
121
|
+
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
|
|
122
|
+
"""
|
|
123
|
+
return pulumi.get(self, "id")
|
|
124
|
+
|
|
125
|
+
@property
|
|
126
|
+
@pulumi.getter(name="isConfigPendingRestart")
|
|
127
|
+
def is_config_pending_restart(self) -> bool:
|
|
128
|
+
"""
|
|
129
|
+
Configuration is pending restart or not.
|
|
130
|
+
"""
|
|
131
|
+
return pulumi.get(self, "is_config_pending_restart")
|
|
132
|
+
|
|
133
|
+
@property
|
|
134
|
+
@pulumi.getter(name="isDynamicConfig")
|
|
135
|
+
def is_dynamic_config(self) -> bool:
|
|
136
|
+
"""
|
|
137
|
+
Configuration dynamic or static.
|
|
138
|
+
"""
|
|
139
|
+
return pulumi.get(self, "is_dynamic_config")
|
|
140
|
+
|
|
141
|
+
@property
|
|
142
|
+
@pulumi.getter(name="isReadOnly")
|
|
143
|
+
def is_read_only(self) -> bool:
|
|
144
|
+
"""
|
|
145
|
+
Configuration read-only or not.
|
|
146
|
+
"""
|
|
147
|
+
return pulumi.get(self, "is_read_only")
|
|
148
|
+
|
|
149
|
+
@property
|
|
150
|
+
@pulumi.getter
|
|
151
|
+
def name(self) -> str:
|
|
152
|
+
"""
|
|
153
|
+
The name of the resource
|
|
154
|
+
"""
|
|
155
|
+
return pulumi.get(self, "name")
|
|
156
|
+
|
|
157
|
+
@property
|
|
158
|
+
@pulumi.getter
|
|
159
|
+
def source(self) -> Optional[str]:
|
|
160
|
+
"""
|
|
161
|
+
Source of the configuration. Required to update the configuration.
|
|
162
|
+
"""
|
|
163
|
+
return pulumi.get(self, "source")
|
|
164
|
+
|
|
165
|
+
@property
|
|
166
|
+
@pulumi.getter(name="systemData")
|
|
167
|
+
def system_data(self) -> 'outputs.SystemDataResponse':
|
|
168
|
+
"""
|
|
169
|
+
Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
170
|
+
"""
|
|
171
|
+
return pulumi.get(self, "system_data")
|
|
172
|
+
|
|
173
|
+
@property
|
|
174
|
+
@pulumi.getter
|
|
175
|
+
def type(self) -> str:
|
|
176
|
+
"""
|
|
177
|
+
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
178
|
+
"""
|
|
179
|
+
return pulumi.get(self, "type")
|
|
180
|
+
|
|
181
|
+
@property
|
|
182
|
+
@pulumi.getter
|
|
183
|
+
def unit(self) -> str:
|
|
184
|
+
"""
|
|
185
|
+
Configuration unit.
|
|
186
|
+
"""
|
|
187
|
+
return pulumi.get(self, "unit")
|
|
188
|
+
|
|
189
|
+
@property
|
|
190
|
+
@pulumi.getter
|
|
191
|
+
def value(self) -> Optional[str]:
|
|
192
|
+
"""
|
|
193
|
+
Value of the configuration. Required to update the configuration.
|
|
194
|
+
"""
|
|
195
|
+
return pulumi.get(self, "value")
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
class AwaitableGetConfigurationResult(GetConfigurationResult):
|
|
199
|
+
# pylint: disable=using-constant-test
|
|
200
|
+
def __await__(self):
|
|
201
|
+
if False:
|
|
202
|
+
yield self
|
|
203
|
+
return GetConfigurationResult(
|
|
204
|
+
allowed_values=self.allowed_values,
|
|
205
|
+
data_type=self.data_type,
|
|
206
|
+
default_value=self.default_value,
|
|
207
|
+
description=self.description,
|
|
208
|
+
documentation_link=self.documentation_link,
|
|
209
|
+
id=self.id,
|
|
210
|
+
is_config_pending_restart=self.is_config_pending_restart,
|
|
211
|
+
is_dynamic_config=self.is_dynamic_config,
|
|
212
|
+
is_read_only=self.is_read_only,
|
|
213
|
+
name=self.name,
|
|
214
|
+
source=self.source,
|
|
215
|
+
system_data=self.system_data,
|
|
216
|
+
type=self.type,
|
|
217
|
+
unit=self.unit,
|
|
218
|
+
value=self.value)
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
def get_configuration(configuration_name: Optional[str] = None,
|
|
222
|
+
resource_group_name: Optional[str] = None,
|
|
223
|
+
server_name: Optional[str] = None,
|
|
224
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConfigurationResult:
|
|
225
|
+
"""
|
|
226
|
+
Gets information about a configuration of server.
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
:param str configuration_name: The name of the server configuration.
|
|
230
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
231
|
+
:param str server_name: The name of the server.
|
|
232
|
+
"""
|
|
233
|
+
__args__ = dict()
|
|
234
|
+
__args__['configurationName'] = configuration_name
|
|
235
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
236
|
+
__args__['serverName'] = server_name
|
|
237
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
238
|
+
__ret__ = pulumi.runtime.invoke('azure-native:dbforpostgresql/v20240801:getConfiguration', __args__, opts=opts, typ=GetConfigurationResult).value
|
|
239
|
+
|
|
240
|
+
return AwaitableGetConfigurationResult(
|
|
241
|
+
allowed_values=pulumi.get(__ret__, 'allowed_values'),
|
|
242
|
+
data_type=pulumi.get(__ret__, 'data_type'),
|
|
243
|
+
default_value=pulumi.get(__ret__, 'default_value'),
|
|
244
|
+
description=pulumi.get(__ret__, 'description'),
|
|
245
|
+
documentation_link=pulumi.get(__ret__, 'documentation_link'),
|
|
246
|
+
id=pulumi.get(__ret__, 'id'),
|
|
247
|
+
is_config_pending_restart=pulumi.get(__ret__, 'is_config_pending_restart'),
|
|
248
|
+
is_dynamic_config=pulumi.get(__ret__, 'is_dynamic_config'),
|
|
249
|
+
is_read_only=pulumi.get(__ret__, 'is_read_only'),
|
|
250
|
+
name=pulumi.get(__ret__, 'name'),
|
|
251
|
+
source=pulumi.get(__ret__, 'source'),
|
|
252
|
+
system_data=pulumi.get(__ret__, 'system_data'),
|
|
253
|
+
type=pulumi.get(__ret__, 'type'),
|
|
254
|
+
unit=pulumi.get(__ret__, 'unit'),
|
|
255
|
+
value=pulumi.get(__ret__, 'value'))
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
@_utilities.lift_output_func(get_configuration)
|
|
259
|
+
def get_configuration_output(configuration_name: Optional[pulumi.Input[str]] = None,
|
|
260
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
261
|
+
server_name: Optional[pulumi.Input[str]] = None,
|
|
262
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConfigurationResult]:
|
|
263
|
+
"""
|
|
264
|
+
Gets information about a configuration of server.
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
:param str configuration_name: The name of the server configuration.
|
|
268
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
269
|
+
:param str server_name: The name of the server.
|
|
270
|
+
"""
|
|
271
|
+
...
|
|
@@ -0,0 +1,154 @@
|
|
|
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__ = [
|
|
19
|
+
'GetDatabaseResult',
|
|
20
|
+
'AwaitableGetDatabaseResult',
|
|
21
|
+
'get_database',
|
|
22
|
+
'get_database_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetDatabaseResult:
|
|
27
|
+
"""
|
|
28
|
+
Represents a Database.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, charset=None, collation=None, id=None, name=None, system_data=None, type=None):
|
|
31
|
+
if charset and not isinstance(charset, str):
|
|
32
|
+
raise TypeError("Expected argument 'charset' to be a str")
|
|
33
|
+
pulumi.set(__self__, "charset", charset)
|
|
34
|
+
if collation and not isinstance(collation, str):
|
|
35
|
+
raise TypeError("Expected argument 'collation' to be a str")
|
|
36
|
+
pulumi.set(__self__, "collation", collation)
|
|
37
|
+
if id and not isinstance(id, str):
|
|
38
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
39
|
+
pulumi.set(__self__, "id", id)
|
|
40
|
+
if name and not isinstance(name, str):
|
|
41
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
42
|
+
pulumi.set(__self__, "name", name)
|
|
43
|
+
if system_data and not isinstance(system_data, dict):
|
|
44
|
+
raise TypeError("Expected argument 'system_data' to be a dict")
|
|
45
|
+
pulumi.set(__self__, "system_data", system_data)
|
|
46
|
+
if type and not isinstance(type, str):
|
|
47
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
48
|
+
pulumi.set(__self__, "type", type)
|
|
49
|
+
|
|
50
|
+
@property
|
|
51
|
+
@pulumi.getter
|
|
52
|
+
def charset(self) -> Optional[str]:
|
|
53
|
+
"""
|
|
54
|
+
The charset of the database.
|
|
55
|
+
"""
|
|
56
|
+
return pulumi.get(self, "charset")
|
|
57
|
+
|
|
58
|
+
@property
|
|
59
|
+
@pulumi.getter
|
|
60
|
+
def collation(self) -> Optional[str]:
|
|
61
|
+
"""
|
|
62
|
+
The collation of the database.
|
|
63
|
+
"""
|
|
64
|
+
return pulumi.get(self, "collation")
|
|
65
|
+
|
|
66
|
+
@property
|
|
67
|
+
@pulumi.getter
|
|
68
|
+
def id(self) -> str:
|
|
69
|
+
"""
|
|
70
|
+
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
|
|
71
|
+
"""
|
|
72
|
+
return pulumi.get(self, "id")
|
|
73
|
+
|
|
74
|
+
@property
|
|
75
|
+
@pulumi.getter
|
|
76
|
+
def name(self) -> str:
|
|
77
|
+
"""
|
|
78
|
+
The name of the resource
|
|
79
|
+
"""
|
|
80
|
+
return pulumi.get(self, "name")
|
|
81
|
+
|
|
82
|
+
@property
|
|
83
|
+
@pulumi.getter(name="systemData")
|
|
84
|
+
def system_data(self) -> 'outputs.SystemDataResponse':
|
|
85
|
+
"""
|
|
86
|
+
Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
87
|
+
"""
|
|
88
|
+
return pulumi.get(self, "system_data")
|
|
89
|
+
|
|
90
|
+
@property
|
|
91
|
+
@pulumi.getter
|
|
92
|
+
def type(self) -> str:
|
|
93
|
+
"""
|
|
94
|
+
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
95
|
+
"""
|
|
96
|
+
return pulumi.get(self, "type")
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
class AwaitableGetDatabaseResult(GetDatabaseResult):
|
|
100
|
+
# pylint: disable=using-constant-test
|
|
101
|
+
def __await__(self):
|
|
102
|
+
if False:
|
|
103
|
+
yield self
|
|
104
|
+
return GetDatabaseResult(
|
|
105
|
+
charset=self.charset,
|
|
106
|
+
collation=self.collation,
|
|
107
|
+
id=self.id,
|
|
108
|
+
name=self.name,
|
|
109
|
+
system_data=self.system_data,
|
|
110
|
+
type=self.type)
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
def get_database(database_name: Optional[str] = None,
|
|
114
|
+
resource_group_name: Optional[str] = None,
|
|
115
|
+
server_name: Optional[str] = None,
|
|
116
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabaseResult:
|
|
117
|
+
"""
|
|
118
|
+
Gets information about a database.
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
:param str database_name: The name of the database.
|
|
122
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
123
|
+
:param str server_name: The name of the server.
|
|
124
|
+
"""
|
|
125
|
+
__args__ = dict()
|
|
126
|
+
__args__['databaseName'] = database_name
|
|
127
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
128
|
+
__args__['serverName'] = server_name
|
|
129
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
130
|
+
__ret__ = pulumi.runtime.invoke('azure-native:dbforpostgresql/v20240801:getDatabase', __args__, opts=opts, typ=GetDatabaseResult).value
|
|
131
|
+
|
|
132
|
+
return AwaitableGetDatabaseResult(
|
|
133
|
+
charset=pulumi.get(__ret__, 'charset'),
|
|
134
|
+
collation=pulumi.get(__ret__, 'collation'),
|
|
135
|
+
id=pulumi.get(__ret__, 'id'),
|
|
136
|
+
name=pulumi.get(__ret__, 'name'),
|
|
137
|
+
system_data=pulumi.get(__ret__, 'system_data'),
|
|
138
|
+
type=pulumi.get(__ret__, 'type'))
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
@_utilities.lift_output_func(get_database)
|
|
142
|
+
def get_database_output(database_name: Optional[pulumi.Input[str]] = None,
|
|
143
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
144
|
+
server_name: Optional[pulumi.Input[str]] = None,
|
|
145
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatabaseResult]:
|
|
146
|
+
"""
|
|
147
|
+
Gets information about a database.
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
:param str database_name: The name of the database.
|
|
151
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
152
|
+
:param str server_name: The name of the server.
|
|
153
|
+
"""
|
|
154
|
+
...
|
|
@@ -0,0 +1,154 @@
|
|
|
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__ = [
|
|
19
|
+
'GetFirewallRuleResult',
|
|
20
|
+
'AwaitableGetFirewallRuleResult',
|
|
21
|
+
'get_firewall_rule',
|
|
22
|
+
'get_firewall_rule_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetFirewallRuleResult:
|
|
27
|
+
"""
|
|
28
|
+
Represents a server firewall rule.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, end_ip_address=None, id=None, name=None, start_ip_address=None, system_data=None, type=None):
|
|
31
|
+
if end_ip_address and not isinstance(end_ip_address, str):
|
|
32
|
+
raise TypeError("Expected argument 'end_ip_address' to be a str")
|
|
33
|
+
pulumi.set(__self__, "end_ip_address", end_ip_address)
|
|
34
|
+
if id and not isinstance(id, str):
|
|
35
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
36
|
+
pulumi.set(__self__, "id", id)
|
|
37
|
+
if name and not isinstance(name, str):
|
|
38
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
39
|
+
pulumi.set(__self__, "name", name)
|
|
40
|
+
if start_ip_address and not isinstance(start_ip_address, str):
|
|
41
|
+
raise TypeError("Expected argument 'start_ip_address' to be a str")
|
|
42
|
+
pulumi.set(__self__, "start_ip_address", start_ip_address)
|
|
43
|
+
if system_data and not isinstance(system_data, dict):
|
|
44
|
+
raise TypeError("Expected argument 'system_data' to be a dict")
|
|
45
|
+
pulumi.set(__self__, "system_data", system_data)
|
|
46
|
+
if type and not isinstance(type, str):
|
|
47
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
48
|
+
pulumi.set(__self__, "type", type)
|
|
49
|
+
|
|
50
|
+
@property
|
|
51
|
+
@pulumi.getter(name="endIpAddress")
|
|
52
|
+
def end_ip_address(self) -> str:
|
|
53
|
+
"""
|
|
54
|
+
The end IP address of the server firewall rule. Must be IPv4 format.
|
|
55
|
+
"""
|
|
56
|
+
return pulumi.get(self, "end_ip_address")
|
|
57
|
+
|
|
58
|
+
@property
|
|
59
|
+
@pulumi.getter
|
|
60
|
+
def id(self) -> str:
|
|
61
|
+
"""
|
|
62
|
+
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
|
|
63
|
+
"""
|
|
64
|
+
return pulumi.get(self, "id")
|
|
65
|
+
|
|
66
|
+
@property
|
|
67
|
+
@pulumi.getter
|
|
68
|
+
def name(self) -> str:
|
|
69
|
+
"""
|
|
70
|
+
The name of the resource
|
|
71
|
+
"""
|
|
72
|
+
return pulumi.get(self, "name")
|
|
73
|
+
|
|
74
|
+
@property
|
|
75
|
+
@pulumi.getter(name="startIpAddress")
|
|
76
|
+
def start_ip_address(self) -> str:
|
|
77
|
+
"""
|
|
78
|
+
The start IP address of the server firewall rule. Must be IPv4 format.
|
|
79
|
+
"""
|
|
80
|
+
return pulumi.get(self, "start_ip_address")
|
|
81
|
+
|
|
82
|
+
@property
|
|
83
|
+
@pulumi.getter(name="systemData")
|
|
84
|
+
def system_data(self) -> 'outputs.SystemDataResponse':
|
|
85
|
+
"""
|
|
86
|
+
Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
87
|
+
"""
|
|
88
|
+
return pulumi.get(self, "system_data")
|
|
89
|
+
|
|
90
|
+
@property
|
|
91
|
+
@pulumi.getter
|
|
92
|
+
def type(self) -> str:
|
|
93
|
+
"""
|
|
94
|
+
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
95
|
+
"""
|
|
96
|
+
return pulumi.get(self, "type")
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
class AwaitableGetFirewallRuleResult(GetFirewallRuleResult):
|
|
100
|
+
# pylint: disable=using-constant-test
|
|
101
|
+
def __await__(self):
|
|
102
|
+
if False:
|
|
103
|
+
yield self
|
|
104
|
+
return GetFirewallRuleResult(
|
|
105
|
+
end_ip_address=self.end_ip_address,
|
|
106
|
+
id=self.id,
|
|
107
|
+
name=self.name,
|
|
108
|
+
start_ip_address=self.start_ip_address,
|
|
109
|
+
system_data=self.system_data,
|
|
110
|
+
type=self.type)
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
def get_firewall_rule(firewall_rule_name: Optional[str] = None,
|
|
114
|
+
resource_group_name: Optional[str] = None,
|
|
115
|
+
server_name: Optional[str] = None,
|
|
116
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFirewallRuleResult:
|
|
117
|
+
"""
|
|
118
|
+
List all the firewall rules in a given server.
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
:param str firewall_rule_name: The name of the server firewall rule.
|
|
122
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
123
|
+
:param str server_name: The name of the server.
|
|
124
|
+
"""
|
|
125
|
+
__args__ = dict()
|
|
126
|
+
__args__['firewallRuleName'] = firewall_rule_name
|
|
127
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
128
|
+
__args__['serverName'] = server_name
|
|
129
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
130
|
+
__ret__ = pulumi.runtime.invoke('azure-native:dbforpostgresql/v20240801:getFirewallRule', __args__, opts=opts, typ=GetFirewallRuleResult).value
|
|
131
|
+
|
|
132
|
+
return AwaitableGetFirewallRuleResult(
|
|
133
|
+
end_ip_address=pulumi.get(__ret__, 'end_ip_address'),
|
|
134
|
+
id=pulumi.get(__ret__, 'id'),
|
|
135
|
+
name=pulumi.get(__ret__, 'name'),
|
|
136
|
+
start_ip_address=pulumi.get(__ret__, 'start_ip_address'),
|
|
137
|
+
system_data=pulumi.get(__ret__, 'system_data'),
|
|
138
|
+
type=pulumi.get(__ret__, 'type'))
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
@_utilities.lift_output_func(get_firewall_rule)
|
|
142
|
+
def get_firewall_rule_output(firewall_rule_name: Optional[pulumi.Input[str]] = None,
|
|
143
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
144
|
+
server_name: Optional[pulumi.Input[str]] = None,
|
|
145
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFirewallRuleResult]:
|
|
146
|
+
"""
|
|
147
|
+
List all the firewall rules in a given server.
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
:param str firewall_rule_name: The name of the server firewall rule.
|
|
151
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
152
|
+
:param str server_name: The name of the server.
|
|
153
|
+
"""
|
|
154
|
+
...
|
|
@@ -0,0 +1,66 @@
|
|
|
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
|
+
|
|
17
|
+
__all__ = [
|
|
18
|
+
'GetGetPrivateDnsZoneSuffixExecuteResult',
|
|
19
|
+
'AwaitableGetGetPrivateDnsZoneSuffixExecuteResult',
|
|
20
|
+
'get_get_private_dns_zone_suffix_execute',
|
|
21
|
+
'get_get_private_dns_zone_suffix_execute_output',
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
@pulumi.output_type
|
|
25
|
+
class GetGetPrivateDnsZoneSuffixExecuteResult:
|
|
26
|
+
"""
|
|
27
|
+
Represents a resource name availability.
|
|
28
|
+
"""
|
|
29
|
+
def __init__(__self__, value=None):
|
|
30
|
+
if value and not isinstance(value, str):
|
|
31
|
+
raise TypeError("Expected argument 'value' to be a str")
|
|
32
|
+
pulumi.set(__self__, "value", value)
|
|
33
|
+
|
|
34
|
+
@property
|
|
35
|
+
@pulumi.getter
|
|
36
|
+
def value(self) -> Optional[str]:
|
|
37
|
+
return pulumi.get(self, "value")
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
class AwaitableGetGetPrivateDnsZoneSuffixExecuteResult(GetGetPrivateDnsZoneSuffixExecuteResult):
|
|
41
|
+
# pylint: disable=using-constant-test
|
|
42
|
+
def __await__(self):
|
|
43
|
+
if False:
|
|
44
|
+
yield self
|
|
45
|
+
return GetGetPrivateDnsZoneSuffixExecuteResult(
|
|
46
|
+
value=self.value)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
def get_get_private_dns_zone_suffix_execute(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGetPrivateDnsZoneSuffixExecuteResult:
|
|
50
|
+
"""
|
|
51
|
+
Get private DNS zone suffix in the cloud
|
|
52
|
+
"""
|
|
53
|
+
__args__ = dict()
|
|
54
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
55
|
+
__ret__ = pulumi.runtime.invoke('azure-native:dbforpostgresql/v20240801:getGetPrivateDnsZoneSuffixExecute', __args__, opts=opts, typ=GetGetPrivateDnsZoneSuffixExecuteResult).value
|
|
56
|
+
|
|
57
|
+
return AwaitableGetGetPrivateDnsZoneSuffixExecuteResult(
|
|
58
|
+
value=pulumi.get(__ret__, 'value'))
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
@_utilities.lift_output_func(get_get_private_dns_zone_suffix_execute)
|
|
62
|
+
def get_get_private_dns_zone_suffix_execute_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGetPrivateDnsZoneSuffixExecuteResult]:
|
|
63
|
+
"""
|
|
64
|
+
Get private DNS zone suffix in the cloud
|
|
65
|
+
"""
|
|
66
|
+
...
|