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,471 @@
|
|
|
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
|
+
'GetMigrationResult',
|
|
20
|
+
'AwaitableGetMigrationResult',
|
|
21
|
+
'get_migration',
|
|
22
|
+
'get_migration_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetMigrationResult:
|
|
27
|
+
"""
|
|
28
|
+
Represents a migration resource.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, cancel=None, current_status=None, dbs_to_cancel_migration_on=None, dbs_to_migrate=None, dbs_to_trigger_cutover_on=None, id=None, location=None, migrate_roles=None, migration_id=None, migration_instance_resource_id=None, migration_mode=None, migration_option=None, migration_window_end_time_in_utc=None, migration_window_start_time_in_utc=None, name=None, overwrite_dbs_in_target=None, setup_logical_replication_on_source_db_if_needed=None, source_db_server_fully_qualified_domain_name=None, source_db_server_metadata=None, source_db_server_resource_id=None, source_type=None, ssl_mode=None, start_data_migration=None, system_data=None, tags=None, target_db_server_fully_qualified_domain_name=None, target_db_server_metadata=None, target_db_server_resource_id=None, trigger_cutover=None, type=None):
|
|
31
|
+
if cancel and not isinstance(cancel, str):
|
|
32
|
+
raise TypeError("Expected argument 'cancel' to be a str")
|
|
33
|
+
pulumi.set(__self__, "cancel", cancel)
|
|
34
|
+
if current_status and not isinstance(current_status, dict):
|
|
35
|
+
raise TypeError("Expected argument 'current_status' to be a dict")
|
|
36
|
+
pulumi.set(__self__, "current_status", current_status)
|
|
37
|
+
if dbs_to_cancel_migration_on and not isinstance(dbs_to_cancel_migration_on, list):
|
|
38
|
+
raise TypeError("Expected argument 'dbs_to_cancel_migration_on' to be a list")
|
|
39
|
+
pulumi.set(__self__, "dbs_to_cancel_migration_on", dbs_to_cancel_migration_on)
|
|
40
|
+
if dbs_to_migrate and not isinstance(dbs_to_migrate, list):
|
|
41
|
+
raise TypeError("Expected argument 'dbs_to_migrate' to be a list")
|
|
42
|
+
pulumi.set(__self__, "dbs_to_migrate", dbs_to_migrate)
|
|
43
|
+
if dbs_to_trigger_cutover_on and not isinstance(dbs_to_trigger_cutover_on, list):
|
|
44
|
+
raise TypeError("Expected argument 'dbs_to_trigger_cutover_on' to be a list")
|
|
45
|
+
pulumi.set(__self__, "dbs_to_trigger_cutover_on", dbs_to_trigger_cutover_on)
|
|
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 location and not isinstance(location, str):
|
|
50
|
+
raise TypeError("Expected argument 'location' to be a str")
|
|
51
|
+
pulumi.set(__self__, "location", location)
|
|
52
|
+
if migrate_roles and not isinstance(migrate_roles, str):
|
|
53
|
+
raise TypeError("Expected argument 'migrate_roles' to be a str")
|
|
54
|
+
pulumi.set(__self__, "migrate_roles", migrate_roles)
|
|
55
|
+
if migration_id and not isinstance(migration_id, str):
|
|
56
|
+
raise TypeError("Expected argument 'migration_id' to be a str")
|
|
57
|
+
pulumi.set(__self__, "migration_id", migration_id)
|
|
58
|
+
if migration_instance_resource_id and not isinstance(migration_instance_resource_id, str):
|
|
59
|
+
raise TypeError("Expected argument 'migration_instance_resource_id' to be a str")
|
|
60
|
+
pulumi.set(__self__, "migration_instance_resource_id", migration_instance_resource_id)
|
|
61
|
+
if migration_mode and not isinstance(migration_mode, str):
|
|
62
|
+
raise TypeError("Expected argument 'migration_mode' to be a str")
|
|
63
|
+
pulumi.set(__self__, "migration_mode", migration_mode)
|
|
64
|
+
if migration_option and not isinstance(migration_option, str):
|
|
65
|
+
raise TypeError("Expected argument 'migration_option' to be a str")
|
|
66
|
+
pulumi.set(__self__, "migration_option", migration_option)
|
|
67
|
+
if migration_window_end_time_in_utc and not isinstance(migration_window_end_time_in_utc, str):
|
|
68
|
+
raise TypeError("Expected argument 'migration_window_end_time_in_utc' to be a str")
|
|
69
|
+
pulumi.set(__self__, "migration_window_end_time_in_utc", migration_window_end_time_in_utc)
|
|
70
|
+
if migration_window_start_time_in_utc and not isinstance(migration_window_start_time_in_utc, str):
|
|
71
|
+
raise TypeError("Expected argument 'migration_window_start_time_in_utc' to be a str")
|
|
72
|
+
pulumi.set(__self__, "migration_window_start_time_in_utc", migration_window_start_time_in_utc)
|
|
73
|
+
if name and not isinstance(name, str):
|
|
74
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
75
|
+
pulumi.set(__self__, "name", name)
|
|
76
|
+
if overwrite_dbs_in_target and not isinstance(overwrite_dbs_in_target, str):
|
|
77
|
+
raise TypeError("Expected argument 'overwrite_dbs_in_target' to be a str")
|
|
78
|
+
pulumi.set(__self__, "overwrite_dbs_in_target", overwrite_dbs_in_target)
|
|
79
|
+
if setup_logical_replication_on_source_db_if_needed and not isinstance(setup_logical_replication_on_source_db_if_needed, str):
|
|
80
|
+
raise TypeError("Expected argument 'setup_logical_replication_on_source_db_if_needed' to be a str")
|
|
81
|
+
pulumi.set(__self__, "setup_logical_replication_on_source_db_if_needed", setup_logical_replication_on_source_db_if_needed)
|
|
82
|
+
if source_db_server_fully_qualified_domain_name and not isinstance(source_db_server_fully_qualified_domain_name, str):
|
|
83
|
+
raise TypeError("Expected argument 'source_db_server_fully_qualified_domain_name' to be a str")
|
|
84
|
+
pulumi.set(__self__, "source_db_server_fully_qualified_domain_name", source_db_server_fully_qualified_domain_name)
|
|
85
|
+
if source_db_server_metadata and not isinstance(source_db_server_metadata, dict):
|
|
86
|
+
raise TypeError("Expected argument 'source_db_server_metadata' to be a dict")
|
|
87
|
+
pulumi.set(__self__, "source_db_server_metadata", source_db_server_metadata)
|
|
88
|
+
if source_db_server_resource_id and not isinstance(source_db_server_resource_id, str):
|
|
89
|
+
raise TypeError("Expected argument 'source_db_server_resource_id' to be a str")
|
|
90
|
+
pulumi.set(__self__, "source_db_server_resource_id", source_db_server_resource_id)
|
|
91
|
+
if source_type and not isinstance(source_type, str):
|
|
92
|
+
raise TypeError("Expected argument 'source_type' to be a str")
|
|
93
|
+
pulumi.set(__self__, "source_type", source_type)
|
|
94
|
+
if ssl_mode and not isinstance(ssl_mode, str):
|
|
95
|
+
raise TypeError("Expected argument 'ssl_mode' to be a str")
|
|
96
|
+
pulumi.set(__self__, "ssl_mode", ssl_mode)
|
|
97
|
+
if start_data_migration and not isinstance(start_data_migration, str):
|
|
98
|
+
raise TypeError("Expected argument 'start_data_migration' to be a str")
|
|
99
|
+
pulumi.set(__self__, "start_data_migration", start_data_migration)
|
|
100
|
+
if system_data and not isinstance(system_data, dict):
|
|
101
|
+
raise TypeError("Expected argument 'system_data' to be a dict")
|
|
102
|
+
pulumi.set(__self__, "system_data", system_data)
|
|
103
|
+
if tags and not isinstance(tags, dict):
|
|
104
|
+
raise TypeError("Expected argument 'tags' to be a dict")
|
|
105
|
+
pulumi.set(__self__, "tags", tags)
|
|
106
|
+
if target_db_server_fully_qualified_domain_name and not isinstance(target_db_server_fully_qualified_domain_name, str):
|
|
107
|
+
raise TypeError("Expected argument 'target_db_server_fully_qualified_domain_name' to be a str")
|
|
108
|
+
pulumi.set(__self__, "target_db_server_fully_qualified_domain_name", target_db_server_fully_qualified_domain_name)
|
|
109
|
+
if target_db_server_metadata and not isinstance(target_db_server_metadata, dict):
|
|
110
|
+
raise TypeError("Expected argument 'target_db_server_metadata' to be a dict")
|
|
111
|
+
pulumi.set(__self__, "target_db_server_metadata", target_db_server_metadata)
|
|
112
|
+
if target_db_server_resource_id and not isinstance(target_db_server_resource_id, str):
|
|
113
|
+
raise TypeError("Expected argument 'target_db_server_resource_id' to be a str")
|
|
114
|
+
pulumi.set(__self__, "target_db_server_resource_id", target_db_server_resource_id)
|
|
115
|
+
if trigger_cutover and not isinstance(trigger_cutover, str):
|
|
116
|
+
raise TypeError("Expected argument 'trigger_cutover' to be a str")
|
|
117
|
+
pulumi.set(__self__, "trigger_cutover", trigger_cutover)
|
|
118
|
+
if type and not isinstance(type, str):
|
|
119
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
120
|
+
pulumi.set(__self__, "type", type)
|
|
121
|
+
|
|
122
|
+
@property
|
|
123
|
+
@pulumi.getter
|
|
124
|
+
def cancel(self) -> Optional[str]:
|
|
125
|
+
"""
|
|
126
|
+
To trigger cancel for entire migration we need to send this flag as True
|
|
127
|
+
"""
|
|
128
|
+
return pulumi.get(self, "cancel")
|
|
129
|
+
|
|
130
|
+
@property
|
|
131
|
+
@pulumi.getter(name="currentStatus")
|
|
132
|
+
def current_status(self) -> 'outputs.MigrationStatusResponse':
|
|
133
|
+
"""
|
|
134
|
+
Current status of migration
|
|
135
|
+
"""
|
|
136
|
+
return pulumi.get(self, "current_status")
|
|
137
|
+
|
|
138
|
+
@property
|
|
139
|
+
@pulumi.getter(name="dbsToCancelMigrationOn")
|
|
140
|
+
def dbs_to_cancel_migration_on(self) -> Optional[Sequence[str]]:
|
|
141
|
+
"""
|
|
142
|
+
When you want to trigger cancel for specific databases send cancel flag as True and database names in this array
|
|
143
|
+
"""
|
|
144
|
+
return pulumi.get(self, "dbs_to_cancel_migration_on")
|
|
145
|
+
|
|
146
|
+
@property
|
|
147
|
+
@pulumi.getter(name="dbsToMigrate")
|
|
148
|
+
def dbs_to_migrate(self) -> Optional[Sequence[str]]:
|
|
149
|
+
"""
|
|
150
|
+
Number of databases to migrate
|
|
151
|
+
"""
|
|
152
|
+
return pulumi.get(self, "dbs_to_migrate")
|
|
153
|
+
|
|
154
|
+
@property
|
|
155
|
+
@pulumi.getter(name="dbsToTriggerCutoverOn")
|
|
156
|
+
def dbs_to_trigger_cutover_on(self) -> Optional[Sequence[str]]:
|
|
157
|
+
"""
|
|
158
|
+
When you want to trigger cutover for specific databases send triggerCutover flag as True and database names in this array
|
|
159
|
+
"""
|
|
160
|
+
return pulumi.get(self, "dbs_to_trigger_cutover_on")
|
|
161
|
+
|
|
162
|
+
@property
|
|
163
|
+
@pulumi.getter
|
|
164
|
+
def id(self) -> str:
|
|
165
|
+
"""
|
|
166
|
+
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
|
|
167
|
+
"""
|
|
168
|
+
return pulumi.get(self, "id")
|
|
169
|
+
|
|
170
|
+
@property
|
|
171
|
+
@pulumi.getter
|
|
172
|
+
def location(self) -> str:
|
|
173
|
+
"""
|
|
174
|
+
The geo-location where the resource lives
|
|
175
|
+
"""
|
|
176
|
+
return pulumi.get(self, "location")
|
|
177
|
+
|
|
178
|
+
@property
|
|
179
|
+
@pulumi.getter(name="migrateRoles")
|
|
180
|
+
def migrate_roles(self) -> Optional[str]:
|
|
181
|
+
"""
|
|
182
|
+
To migrate roles and permissions we need to send this flag as True
|
|
183
|
+
"""
|
|
184
|
+
return pulumi.get(self, "migrate_roles")
|
|
185
|
+
|
|
186
|
+
@property
|
|
187
|
+
@pulumi.getter(name="migrationId")
|
|
188
|
+
def migration_id(self) -> str:
|
|
189
|
+
"""
|
|
190
|
+
ID for migration, a GUID.
|
|
191
|
+
"""
|
|
192
|
+
return pulumi.get(self, "migration_id")
|
|
193
|
+
|
|
194
|
+
@property
|
|
195
|
+
@pulumi.getter(name="migrationInstanceResourceId")
|
|
196
|
+
def migration_instance_resource_id(self) -> Optional[str]:
|
|
197
|
+
"""
|
|
198
|
+
ResourceId of the private endpoint migration instance
|
|
199
|
+
"""
|
|
200
|
+
return pulumi.get(self, "migration_instance_resource_id")
|
|
201
|
+
|
|
202
|
+
@property
|
|
203
|
+
@pulumi.getter(name="migrationMode")
|
|
204
|
+
def migration_mode(self) -> Optional[str]:
|
|
205
|
+
"""
|
|
206
|
+
There are two types of migration modes Online and Offline
|
|
207
|
+
"""
|
|
208
|
+
return pulumi.get(self, "migration_mode")
|
|
209
|
+
|
|
210
|
+
@property
|
|
211
|
+
@pulumi.getter(name="migrationOption")
|
|
212
|
+
def migration_option(self) -> Optional[str]:
|
|
213
|
+
"""
|
|
214
|
+
This indicates the supported Migration option for the migration
|
|
215
|
+
"""
|
|
216
|
+
return pulumi.get(self, "migration_option")
|
|
217
|
+
|
|
218
|
+
@property
|
|
219
|
+
@pulumi.getter(name="migrationWindowEndTimeInUtc")
|
|
220
|
+
def migration_window_end_time_in_utc(self) -> Optional[str]:
|
|
221
|
+
"""
|
|
222
|
+
End time in UTC for migration window
|
|
223
|
+
"""
|
|
224
|
+
return pulumi.get(self, "migration_window_end_time_in_utc")
|
|
225
|
+
|
|
226
|
+
@property
|
|
227
|
+
@pulumi.getter(name="migrationWindowStartTimeInUtc")
|
|
228
|
+
def migration_window_start_time_in_utc(self) -> Optional[str]:
|
|
229
|
+
"""
|
|
230
|
+
Start time in UTC for migration window
|
|
231
|
+
"""
|
|
232
|
+
return pulumi.get(self, "migration_window_start_time_in_utc")
|
|
233
|
+
|
|
234
|
+
@property
|
|
235
|
+
@pulumi.getter
|
|
236
|
+
def name(self) -> str:
|
|
237
|
+
"""
|
|
238
|
+
The name of the resource
|
|
239
|
+
"""
|
|
240
|
+
return pulumi.get(self, "name")
|
|
241
|
+
|
|
242
|
+
@property
|
|
243
|
+
@pulumi.getter(name="overwriteDbsInTarget")
|
|
244
|
+
def overwrite_dbs_in_target(self) -> Optional[str]:
|
|
245
|
+
"""
|
|
246
|
+
Indicates whether the databases on the target server can be overwritten, if already present. If set to False, the migration workflow will wait for a confirmation, if it detects that the database already exists.
|
|
247
|
+
"""
|
|
248
|
+
return pulumi.get(self, "overwrite_dbs_in_target")
|
|
249
|
+
|
|
250
|
+
@property
|
|
251
|
+
@pulumi.getter(name="setupLogicalReplicationOnSourceDbIfNeeded")
|
|
252
|
+
def setup_logical_replication_on_source_db_if_needed(self) -> Optional[str]:
|
|
253
|
+
"""
|
|
254
|
+
Indicates whether to setup LogicalReplicationOnSourceDb, if needed
|
|
255
|
+
"""
|
|
256
|
+
return pulumi.get(self, "setup_logical_replication_on_source_db_if_needed")
|
|
257
|
+
|
|
258
|
+
@property
|
|
259
|
+
@pulumi.getter(name="sourceDbServerFullyQualifiedDomainName")
|
|
260
|
+
def source_db_server_fully_qualified_domain_name(self) -> Optional[str]:
|
|
261
|
+
"""
|
|
262
|
+
Source server fully qualified domain name (FQDN) or IP address. It is a optional value, if customer provide it, migration service will always use it for connection
|
|
263
|
+
"""
|
|
264
|
+
return pulumi.get(self, "source_db_server_fully_qualified_domain_name")
|
|
265
|
+
|
|
266
|
+
@property
|
|
267
|
+
@pulumi.getter(name="sourceDbServerMetadata")
|
|
268
|
+
def source_db_server_metadata(self) -> 'outputs.DbServerMetadataResponse':
|
|
269
|
+
"""
|
|
270
|
+
Metadata of the source database server
|
|
271
|
+
"""
|
|
272
|
+
return pulumi.get(self, "source_db_server_metadata")
|
|
273
|
+
|
|
274
|
+
@property
|
|
275
|
+
@pulumi.getter(name="sourceDbServerResourceId")
|
|
276
|
+
def source_db_server_resource_id(self) -> Optional[str]:
|
|
277
|
+
"""
|
|
278
|
+
ResourceId of the source database server in case the sourceType is PostgreSQLSingleServer. For other source types this should be ipaddress:port@username or hostname:port@username
|
|
279
|
+
"""
|
|
280
|
+
return pulumi.get(self, "source_db_server_resource_id")
|
|
281
|
+
|
|
282
|
+
@property
|
|
283
|
+
@pulumi.getter(name="sourceType")
|
|
284
|
+
def source_type(self) -> Optional[str]:
|
|
285
|
+
"""
|
|
286
|
+
migration source server type : OnPremises, AWS, GCP, AzureVM, PostgreSQLSingleServer, AWS_RDS, AWS_AURORA, AWS_EC2, GCP_CloudSQL, GCP_AlloyDB, GCP_Compute, or EDB
|
|
287
|
+
"""
|
|
288
|
+
return pulumi.get(self, "source_type")
|
|
289
|
+
|
|
290
|
+
@property
|
|
291
|
+
@pulumi.getter(name="sslMode")
|
|
292
|
+
def ssl_mode(self) -> Optional[str]:
|
|
293
|
+
"""
|
|
294
|
+
SSL modes for migration. Default SSL mode for PostgreSQLSingleServer is VerifyFull and Prefer for other source types
|
|
295
|
+
"""
|
|
296
|
+
return pulumi.get(self, "ssl_mode")
|
|
297
|
+
|
|
298
|
+
@property
|
|
299
|
+
@pulumi.getter(name="startDataMigration")
|
|
300
|
+
def start_data_migration(self) -> Optional[str]:
|
|
301
|
+
"""
|
|
302
|
+
Indicates whether the data migration should start right away
|
|
303
|
+
"""
|
|
304
|
+
return pulumi.get(self, "start_data_migration")
|
|
305
|
+
|
|
306
|
+
@property
|
|
307
|
+
@pulumi.getter(name="systemData")
|
|
308
|
+
def system_data(self) -> 'outputs.SystemDataResponse':
|
|
309
|
+
"""
|
|
310
|
+
Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
311
|
+
"""
|
|
312
|
+
return pulumi.get(self, "system_data")
|
|
313
|
+
|
|
314
|
+
@property
|
|
315
|
+
@pulumi.getter
|
|
316
|
+
def tags(self) -> Optional[Mapping[str, str]]:
|
|
317
|
+
"""
|
|
318
|
+
Resource tags.
|
|
319
|
+
"""
|
|
320
|
+
return pulumi.get(self, "tags")
|
|
321
|
+
|
|
322
|
+
@property
|
|
323
|
+
@pulumi.getter(name="targetDbServerFullyQualifiedDomainName")
|
|
324
|
+
def target_db_server_fully_qualified_domain_name(self) -> Optional[str]:
|
|
325
|
+
"""
|
|
326
|
+
Target server fully qualified domain name (FQDN) or IP address. It is a optional value, if customer provide it, migration service will always use it for connection
|
|
327
|
+
"""
|
|
328
|
+
return pulumi.get(self, "target_db_server_fully_qualified_domain_name")
|
|
329
|
+
|
|
330
|
+
@property
|
|
331
|
+
@pulumi.getter(name="targetDbServerMetadata")
|
|
332
|
+
def target_db_server_metadata(self) -> 'outputs.DbServerMetadataResponse':
|
|
333
|
+
"""
|
|
334
|
+
Metadata of the target database server
|
|
335
|
+
"""
|
|
336
|
+
return pulumi.get(self, "target_db_server_metadata")
|
|
337
|
+
|
|
338
|
+
@property
|
|
339
|
+
@pulumi.getter(name="targetDbServerResourceId")
|
|
340
|
+
def target_db_server_resource_id(self) -> str:
|
|
341
|
+
"""
|
|
342
|
+
ResourceId of the source database server
|
|
343
|
+
"""
|
|
344
|
+
return pulumi.get(self, "target_db_server_resource_id")
|
|
345
|
+
|
|
346
|
+
@property
|
|
347
|
+
@pulumi.getter(name="triggerCutover")
|
|
348
|
+
def trigger_cutover(self) -> Optional[str]:
|
|
349
|
+
"""
|
|
350
|
+
To trigger cutover for entire migration we need to send this flag as True
|
|
351
|
+
"""
|
|
352
|
+
return pulumi.get(self, "trigger_cutover")
|
|
353
|
+
|
|
354
|
+
@property
|
|
355
|
+
@pulumi.getter
|
|
356
|
+
def type(self) -> str:
|
|
357
|
+
"""
|
|
358
|
+
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
359
|
+
"""
|
|
360
|
+
return pulumi.get(self, "type")
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
class AwaitableGetMigrationResult(GetMigrationResult):
|
|
364
|
+
# pylint: disable=using-constant-test
|
|
365
|
+
def __await__(self):
|
|
366
|
+
if False:
|
|
367
|
+
yield self
|
|
368
|
+
return GetMigrationResult(
|
|
369
|
+
cancel=self.cancel,
|
|
370
|
+
current_status=self.current_status,
|
|
371
|
+
dbs_to_cancel_migration_on=self.dbs_to_cancel_migration_on,
|
|
372
|
+
dbs_to_migrate=self.dbs_to_migrate,
|
|
373
|
+
dbs_to_trigger_cutover_on=self.dbs_to_trigger_cutover_on,
|
|
374
|
+
id=self.id,
|
|
375
|
+
location=self.location,
|
|
376
|
+
migrate_roles=self.migrate_roles,
|
|
377
|
+
migration_id=self.migration_id,
|
|
378
|
+
migration_instance_resource_id=self.migration_instance_resource_id,
|
|
379
|
+
migration_mode=self.migration_mode,
|
|
380
|
+
migration_option=self.migration_option,
|
|
381
|
+
migration_window_end_time_in_utc=self.migration_window_end_time_in_utc,
|
|
382
|
+
migration_window_start_time_in_utc=self.migration_window_start_time_in_utc,
|
|
383
|
+
name=self.name,
|
|
384
|
+
overwrite_dbs_in_target=self.overwrite_dbs_in_target,
|
|
385
|
+
setup_logical_replication_on_source_db_if_needed=self.setup_logical_replication_on_source_db_if_needed,
|
|
386
|
+
source_db_server_fully_qualified_domain_name=self.source_db_server_fully_qualified_domain_name,
|
|
387
|
+
source_db_server_metadata=self.source_db_server_metadata,
|
|
388
|
+
source_db_server_resource_id=self.source_db_server_resource_id,
|
|
389
|
+
source_type=self.source_type,
|
|
390
|
+
ssl_mode=self.ssl_mode,
|
|
391
|
+
start_data_migration=self.start_data_migration,
|
|
392
|
+
system_data=self.system_data,
|
|
393
|
+
tags=self.tags,
|
|
394
|
+
target_db_server_fully_qualified_domain_name=self.target_db_server_fully_qualified_domain_name,
|
|
395
|
+
target_db_server_metadata=self.target_db_server_metadata,
|
|
396
|
+
target_db_server_resource_id=self.target_db_server_resource_id,
|
|
397
|
+
trigger_cutover=self.trigger_cutover,
|
|
398
|
+
type=self.type)
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
def get_migration(migration_name: Optional[str] = None,
|
|
402
|
+
resource_group_name: Optional[str] = None,
|
|
403
|
+
subscription_id: Optional[str] = None,
|
|
404
|
+
target_db_server_name: Optional[str] = None,
|
|
405
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMigrationResult:
|
|
406
|
+
"""
|
|
407
|
+
Gets details of a migration.
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
:param str migration_name: The name of the migration.
|
|
411
|
+
:param str resource_group_name: The resource group name of the target database server.
|
|
412
|
+
:param str subscription_id: The subscription ID of the target database server.
|
|
413
|
+
:param str target_db_server_name: The name of the target database server.
|
|
414
|
+
"""
|
|
415
|
+
__args__ = dict()
|
|
416
|
+
__args__['migrationName'] = migration_name
|
|
417
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
418
|
+
__args__['subscriptionId'] = subscription_id
|
|
419
|
+
__args__['targetDbServerName'] = target_db_server_name
|
|
420
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
421
|
+
__ret__ = pulumi.runtime.invoke('azure-native:dbforpostgresql/v20240801:getMigration', __args__, opts=opts, typ=GetMigrationResult).value
|
|
422
|
+
|
|
423
|
+
return AwaitableGetMigrationResult(
|
|
424
|
+
cancel=pulumi.get(__ret__, 'cancel'),
|
|
425
|
+
current_status=pulumi.get(__ret__, 'current_status'),
|
|
426
|
+
dbs_to_cancel_migration_on=pulumi.get(__ret__, 'dbs_to_cancel_migration_on'),
|
|
427
|
+
dbs_to_migrate=pulumi.get(__ret__, 'dbs_to_migrate'),
|
|
428
|
+
dbs_to_trigger_cutover_on=pulumi.get(__ret__, 'dbs_to_trigger_cutover_on'),
|
|
429
|
+
id=pulumi.get(__ret__, 'id'),
|
|
430
|
+
location=pulumi.get(__ret__, 'location'),
|
|
431
|
+
migrate_roles=pulumi.get(__ret__, 'migrate_roles'),
|
|
432
|
+
migration_id=pulumi.get(__ret__, 'migration_id'),
|
|
433
|
+
migration_instance_resource_id=pulumi.get(__ret__, 'migration_instance_resource_id'),
|
|
434
|
+
migration_mode=pulumi.get(__ret__, 'migration_mode'),
|
|
435
|
+
migration_option=pulumi.get(__ret__, 'migration_option'),
|
|
436
|
+
migration_window_end_time_in_utc=pulumi.get(__ret__, 'migration_window_end_time_in_utc'),
|
|
437
|
+
migration_window_start_time_in_utc=pulumi.get(__ret__, 'migration_window_start_time_in_utc'),
|
|
438
|
+
name=pulumi.get(__ret__, 'name'),
|
|
439
|
+
overwrite_dbs_in_target=pulumi.get(__ret__, 'overwrite_dbs_in_target'),
|
|
440
|
+
setup_logical_replication_on_source_db_if_needed=pulumi.get(__ret__, 'setup_logical_replication_on_source_db_if_needed'),
|
|
441
|
+
source_db_server_fully_qualified_domain_name=pulumi.get(__ret__, 'source_db_server_fully_qualified_domain_name'),
|
|
442
|
+
source_db_server_metadata=pulumi.get(__ret__, 'source_db_server_metadata'),
|
|
443
|
+
source_db_server_resource_id=pulumi.get(__ret__, 'source_db_server_resource_id'),
|
|
444
|
+
source_type=pulumi.get(__ret__, 'source_type'),
|
|
445
|
+
ssl_mode=pulumi.get(__ret__, 'ssl_mode'),
|
|
446
|
+
start_data_migration=pulumi.get(__ret__, 'start_data_migration'),
|
|
447
|
+
system_data=pulumi.get(__ret__, 'system_data'),
|
|
448
|
+
tags=pulumi.get(__ret__, 'tags'),
|
|
449
|
+
target_db_server_fully_qualified_domain_name=pulumi.get(__ret__, 'target_db_server_fully_qualified_domain_name'),
|
|
450
|
+
target_db_server_metadata=pulumi.get(__ret__, 'target_db_server_metadata'),
|
|
451
|
+
target_db_server_resource_id=pulumi.get(__ret__, 'target_db_server_resource_id'),
|
|
452
|
+
trigger_cutover=pulumi.get(__ret__, 'trigger_cutover'),
|
|
453
|
+
type=pulumi.get(__ret__, 'type'))
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
@_utilities.lift_output_func(get_migration)
|
|
457
|
+
def get_migration_output(migration_name: Optional[pulumi.Input[str]] = None,
|
|
458
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
459
|
+
subscription_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
460
|
+
target_db_server_name: Optional[pulumi.Input[str]] = None,
|
|
461
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMigrationResult]:
|
|
462
|
+
"""
|
|
463
|
+
Gets details of a migration.
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
:param str migration_name: The name of the migration.
|
|
467
|
+
:param str resource_group_name: The resource group name of the target database server.
|
|
468
|
+
:param str subscription_id: The subscription ID of the target database server.
|
|
469
|
+
:param str target_db_server_name: The name of the target database server.
|
|
470
|
+
"""
|
|
471
|
+
...
|
|
@@ -0,0 +1,180 @@
|
|
|
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
|
+
'GetPrivateEndpointConnectionResult',
|
|
20
|
+
'AwaitableGetPrivateEndpointConnectionResult',
|
|
21
|
+
'get_private_endpoint_connection',
|
|
22
|
+
'get_private_endpoint_connection_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetPrivateEndpointConnectionResult:
|
|
27
|
+
"""
|
|
28
|
+
The private endpoint connection resource.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, group_ids=None, id=None, name=None, private_endpoint=None, private_link_service_connection_state=None, provisioning_state=None, system_data=None, type=None):
|
|
31
|
+
if group_ids and not isinstance(group_ids, list):
|
|
32
|
+
raise TypeError("Expected argument 'group_ids' to be a list")
|
|
33
|
+
pulumi.set(__self__, "group_ids", group_ids)
|
|
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 private_endpoint and not isinstance(private_endpoint, dict):
|
|
41
|
+
raise TypeError("Expected argument 'private_endpoint' to be a dict")
|
|
42
|
+
pulumi.set(__self__, "private_endpoint", private_endpoint)
|
|
43
|
+
if private_link_service_connection_state and not isinstance(private_link_service_connection_state, dict):
|
|
44
|
+
raise TypeError("Expected argument 'private_link_service_connection_state' to be a dict")
|
|
45
|
+
pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state)
|
|
46
|
+
if provisioning_state and not isinstance(provisioning_state, str):
|
|
47
|
+
raise TypeError("Expected argument 'provisioning_state' to be a str")
|
|
48
|
+
pulumi.set(__self__, "provisioning_state", provisioning_state)
|
|
49
|
+
if system_data and not isinstance(system_data, dict):
|
|
50
|
+
raise TypeError("Expected argument 'system_data' to be a dict")
|
|
51
|
+
pulumi.set(__self__, "system_data", system_data)
|
|
52
|
+
if type and not isinstance(type, str):
|
|
53
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
54
|
+
pulumi.set(__self__, "type", type)
|
|
55
|
+
|
|
56
|
+
@property
|
|
57
|
+
@pulumi.getter(name="groupIds")
|
|
58
|
+
def group_ids(self) -> Sequence[str]:
|
|
59
|
+
"""
|
|
60
|
+
The group ids for the private endpoint resource.
|
|
61
|
+
"""
|
|
62
|
+
return pulumi.get(self, "group_ids")
|
|
63
|
+
|
|
64
|
+
@property
|
|
65
|
+
@pulumi.getter
|
|
66
|
+
def id(self) -> str:
|
|
67
|
+
"""
|
|
68
|
+
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
|
|
69
|
+
"""
|
|
70
|
+
return pulumi.get(self, "id")
|
|
71
|
+
|
|
72
|
+
@property
|
|
73
|
+
@pulumi.getter
|
|
74
|
+
def name(self) -> str:
|
|
75
|
+
"""
|
|
76
|
+
The name of the resource
|
|
77
|
+
"""
|
|
78
|
+
return pulumi.get(self, "name")
|
|
79
|
+
|
|
80
|
+
@property
|
|
81
|
+
@pulumi.getter(name="privateEndpoint")
|
|
82
|
+
def private_endpoint(self) -> Optional['outputs.PrivateEndpointResponse']:
|
|
83
|
+
"""
|
|
84
|
+
The private endpoint resource.
|
|
85
|
+
"""
|
|
86
|
+
return pulumi.get(self, "private_endpoint")
|
|
87
|
+
|
|
88
|
+
@property
|
|
89
|
+
@pulumi.getter(name="privateLinkServiceConnectionState")
|
|
90
|
+
def private_link_service_connection_state(self) -> 'outputs.PrivateLinkServiceConnectionStateResponse':
|
|
91
|
+
"""
|
|
92
|
+
A collection of information about the state of the connection between service consumer and provider.
|
|
93
|
+
"""
|
|
94
|
+
return pulumi.get(self, "private_link_service_connection_state")
|
|
95
|
+
|
|
96
|
+
@property
|
|
97
|
+
@pulumi.getter(name="provisioningState")
|
|
98
|
+
def provisioning_state(self) -> str:
|
|
99
|
+
"""
|
|
100
|
+
The provisioning state of the private endpoint connection resource.
|
|
101
|
+
"""
|
|
102
|
+
return pulumi.get(self, "provisioning_state")
|
|
103
|
+
|
|
104
|
+
@property
|
|
105
|
+
@pulumi.getter(name="systemData")
|
|
106
|
+
def system_data(self) -> 'outputs.SystemDataResponse':
|
|
107
|
+
"""
|
|
108
|
+
Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
109
|
+
"""
|
|
110
|
+
return pulumi.get(self, "system_data")
|
|
111
|
+
|
|
112
|
+
@property
|
|
113
|
+
@pulumi.getter
|
|
114
|
+
def type(self) -> str:
|
|
115
|
+
"""
|
|
116
|
+
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
117
|
+
"""
|
|
118
|
+
return pulumi.get(self, "type")
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
class AwaitableGetPrivateEndpointConnectionResult(GetPrivateEndpointConnectionResult):
|
|
122
|
+
# pylint: disable=using-constant-test
|
|
123
|
+
def __await__(self):
|
|
124
|
+
if False:
|
|
125
|
+
yield self
|
|
126
|
+
return GetPrivateEndpointConnectionResult(
|
|
127
|
+
group_ids=self.group_ids,
|
|
128
|
+
id=self.id,
|
|
129
|
+
name=self.name,
|
|
130
|
+
private_endpoint=self.private_endpoint,
|
|
131
|
+
private_link_service_connection_state=self.private_link_service_connection_state,
|
|
132
|
+
provisioning_state=self.provisioning_state,
|
|
133
|
+
system_data=self.system_data,
|
|
134
|
+
type=self.type)
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
def get_private_endpoint_connection(private_endpoint_connection_name: Optional[str] = None,
|
|
138
|
+
resource_group_name: Optional[str] = None,
|
|
139
|
+
server_name: Optional[str] = None,
|
|
140
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPrivateEndpointConnectionResult:
|
|
141
|
+
"""
|
|
142
|
+
Gets a private endpoint connection.
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
:param str private_endpoint_connection_name: The name of the private endpoint connection.
|
|
146
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
147
|
+
:param str server_name: The name of the server.
|
|
148
|
+
"""
|
|
149
|
+
__args__ = dict()
|
|
150
|
+
__args__['privateEndpointConnectionName'] = private_endpoint_connection_name
|
|
151
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
152
|
+
__args__['serverName'] = server_name
|
|
153
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
154
|
+
__ret__ = pulumi.runtime.invoke('azure-native:dbforpostgresql/v20240801:getPrivateEndpointConnection', __args__, opts=opts, typ=GetPrivateEndpointConnectionResult).value
|
|
155
|
+
|
|
156
|
+
return AwaitableGetPrivateEndpointConnectionResult(
|
|
157
|
+
group_ids=pulumi.get(__ret__, 'group_ids'),
|
|
158
|
+
id=pulumi.get(__ret__, 'id'),
|
|
159
|
+
name=pulumi.get(__ret__, 'name'),
|
|
160
|
+
private_endpoint=pulumi.get(__ret__, 'private_endpoint'),
|
|
161
|
+
private_link_service_connection_state=pulumi.get(__ret__, 'private_link_service_connection_state'),
|
|
162
|
+
provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
|
|
163
|
+
system_data=pulumi.get(__ret__, 'system_data'),
|
|
164
|
+
type=pulumi.get(__ret__, 'type'))
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
@_utilities.lift_output_func(get_private_endpoint_connection)
|
|
168
|
+
def get_private_endpoint_connection_output(private_endpoint_connection_name: Optional[pulumi.Input[str]] = None,
|
|
169
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
170
|
+
server_name: Optional[pulumi.Input[str]] = None,
|
|
171
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPrivateEndpointConnectionResult]:
|
|
172
|
+
"""
|
|
173
|
+
Gets a private endpoint connection.
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
:param str private_endpoint_connection_name: The name of the private endpoint connection.
|
|
177
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
178
|
+
:param str server_name: The name of the server.
|
|
179
|
+
"""
|
|
180
|
+
...
|