pulumi-azure-native 2.34.1a1712062553__py3-none-any.whl → 2.35.1a1712567702__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 +73 -0
- pulumi_azure_native/azurearcdata/__init__.py +7 -0
- pulumi_azure_native/azurearcdata/_enums.py +12 -0
- pulumi_azure_native/azurearcdata/_inputs.py +399 -0
- pulumi_azure_native/azurearcdata/active_directory_connector.py +5 -1
- pulumi_azure_native/azurearcdata/data_controller.py +5 -1
- pulumi_azure_native/azurearcdata/failover_group.py +5 -1
- pulumi_azure_native/azurearcdata/get_active_directory_connector.py +4 -0
- pulumi_azure_native/azurearcdata/get_data_controller.py +4 -0
- pulumi_azure_native/azurearcdata/get_failover_group.py +4 -0
- pulumi_azure_native/azurearcdata/get_postgres_instance.py +4 -0
- pulumi_azure_native/azurearcdata/get_sql_managed_instance.py +4 -0
- pulumi_azure_native/azurearcdata/get_sql_server_availability_group.py +164 -0
- pulumi_azure_native/azurearcdata/get_sql_server_availability_group_detail_view.py +164 -0
- pulumi_azure_native/azurearcdata/get_sql_server_database.py +4 -0
- pulumi_azure_native/azurearcdata/get_sql_server_instance.py +4 -0
- pulumi_azure_native/azurearcdata/get_sql_server_instance_telemetry.py +138 -0
- pulumi_azure_native/azurearcdata/outputs.py +1047 -0
- pulumi_azure_native/azurearcdata/postgres_instance.py +5 -1
- pulumi_azure_native/azurearcdata/sql_managed_instance.py +5 -1
- pulumi_azure_native/azurearcdata/sql_server_availability_group.py +276 -0
- pulumi_azure_native/azurearcdata/sql_server_database.py +5 -1
- pulumi_azure_native/azurearcdata/sql_server_instance.py +5 -1
- 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/__init__.py +28 -0
- pulumi_azure_native/azurearcdata/v20240101/_enums.py +188 -0
- pulumi_azure_native/azurearcdata/v20240101/_inputs.py +3132 -0
- pulumi_azure_native/azurearcdata/v20240101/active_directory_connector.py +217 -0
- pulumi_azure_native/azurearcdata/v20240101/data_controller.py +283 -0
- pulumi_azure_native/azurearcdata/v20240101/failover_group.py +217 -0
- pulumi_azure_native/azurearcdata/v20240101/get_active_directory_connector.py +136 -0
- pulumi_azure_native/azurearcdata/v20240101/get_data_controller.py +170 -0
- pulumi_azure_native/azurearcdata/v20240101/get_failover_group.py +136 -0
- pulumi_azure_native/azurearcdata/v20240101/get_postgres_instance.py +183 -0
- pulumi_azure_native/azurearcdata/v20240101/get_sql_managed_instance.py +183 -0
- pulumi_azure_native/azurearcdata/v20240101/get_sql_server_availability_group.py +162 -0
- pulumi_azure_native/azurearcdata/v20240101/get_sql_server_availability_group_detail_view.py +162 -0
- pulumi_azure_native/azurearcdata/v20240101/get_sql_server_database.py +162 -0
- pulumi_azure_native/azurearcdata/v20240101/get_sql_server_instance.py +157 -0
- pulumi_azure_native/azurearcdata/v20240101/get_sql_server_instance_telemetry.py +136 -0
- pulumi_azure_native/azurearcdata/v20240101/outputs.py +4225 -0
- pulumi_azure_native/azurearcdata/v20240101/postgres_instance.py +312 -0
- pulumi_azure_native/azurearcdata/v20240101/sql_managed_instance.py +312 -0
- pulumi_azure_native/azurearcdata/v20240101/sql_server_availability_group.py +274 -0
- pulumi_azure_native/azurearcdata/v20240101/sql_server_database.py +275 -0
- pulumi_azure_native/azurearcdata/v20240101/sql_server_instance.py +253 -0
- pulumi_azure_native/azuresphere/v20240401/list_catalog_deployments.py +1 -1
- pulumi_azure_native/azuresphere/v20240401/list_catalog_device_groups.py +1 -1
- pulumi_azure_native/azuresphere/v20240401/list_catalog_device_insights.py +1 -1
- pulumi_azure_native/azuresphere/v20240401/list_catalog_devices.py +1 -1
- pulumi_azure_native/eventhub/v20230101preview/outputs.py +14 -1
- pulumi_azure_native/insights/__init__.py +3 -0
- pulumi_azure_native/insights/data_collection_endpoint.py +5 -1
- pulumi_azure_native/insights/data_collection_rule.py +5 -1
- pulumi_azure_native/insights/data_collection_rule_association.py +5 -1
- pulumi_azure_native/insights/get_data_collection_endpoint.py +4 -0
- pulumi_azure_native/insights/get_data_collection_rule.py +4 -0
- pulumi_azure_native/insights/get_data_collection_rule_association.py +4 -0
- pulumi_azure_native/insights/v20220601/data_collection_endpoint.py +1 -1
- pulumi_azure_native/insights/v20220601/data_collection_rule.py +1 -1
- pulumi_azure_native/insights/v20220601/data_collection_rule_association.py +1 -1
- pulumi_azure_native/insights/v20230311/__init__.py +16 -0
- pulumi_azure_native/insights/v20230311/_enums.py +196 -0
- pulumi_azure_native/insights/v20230311/_inputs.py +2122 -0
- pulumi_azure_native/insights/v20230311/data_collection_endpoint.py +449 -0
- pulumi_azure_native/insights/v20230311/data_collection_rule.py +568 -0
- pulumi_azure_native/insights/v20230311/data_collection_rule_association.py +281 -0
- pulumi_azure_native/insights/v20230311/get_data_collection_endpoint.py +313 -0
- pulumi_azure_native/insights/v20230311/get_data_collection_rule.py +340 -0
- pulumi_azure_native/insights/v20230311/get_data_collection_rule_association.py +196 -0
- pulumi_azure_native/insights/v20230311/outputs.py +3280 -0
- pulumi_azure_native/loadtestservice/_enums.py +7 -1
- pulumi_azure_native/loadtestservice/_inputs.py +5 -5
- pulumi_azure_native/loadtestservice/get_load_test.py +7 -7
- pulumi_azure_native/loadtestservice/load_test.py +9 -9
- pulumi_azure_native/loadtestservice/outputs.py +49 -49
- pulumi_azure_native/loadtestservice/v20221201/_enums.py +7 -1
- pulumi_azure_native/loadtestservice/v20221201/_inputs.py +5 -5
- pulumi_azure_native/loadtestservice/v20221201/get_load_test.py +7 -7
- pulumi_azure_native/loadtestservice/v20221201/load_test.py +9 -9
- pulumi_azure_native/loadtestservice/v20221201/outputs.py +49 -49
- pulumi_azure_native/netapp/__init__.py +3 -0
- pulumi_azure_native/netapp/account.py +3 -3
- pulumi_azure_native/netapp/backup.py +2 -2
- pulumi_azure_native/netapp/backup_policy.py +3 -3
- pulumi_azure_native/netapp/backup_vault.py +3 -3
- pulumi_azure_native/netapp/get_account.py +2 -2
- pulumi_azure_native/netapp/get_backup.py +2 -2
- pulumi_azure_native/netapp/get_backup_policy.py +2 -2
- pulumi_azure_native/netapp/get_backup_vault.py +2 -2
- pulumi_azure_native/netapp/get_pool.py +2 -2
- pulumi_azure_native/netapp/get_snapshot.py +2 -2
- pulumi_azure_native/netapp/get_snapshot_policy.py +2 -2
- pulumi_azure_native/netapp/get_subvolume.py +2 -2
- pulumi_azure_native/netapp/get_subvolume_metadata.py +2 -2
- pulumi_azure_native/netapp/get_volume.py +2 -2
- pulumi_azure_native/netapp/get_volume_group.py +2 -2
- pulumi_azure_native/netapp/get_volume_group_id_for_ldap_user.py +2 -2
- pulumi_azure_native/netapp/get_volume_quota_rule.py +2 -2
- pulumi_azure_native/netapp/list_volume_replications.py +2 -2
- pulumi_azure_native/netapp/pool.py +3 -3
- pulumi_azure_native/netapp/snapshot.py +3 -3
- pulumi_azure_native/netapp/snapshot_policy.py +3 -3
- pulumi_azure_native/netapp/subvolume.py +3 -3
- pulumi_azure_native/netapp/v20210401/backup_policy.py +1 -1
- pulumi_azure_native/netapp/v20210401preview/backup_policy.py +1 -1
- pulumi_azure_native/netapp/v20211001/volume.py +1 -1
- pulumi_azure_native/netapp/v20211001/volume_group.py +1 -1
- pulumi_azure_native/netapp/v20220501/account.py +1 -1
- pulumi_azure_native/netapp/v20221101/account.py +1 -1
- pulumi_azure_native/netapp/v20221101/backup_policy.py +1 -1
- pulumi_azure_native/netapp/v20221101/pool.py +1 -1
- pulumi_azure_native/netapp/v20221101/snapshot.py +1 -1
- pulumi_azure_native/netapp/v20221101/snapshot_policy.py +1 -1
- pulumi_azure_native/netapp/v20221101/subvolume.py +1 -1
- pulumi_azure_native/netapp/v20221101/volume.py +1 -1
- pulumi_azure_native/netapp/v20221101/volume_group.py +1 -1
- pulumi_azure_native/netapp/v20221101/volume_quota_rule.py +1 -1
- pulumi_azure_native/netapp/v20221101preview/account.py +1 -1
- pulumi_azure_native/netapp/v20221101preview/backup.py +1 -1
- pulumi_azure_native/netapp/v20221101preview/backup_policy.py +1 -1
- pulumi_azure_native/netapp/v20221101preview/backup_vault.py +1 -1
- pulumi_azure_native/netapp/v20221101preview/pool.py +1 -1
- pulumi_azure_native/netapp/v20221101preview/snapshot.py +1 -1
- pulumi_azure_native/netapp/v20221101preview/snapshot_policy.py +1 -1
- pulumi_azure_native/netapp/v20221101preview/subvolume.py +1 -1
- pulumi_azure_native/netapp/v20221101preview/volume.py +1 -1
- pulumi_azure_native/netapp/v20221101preview/volume_group.py +1 -1
- pulumi_azure_native/netapp/v20221101preview/volume_quota_rule.py +1 -1
- pulumi_azure_native/netapp/v20230501/account.py +1 -1
- pulumi_azure_native/netapp/v20230501/backup_policy.py +1 -1
- pulumi_azure_native/netapp/v20230501/pool.py +1 -1
- pulumi_azure_native/netapp/v20230501/snapshot.py +1 -1
- pulumi_azure_native/netapp/v20230501/snapshot_policy.py +1 -1
- pulumi_azure_native/netapp/v20230501/subvolume.py +1 -1
- pulumi_azure_native/netapp/v20230501/volume.py +1 -1
- pulumi_azure_native/netapp/v20230501/volume_group.py +1 -1
- pulumi_azure_native/netapp/v20230501/volume_quota_rule.py +1 -1
- pulumi_azure_native/netapp/v20230501preview/account.py +1 -1
- pulumi_azure_native/netapp/v20230501preview/backup.py +1 -1
- pulumi_azure_native/netapp/v20230501preview/backup_policy.py +1 -1
- pulumi_azure_native/netapp/v20230501preview/backup_vault.py +1 -1
- pulumi_azure_native/netapp/v20230501preview/pool.py +1 -1
- pulumi_azure_native/netapp/v20230501preview/snapshot.py +1 -1
- pulumi_azure_native/netapp/v20230501preview/snapshot_policy.py +1 -1
- pulumi_azure_native/netapp/v20230501preview/subvolume.py +1 -1
- pulumi_azure_native/netapp/v20230501preview/volume.py +1 -1
- pulumi_azure_native/netapp/v20230501preview/volume_group.py +1 -1
- pulumi_azure_native/netapp/v20230501preview/volume_quota_rule.py +1 -1
- pulumi_azure_native/netapp/v20230701/account.py +1 -1
- pulumi_azure_native/netapp/v20230701/backup_policy.py +1 -1
- pulumi_azure_native/netapp/v20230701/pool.py +1 -1
- pulumi_azure_native/netapp/v20230701/snapshot.py +1 -1
- pulumi_azure_native/netapp/v20230701/snapshot_policy.py +1 -1
- pulumi_azure_native/netapp/v20230701/subvolume.py +1 -1
- pulumi_azure_native/netapp/v20230701/volume.py +1 -1
- pulumi_azure_native/netapp/v20230701/volume_group.py +1 -1
- pulumi_azure_native/netapp/v20230701/volume_quota_rule.py +1 -1
- pulumi_azure_native/netapp/v20230701preview/__init__.py +35 -0
- pulumi_azure_native/netapp/v20230701preview/_enums.py +267 -0
- pulumi_azure_native/netapp/v20230701preview/_inputs.py +2339 -0
- pulumi_azure_native/netapp/v20230701preview/account.py +380 -0
- pulumi_azure_native/netapp/v20230701preview/backup.py +397 -0
- pulumi_azure_native/netapp/v20230701preview/backup_policy.py +409 -0
- pulumi_azure_native/netapp/v20230701preview/backup_vault.py +253 -0
- pulumi_azure_native/netapp/v20230701preview/get_account.py +248 -0
- pulumi_azure_native/netapp/v20230701preview/get_backup.py +271 -0
- pulumi_azure_native/netapp/v20230701preview/get_backup_policy.py +266 -0
- pulumi_azure_native/netapp/v20230701preview/get_backup_vault.py +162 -0
- pulumi_azure_native/netapp/v20230701preview/get_pool.py +279 -0
- pulumi_azure_native/netapp/v20230701preview/get_snapshot.py +185 -0
- pulumi_azure_native/netapp/v20230701preview/get_snapshot_policy.py +240 -0
- pulumi_azure_native/netapp/v20230701preview/get_subvolume.py +185 -0
- pulumi_azure_native/netapp/v20230701preview/get_subvolume_metadata.py +249 -0
- pulumi_azure_native/netapp/v20230701preview/get_volume.py +895 -0
- pulumi_azure_native/netapp/v20230701preview/get_volume_group.py +162 -0
- pulumi_azure_native/netapp/v20230701preview/get_volume_group_id_for_ldap_user.py +93 -0
- pulumi_azure_native/netapp/v20230701preview/get_volume_quota_rule.py +211 -0
- pulumi_azure_native/netapp/v20230701preview/list_volume_replications.py +89 -0
- pulumi_azure_native/netapp/v20230701preview/outputs.py +3111 -0
- pulumi_azure_native/netapp/v20230701preview/pool.py +457 -0
- pulumi_azure_native/netapp/v20230701preview/snapshot.py +286 -0
- pulumi_azure_native/netapp/v20230701preview/snapshot_policy.py +409 -0
- pulumi_azure_native/netapp/v20230701preview/subvolume.py +324 -0
- pulumi_azure_native/netapp/v20230701preview/volume.py +1644 -0
- pulumi_azure_native/netapp/v20230701preview/volume_group.py +274 -0
- pulumi_azure_native/netapp/v20230701preview/volume_quota_rule.py +383 -0
- pulumi_azure_native/netapp/volume.py +3 -3
- pulumi_azure_native/netapp/volume_group.py +3 -3
- pulumi_azure_native/netapp/volume_quota_rule.py +3 -3
- pulumi_azure_native/quota/_enums.py +1 -1
- pulumi_azure_native/quota/_inputs.py +10 -10
- pulumi_azure_native/quota/get_group_quota.py +7 -7
- pulumi_azure_native/quota/get_group_quota_subscription.py +8 -8
- pulumi_azure_native/quota/group_quota.py +15 -15
- pulumi_azure_native/quota/group_quota_subscription.py +17 -17
- pulumi_azure_native/quota/outputs.py +12 -12
- pulumi_azure_native/quota/v20230601preview/_enums.py +1 -1
- pulumi_azure_native/quota/v20230601preview/_inputs.py +10 -10
- pulumi_azure_native/quota/v20230601preview/get_group_quota.py +7 -7
- pulumi_azure_native/quota/v20230601preview/get_group_quota_subscription.py +8 -8
- pulumi_azure_native/quota/v20230601preview/group_quota.py +15 -15
- pulumi_azure_native/quota/v20230601preview/group_quota_subscription.py +17 -17
- pulumi_azure_native/quota/v20230601preview/outputs.py +12 -12
- pulumi_azure_native/recoveryservices/get_private_endpoint_connection.py +2 -2
- pulumi_azure_native/recoveryservices/get_protected_item.py +2 -2
- pulumi_azure_native/recoveryservices/get_protection_container.py +2 -2
- pulumi_azure_native/recoveryservices/get_protection_intent.py +2 -2
- pulumi_azure_native/recoveryservices/get_protection_policy.py +2 -2
- pulumi_azure_native/recoveryservices/get_resource_guard_proxy.py +2 -2
- pulumi_azure_native/recoveryservices/private_endpoint_connection.py +3 -3
- pulumi_azure_native/recoveryservices/protected_item.py +3 -3
- pulumi_azure_native/recoveryservices/protection_container.py +3 -3
- pulumi_azure_native/recoveryservices/protection_intent.py +3 -3
- pulumi_azure_native/recoveryservices/protection_policy.py +3 -3
- pulumi_azure_native/recoveryservices/resource_guard_proxy.py +3 -3
- pulumi_azure_native/recoveryservices/v20230401/private_endpoint_connection.py +1 -1
- pulumi_azure_native/recoveryservices/v20230401/protected_item.py +1 -1
- pulumi_azure_native/recoveryservices/v20230401/protection_container.py +1 -1
- pulumi_azure_native/recoveryservices/v20230401/protection_intent.py +1 -1
- pulumi_azure_native/recoveryservices/v20230401/protection_policy.py +1 -1
- pulumi_azure_native/recoveryservices/v20230401/resource_guard_proxy.py +1 -1
- pulumi_azure_native/recoveryservices/v20230601/private_endpoint_connection.py +1 -1
- pulumi_azure_native/recoveryservices/v20230601/protected_item.py +1 -1
- pulumi_azure_native/recoveryservices/v20230601/protection_container.py +1 -1
- pulumi_azure_native/recoveryservices/v20230601/protection_intent.py +1 -1
- pulumi_azure_native/recoveryservices/v20230601/protection_policy.py +1 -1
- pulumi_azure_native/recoveryservices/v20230601/resource_guard_proxy.py +1 -1
- pulumi_azure_native/recoveryservices/v20230801/private_endpoint_connection.py +1 -1
- pulumi_azure_native/recoveryservices/v20230801/protected_item.py +1 -1
- pulumi_azure_native/recoveryservices/v20230801/protection_container.py +1 -1
- pulumi_azure_native/recoveryservices/v20230801/protection_intent.py +1 -1
- pulumi_azure_native/recoveryservices/v20230801/protection_policy.py +1 -1
- pulumi_azure_native/recoveryservices/v20230801/resource_guard_proxy.py +1 -1
- pulumi_azure_native/recoveryservices/v20240101/private_endpoint_connection.py +1 -1
- pulumi_azure_native/recoveryservices/v20240101/protected_item.py +1 -1
- pulumi_azure_native/recoveryservices/v20240101/protection_container.py +1 -1
- pulumi_azure_native/recoveryservices/v20240101/protection_intent.py +1 -1
- pulumi_azure_native/recoveryservices/v20240101/protection_policy.py +1 -1
- pulumi_azure_native/recoveryservices/v20240101/resource_guard_proxy.py +1 -1
- pulumi_azure_native/recoveryservices/v20240201/__init__.py +12 -0
- pulumi_azure_native/recoveryservices/v20240201/_enums.py +368 -0
- pulumi_azure_native/recoveryservices/v20240201/_inputs.py +11655 -197
- pulumi_azure_native/recoveryservices/v20240201/get_private_endpoint_connection.py +162 -0
- pulumi_azure_native/recoveryservices/v20240201/get_protected_item.py +179 -0
- pulumi_azure_native/recoveryservices/v20240201/get_protection_container.py +167 -0
- pulumi_azure_native/recoveryservices/v20240201/get_protection_intent.py +169 -0
- pulumi_azure_native/recoveryservices/v20240201/get_protection_policy.py +164 -0
- pulumi_azure_native/recoveryservices/v20240201/get_resource_guard_proxy.py +157 -0
- pulumi_azure_native/recoveryservices/v20240201/outputs.py +13072 -317
- pulumi_azure_native/recoveryservices/v20240201/private_endpoint_connection.py +293 -0
- pulumi_azure_native/recoveryservices/v20240201/protected_item.py +335 -0
- pulumi_azure_native/recoveryservices/v20240201/protection_container.py +314 -0
- pulumi_azure_native/recoveryservices/v20240201/protection_intent.py +314 -0
- pulumi_azure_native/recoveryservices/v20240201/protection_policy.py +293 -0
- pulumi_azure_native/recoveryservices/v20240201/resource_guard_proxy.py +285 -0
- pulumi_azure_native/resources/__init__.py +3 -0
- pulumi_azure_native/resources/deployment.py +3 -3
- pulumi_azure_native/resources/deployment_at_management_group_scope.py +3 -3
- pulumi_azure_native/resources/deployment_at_scope.py +3 -3
- pulumi_azure_native/resources/deployment_at_subscription_scope.py +3 -3
- pulumi_azure_native/resources/deployment_at_tenant_scope.py +3 -3
- pulumi_azure_native/resources/get_deployment.py +2 -2
- pulumi_azure_native/resources/get_deployment_at_management_group_scope.py +2 -2
- pulumi_azure_native/resources/get_deployment_at_scope.py +2 -2
- pulumi_azure_native/resources/get_deployment_at_subscription_scope.py +2 -2
- pulumi_azure_native/resources/get_deployment_at_tenant_scope.py +2 -2
- pulumi_azure_native/resources/get_resource.py +2 -2
- pulumi_azure_native/resources/get_resource_group.py +2 -2
- pulumi_azure_native/resources/get_tag_at_scope.py +2 -2
- pulumi_azure_native/resources/resource.py +3 -3
- pulumi_azure_native/resources/resource_group.py +3 -3
- pulumi_azure_native/resources/tag_at_scope.py +3 -3
- pulumi_azure_native/resources/v20220901/deployment.py +1 -1
- pulumi_azure_native/resources/v20220901/deployment_at_management_group_scope.py +1 -1
- pulumi_azure_native/resources/v20220901/deployment_at_scope.py +1 -1
- pulumi_azure_native/resources/v20220901/deployment_at_subscription_scope.py +1 -1
- pulumi_azure_native/resources/v20220901/deployment_at_tenant_scope.py +1 -1
- pulumi_azure_native/resources/v20220901/resource.py +1 -1
- pulumi_azure_native/resources/v20220901/resource_group.py +1 -1
- pulumi_azure_native/resources/v20220901/tag_at_scope.py +1 -1
- pulumi_azure_native/resources/v20230701/deployment.py +1 -1
- pulumi_azure_native/resources/v20230701/deployment_at_management_group_scope.py +1 -1
- pulumi_azure_native/resources/v20230701/deployment_at_scope.py +1 -1
- pulumi_azure_native/resources/v20230701/deployment_at_subscription_scope.py +1 -1
- pulumi_azure_native/resources/v20230701/deployment_at_tenant_scope.py +1 -1
- pulumi_azure_native/resources/v20230701/resource.py +1 -1
- pulumi_azure_native/resources/v20230701/resource_group.py +1 -1
- pulumi_azure_native/resources/v20230701/tag_at_scope.py +1 -1
- pulumi_azure_native/resources/v20240301/__init__.py +26 -0
- pulumi_azure_native/resources/v20240301/_enums.py +55 -0
- pulumi_azure_native/resources/v20240301/_inputs.py +788 -0
- pulumi_azure_native/resources/v20240301/deployment.py +244 -0
- pulumi_azure_native/resources/v20240301/deployment_at_management_group_scope.py +244 -0
- pulumi_azure_native/resources/v20240301/deployment_at_scope.py +244 -0
- pulumi_azure_native/resources/v20240301/deployment_at_subscription_scope.py +223 -0
- pulumi_azure_native/resources/v20240301/deployment_at_tenant_scope.py +223 -0
- pulumi_azure_native/resources/v20240301/get_deployment.py +144 -0
- pulumi_azure_native/resources/v20240301/get_deployment_at_management_group_scope.py +144 -0
- pulumi_azure_native/resources/v20240301/get_deployment_at_scope.py +144 -0
- pulumi_azure_native/resources/v20240301/get_deployment_at_subscription_scope.py +139 -0
- pulumi_azure_native/resources/v20240301/get_deployment_at_tenant_scope.py +139 -0
- pulumi_azure_native/resources/v20240301/get_resource.py +237 -0
- pulumi_azure_native/resources/v20240301/get_resource_group.py +152 -0
- pulumi_azure_native/resources/v20240301/get_tag_at_scope.py +113 -0
- pulumi_azure_native/resources/v20240301/outputs.py +1842 -0
- pulumi_azure_native/resources/v20240301/resource.py +480 -0
- pulumi_azure_native/resources/v20240301/resource_group.py +230 -0
- pulumi_azure_native/resources/v20240301/tag_at_scope.py +165 -0
- pulumi_azure_native/security/__init__.py +3 -0
- pulumi_azure_native/security/dev_ops_configuration.py +5 -1
- pulumi_azure_native/security/get_dev_ops_configuration.py +4 -0
- pulumi_azure_native/security/list_azure_dev_ops_org_available.py +4 -0
- pulumi_azure_native/security/list_git_hub_owner_available.py +4 -0
- pulumi_azure_native/security/list_git_lab_group_available.py +4 -0
- pulumi_azure_native/security/list_git_lab_subgroup.py +4 -0
- pulumi_azure_native/security/v20230901preview/dev_ops_configuration.py +1 -1
- pulumi_azure_native/security/v20240401/__init__.py +16 -0
- pulumi_azure_native/security/v20240401/_enums.py +40 -0
- pulumi_azure_native/security/v20240401/_inputs.py +135 -0
- pulumi_azure_native/security/v20240401/dev_ops_configuration.py +196 -0
- pulumi_azure_native/security/v20240401/get_dev_ops_configuration.py +131 -0
- pulumi_azure_native/security/v20240401/list_azure_dev_ops_org_available.py +92 -0
- pulumi_azure_native/security/v20240401/list_git_hub_owner_available.py +92 -0
- pulumi_azure_native/security/v20240401/list_git_lab_group_available.py +92 -0
- pulumi_azure_native/security/v20240401/list_git_lab_subgroup.py +97 -0
- pulumi_azure_native/security/v20240401/outputs.py +1018 -0
- pulumi_azure_native/standbypool/_inputs.py +2 -2
- pulumi_azure_native/standbypool/outputs.py +2 -2
- pulumi_azure_native/standbypool/v20231201preview/_inputs.py +2 -2
- pulumi_azure_native/standbypool/v20231201preview/outputs.py +2 -2
- {pulumi_azure_native-2.34.1a1712062553.dist-info → pulumi_azure_native-2.35.1a1712567702.dist-info}/METADATA +1 -1
- {pulumi_azure_native-2.34.1a1712062553.dist-info → pulumi_azure_native-2.35.1a1712567702.dist-info}/RECORD +341 -234
- {pulumi_azure_native-2.34.1a1712062553.dist-info → pulumi_azure_native-2.35.1a1712567702.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-2.34.1a1712062553.dist-info → pulumi_azure_native-2.35.1a1712567702.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,4225 @@
|
|
|
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 pulumi
|
|
8
|
+
import pulumi.runtime
|
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
10
|
+
from ... import _utilities
|
|
11
|
+
from . import outputs
|
|
12
|
+
from ._enums import *
|
|
13
|
+
|
|
14
|
+
__all__ = [
|
|
15
|
+
'ActiveDirectoryConnectorDNSDetailsResponse',
|
|
16
|
+
'ActiveDirectoryConnectorDomainDetailsResponse',
|
|
17
|
+
'ActiveDirectoryConnectorPropertiesResponse',
|
|
18
|
+
'ActiveDirectoryConnectorSpecResponse',
|
|
19
|
+
'ActiveDirectoryConnectorStatusResponse',
|
|
20
|
+
'ActiveDirectoryDomainControllerResponse',
|
|
21
|
+
'ActiveDirectoryDomainControllersResponse',
|
|
22
|
+
'AvailabilityGroupConfigureResponse',
|
|
23
|
+
'AvailabilityGroupInfoResponse',
|
|
24
|
+
'AvailabilityGroupStateResponse',
|
|
25
|
+
'BackupPolicyResponse',
|
|
26
|
+
'BasicLoginInformationResponse',
|
|
27
|
+
'DataControllerPropertiesResponse',
|
|
28
|
+
'ExtendedLocationResponse',
|
|
29
|
+
'FailoverClusterResponse',
|
|
30
|
+
'FailoverGroupPropertiesResponse',
|
|
31
|
+
'FailoverGroupSpecResponse',
|
|
32
|
+
'K8sActiveDirectoryResponse',
|
|
33
|
+
'K8sActiveDirectoryResponseConnector',
|
|
34
|
+
'K8sNetworkSettingsResponse',
|
|
35
|
+
'K8sResourceRequirementsResponse',
|
|
36
|
+
'K8sSchedulingOptionsResponse',
|
|
37
|
+
'K8sSchedulingResponse',
|
|
38
|
+
'K8sSecurityResponse',
|
|
39
|
+
'K8sSettingsResponse',
|
|
40
|
+
'K8stransparentDataEncryptionResponse',
|
|
41
|
+
'LogAnalyticsWorkspaceConfigResponse',
|
|
42
|
+
'MonitoringResponse',
|
|
43
|
+
'OnPremisePropertyResponse',
|
|
44
|
+
'PostgresInstancePropertiesResponse',
|
|
45
|
+
'PostgresInstanceSkuResponse',
|
|
46
|
+
'SqlAvailabilityGroupDatabaseReplicaResourcePropertiesResponse',
|
|
47
|
+
'SqlAvailabilityGroupReplicaResourcePropertiesResponse',
|
|
48
|
+
'SqlManagedInstanceK8sRawResponse',
|
|
49
|
+
'SqlManagedInstanceK8sSpecResponse',
|
|
50
|
+
'SqlManagedInstancePropertiesResponse',
|
|
51
|
+
'SqlManagedInstanceSkuResponse',
|
|
52
|
+
'SqlServerAvailabilityGroupResourcePropertiesResponse',
|
|
53
|
+
'SqlServerAvailabilityGroupResourcePropertiesResponseDatabases',
|
|
54
|
+
'SqlServerAvailabilityGroupResourcePropertiesResponseReplicas',
|
|
55
|
+
'SqlServerDatabaseResourcePropertiesResponse',
|
|
56
|
+
'SqlServerDatabaseResourcePropertiesResponseBackupInformation',
|
|
57
|
+
'SqlServerDatabaseResourcePropertiesResponseDatabaseOptions',
|
|
58
|
+
'SqlServerInstancePropertiesResponse',
|
|
59
|
+
'SqlServerInstanceTelemetryColumnResponse',
|
|
60
|
+
'SystemDataResponse',
|
|
61
|
+
'UploadServicePrincipalResponse',
|
|
62
|
+
'UploadWatermarkResponse',
|
|
63
|
+
]
|
|
64
|
+
|
|
65
|
+
@pulumi.output_type
|
|
66
|
+
class ActiveDirectoryConnectorDNSDetailsResponse(dict):
|
|
67
|
+
"""
|
|
68
|
+
DNS server details
|
|
69
|
+
"""
|
|
70
|
+
@staticmethod
|
|
71
|
+
def __key_warning(key: str):
|
|
72
|
+
suggest = None
|
|
73
|
+
if key == "nameserverIPAddresses":
|
|
74
|
+
suggest = "nameserver_ip_addresses"
|
|
75
|
+
elif key == "domainName":
|
|
76
|
+
suggest = "domain_name"
|
|
77
|
+
elif key == "preferK8sDnsForPtrLookups":
|
|
78
|
+
suggest = "prefer_k8s_dns_for_ptr_lookups"
|
|
79
|
+
|
|
80
|
+
if suggest:
|
|
81
|
+
pulumi.log.warn(f"Key '{key}' not found in ActiveDirectoryConnectorDNSDetailsResponse. Access the value via the '{suggest}' property getter instead.")
|
|
82
|
+
|
|
83
|
+
def __getitem__(self, key: str) -> Any:
|
|
84
|
+
ActiveDirectoryConnectorDNSDetailsResponse.__key_warning(key)
|
|
85
|
+
return super().__getitem__(key)
|
|
86
|
+
|
|
87
|
+
def get(self, key: str, default = None) -> Any:
|
|
88
|
+
ActiveDirectoryConnectorDNSDetailsResponse.__key_warning(key)
|
|
89
|
+
return super().get(key, default)
|
|
90
|
+
|
|
91
|
+
def __init__(__self__, *,
|
|
92
|
+
nameserver_ip_addresses: Sequence[str],
|
|
93
|
+
domain_name: Optional[str] = None,
|
|
94
|
+
prefer_k8s_dns_for_ptr_lookups: Optional[bool] = None,
|
|
95
|
+
replicas: Optional[float] = None):
|
|
96
|
+
"""
|
|
97
|
+
DNS server details
|
|
98
|
+
:param Sequence[str] nameserver_ip_addresses: List of Active Directory DNS server IP addresses.
|
|
99
|
+
:param str domain_name: DNS domain name for which DNS lookups should be forwarded to the Active Directory DNS servers.
|
|
100
|
+
:param bool prefer_k8s_dns_for_ptr_lookups: Flag indicating whether to prefer Kubernetes DNS server response over AD DNS server response for IP address lookups.
|
|
101
|
+
:param float replicas: Replica count for DNS proxy service. Default value is 1.
|
|
102
|
+
"""
|
|
103
|
+
pulumi.set(__self__, "nameserver_ip_addresses", nameserver_ip_addresses)
|
|
104
|
+
if domain_name is not None:
|
|
105
|
+
pulumi.set(__self__, "domain_name", domain_name)
|
|
106
|
+
if prefer_k8s_dns_for_ptr_lookups is None:
|
|
107
|
+
prefer_k8s_dns_for_ptr_lookups = True
|
|
108
|
+
if prefer_k8s_dns_for_ptr_lookups is not None:
|
|
109
|
+
pulumi.set(__self__, "prefer_k8s_dns_for_ptr_lookups", prefer_k8s_dns_for_ptr_lookups)
|
|
110
|
+
if replicas is None:
|
|
111
|
+
replicas = 1
|
|
112
|
+
if replicas is not None:
|
|
113
|
+
pulumi.set(__self__, "replicas", replicas)
|
|
114
|
+
|
|
115
|
+
@property
|
|
116
|
+
@pulumi.getter(name="nameserverIPAddresses")
|
|
117
|
+
def nameserver_ip_addresses(self) -> Sequence[str]:
|
|
118
|
+
"""
|
|
119
|
+
List of Active Directory DNS server IP addresses.
|
|
120
|
+
"""
|
|
121
|
+
return pulumi.get(self, "nameserver_ip_addresses")
|
|
122
|
+
|
|
123
|
+
@property
|
|
124
|
+
@pulumi.getter(name="domainName")
|
|
125
|
+
def domain_name(self) -> Optional[str]:
|
|
126
|
+
"""
|
|
127
|
+
DNS domain name for which DNS lookups should be forwarded to the Active Directory DNS servers.
|
|
128
|
+
"""
|
|
129
|
+
return pulumi.get(self, "domain_name")
|
|
130
|
+
|
|
131
|
+
@property
|
|
132
|
+
@pulumi.getter(name="preferK8sDnsForPtrLookups")
|
|
133
|
+
def prefer_k8s_dns_for_ptr_lookups(self) -> Optional[bool]:
|
|
134
|
+
"""
|
|
135
|
+
Flag indicating whether to prefer Kubernetes DNS server response over AD DNS server response for IP address lookups.
|
|
136
|
+
"""
|
|
137
|
+
return pulumi.get(self, "prefer_k8s_dns_for_ptr_lookups")
|
|
138
|
+
|
|
139
|
+
@property
|
|
140
|
+
@pulumi.getter
|
|
141
|
+
def replicas(self) -> Optional[float]:
|
|
142
|
+
"""
|
|
143
|
+
Replica count for DNS proxy service. Default value is 1.
|
|
144
|
+
"""
|
|
145
|
+
return pulumi.get(self, "replicas")
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
@pulumi.output_type
|
|
149
|
+
class ActiveDirectoryConnectorDomainDetailsResponse(dict):
|
|
150
|
+
"""
|
|
151
|
+
Active Directory domain details
|
|
152
|
+
"""
|
|
153
|
+
@staticmethod
|
|
154
|
+
def __key_warning(key: str):
|
|
155
|
+
suggest = None
|
|
156
|
+
if key == "domainControllers":
|
|
157
|
+
suggest = "domain_controllers"
|
|
158
|
+
elif key == "netbiosDomainName":
|
|
159
|
+
suggest = "netbios_domain_name"
|
|
160
|
+
elif key == "ouDistinguishedName":
|
|
161
|
+
suggest = "ou_distinguished_name"
|
|
162
|
+
elif key == "serviceAccountProvisioning":
|
|
163
|
+
suggest = "service_account_provisioning"
|
|
164
|
+
|
|
165
|
+
if suggest:
|
|
166
|
+
pulumi.log.warn(f"Key '{key}' not found in ActiveDirectoryConnectorDomainDetailsResponse. Access the value via the '{suggest}' property getter instead.")
|
|
167
|
+
|
|
168
|
+
def __getitem__(self, key: str) -> Any:
|
|
169
|
+
ActiveDirectoryConnectorDomainDetailsResponse.__key_warning(key)
|
|
170
|
+
return super().__getitem__(key)
|
|
171
|
+
|
|
172
|
+
def get(self, key: str, default = None) -> Any:
|
|
173
|
+
ActiveDirectoryConnectorDomainDetailsResponse.__key_warning(key)
|
|
174
|
+
return super().get(key, default)
|
|
175
|
+
|
|
176
|
+
def __init__(__self__, *,
|
|
177
|
+
realm: str,
|
|
178
|
+
domain_controllers: Optional['outputs.ActiveDirectoryDomainControllersResponse'] = None,
|
|
179
|
+
netbios_domain_name: Optional[str] = None,
|
|
180
|
+
ou_distinguished_name: Optional[str] = None,
|
|
181
|
+
service_account_provisioning: Optional[str] = None):
|
|
182
|
+
"""
|
|
183
|
+
Active Directory domain details
|
|
184
|
+
:param str realm: Name (uppercase) of the Active Directory domain that this AD connector will be associated with.
|
|
185
|
+
:param 'ActiveDirectoryDomainControllersResponse' domain_controllers: null
|
|
186
|
+
:param str netbios_domain_name: NETBIOS name of the Active Directory domain.
|
|
187
|
+
:param str ou_distinguished_name: The distinguished name of the Active Directory Organizational Unit.
|
|
188
|
+
:param str service_account_provisioning: The service account provisioning mode for this Active Directory connector.
|
|
189
|
+
"""
|
|
190
|
+
pulumi.set(__self__, "realm", realm)
|
|
191
|
+
if domain_controllers is not None:
|
|
192
|
+
pulumi.set(__self__, "domain_controllers", domain_controllers)
|
|
193
|
+
if netbios_domain_name is not None:
|
|
194
|
+
pulumi.set(__self__, "netbios_domain_name", netbios_domain_name)
|
|
195
|
+
if ou_distinguished_name is not None:
|
|
196
|
+
pulumi.set(__self__, "ou_distinguished_name", ou_distinguished_name)
|
|
197
|
+
if service_account_provisioning is None:
|
|
198
|
+
service_account_provisioning = 'manual'
|
|
199
|
+
if service_account_provisioning is not None:
|
|
200
|
+
pulumi.set(__self__, "service_account_provisioning", service_account_provisioning)
|
|
201
|
+
|
|
202
|
+
@property
|
|
203
|
+
@pulumi.getter
|
|
204
|
+
def realm(self) -> str:
|
|
205
|
+
"""
|
|
206
|
+
Name (uppercase) of the Active Directory domain that this AD connector will be associated with.
|
|
207
|
+
"""
|
|
208
|
+
return pulumi.get(self, "realm")
|
|
209
|
+
|
|
210
|
+
@property
|
|
211
|
+
@pulumi.getter(name="domainControllers")
|
|
212
|
+
def domain_controllers(self) -> Optional['outputs.ActiveDirectoryDomainControllersResponse']:
|
|
213
|
+
"""
|
|
214
|
+
null
|
|
215
|
+
"""
|
|
216
|
+
return pulumi.get(self, "domain_controllers")
|
|
217
|
+
|
|
218
|
+
@property
|
|
219
|
+
@pulumi.getter(name="netbiosDomainName")
|
|
220
|
+
def netbios_domain_name(self) -> Optional[str]:
|
|
221
|
+
"""
|
|
222
|
+
NETBIOS name of the Active Directory domain.
|
|
223
|
+
"""
|
|
224
|
+
return pulumi.get(self, "netbios_domain_name")
|
|
225
|
+
|
|
226
|
+
@property
|
|
227
|
+
@pulumi.getter(name="ouDistinguishedName")
|
|
228
|
+
def ou_distinguished_name(self) -> Optional[str]:
|
|
229
|
+
"""
|
|
230
|
+
The distinguished name of the Active Directory Organizational Unit.
|
|
231
|
+
"""
|
|
232
|
+
return pulumi.get(self, "ou_distinguished_name")
|
|
233
|
+
|
|
234
|
+
@property
|
|
235
|
+
@pulumi.getter(name="serviceAccountProvisioning")
|
|
236
|
+
def service_account_provisioning(self) -> Optional[str]:
|
|
237
|
+
"""
|
|
238
|
+
The service account provisioning mode for this Active Directory connector.
|
|
239
|
+
"""
|
|
240
|
+
return pulumi.get(self, "service_account_provisioning")
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
@pulumi.output_type
|
|
244
|
+
class ActiveDirectoryConnectorPropertiesResponse(dict):
|
|
245
|
+
"""
|
|
246
|
+
The properties of an Active Directory connector resource
|
|
247
|
+
"""
|
|
248
|
+
@staticmethod
|
|
249
|
+
def __key_warning(key: str):
|
|
250
|
+
suggest = None
|
|
251
|
+
if key == "provisioningState":
|
|
252
|
+
suggest = "provisioning_state"
|
|
253
|
+
elif key == "domainServiceAccountLoginInformation":
|
|
254
|
+
suggest = "domain_service_account_login_information"
|
|
255
|
+
|
|
256
|
+
if suggest:
|
|
257
|
+
pulumi.log.warn(f"Key '{key}' not found in ActiveDirectoryConnectorPropertiesResponse. Access the value via the '{suggest}' property getter instead.")
|
|
258
|
+
|
|
259
|
+
def __getitem__(self, key: str) -> Any:
|
|
260
|
+
ActiveDirectoryConnectorPropertiesResponse.__key_warning(key)
|
|
261
|
+
return super().__getitem__(key)
|
|
262
|
+
|
|
263
|
+
def get(self, key: str, default = None) -> Any:
|
|
264
|
+
ActiveDirectoryConnectorPropertiesResponse.__key_warning(key)
|
|
265
|
+
return super().get(key, default)
|
|
266
|
+
|
|
267
|
+
def __init__(__self__, *,
|
|
268
|
+
provisioning_state: str,
|
|
269
|
+
spec: 'outputs.ActiveDirectoryConnectorSpecResponse',
|
|
270
|
+
domain_service_account_login_information: Optional['outputs.BasicLoginInformationResponse'] = None,
|
|
271
|
+
status: Optional['outputs.ActiveDirectoryConnectorStatusResponse'] = None):
|
|
272
|
+
"""
|
|
273
|
+
The properties of an Active Directory connector resource
|
|
274
|
+
:param str provisioning_state: The provisioning state of the Active Directory connector resource.
|
|
275
|
+
:param 'ActiveDirectoryConnectorSpecResponse' spec: null
|
|
276
|
+
:param 'BasicLoginInformationResponse' domain_service_account_login_information: Username and password for domain service account authentication.
|
|
277
|
+
:param 'ActiveDirectoryConnectorStatusResponse' status: null
|
|
278
|
+
"""
|
|
279
|
+
pulumi.set(__self__, "provisioning_state", provisioning_state)
|
|
280
|
+
pulumi.set(__self__, "spec", spec)
|
|
281
|
+
if domain_service_account_login_information is not None:
|
|
282
|
+
pulumi.set(__self__, "domain_service_account_login_information", domain_service_account_login_information)
|
|
283
|
+
if status is not None:
|
|
284
|
+
pulumi.set(__self__, "status", status)
|
|
285
|
+
|
|
286
|
+
@property
|
|
287
|
+
@pulumi.getter(name="provisioningState")
|
|
288
|
+
def provisioning_state(self) -> str:
|
|
289
|
+
"""
|
|
290
|
+
The provisioning state of the Active Directory connector resource.
|
|
291
|
+
"""
|
|
292
|
+
return pulumi.get(self, "provisioning_state")
|
|
293
|
+
|
|
294
|
+
@property
|
|
295
|
+
@pulumi.getter
|
|
296
|
+
def spec(self) -> 'outputs.ActiveDirectoryConnectorSpecResponse':
|
|
297
|
+
"""
|
|
298
|
+
null
|
|
299
|
+
"""
|
|
300
|
+
return pulumi.get(self, "spec")
|
|
301
|
+
|
|
302
|
+
@property
|
|
303
|
+
@pulumi.getter(name="domainServiceAccountLoginInformation")
|
|
304
|
+
def domain_service_account_login_information(self) -> Optional['outputs.BasicLoginInformationResponse']:
|
|
305
|
+
"""
|
|
306
|
+
Username and password for domain service account authentication.
|
|
307
|
+
"""
|
|
308
|
+
return pulumi.get(self, "domain_service_account_login_information")
|
|
309
|
+
|
|
310
|
+
@property
|
|
311
|
+
@pulumi.getter
|
|
312
|
+
def status(self) -> Optional['outputs.ActiveDirectoryConnectorStatusResponse']:
|
|
313
|
+
"""
|
|
314
|
+
null
|
|
315
|
+
"""
|
|
316
|
+
return pulumi.get(self, "status")
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
@pulumi.output_type
|
|
320
|
+
class ActiveDirectoryConnectorSpecResponse(dict):
|
|
321
|
+
"""
|
|
322
|
+
The specifications of the AD Kubernetes resource.
|
|
323
|
+
"""
|
|
324
|
+
@staticmethod
|
|
325
|
+
def __key_warning(key: str):
|
|
326
|
+
suggest = None
|
|
327
|
+
if key == "activeDirectory":
|
|
328
|
+
suggest = "active_directory"
|
|
329
|
+
|
|
330
|
+
if suggest:
|
|
331
|
+
pulumi.log.warn(f"Key '{key}' not found in ActiveDirectoryConnectorSpecResponse. Access the value via the '{suggest}' property getter instead.")
|
|
332
|
+
|
|
333
|
+
def __getitem__(self, key: str) -> Any:
|
|
334
|
+
ActiveDirectoryConnectorSpecResponse.__key_warning(key)
|
|
335
|
+
return super().__getitem__(key)
|
|
336
|
+
|
|
337
|
+
def get(self, key: str, default = None) -> Any:
|
|
338
|
+
ActiveDirectoryConnectorSpecResponse.__key_warning(key)
|
|
339
|
+
return super().get(key, default)
|
|
340
|
+
|
|
341
|
+
def __init__(__self__, *,
|
|
342
|
+
active_directory: 'outputs.ActiveDirectoryConnectorDomainDetailsResponse',
|
|
343
|
+
dns: 'outputs.ActiveDirectoryConnectorDNSDetailsResponse'):
|
|
344
|
+
"""
|
|
345
|
+
The specifications of the AD Kubernetes resource.
|
|
346
|
+
:param 'ActiveDirectoryConnectorDomainDetailsResponse' active_directory: null
|
|
347
|
+
:param 'ActiveDirectoryConnectorDNSDetailsResponse' dns: null
|
|
348
|
+
"""
|
|
349
|
+
pulumi.set(__self__, "active_directory", active_directory)
|
|
350
|
+
pulumi.set(__self__, "dns", dns)
|
|
351
|
+
|
|
352
|
+
@property
|
|
353
|
+
@pulumi.getter(name="activeDirectory")
|
|
354
|
+
def active_directory(self) -> 'outputs.ActiveDirectoryConnectorDomainDetailsResponse':
|
|
355
|
+
"""
|
|
356
|
+
null
|
|
357
|
+
"""
|
|
358
|
+
return pulumi.get(self, "active_directory")
|
|
359
|
+
|
|
360
|
+
@property
|
|
361
|
+
@pulumi.getter
|
|
362
|
+
def dns(self) -> 'outputs.ActiveDirectoryConnectorDNSDetailsResponse':
|
|
363
|
+
"""
|
|
364
|
+
null
|
|
365
|
+
"""
|
|
366
|
+
return pulumi.get(self, "dns")
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
@pulumi.output_type
|
|
370
|
+
class ActiveDirectoryConnectorStatusResponse(dict):
|
|
371
|
+
"""
|
|
372
|
+
The status of the Kubernetes custom resource.
|
|
373
|
+
"""
|
|
374
|
+
@staticmethod
|
|
375
|
+
def __key_warning(key: str):
|
|
376
|
+
suggest = None
|
|
377
|
+
if key == "lastUpdateTime":
|
|
378
|
+
suggest = "last_update_time"
|
|
379
|
+
elif key == "observedGeneration":
|
|
380
|
+
suggest = "observed_generation"
|
|
381
|
+
|
|
382
|
+
if suggest:
|
|
383
|
+
pulumi.log.warn(f"Key '{key}' not found in ActiveDirectoryConnectorStatusResponse. Access the value via the '{suggest}' property getter instead.")
|
|
384
|
+
|
|
385
|
+
def __getitem__(self, key: str) -> Any:
|
|
386
|
+
ActiveDirectoryConnectorStatusResponse.__key_warning(key)
|
|
387
|
+
return super().__getitem__(key)
|
|
388
|
+
|
|
389
|
+
def get(self, key: str, default = None) -> Any:
|
|
390
|
+
ActiveDirectoryConnectorStatusResponse.__key_warning(key)
|
|
391
|
+
return super().get(key, default)
|
|
392
|
+
|
|
393
|
+
def __init__(__self__, *,
|
|
394
|
+
last_update_time: Optional[str] = None,
|
|
395
|
+
observed_generation: Optional[float] = None,
|
|
396
|
+
state: Optional[str] = None):
|
|
397
|
+
"""
|
|
398
|
+
The status of the Kubernetes custom resource.
|
|
399
|
+
:param str last_update_time: The time that the custom resource was last updated.
|
|
400
|
+
:param float observed_generation: The version of the replicaSet associated with the AD connector custom resource.
|
|
401
|
+
:param str state: The state of the AD connector custom resource.
|
|
402
|
+
"""
|
|
403
|
+
if last_update_time is not None:
|
|
404
|
+
pulumi.set(__self__, "last_update_time", last_update_time)
|
|
405
|
+
if observed_generation is not None:
|
|
406
|
+
pulumi.set(__self__, "observed_generation", observed_generation)
|
|
407
|
+
if state is not None:
|
|
408
|
+
pulumi.set(__self__, "state", state)
|
|
409
|
+
|
|
410
|
+
@property
|
|
411
|
+
@pulumi.getter(name="lastUpdateTime")
|
|
412
|
+
def last_update_time(self) -> Optional[str]:
|
|
413
|
+
"""
|
|
414
|
+
The time that the custom resource was last updated.
|
|
415
|
+
"""
|
|
416
|
+
return pulumi.get(self, "last_update_time")
|
|
417
|
+
|
|
418
|
+
@property
|
|
419
|
+
@pulumi.getter(name="observedGeneration")
|
|
420
|
+
def observed_generation(self) -> Optional[float]:
|
|
421
|
+
"""
|
|
422
|
+
The version of the replicaSet associated with the AD connector custom resource.
|
|
423
|
+
"""
|
|
424
|
+
return pulumi.get(self, "observed_generation")
|
|
425
|
+
|
|
426
|
+
@property
|
|
427
|
+
@pulumi.getter
|
|
428
|
+
def state(self) -> Optional[str]:
|
|
429
|
+
"""
|
|
430
|
+
The state of the AD connector custom resource.
|
|
431
|
+
"""
|
|
432
|
+
return pulumi.get(self, "state")
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
@pulumi.output_type
|
|
436
|
+
class ActiveDirectoryDomainControllerResponse(dict):
|
|
437
|
+
"""
|
|
438
|
+
Information about a domain controller in the AD domain.
|
|
439
|
+
"""
|
|
440
|
+
def __init__(__self__, *,
|
|
441
|
+
hostname: str):
|
|
442
|
+
"""
|
|
443
|
+
Information about a domain controller in the AD domain.
|
|
444
|
+
:param str hostname: Fully-qualified domain name of a domain controller in the AD domain.
|
|
445
|
+
"""
|
|
446
|
+
pulumi.set(__self__, "hostname", hostname)
|
|
447
|
+
|
|
448
|
+
@property
|
|
449
|
+
@pulumi.getter
|
|
450
|
+
def hostname(self) -> str:
|
|
451
|
+
"""
|
|
452
|
+
Fully-qualified domain name of a domain controller in the AD domain.
|
|
453
|
+
"""
|
|
454
|
+
return pulumi.get(self, "hostname")
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
@pulumi.output_type
|
|
458
|
+
class ActiveDirectoryDomainControllersResponse(dict):
|
|
459
|
+
"""
|
|
460
|
+
Details about the Active Directory domain controllers associated with this AD connector instance
|
|
461
|
+
"""
|
|
462
|
+
@staticmethod
|
|
463
|
+
def __key_warning(key: str):
|
|
464
|
+
suggest = None
|
|
465
|
+
if key == "primaryDomainController":
|
|
466
|
+
suggest = "primary_domain_controller"
|
|
467
|
+
elif key == "secondaryDomainControllers":
|
|
468
|
+
suggest = "secondary_domain_controllers"
|
|
469
|
+
|
|
470
|
+
if suggest:
|
|
471
|
+
pulumi.log.warn(f"Key '{key}' not found in ActiveDirectoryDomainControllersResponse. Access the value via the '{suggest}' property getter instead.")
|
|
472
|
+
|
|
473
|
+
def __getitem__(self, key: str) -> Any:
|
|
474
|
+
ActiveDirectoryDomainControllersResponse.__key_warning(key)
|
|
475
|
+
return super().__getitem__(key)
|
|
476
|
+
|
|
477
|
+
def get(self, key: str, default = None) -> Any:
|
|
478
|
+
ActiveDirectoryDomainControllersResponse.__key_warning(key)
|
|
479
|
+
return super().get(key, default)
|
|
480
|
+
|
|
481
|
+
def __init__(__self__, *,
|
|
482
|
+
primary_domain_controller: Optional['outputs.ActiveDirectoryDomainControllerResponse'] = None,
|
|
483
|
+
secondary_domain_controllers: Optional[Sequence['outputs.ActiveDirectoryDomainControllerResponse']] = None):
|
|
484
|
+
"""
|
|
485
|
+
Details about the Active Directory domain controllers associated with this AD connector instance
|
|
486
|
+
:param 'ActiveDirectoryDomainControllerResponse' primary_domain_controller: Information about the Primary Domain Controller (PDC) in the AD domain.
|
|
487
|
+
:param Sequence['ActiveDirectoryDomainControllerResponse'] secondary_domain_controllers: null
|
|
488
|
+
"""
|
|
489
|
+
if primary_domain_controller is not None:
|
|
490
|
+
pulumi.set(__self__, "primary_domain_controller", primary_domain_controller)
|
|
491
|
+
if secondary_domain_controllers is not None:
|
|
492
|
+
pulumi.set(__self__, "secondary_domain_controllers", secondary_domain_controllers)
|
|
493
|
+
|
|
494
|
+
@property
|
|
495
|
+
@pulumi.getter(name="primaryDomainController")
|
|
496
|
+
def primary_domain_controller(self) -> Optional['outputs.ActiveDirectoryDomainControllerResponse']:
|
|
497
|
+
"""
|
|
498
|
+
Information about the Primary Domain Controller (PDC) in the AD domain.
|
|
499
|
+
"""
|
|
500
|
+
return pulumi.get(self, "primary_domain_controller")
|
|
501
|
+
|
|
502
|
+
@property
|
|
503
|
+
@pulumi.getter(name="secondaryDomainControllers")
|
|
504
|
+
def secondary_domain_controllers(self) -> Optional[Sequence['outputs.ActiveDirectoryDomainControllerResponse']]:
|
|
505
|
+
"""
|
|
506
|
+
null
|
|
507
|
+
"""
|
|
508
|
+
return pulumi.get(self, "secondary_domain_controllers")
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
@pulumi.output_type
|
|
512
|
+
class AvailabilityGroupConfigureResponse(dict):
|
|
513
|
+
"""
|
|
514
|
+
The specifications of the availability group replica configuration
|
|
515
|
+
"""
|
|
516
|
+
@staticmethod
|
|
517
|
+
def __key_warning(key: str):
|
|
518
|
+
suggest = None
|
|
519
|
+
if key == "availabilityModeDescription":
|
|
520
|
+
suggest = "availability_mode_description"
|
|
521
|
+
elif key == "failoverModeDescription":
|
|
522
|
+
suggest = "failover_mode_description"
|
|
523
|
+
elif key == "primaryRoleAllowConnectionsDescription":
|
|
524
|
+
suggest = "primary_role_allow_connections_description"
|
|
525
|
+
elif key == "replicaCreateDate":
|
|
526
|
+
suggest = "replica_create_date"
|
|
527
|
+
elif key == "replicaModifyDate":
|
|
528
|
+
suggest = "replica_modify_date"
|
|
529
|
+
elif key == "secondaryRoleAllowConnectionsDescription":
|
|
530
|
+
suggest = "secondary_role_allow_connections_description"
|
|
531
|
+
elif key == "seedingModeDescription":
|
|
532
|
+
suggest = "seeding_mode_description"
|
|
533
|
+
elif key == "backupPriority":
|
|
534
|
+
suggest = "backup_priority"
|
|
535
|
+
elif key == "endpointUrl":
|
|
536
|
+
suggest = "endpoint_url"
|
|
537
|
+
elif key == "readOnlyRoutingUrl":
|
|
538
|
+
suggest = "read_only_routing_url"
|
|
539
|
+
elif key == "readWriteRoutingUrl":
|
|
540
|
+
suggest = "read_write_routing_url"
|
|
541
|
+
elif key == "sessionTimeout":
|
|
542
|
+
suggest = "session_timeout"
|
|
543
|
+
|
|
544
|
+
if suggest:
|
|
545
|
+
pulumi.log.warn(f"Key '{key}' not found in AvailabilityGroupConfigureResponse. Access the value via the '{suggest}' property getter instead.")
|
|
546
|
+
|
|
547
|
+
def __getitem__(self, key: str) -> Any:
|
|
548
|
+
AvailabilityGroupConfigureResponse.__key_warning(key)
|
|
549
|
+
return super().__getitem__(key)
|
|
550
|
+
|
|
551
|
+
def get(self, key: str, default = None) -> Any:
|
|
552
|
+
AvailabilityGroupConfigureResponse.__key_warning(key)
|
|
553
|
+
return super().get(key, default)
|
|
554
|
+
|
|
555
|
+
def __init__(__self__, *,
|
|
556
|
+
availability_mode_description: str,
|
|
557
|
+
failover_mode_description: str,
|
|
558
|
+
primary_role_allow_connections_description: str,
|
|
559
|
+
replica_create_date: str,
|
|
560
|
+
replica_modify_date: str,
|
|
561
|
+
secondary_role_allow_connections_description: str,
|
|
562
|
+
seeding_mode_description: str,
|
|
563
|
+
backup_priority: Optional[int] = None,
|
|
564
|
+
endpoint_url: Optional[str] = None,
|
|
565
|
+
read_only_routing_url: Optional[str] = None,
|
|
566
|
+
read_write_routing_url: Optional[str] = None,
|
|
567
|
+
session_timeout: Optional[int] = None):
|
|
568
|
+
"""
|
|
569
|
+
The specifications of the availability group replica configuration
|
|
570
|
+
:param str availability_mode_description: The Availability Synchronization mode of the availability group replica.
|
|
571
|
+
:param str failover_mode_description: The failover mode of the availability group replica.
|
|
572
|
+
:param str primary_role_allow_connections_description: Whether the availability allows all connections or only read-write connections.
|
|
573
|
+
:param str replica_create_date: Date that the replica was created.
|
|
574
|
+
:param str replica_modify_date: Date that the replica was modified.
|
|
575
|
+
:param str secondary_role_allow_connections_description: Whether an availability replica that is performing the secondary role (that is, a secondary replica) can accept connections from clients.
|
|
576
|
+
:param str seeding_mode_description: Describes seeding mode.
|
|
577
|
+
:param int backup_priority: Represents the user-specified priority for performing backups on this replica relative to the other replicas in the same availability group.
|
|
578
|
+
:param str endpoint_url: Mirroring endpoint URL of availability group replica
|
|
579
|
+
:param str read_only_routing_url: Connectivity endpoint (URL) of the read only availability replica.
|
|
580
|
+
:param str read_write_routing_url: Connectivity endpoint (URL) of the read write availability replica.
|
|
581
|
+
:param int session_timeout: The time-out period of availability group session replica, in seconds.
|
|
582
|
+
"""
|
|
583
|
+
pulumi.set(__self__, "availability_mode_description", availability_mode_description)
|
|
584
|
+
pulumi.set(__self__, "failover_mode_description", failover_mode_description)
|
|
585
|
+
pulumi.set(__self__, "primary_role_allow_connections_description", primary_role_allow_connections_description)
|
|
586
|
+
pulumi.set(__self__, "replica_create_date", replica_create_date)
|
|
587
|
+
pulumi.set(__self__, "replica_modify_date", replica_modify_date)
|
|
588
|
+
pulumi.set(__self__, "secondary_role_allow_connections_description", secondary_role_allow_connections_description)
|
|
589
|
+
pulumi.set(__self__, "seeding_mode_description", seeding_mode_description)
|
|
590
|
+
if backup_priority is not None:
|
|
591
|
+
pulumi.set(__self__, "backup_priority", backup_priority)
|
|
592
|
+
if endpoint_url is not None:
|
|
593
|
+
pulumi.set(__self__, "endpoint_url", endpoint_url)
|
|
594
|
+
if read_only_routing_url is not None:
|
|
595
|
+
pulumi.set(__self__, "read_only_routing_url", read_only_routing_url)
|
|
596
|
+
if read_write_routing_url is not None:
|
|
597
|
+
pulumi.set(__self__, "read_write_routing_url", read_write_routing_url)
|
|
598
|
+
if session_timeout is not None:
|
|
599
|
+
pulumi.set(__self__, "session_timeout", session_timeout)
|
|
600
|
+
|
|
601
|
+
@property
|
|
602
|
+
@pulumi.getter(name="availabilityModeDescription")
|
|
603
|
+
def availability_mode_description(self) -> str:
|
|
604
|
+
"""
|
|
605
|
+
The Availability Synchronization mode of the availability group replica.
|
|
606
|
+
"""
|
|
607
|
+
return pulumi.get(self, "availability_mode_description")
|
|
608
|
+
|
|
609
|
+
@property
|
|
610
|
+
@pulumi.getter(name="failoverModeDescription")
|
|
611
|
+
def failover_mode_description(self) -> str:
|
|
612
|
+
"""
|
|
613
|
+
The failover mode of the availability group replica.
|
|
614
|
+
"""
|
|
615
|
+
return pulumi.get(self, "failover_mode_description")
|
|
616
|
+
|
|
617
|
+
@property
|
|
618
|
+
@pulumi.getter(name="primaryRoleAllowConnectionsDescription")
|
|
619
|
+
def primary_role_allow_connections_description(self) -> str:
|
|
620
|
+
"""
|
|
621
|
+
Whether the availability allows all connections or only read-write connections.
|
|
622
|
+
"""
|
|
623
|
+
return pulumi.get(self, "primary_role_allow_connections_description")
|
|
624
|
+
|
|
625
|
+
@property
|
|
626
|
+
@pulumi.getter(name="replicaCreateDate")
|
|
627
|
+
def replica_create_date(self) -> str:
|
|
628
|
+
"""
|
|
629
|
+
Date that the replica was created.
|
|
630
|
+
"""
|
|
631
|
+
return pulumi.get(self, "replica_create_date")
|
|
632
|
+
|
|
633
|
+
@property
|
|
634
|
+
@pulumi.getter(name="replicaModifyDate")
|
|
635
|
+
def replica_modify_date(self) -> str:
|
|
636
|
+
"""
|
|
637
|
+
Date that the replica was modified.
|
|
638
|
+
"""
|
|
639
|
+
return pulumi.get(self, "replica_modify_date")
|
|
640
|
+
|
|
641
|
+
@property
|
|
642
|
+
@pulumi.getter(name="secondaryRoleAllowConnectionsDescription")
|
|
643
|
+
def secondary_role_allow_connections_description(self) -> str:
|
|
644
|
+
"""
|
|
645
|
+
Whether an availability replica that is performing the secondary role (that is, a secondary replica) can accept connections from clients.
|
|
646
|
+
"""
|
|
647
|
+
return pulumi.get(self, "secondary_role_allow_connections_description")
|
|
648
|
+
|
|
649
|
+
@property
|
|
650
|
+
@pulumi.getter(name="seedingModeDescription")
|
|
651
|
+
def seeding_mode_description(self) -> str:
|
|
652
|
+
"""
|
|
653
|
+
Describes seeding mode.
|
|
654
|
+
"""
|
|
655
|
+
return pulumi.get(self, "seeding_mode_description")
|
|
656
|
+
|
|
657
|
+
@property
|
|
658
|
+
@pulumi.getter(name="backupPriority")
|
|
659
|
+
def backup_priority(self) -> Optional[int]:
|
|
660
|
+
"""
|
|
661
|
+
Represents the user-specified priority for performing backups on this replica relative to the other replicas in the same availability group.
|
|
662
|
+
"""
|
|
663
|
+
return pulumi.get(self, "backup_priority")
|
|
664
|
+
|
|
665
|
+
@property
|
|
666
|
+
@pulumi.getter(name="endpointUrl")
|
|
667
|
+
def endpoint_url(self) -> Optional[str]:
|
|
668
|
+
"""
|
|
669
|
+
Mirroring endpoint URL of availability group replica
|
|
670
|
+
"""
|
|
671
|
+
return pulumi.get(self, "endpoint_url")
|
|
672
|
+
|
|
673
|
+
@property
|
|
674
|
+
@pulumi.getter(name="readOnlyRoutingUrl")
|
|
675
|
+
def read_only_routing_url(self) -> Optional[str]:
|
|
676
|
+
"""
|
|
677
|
+
Connectivity endpoint (URL) of the read only availability replica.
|
|
678
|
+
"""
|
|
679
|
+
return pulumi.get(self, "read_only_routing_url")
|
|
680
|
+
|
|
681
|
+
@property
|
|
682
|
+
@pulumi.getter(name="readWriteRoutingUrl")
|
|
683
|
+
def read_write_routing_url(self) -> Optional[str]:
|
|
684
|
+
"""
|
|
685
|
+
Connectivity endpoint (URL) of the read write availability replica.
|
|
686
|
+
"""
|
|
687
|
+
return pulumi.get(self, "read_write_routing_url")
|
|
688
|
+
|
|
689
|
+
@property
|
|
690
|
+
@pulumi.getter(name="sessionTimeout")
|
|
691
|
+
def session_timeout(self) -> Optional[int]:
|
|
692
|
+
"""
|
|
693
|
+
The time-out period of availability group session replica, in seconds.
|
|
694
|
+
"""
|
|
695
|
+
return pulumi.get(self, "session_timeout")
|
|
696
|
+
|
|
697
|
+
|
|
698
|
+
@pulumi.output_type
|
|
699
|
+
class AvailabilityGroupInfoResponse(dict):
|
|
700
|
+
"""
|
|
701
|
+
The specifications of the availability group state
|
|
702
|
+
"""
|
|
703
|
+
@staticmethod
|
|
704
|
+
def __key_warning(key: str):
|
|
705
|
+
suggest = None
|
|
706
|
+
if key == "automatedBackupPreferenceDescription":
|
|
707
|
+
suggest = "automated_backup_preference_description"
|
|
708
|
+
elif key == "clusterTypeDescription":
|
|
709
|
+
suggest = "cluster_type_description"
|
|
710
|
+
elif key == "primaryRecoveryHealthDescription":
|
|
711
|
+
suggest = "primary_recovery_health_description"
|
|
712
|
+
elif key == "primaryReplica":
|
|
713
|
+
suggest = "primary_replica"
|
|
714
|
+
elif key == "replicationPartnerType":
|
|
715
|
+
suggest = "replication_partner_type"
|
|
716
|
+
elif key == "secondaryRecoveryHealthDescription":
|
|
717
|
+
suggest = "secondary_recovery_health_description"
|
|
718
|
+
elif key == "synchronizationHealthDescription":
|
|
719
|
+
suggest = "synchronization_health_description"
|
|
720
|
+
elif key == "basicFeatures":
|
|
721
|
+
suggest = "basic_features"
|
|
722
|
+
elif key == "dbFailover":
|
|
723
|
+
suggest = "db_failover"
|
|
724
|
+
elif key == "dtcSupport":
|
|
725
|
+
suggest = "dtc_support"
|
|
726
|
+
elif key == "failureConditionLevel":
|
|
727
|
+
suggest = "failure_condition_level"
|
|
728
|
+
elif key == "healthCheckTimeout":
|
|
729
|
+
suggest = "health_check_timeout"
|
|
730
|
+
elif key == "isContained":
|
|
731
|
+
suggest = "is_contained"
|
|
732
|
+
elif key == "isDistributed":
|
|
733
|
+
suggest = "is_distributed"
|
|
734
|
+
elif key == "requiredSynchronizedSecondariesToCommit":
|
|
735
|
+
suggest = "required_synchronized_secondaries_to_commit"
|
|
736
|
+
|
|
737
|
+
if suggest:
|
|
738
|
+
pulumi.log.warn(f"Key '{key}' not found in AvailabilityGroupInfoResponse. Access the value via the '{suggest}' property getter instead.")
|
|
739
|
+
|
|
740
|
+
def __getitem__(self, key: str) -> Any:
|
|
741
|
+
AvailabilityGroupInfoResponse.__key_warning(key)
|
|
742
|
+
return super().__getitem__(key)
|
|
743
|
+
|
|
744
|
+
def get(self, key: str, default = None) -> Any:
|
|
745
|
+
AvailabilityGroupInfoResponse.__key_warning(key)
|
|
746
|
+
return super().get(key, default)
|
|
747
|
+
|
|
748
|
+
def __init__(__self__, *,
|
|
749
|
+
automated_backup_preference_description: str,
|
|
750
|
+
cluster_type_description: str,
|
|
751
|
+
primary_recovery_health_description: str,
|
|
752
|
+
primary_replica: str,
|
|
753
|
+
replication_partner_type: str,
|
|
754
|
+
secondary_recovery_health_description: str,
|
|
755
|
+
synchronization_health_description: str,
|
|
756
|
+
version: int,
|
|
757
|
+
basic_features: Optional[bool] = None,
|
|
758
|
+
db_failover: Optional[bool] = None,
|
|
759
|
+
dtc_support: Optional[bool] = None,
|
|
760
|
+
failure_condition_level: Optional[int] = None,
|
|
761
|
+
health_check_timeout: Optional[int] = None,
|
|
762
|
+
is_contained: Optional[bool] = None,
|
|
763
|
+
is_distributed: Optional[bool] = None,
|
|
764
|
+
required_synchronized_secondaries_to_commit: Optional[int] = None):
|
|
765
|
+
"""
|
|
766
|
+
The specifications of the availability group state
|
|
767
|
+
:param str automated_backup_preference_description: Preferred location for performing backups on the availability databases in this availability group.
|
|
768
|
+
:param str cluster_type_description: SQL Server availability group cluster type description
|
|
769
|
+
:param str primary_recovery_health_description: Indicates the recovery health of the primary replica.
|
|
770
|
+
:param str primary_replica: Name of the server instance that is hosting the current primary replica.
|
|
771
|
+
:param str secondary_recovery_health_description: Indicates the recovery health of a secondary replica.
|
|
772
|
+
:param str synchronization_health_description: Reflects a roll-up of the synchronization health of all availability replicas in the availability group.
|
|
773
|
+
:param int version: SQL Server availability group current version.
|
|
774
|
+
:param bool basic_features: Specifies whether this is a basic availability group.
|
|
775
|
+
:param bool db_failover: Specifies whether the availability group supports failover for database health conditions.
|
|
776
|
+
:param bool dtc_support: Specifies whether DTC support has been enabled for this availability group.
|
|
777
|
+
:param int failure_condition_level: User-defined failure condition level under which an automatic failover must be triggered.
|
|
778
|
+
:param int health_check_timeout: Wait time (in milliseconds) for the sp_server_diagnostics system stored procedure to return server-health information, before the server instance is assumed to be slow or not responding.
|
|
779
|
+
:param bool is_contained: SQL Server availability group contained system databases.
|
|
780
|
+
:param bool is_distributed: Specifies whether this is a distributed availability group.
|
|
781
|
+
:param int required_synchronized_secondaries_to_commit: The number of secondary replicas that must be in a synchronized state for a commit to complete.
|
|
782
|
+
"""
|
|
783
|
+
pulumi.set(__self__, "automated_backup_preference_description", automated_backup_preference_description)
|
|
784
|
+
pulumi.set(__self__, "cluster_type_description", cluster_type_description)
|
|
785
|
+
pulumi.set(__self__, "primary_recovery_health_description", primary_recovery_health_description)
|
|
786
|
+
pulumi.set(__self__, "primary_replica", primary_replica)
|
|
787
|
+
pulumi.set(__self__, "replication_partner_type", replication_partner_type)
|
|
788
|
+
pulumi.set(__self__, "secondary_recovery_health_description", secondary_recovery_health_description)
|
|
789
|
+
pulumi.set(__self__, "synchronization_health_description", synchronization_health_description)
|
|
790
|
+
pulumi.set(__self__, "version", version)
|
|
791
|
+
if basic_features is not None:
|
|
792
|
+
pulumi.set(__self__, "basic_features", basic_features)
|
|
793
|
+
if db_failover is not None:
|
|
794
|
+
pulumi.set(__self__, "db_failover", db_failover)
|
|
795
|
+
if dtc_support is not None:
|
|
796
|
+
pulumi.set(__self__, "dtc_support", dtc_support)
|
|
797
|
+
if failure_condition_level is not None:
|
|
798
|
+
pulumi.set(__self__, "failure_condition_level", failure_condition_level)
|
|
799
|
+
if health_check_timeout is not None:
|
|
800
|
+
pulumi.set(__self__, "health_check_timeout", health_check_timeout)
|
|
801
|
+
if is_contained is not None:
|
|
802
|
+
pulumi.set(__self__, "is_contained", is_contained)
|
|
803
|
+
if is_distributed is not None:
|
|
804
|
+
pulumi.set(__self__, "is_distributed", is_distributed)
|
|
805
|
+
if required_synchronized_secondaries_to_commit is not None:
|
|
806
|
+
pulumi.set(__self__, "required_synchronized_secondaries_to_commit", required_synchronized_secondaries_to_commit)
|
|
807
|
+
|
|
808
|
+
@property
|
|
809
|
+
@pulumi.getter(name="automatedBackupPreferenceDescription")
|
|
810
|
+
def automated_backup_preference_description(self) -> str:
|
|
811
|
+
"""
|
|
812
|
+
Preferred location for performing backups on the availability databases in this availability group.
|
|
813
|
+
"""
|
|
814
|
+
return pulumi.get(self, "automated_backup_preference_description")
|
|
815
|
+
|
|
816
|
+
@property
|
|
817
|
+
@pulumi.getter(name="clusterTypeDescription")
|
|
818
|
+
def cluster_type_description(self) -> str:
|
|
819
|
+
"""
|
|
820
|
+
SQL Server availability group cluster type description
|
|
821
|
+
"""
|
|
822
|
+
return pulumi.get(self, "cluster_type_description")
|
|
823
|
+
|
|
824
|
+
@property
|
|
825
|
+
@pulumi.getter(name="primaryRecoveryHealthDescription")
|
|
826
|
+
def primary_recovery_health_description(self) -> str:
|
|
827
|
+
"""
|
|
828
|
+
Indicates the recovery health of the primary replica.
|
|
829
|
+
"""
|
|
830
|
+
return pulumi.get(self, "primary_recovery_health_description")
|
|
831
|
+
|
|
832
|
+
@property
|
|
833
|
+
@pulumi.getter(name="primaryReplica")
|
|
834
|
+
def primary_replica(self) -> str:
|
|
835
|
+
"""
|
|
836
|
+
Name of the server instance that is hosting the current primary replica.
|
|
837
|
+
"""
|
|
838
|
+
return pulumi.get(self, "primary_replica")
|
|
839
|
+
|
|
840
|
+
@property
|
|
841
|
+
@pulumi.getter(name="replicationPartnerType")
|
|
842
|
+
def replication_partner_type(self) -> str:
|
|
843
|
+
return pulumi.get(self, "replication_partner_type")
|
|
844
|
+
|
|
845
|
+
@property
|
|
846
|
+
@pulumi.getter(name="secondaryRecoveryHealthDescription")
|
|
847
|
+
def secondary_recovery_health_description(self) -> str:
|
|
848
|
+
"""
|
|
849
|
+
Indicates the recovery health of a secondary replica.
|
|
850
|
+
"""
|
|
851
|
+
return pulumi.get(self, "secondary_recovery_health_description")
|
|
852
|
+
|
|
853
|
+
@property
|
|
854
|
+
@pulumi.getter(name="synchronizationHealthDescription")
|
|
855
|
+
def synchronization_health_description(self) -> str:
|
|
856
|
+
"""
|
|
857
|
+
Reflects a roll-up of the synchronization health of all availability replicas in the availability group.
|
|
858
|
+
"""
|
|
859
|
+
return pulumi.get(self, "synchronization_health_description")
|
|
860
|
+
|
|
861
|
+
@property
|
|
862
|
+
@pulumi.getter
|
|
863
|
+
def version(self) -> int:
|
|
864
|
+
"""
|
|
865
|
+
SQL Server availability group current version.
|
|
866
|
+
"""
|
|
867
|
+
return pulumi.get(self, "version")
|
|
868
|
+
|
|
869
|
+
@property
|
|
870
|
+
@pulumi.getter(name="basicFeatures")
|
|
871
|
+
def basic_features(self) -> Optional[bool]:
|
|
872
|
+
"""
|
|
873
|
+
Specifies whether this is a basic availability group.
|
|
874
|
+
"""
|
|
875
|
+
return pulumi.get(self, "basic_features")
|
|
876
|
+
|
|
877
|
+
@property
|
|
878
|
+
@pulumi.getter(name="dbFailover")
|
|
879
|
+
def db_failover(self) -> Optional[bool]:
|
|
880
|
+
"""
|
|
881
|
+
Specifies whether the availability group supports failover for database health conditions.
|
|
882
|
+
"""
|
|
883
|
+
return pulumi.get(self, "db_failover")
|
|
884
|
+
|
|
885
|
+
@property
|
|
886
|
+
@pulumi.getter(name="dtcSupport")
|
|
887
|
+
def dtc_support(self) -> Optional[bool]:
|
|
888
|
+
"""
|
|
889
|
+
Specifies whether DTC support has been enabled for this availability group.
|
|
890
|
+
"""
|
|
891
|
+
return pulumi.get(self, "dtc_support")
|
|
892
|
+
|
|
893
|
+
@property
|
|
894
|
+
@pulumi.getter(name="failureConditionLevel")
|
|
895
|
+
def failure_condition_level(self) -> Optional[int]:
|
|
896
|
+
"""
|
|
897
|
+
User-defined failure condition level under which an automatic failover must be triggered.
|
|
898
|
+
"""
|
|
899
|
+
return pulumi.get(self, "failure_condition_level")
|
|
900
|
+
|
|
901
|
+
@property
|
|
902
|
+
@pulumi.getter(name="healthCheckTimeout")
|
|
903
|
+
def health_check_timeout(self) -> Optional[int]:
|
|
904
|
+
"""
|
|
905
|
+
Wait time (in milliseconds) for the sp_server_diagnostics system stored procedure to return server-health information, before the server instance is assumed to be slow or not responding.
|
|
906
|
+
"""
|
|
907
|
+
return pulumi.get(self, "health_check_timeout")
|
|
908
|
+
|
|
909
|
+
@property
|
|
910
|
+
@pulumi.getter(name="isContained")
|
|
911
|
+
def is_contained(self) -> Optional[bool]:
|
|
912
|
+
"""
|
|
913
|
+
SQL Server availability group contained system databases.
|
|
914
|
+
"""
|
|
915
|
+
return pulumi.get(self, "is_contained")
|
|
916
|
+
|
|
917
|
+
@property
|
|
918
|
+
@pulumi.getter(name="isDistributed")
|
|
919
|
+
def is_distributed(self) -> Optional[bool]:
|
|
920
|
+
"""
|
|
921
|
+
Specifies whether this is a distributed availability group.
|
|
922
|
+
"""
|
|
923
|
+
return pulumi.get(self, "is_distributed")
|
|
924
|
+
|
|
925
|
+
@property
|
|
926
|
+
@pulumi.getter(name="requiredSynchronizedSecondariesToCommit")
|
|
927
|
+
def required_synchronized_secondaries_to_commit(self) -> Optional[int]:
|
|
928
|
+
"""
|
|
929
|
+
The number of secondary replicas that must be in a synchronized state for a commit to complete.
|
|
930
|
+
"""
|
|
931
|
+
return pulumi.get(self, "required_synchronized_secondaries_to_commit")
|
|
932
|
+
|
|
933
|
+
|
|
934
|
+
@pulumi.output_type
|
|
935
|
+
class AvailabilityGroupStateResponse(dict):
|
|
936
|
+
"""
|
|
937
|
+
The specifications of the availability group state
|
|
938
|
+
"""
|
|
939
|
+
@staticmethod
|
|
940
|
+
def __key_warning(key: str):
|
|
941
|
+
suggest = None
|
|
942
|
+
if key == "availabilityGroupReplicaRole":
|
|
943
|
+
suggest = "availability_group_replica_role"
|
|
944
|
+
elif key == "connectedStateDescription":
|
|
945
|
+
suggest = "connected_state_description"
|
|
946
|
+
elif key == "lastConnectErrorDescription":
|
|
947
|
+
suggest = "last_connect_error_description"
|
|
948
|
+
elif key == "lastConnectErrorTimestamp":
|
|
949
|
+
suggest = "last_connect_error_timestamp"
|
|
950
|
+
elif key == "operationalStateDescription":
|
|
951
|
+
suggest = "operational_state_description"
|
|
952
|
+
elif key == "recoveryHealthDescription":
|
|
953
|
+
suggest = "recovery_health_description"
|
|
954
|
+
elif key == "synchronizationHealthDescription":
|
|
955
|
+
suggest = "synchronization_health_description"
|
|
956
|
+
|
|
957
|
+
if suggest:
|
|
958
|
+
pulumi.log.warn(f"Key '{key}' not found in AvailabilityGroupStateResponse. Access the value via the '{suggest}' property getter instead.")
|
|
959
|
+
|
|
960
|
+
def __getitem__(self, key: str) -> Any:
|
|
961
|
+
AvailabilityGroupStateResponse.__key_warning(key)
|
|
962
|
+
return super().__getitem__(key)
|
|
963
|
+
|
|
964
|
+
def get(self, key: str, default = None) -> Any:
|
|
965
|
+
AvailabilityGroupStateResponse.__key_warning(key)
|
|
966
|
+
return super().get(key, default)
|
|
967
|
+
|
|
968
|
+
def __init__(__self__, *,
|
|
969
|
+
availability_group_replica_role: str,
|
|
970
|
+
connected_state_description: str,
|
|
971
|
+
last_connect_error_description: str,
|
|
972
|
+
last_connect_error_timestamp: str,
|
|
973
|
+
operational_state_description: str,
|
|
974
|
+
recovery_health_description: str,
|
|
975
|
+
synchronization_health_description: str):
|
|
976
|
+
"""
|
|
977
|
+
The specifications of the availability group state
|
|
978
|
+
:param str availability_group_replica_role: Current Always On availability groups role of the availability group replica.
|
|
979
|
+
:param str connected_state_description: Whether a secondary replica is currently connected to the primary replica.
|
|
980
|
+
:param str last_connect_error_description: Text description of the last connection error of the availability group replica.
|
|
981
|
+
:param str last_connect_error_timestamp: Date and time timestamp indicating when the last connect error occurred.
|
|
982
|
+
:param str operational_state_description: Current operational state of the availability group replica
|
|
983
|
+
:param str recovery_health_description: Recovery health of the availability group replica.
|
|
984
|
+
:param str synchronization_health_description: Reflects a rollup of the database synchronization state (synchronization_state) of all joined availability databases (also known as replicas) and the availability mode of the replica (synchronous-commit or asynchronous-commit mode). The rollup will reflect the least healthy accumulated state the databases on the replica.
|
|
985
|
+
"""
|
|
986
|
+
pulumi.set(__self__, "availability_group_replica_role", availability_group_replica_role)
|
|
987
|
+
pulumi.set(__self__, "connected_state_description", connected_state_description)
|
|
988
|
+
pulumi.set(__self__, "last_connect_error_description", last_connect_error_description)
|
|
989
|
+
pulumi.set(__self__, "last_connect_error_timestamp", last_connect_error_timestamp)
|
|
990
|
+
pulumi.set(__self__, "operational_state_description", operational_state_description)
|
|
991
|
+
pulumi.set(__self__, "recovery_health_description", recovery_health_description)
|
|
992
|
+
pulumi.set(__self__, "synchronization_health_description", synchronization_health_description)
|
|
993
|
+
|
|
994
|
+
@property
|
|
995
|
+
@pulumi.getter(name="availabilityGroupReplicaRole")
|
|
996
|
+
def availability_group_replica_role(self) -> str:
|
|
997
|
+
"""
|
|
998
|
+
Current Always On availability groups role of the availability group replica.
|
|
999
|
+
"""
|
|
1000
|
+
return pulumi.get(self, "availability_group_replica_role")
|
|
1001
|
+
|
|
1002
|
+
@property
|
|
1003
|
+
@pulumi.getter(name="connectedStateDescription")
|
|
1004
|
+
def connected_state_description(self) -> str:
|
|
1005
|
+
"""
|
|
1006
|
+
Whether a secondary replica is currently connected to the primary replica.
|
|
1007
|
+
"""
|
|
1008
|
+
return pulumi.get(self, "connected_state_description")
|
|
1009
|
+
|
|
1010
|
+
@property
|
|
1011
|
+
@pulumi.getter(name="lastConnectErrorDescription")
|
|
1012
|
+
def last_connect_error_description(self) -> str:
|
|
1013
|
+
"""
|
|
1014
|
+
Text description of the last connection error of the availability group replica.
|
|
1015
|
+
"""
|
|
1016
|
+
return pulumi.get(self, "last_connect_error_description")
|
|
1017
|
+
|
|
1018
|
+
@property
|
|
1019
|
+
@pulumi.getter(name="lastConnectErrorTimestamp")
|
|
1020
|
+
def last_connect_error_timestamp(self) -> str:
|
|
1021
|
+
"""
|
|
1022
|
+
Date and time timestamp indicating when the last connect error occurred.
|
|
1023
|
+
"""
|
|
1024
|
+
return pulumi.get(self, "last_connect_error_timestamp")
|
|
1025
|
+
|
|
1026
|
+
@property
|
|
1027
|
+
@pulumi.getter(name="operationalStateDescription")
|
|
1028
|
+
def operational_state_description(self) -> str:
|
|
1029
|
+
"""
|
|
1030
|
+
Current operational state of the availability group replica
|
|
1031
|
+
"""
|
|
1032
|
+
return pulumi.get(self, "operational_state_description")
|
|
1033
|
+
|
|
1034
|
+
@property
|
|
1035
|
+
@pulumi.getter(name="recoveryHealthDescription")
|
|
1036
|
+
def recovery_health_description(self) -> str:
|
|
1037
|
+
"""
|
|
1038
|
+
Recovery health of the availability group replica.
|
|
1039
|
+
"""
|
|
1040
|
+
return pulumi.get(self, "recovery_health_description")
|
|
1041
|
+
|
|
1042
|
+
@property
|
|
1043
|
+
@pulumi.getter(name="synchronizationHealthDescription")
|
|
1044
|
+
def synchronization_health_description(self) -> str:
|
|
1045
|
+
"""
|
|
1046
|
+
Reflects a rollup of the database synchronization state (synchronization_state) of all joined availability databases (also known as replicas) and the availability mode of the replica (synchronous-commit or asynchronous-commit mode). The rollup will reflect the least healthy accumulated state the databases on the replica.
|
|
1047
|
+
"""
|
|
1048
|
+
return pulumi.get(self, "synchronization_health_description")
|
|
1049
|
+
|
|
1050
|
+
|
|
1051
|
+
@pulumi.output_type
|
|
1052
|
+
class BackupPolicyResponse(dict):
|
|
1053
|
+
"""
|
|
1054
|
+
The backup profile for the SQL server.
|
|
1055
|
+
"""
|
|
1056
|
+
@staticmethod
|
|
1057
|
+
def __key_warning(key: str):
|
|
1058
|
+
suggest = None
|
|
1059
|
+
if key == "differentialBackupHours":
|
|
1060
|
+
suggest = "differential_backup_hours"
|
|
1061
|
+
elif key == "fullBackupDays":
|
|
1062
|
+
suggest = "full_backup_days"
|
|
1063
|
+
elif key == "retentionPeriodDays":
|
|
1064
|
+
suggest = "retention_period_days"
|
|
1065
|
+
elif key == "transactionLogBackupMinutes":
|
|
1066
|
+
suggest = "transaction_log_backup_minutes"
|
|
1067
|
+
|
|
1068
|
+
if suggest:
|
|
1069
|
+
pulumi.log.warn(f"Key '{key}' not found in BackupPolicyResponse. Access the value via the '{suggest}' property getter instead.")
|
|
1070
|
+
|
|
1071
|
+
def __getitem__(self, key: str) -> Any:
|
|
1072
|
+
BackupPolicyResponse.__key_warning(key)
|
|
1073
|
+
return super().__getitem__(key)
|
|
1074
|
+
|
|
1075
|
+
def get(self, key: str, default = None) -> Any:
|
|
1076
|
+
BackupPolicyResponse.__key_warning(key)
|
|
1077
|
+
return super().get(key, default)
|
|
1078
|
+
|
|
1079
|
+
def __init__(__self__, *,
|
|
1080
|
+
differential_backup_hours: Optional[int] = None,
|
|
1081
|
+
full_backup_days: Optional[int] = None,
|
|
1082
|
+
retention_period_days: Optional[int] = None,
|
|
1083
|
+
transaction_log_backup_minutes: Optional[int] = None):
|
|
1084
|
+
"""
|
|
1085
|
+
The backup profile for the SQL server.
|
|
1086
|
+
:param int differential_backup_hours: The differential backup interval in hours.
|
|
1087
|
+
:param int full_backup_days: The value indicating days between full backups.
|
|
1088
|
+
:param int retention_period_days: The retention period for all the databases in this managed instance.
|
|
1089
|
+
:param int transaction_log_backup_minutes: The value indicating minutes between transaction log backups.
|
|
1090
|
+
"""
|
|
1091
|
+
if differential_backup_hours is not None:
|
|
1092
|
+
pulumi.set(__self__, "differential_backup_hours", differential_backup_hours)
|
|
1093
|
+
if full_backup_days is not None:
|
|
1094
|
+
pulumi.set(__self__, "full_backup_days", full_backup_days)
|
|
1095
|
+
if retention_period_days is not None:
|
|
1096
|
+
pulumi.set(__self__, "retention_period_days", retention_period_days)
|
|
1097
|
+
if transaction_log_backup_minutes is not None:
|
|
1098
|
+
pulumi.set(__self__, "transaction_log_backup_minutes", transaction_log_backup_minutes)
|
|
1099
|
+
|
|
1100
|
+
@property
|
|
1101
|
+
@pulumi.getter(name="differentialBackupHours")
|
|
1102
|
+
def differential_backup_hours(self) -> Optional[int]:
|
|
1103
|
+
"""
|
|
1104
|
+
The differential backup interval in hours.
|
|
1105
|
+
"""
|
|
1106
|
+
return pulumi.get(self, "differential_backup_hours")
|
|
1107
|
+
|
|
1108
|
+
@property
|
|
1109
|
+
@pulumi.getter(name="fullBackupDays")
|
|
1110
|
+
def full_backup_days(self) -> Optional[int]:
|
|
1111
|
+
"""
|
|
1112
|
+
The value indicating days between full backups.
|
|
1113
|
+
"""
|
|
1114
|
+
return pulumi.get(self, "full_backup_days")
|
|
1115
|
+
|
|
1116
|
+
@property
|
|
1117
|
+
@pulumi.getter(name="retentionPeriodDays")
|
|
1118
|
+
def retention_period_days(self) -> Optional[int]:
|
|
1119
|
+
"""
|
|
1120
|
+
The retention period for all the databases in this managed instance.
|
|
1121
|
+
"""
|
|
1122
|
+
return pulumi.get(self, "retention_period_days")
|
|
1123
|
+
|
|
1124
|
+
@property
|
|
1125
|
+
@pulumi.getter(name="transactionLogBackupMinutes")
|
|
1126
|
+
def transaction_log_backup_minutes(self) -> Optional[int]:
|
|
1127
|
+
"""
|
|
1128
|
+
The value indicating minutes between transaction log backups.
|
|
1129
|
+
"""
|
|
1130
|
+
return pulumi.get(self, "transaction_log_backup_minutes")
|
|
1131
|
+
|
|
1132
|
+
|
|
1133
|
+
@pulumi.output_type
|
|
1134
|
+
class BasicLoginInformationResponse(dict):
|
|
1135
|
+
"""
|
|
1136
|
+
Username and password for basic login authentication.
|
|
1137
|
+
"""
|
|
1138
|
+
def __init__(__self__, *,
|
|
1139
|
+
username: Optional[str] = None):
|
|
1140
|
+
"""
|
|
1141
|
+
Username and password for basic login authentication.
|
|
1142
|
+
:param str username: Login username.
|
|
1143
|
+
"""
|
|
1144
|
+
if username is not None:
|
|
1145
|
+
pulumi.set(__self__, "username", username)
|
|
1146
|
+
|
|
1147
|
+
@property
|
|
1148
|
+
@pulumi.getter
|
|
1149
|
+
def username(self) -> Optional[str]:
|
|
1150
|
+
"""
|
|
1151
|
+
Login username.
|
|
1152
|
+
"""
|
|
1153
|
+
return pulumi.get(self, "username")
|
|
1154
|
+
|
|
1155
|
+
|
|
1156
|
+
@pulumi.output_type
|
|
1157
|
+
class DataControllerPropertiesResponse(dict):
|
|
1158
|
+
"""
|
|
1159
|
+
The data controller properties.
|
|
1160
|
+
"""
|
|
1161
|
+
@staticmethod
|
|
1162
|
+
def __key_warning(key: str):
|
|
1163
|
+
suggest = None
|
|
1164
|
+
if key == "provisioningState":
|
|
1165
|
+
suggest = "provisioning_state"
|
|
1166
|
+
elif key == "basicLoginInformation":
|
|
1167
|
+
suggest = "basic_login_information"
|
|
1168
|
+
elif key == "clusterId":
|
|
1169
|
+
suggest = "cluster_id"
|
|
1170
|
+
elif key == "extensionId":
|
|
1171
|
+
suggest = "extension_id"
|
|
1172
|
+
elif key == "k8sRaw":
|
|
1173
|
+
suggest = "k8s_raw"
|
|
1174
|
+
elif key == "lastUploadedDate":
|
|
1175
|
+
suggest = "last_uploaded_date"
|
|
1176
|
+
elif key == "logAnalyticsWorkspaceConfig":
|
|
1177
|
+
suggest = "log_analytics_workspace_config"
|
|
1178
|
+
elif key == "logsDashboardCredential":
|
|
1179
|
+
suggest = "logs_dashboard_credential"
|
|
1180
|
+
elif key == "metricsDashboardCredential":
|
|
1181
|
+
suggest = "metrics_dashboard_credential"
|
|
1182
|
+
elif key == "onPremiseProperty":
|
|
1183
|
+
suggest = "on_premise_property"
|
|
1184
|
+
elif key == "uploadServicePrincipal":
|
|
1185
|
+
suggest = "upload_service_principal"
|
|
1186
|
+
elif key == "uploadWatermark":
|
|
1187
|
+
suggest = "upload_watermark"
|
|
1188
|
+
|
|
1189
|
+
if suggest:
|
|
1190
|
+
pulumi.log.warn(f"Key '{key}' not found in DataControllerPropertiesResponse. Access the value via the '{suggest}' property getter instead.")
|
|
1191
|
+
|
|
1192
|
+
def __getitem__(self, key: str) -> Any:
|
|
1193
|
+
DataControllerPropertiesResponse.__key_warning(key)
|
|
1194
|
+
return super().__getitem__(key)
|
|
1195
|
+
|
|
1196
|
+
def get(self, key: str, default = None) -> Any:
|
|
1197
|
+
DataControllerPropertiesResponse.__key_warning(key)
|
|
1198
|
+
return super().get(key, default)
|
|
1199
|
+
|
|
1200
|
+
def __init__(__self__, *,
|
|
1201
|
+
provisioning_state: str,
|
|
1202
|
+
basic_login_information: Optional['outputs.BasicLoginInformationResponse'] = None,
|
|
1203
|
+
cluster_id: Optional[str] = None,
|
|
1204
|
+
extension_id: Optional[str] = None,
|
|
1205
|
+
infrastructure: Optional[str] = None,
|
|
1206
|
+
k8s_raw: Optional[Any] = None,
|
|
1207
|
+
last_uploaded_date: Optional[str] = None,
|
|
1208
|
+
log_analytics_workspace_config: Optional['outputs.LogAnalyticsWorkspaceConfigResponse'] = None,
|
|
1209
|
+
logs_dashboard_credential: Optional['outputs.BasicLoginInformationResponse'] = None,
|
|
1210
|
+
metrics_dashboard_credential: Optional['outputs.BasicLoginInformationResponse'] = None,
|
|
1211
|
+
on_premise_property: Optional['outputs.OnPremisePropertyResponse'] = None,
|
|
1212
|
+
upload_service_principal: Optional['outputs.UploadServicePrincipalResponse'] = None,
|
|
1213
|
+
upload_watermark: Optional['outputs.UploadWatermarkResponse'] = None):
|
|
1214
|
+
"""
|
|
1215
|
+
The data controller properties.
|
|
1216
|
+
:param str provisioning_state: The provisioning state of the Arc Data Controller resource.
|
|
1217
|
+
:param 'BasicLoginInformationResponse' basic_login_information: Deprecated. Azure Arc Data Services data controller no longer expose any endpoint. All traffic are exposed through Kubernetes native API.
|
|
1218
|
+
:param str cluster_id: If a CustomLocation is provided, this contains the ARM id of the connected cluster the custom location belongs to.
|
|
1219
|
+
:param str extension_id: If a CustomLocation is provided, this contains the ARM id of the extension the custom location belongs to.
|
|
1220
|
+
:param str infrastructure: The infrastructure the data controller is running on.
|
|
1221
|
+
:param Any k8s_raw: The raw kubernetes information
|
|
1222
|
+
:param str last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current date time
|
|
1223
|
+
:param 'LogAnalyticsWorkspaceConfigResponse' log_analytics_workspace_config: Log analytics workspace id and primary key
|
|
1224
|
+
:param 'BasicLoginInformationResponse' logs_dashboard_credential: Login credential for logs dashboard on the Kubernetes cluster.
|
|
1225
|
+
:param 'BasicLoginInformationResponse' metrics_dashboard_credential: Login credential for metrics dashboard on the Kubernetes cluster.
|
|
1226
|
+
:param 'OnPremisePropertyResponse' on_premise_property: Properties from the Kubernetes data controller
|
|
1227
|
+
:param 'UploadServicePrincipalResponse' upload_service_principal: Deprecated. Service principal is deprecated in favor of Arc Kubernetes service extension managed identity.
|
|
1228
|
+
:param 'UploadWatermarkResponse' upload_watermark: Properties on upload watermark. Mostly timestamp for each upload data type
|
|
1229
|
+
"""
|
|
1230
|
+
pulumi.set(__self__, "provisioning_state", provisioning_state)
|
|
1231
|
+
if basic_login_information is not None:
|
|
1232
|
+
pulumi.set(__self__, "basic_login_information", basic_login_information)
|
|
1233
|
+
if cluster_id is not None:
|
|
1234
|
+
pulumi.set(__self__, "cluster_id", cluster_id)
|
|
1235
|
+
if extension_id is not None:
|
|
1236
|
+
pulumi.set(__self__, "extension_id", extension_id)
|
|
1237
|
+
if infrastructure is None:
|
|
1238
|
+
infrastructure = 'other'
|
|
1239
|
+
if infrastructure is not None:
|
|
1240
|
+
pulumi.set(__self__, "infrastructure", infrastructure)
|
|
1241
|
+
if k8s_raw is not None:
|
|
1242
|
+
pulumi.set(__self__, "k8s_raw", k8s_raw)
|
|
1243
|
+
if last_uploaded_date is not None:
|
|
1244
|
+
pulumi.set(__self__, "last_uploaded_date", last_uploaded_date)
|
|
1245
|
+
if log_analytics_workspace_config is not None:
|
|
1246
|
+
pulumi.set(__self__, "log_analytics_workspace_config", log_analytics_workspace_config)
|
|
1247
|
+
if logs_dashboard_credential is not None:
|
|
1248
|
+
pulumi.set(__self__, "logs_dashboard_credential", logs_dashboard_credential)
|
|
1249
|
+
if metrics_dashboard_credential is not None:
|
|
1250
|
+
pulumi.set(__self__, "metrics_dashboard_credential", metrics_dashboard_credential)
|
|
1251
|
+
if on_premise_property is not None:
|
|
1252
|
+
pulumi.set(__self__, "on_premise_property", on_premise_property)
|
|
1253
|
+
if upload_service_principal is not None:
|
|
1254
|
+
pulumi.set(__self__, "upload_service_principal", upload_service_principal)
|
|
1255
|
+
if upload_watermark is not None:
|
|
1256
|
+
pulumi.set(__self__, "upload_watermark", upload_watermark)
|
|
1257
|
+
|
|
1258
|
+
@property
|
|
1259
|
+
@pulumi.getter(name="provisioningState")
|
|
1260
|
+
def provisioning_state(self) -> str:
|
|
1261
|
+
"""
|
|
1262
|
+
The provisioning state of the Arc Data Controller resource.
|
|
1263
|
+
"""
|
|
1264
|
+
return pulumi.get(self, "provisioning_state")
|
|
1265
|
+
|
|
1266
|
+
@property
|
|
1267
|
+
@pulumi.getter(name="basicLoginInformation")
|
|
1268
|
+
def basic_login_information(self) -> Optional['outputs.BasicLoginInformationResponse']:
|
|
1269
|
+
"""
|
|
1270
|
+
Deprecated. Azure Arc Data Services data controller no longer expose any endpoint. All traffic are exposed through Kubernetes native API.
|
|
1271
|
+
"""
|
|
1272
|
+
return pulumi.get(self, "basic_login_information")
|
|
1273
|
+
|
|
1274
|
+
@property
|
|
1275
|
+
@pulumi.getter(name="clusterId")
|
|
1276
|
+
def cluster_id(self) -> Optional[str]:
|
|
1277
|
+
"""
|
|
1278
|
+
If a CustomLocation is provided, this contains the ARM id of the connected cluster the custom location belongs to.
|
|
1279
|
+
"""
|
|
1280
|
+
return pulumi.get(self, "cluster_id")
|
|
1281
|
+
|
|
1282
|
+
@property
|
|
1283
|
+
@pulumi.getter(name="extensionId")
|
|
1284
|
+
def extension_id(self) -> Optional[str]:
|
|
1285
|
+
"""
|
|
1286
|
+
If a CustomLocation is provided, this contains the ARM id of the extension the custom location belongs to.
|
|
1287
|
+
"""
|
|
1288
|
+
return pulumi.get(self, "extension_id")
|
|
1289
|
+
|
|
1290
|
+
@property
|
|
1291
|
+
@pulumi.getter
|
|
1292
|
+
def infrastructure(self) -> Optional[str]:
|
|
1293
|
+
"""
|
|
1294
|
+
The infrastructure the data controller is running on.
|
|
1295
|
+
"""
|
|
1296
|
+
return pulumi.get(self, "infrastructure")
|
|
1297
|
+
|
|
1298
|
+
@property
|
|
1299
|
+
@pulumi.getter(name="k8sRaw")
|
|
1300
|
+
def k8s_raw(self) -> Optional[Any]:
|
|
1301
|
+
"""
|
|
1302
|
+
The raw kubernetes information
|
|
1303
|
+
"""
|
|
1304
|
+
return pulumi.get(self, "k8s_raw")
|
|
1305
|
+
|
|
1306
|
+
@property
|
|
1307
|
+
@pulumi.getter(name="lastUploadedDate")
|
|
1308
|
+
def last_uploaded_date(self) -> Optional[str]:
|
|
1309
|
+
"""
|
|
1310
|
+
Last uploaded date from Kubernetes cluster. Defaults to current date time
|
|
1311
|
+
"""
|
|
1312
|
+
return pulumi.get(self, "last_uploaded_date")
|
|
1313
|
+
|
|
1314
|
+
@property
|
|
1315
|
+
@pulumi.getter(name="logAnalyticsWorkspaceConfig")
|
|
1316
|
+
def log_analytics_workspace_config(self) -> Optional['outputs.LogAnalyticsWorkspaceConfigResponse']:
|
|
1317
|
+
"""
|
|
1318
|
+
Log analytics workspace id and primary key
|
|
1319
|
+
"""
|
|
1320
|
+
return pulumi.get(self, "log_analytics_workspace_config")
|
|
1321
|
+
|
|
1322
|
+
@property
|
|
1323
|
+
@pulumi.getter(name="logsDashboardCredential")
|
|
1324
|
+
def logs_dashboard_credential(self) -> Optional['outputs.BasicLoginInformationResponse']:
|
|
1325
|
+
"""
|
|
1326
|
+
Login credential for logs dashboard on the Kubernetes cluster.
|
|
1327
|
+
"""
|
|
1328
|
+
return pulumi.get(self, "logs_dashboard_credential")
|
|
1329
|
+
|
|
1330
|
+
@property
|
|
1331
|
+
@pulumi.getter(name="metricsDashboardCredential")
|
|
1332
|
+
def metrics_dashboard_credential(self) -> Optional['outputs.BasicLoginInformationResponse']:
|
|
1333
|
+
"""
|
|
1334
|
+
Login credential for metrics dashboard on the Kubernetes cluster.
|
|
1335
|
+
"""
|
|
1336
|
+
return pulumi.get(self, "metrics_dashboard_credential")
|
|
1337
|
+
|
|
1338
|
+
@property
|
|
1339
|
+
@pulumi.getter(name="onPremiseProperty")
|
|
1340
|
+
def on_premise_property(self) -> Optional['outputs.OnPremisePropertyResponse']:
|
|
1341
|
+
"""
|
|
1342
|
+
Properties from the Kubernetes data controller
|
|
1343
|
+
"""
|
|
1344
|
+
return pulumi.get(self, "on_premise_property")
|
|
1345
|
+
|
|
1346
|
+
@property
|
|
1347
|
+
@pulumi.getter(name="uploadServicePrincipal")
|
|
1348
|
+
def upload_service_principal(self) -> Optional['outputs.UploadServicePrincipalResponse']:
|
|
1349
|
+
"""
|
|
1350
|
+
Deprecated. Service principal is deprecated in favor of Arc Kubernetes service extension managed identity.
|
|
1351
|
+
"""
|
|
1352
|
+
return pulumi.get(self, "upload_service_principal")
|
|
1353
|
+
|
|
1354
|
+
@property
|
|
1355
|
+
@pulumi.getter(name="uploadWatermark")
|
|
1356
|
+
def upload_watermark(self) -> Optional['outputs.UploadWatermarkResponse']:
|
|
1357
|
+
"""
|
|
1358
|
+
Properties on upload watermark. Mostly timestamp for each upload data type
|
|
1359
|
+
"""
|
|
1360
|
+
return pulumi.get(self, "upload_watermark")
|
|
1361
|
+
|
|
1362
|
+
|
|
1363
|
+
@pulumi.output_type
|
|
1364
|
+
class ExtendedLocationResponse(dict):
|
|
1365
|
+
"""
|
|
1366
|
+
The complex type of the extended location.
|
|
1367
|
+
"""
|
|
1368
|
+
def __init__(__self__, *,
|
|
1369
|
+
name: Optional[str] = None,
|
|
1370
|
+
type: Optional[str] = None):
|
|
1371
|
+
"""
|
|
1372
|
+
The complex type of the extended location.
|
|
1373
|
+
:param str name: The name of the extended location.
|
|
1374
|
+
:param str type: The type of the extended location.
|
|
1375
|
+
"""
|
|
1376
|
+
if name is not None:
|
|
1377
|
+
pulumi.set(__self__, "name", name)
|
|
1378
|
+
if type is not None:
|
|
1379
|
+
pulumi.set(__self__, "type", type)
|
|
1380
|
+
|
|
1381
|
+
@property
|
|
1382
|
+
@pulumi.getter
|
|
1383
|
+
def name(self) -> Optional[str]:
|
|
1384
|
+
"""
|
|
1385
|
+
The name of the extended location.
|
|
1386
|
+
"""
|
|
1387
|
+
return pulumi.get(self, "name")
|
|
1388
|
+
|
|
1389
|
+
@property
|
|
1390
|
+
@pulumi.getter
|
|
1391
|
+
def type(self) -> Optional[str]:
|
|
1392
|
+
"""
|
|
1393
|
+
The type of the extended location.
|
|
1394
|
+
"""
|
|
1395
|
+
return pulumi.get(self, "type")
|
|
1396
|
+
|
|
1397
|
+
|
|
1398
|
+
@pulumi.output_type
|
|
1399
|
+
class FailoverClusterResponse(dict):
|
|
1400
|
+
"""
|
|
1401
|
+
Failover Cluster Instance properties.
|
|
1402
|
+
"""
|
|
1403
|
+
@staticmethod
|
|
1404
|
+
def __key_warning(key: str):
|
|
1405
|
+
suggest = None
|
|
1406
|
+
if key == "hostNames":
|
|
1407
|
+
suggest = "host_names"
|
|
1408
|
+
elif key == "networkName":
|
|
1409
|
+
suggest = "network_name"
|
|
1410
|
+
elif key == "sqlInstanceIds":
|
|
1411
|
+
suggest = "sql_instance_ids"
|
|
1412
|
+
|
|
1413
|
+
if suggest:
|
|
1414
|
+
pulumi.log.warn(f"Key '{key}' not found in FailoverClusterResponse. Access the value via the '{suggest}' property getter instead.")
|
|
1415
|
+
|
|
1416
|
+
def __getitem__(self, key: str) -> Any:
|
|
1417
|
+
FailoverClusterResponse.__key_warning(key)
|
|
1418
|
+
return super().__getitem__(key)
|
|
1419
|
+
|
|
1420
|
+
def get(self, key: str, default = None) -> Any:
|
|
1421
|
+
FailoverClusterResponse.__key_warning(key)
|
|
1422
|
+
return super().get(key, default)
|
|
1423
|
+
|
|
1424
|
+
def __init__(__self__, *,
|
|
1425
|
+
host_names: Sequence[str],
|
|
1426
|
+
id: str,
|
|
1427
|
+
network_name: str,
|
|
1428
|
+
sql_instance_ids: Sequence[str]):
|
|
1429
|
+
"""
|
|
1430
|
+
Failover Cluster Instance properties.
|
|
1431
|
+
:param Sequence[str] host_names: The host names which are part of the SQL FCI resource group.
|
|
1432
|
+
:param str id: The GUID of the SQL Server's underlying Failover Cluster.
|
|
1433
|
+
:param str network_name: The network name to connect to the SQL FCI.
|
|
1434
|
+
:param Sequence[str] sql_instance_ids: The ARM IDs of the Arc SQL Server resources, belonging to the current server's Failover cluster.
|
|
1435
|
+
"""
|
|
1436
|
+
pulumi.set(__self__, "host_names", host_names)
|
|
1437
|
+
pulumi.set(__self__, "id", id)
|
|
1438
|
+
pulumi.set(__self__, "network_name", network_name)
|
|
1439
|
+
pulumi.set(__self__, "sql_instance_ids", sql_instance_ids)
|
|
1440
|
+
|
|
1441
|
+
@property
|
|
1442
|
+
@pulumi.getter(name="hostNames")
|
|
1443
|
+
def host_names(self) -> Sequence[str]:
|
|
1444
|
+
"""
|
|
1445
|
+
The host names which are part of the SQL FCI resource group.
|
|
1446
|
+
"""
|
|
1447
|
+
return pulumi.get(self, "host_names")
|
|
1448
|
+
|
|
1449
|
+
@property
|
|
1450
|
+
@pulumi.getter
|
|
1451
|
+
def id(self) -> str:
|
|
1452
|
+
"""
|
|
1453
|
+
The GUID of the SQL Server's underlying Failover Cluster.
|
|
1454
|
+
"""
|
|
1455
|
+
return pulumi.get(self, "id")
|
|
1456
|
+
|
|
1457
|
+
@property
|
|
1458
|
+
@pulumi.getter(name="networkName")
|
|
1459
|
+
def network_name(self) -> str:
|
|
1460
|
+
"""
|
|
1461
|
+
The network name to connect to the SQL FCI.
|
|
1462
|
+
"""
|
|
1463
|
+
return pulumi.get(self, "network_name")
|
|
1464
|
+
|
|
1465
|
+
@property
|
|
1466
|
+
@pulumi.getter(name="sqlInstanceIds")
|
|
1467
|
+
def sql_instance_ids(self) -> Sequence[str]:
|
|
1468
|
+
"""
|
|
1469
|
+
The ARM IDs of the Arc SQL Server resources, belonging to the current server's Failover cluster.
|
|
1470
|
+
"""
|
|
1471
|
+
return pulumi.get(self, "sql_instance_ids")
|
|
1472
|
+
|
|
1473
|
+
|
|
1474
|
+
@pulumi.output_type
|
|
1475
|
+
class FailoverGroupPropertiesResponse(dict):
|
|
1476
|
+
"""
|
|
1477
|
+
The properties of a failover group resource.
|
|
1478
|
+
"""
|
|
1479
|
+
@staticmethod
|
|
1480
|
+
def __key_warning(key: str):
|
|
1481
|
+
suggest = None
|
|
1482
|
+
if key == "partnerManagedInstanceId":
|
|
1483
|
+
suggest = "partner_managed_instance_id"
|
|
1484
|
+
elif key == "provisioningState":
|
|
1485
|
+
suggest = "provisioning_state"
|
|
1486
|
+
|
|
1487
|
+
if suggest:
|
|
1488
|
+
pulumi.log.warn(f"Key '{key}' not found in FailoverGroupPropertiesResponse. Access the value via the '{suggest}' property getter instead.")
|
|
1489
|
+
|
|
1490
|
+
def __getitem__(self, key: str) -> Any:
|
|
1491
|
+
FailoverGroupPropertiesResponse.__key_warning(key)
|
|
1492
|
+
return super().__getitem__(key)
|
|
1493
|
+
|
|
1494
|
+
def get(self, key: str, default = None) -> Any:
|
|
1495
|
+
FailoverGroupPropertiesResponse.__key_warning(key)
|
|
1496
|
+
return super().get(key, default)
|
|
1497
|
+
|
|
1498
|
+
def __init__(__self__, *,
|
|
1499
|
+
partner_managed_instance_id: str,
|
|
1500
|
+
provisioning_state: str,
|
|
1501
|
+
spec: 'outputs.FailoverGroupSpecResponse',
|
|
1502
|
+
status: Optional[Any] = None):
|
|
1503
|
+
"""
|
|
1504
|
+
The properties of a failover group resource.
|
|
1505
|
+
:param str partner_managed_instance_id: The resource ID of the partner SQL managed instance.
|
|
1506
|
+
:param str provisioning_state: The provisioning state of the failover group resource.
|
|
1507
|
+
:param 'FailoverGroupSpecResponse' spec: The specifications of the failover group resource.
|
|
1508
|
+
:param Any status: The status of the failover group custom resource.
|
|
1509
|
+
"""
|
|
1510
|
+
pulumi.set(__self__, "partner_managed_instance_id", partner_managed_instance_id)
|
|
1511
|
+
pulumi.set(__self__, "provisioning_state", provisioning_state)
|
|
1512
|
+
pulumi.set(__self__, "spec", spec)
|
|
1513
|
+
if status is not None:
|
|
1514
|
+
pulumi.set(__self__, "status", status)
|
|
1515
|
+
|
|
1516
|
+
@property
|
|
1517
|
+
@pulumi.getter(name="partnerManagedInstanceId")
|
|
1518
|
+
def partner_managed_instance_id(self) -> str:
|
|
1519
|
+
"""
|
|
1520
|
+
The resource ID of the partner SQL managed instance.
|
|
1521
|
+
"""
|
|
1522
|
+
return pulumi.get(self, "partner_managed_instance_id")
|
|
1523
|
+
|
|
1524
|
+
@property
|
|
1525
|
+
@pulumi.getter(name="provisioningState")
|
|
1526
|
+
def provisioning_state(self) -> str:
|
|
1527
|
+
"""
|
|
1528
|
+
The provisioning state of the failover group resource.
|
|
1529
|
+
"""
|
|
1530
|
+
return pulumi.get(self, "provisioning_state")
|
|
1531
|
+
|
|
1532
|
+
@property
|
|
1533
|
+
@pulumi.getter
|
|
1534
|
+
def spec(self) -> 'outputs.FailoverGroupSpecResponse':
|
|
1535
|
+
"""
|
|
1536
|
+
The specifications of the failover group resource.
|
|
1537
|
+
"""
|
|
1538
|
+
return pulumi.get(self, "spec")
|
|
1539
|
+
|
|
1540
|
+
@property
|
|
1541
|
+
@pulumi.getter
|
|
1542
|
+
def status(self) -> Optional[Any]:
|
|
1543
|
+
"""
|
|
1544
|
+
The status of the failover group custom resource.
|
|
1545
|
+
"""
|
|
1546
|
+
return pulumi.get(self, "status")
|
|
1547
|
+
|
|
1548
|
+
|
|
1549
|
+
@pulumi.output_type
|
|
1550
|
+
class FailoverGroupSpecResponse(dict):
|
|
1551
|
+
"""
|
|
1552
|
+
The specifications of the failover group resource.
|
|
1553
|
+
"""
|
|
1554
|
+
@staticmethod
|
|
1555
|
+
def __key_warning(key: str):
|
|
1556
|
+
suggest = None
|
|
1557
|
+
if key == "partnerMI":
|
|
1558
|
+
suggest = "partner_mi"
|
|
1559
|
+
elif key == "partnerMirroringCert":
|
|
1560
|
+
suggest = "partner_mirroring_cert"
|
|
1561
|
+
elif key == "partnerMirroringURL":
|
|
1562
|
+
suggest = "partner_mirroring_url"
|
|
1563
|
+
elif key == "partnerSyncMode":
|
|
1564
|
+
suggest = "partner_sync_mode"
|
|
1565
|
+
elif key == "sharedName":
|
|
1566
|
+
suggest = "shared_name"
|
|
1567
|
+
elif key == "sourceMI":
|
|
1568
|
+
suggest = "source_mi"
|
|
1569
|
+
|
|
1570
|
+
if suggest:
|
|
1571
|
+
pulumi.log.warn(f"Key '{key}' not found in FailoverGroupSpecResponse. Access the value via the '{suggest}' property getter instead.")
|
|
1572
|
+
|
|
1573
|
+
def __getitem__(self, key: str) -> Any:
|
|
1574
|
+
FailoverGroupSpecResponse.__key_warning(key)
|
|
1575
|
+
return super().__getitem__(key)
|
|
1576
|
+
|
|
1577
|
+
def get(self, key: str, default = None) -> Any:
|
|
1578
|
+
FailoverGroupSpecResponse.__key_warning(key)
|
|
1579
|
+
return super().get(key, default)
|
|
1580
|
+
|
|
1581
|
+
def __init__(__self__, *,
|
|
1582
|
+
role: Optional[str] = None,
|
|
1583
|
+
partner_mi: Optional[str] = None,
|
|
1584
|
+
partner_mirroring_cert: Optional[str] = None,
|
|
1585
|
+
partner_mirroring_url: Optional[str] = None,
|
|
1586
|
+
partner_sync_mode: Optional[str] = None,
|
|
1587
|
+
shared_name: Optional[str] = None,
|
|
1588
|
+
source_mi: Optional[str] = None):
|
|
1589
|
+
"""
|
|
1590
|
+
The specifications of the failover group resource.
|
|
1591
|
+
:param str role: The role of the SQL managed instance in this failover group.
|
|
1592
|
+
:param str partner_mi: The name of the partner SQL managed instance.
|
|
1593
|
+
:param str partner_mirroring_cert: The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
|
|
1594
|
+
:param str partner_mirroring_url: The mirroring endpoint URL of the partner SQL managed instance.
|
|
1595
|
+
:param str partner_sync_mode: The partner sync mode of the SQL managed instance.
|
|
1596
|
+
:param str shared_name: The shared name of the failover group for this SQL managed instance. Both SQL managed instance and its partner have to use the same shared name.
|
|
1597
|
+
:param str source_mi: The name of the SQL managed instance with this failover group role.
|
|
1598
|
+
"""
|
|
1599
|
+
if role is None:
|
|
1600
|
+
role = 'primary'
|
|
1601
|
+
pulumi.set(__self__, "role", role)
|
|
1602
|
+
if partner_mi is not None:
|
|
1603
|
+
pulumi.set(__self__, "partner_mi", partner_mi)
|
|
1604
|
+
if partner_mirroring_cert is not None:
|
|
1605
|
+
pulumi.set(__self__, "partner_mirroring_cert", partner_mirroring_cert)
|
|
1606
|
+
if partner_mirroring_url is not None:
|
|
1607
|
+
pulumi.set(__self__, "partner_mirroring_url", partner_mirroring_url)
|
|
1608
|
+
if partner_sync_mode is None:
|
|
1609
|
+
partner_sync_mode = 'async'
|
|
1610
|
+
if partner_sync_mode is not None:
|
|
1611
|
+
pulumi.set(__self__, "partner_sync_mode", partner_sync_mode)
|
|
1612
|
+
if shared_name is not None:
|
|
1613
|
+
pulumi.set(__self__, "shared_name", shared_name)
|
|
1614
|
+
if source_mi is not None:
|
|
1615
|
+
pulumi.set(__self__, "source_mi", source_mi)
|
|
1616
|
+
|
|
1617
|
+
@property
|
|
1618
|
+
@pulumi.getter
|
|
1619
|
+
def role(self) -> str:
|
|
1620
|
+
"""
|
|
1621
|
+
The role of the SQL managed instance in this failover group.
|
|
1622
|
+
"""
|
|
1623
|
+
return pulumi.get(self, "role")
|
|
1624
|
+
|
|
1625
|
+
@property
|
|
1626
|
+
@pulumi.getter(name="partnerMI")
|
|
1627
|
+
def partner_mi(self) -> Optional[str]:
|
|
1628
|
+
"""
|
|
1629
|
+
The name of the partner SQL managed instance.
|
|
1630
|
+
"""
|
|
1631
|
+
return pulumi.get(self, "partner_mi")
|
|
1632
|
+
|
|
1633
|
+
@property
|
|
1634
|
+
@pulumi.getter(name="partnerMirroringCert")
|
|
1635
|
+
def partner_mirroring_cert(self) -> Optional[str]:
|
|
1636
|
+
"""
|
|
1637
|
+
The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.
|
|
1638
|
+
"""
|
|
1639
|
+
return pulumi.get(self, "partner_mirroring_cert")
|
|
1640
|
+
|
|
1641
|
+
@property
|
|
1642
|
+
@pulumi.getter(name="partnerMirroringURL")
|
|
1643
|
+
def partner_mirroring_url(self) -> Optional[str]:
|
|
1644
|
+
"""
|
|
1645
|
+
The mirroring endpoint URL of the partner SQL managed instance.
|
|
1646
|
+
"""
|
|
1647
|
+
return pulumi.get(self, "partner_mirroring_url")
|
|
1648
|
+
|
|
1649
|
+
@property
|
|
1650
|
+
@pulumi.getter(name="partnerSyncMode")
|
|
1651
|
+
def partner_sync_mode(self) -> Optional[str]:
|
|
1652
|
+
"""
|
|
1653
|
+
The partner sync mode of the SQL managed instance.
|
|
1654
|
+
"""
|
|
1655
|
+
return pulumi.get(self, "partner_sync_mode")
|
|
1656
|
+
|
|
1657
|
+
@property
|
|
1658
|
+
@pulumi.getter(name="sharedName")
|
|
1659
|
+
def shared_name(self) -> Optional[str]:
|
|
1660
|
+
"""
|
|
1661
|
+
The shared name of the failover group for this SQL managed instance. Both SQL managed instance and its partner have to use the same shared name.
|
|
1662
|
+
"""
|
|
1663
|
+
return pulumi.get(self, "shared_name")
|
|
1664
|
+
|
|
1665
|
+
@property
|
|
1666
|
+
@pulumi.getter(name="sourceMI")
|
|
1667
|
+
def source_mi(self) -> Optional[str]:
|
|
1668
|
+
"""
|
|
1669
|
+
The name of the SQL managed instance with this failover group role.
|
|
1670
|
+
"""
|
|
1671
|
+
return pulumi.get(self, "source_mi")
|
|
1672
|
+
|
|
1673
|
+
|
|
1674
|
+
@pulumi.output_type
|
|
1675
|
+
class K8sActiveDirectoryResponse(dict):
|
|
1676
|
+
"""
|
|
1677
|
+
The kubernetes active directory information.
|
|
1678
|
+
"""
|
|
1679
|
+
@staticmethod
|
|
1680
|
+
def __key_warning(key: str):
|
|
1681
|
+
suggest = None
|
|
1682
|
+
if key == "accountName":
|
|
1683
|
+
suggest = "account_name"
|
|
1684
|
+
elif key == "encryptionTypes":
|
|
1685
|
+
suggest = "encryption_types"
|
|
1686
|
+
elif key == "keytabSecret":
|
|
1687
|
+
suggest = "keytab_secret"
|
|
1688
|
+
|
|
1689
|
+
if suggest:
|
|
1690
|
+
pulumi.log.warn(f"Key '{key}' not found in K8sActiveDirectoryResponse. Access the value via the '{suggest}' property getter instead.")
|
|
1691
|
+
|
|
1692
|
+
def __getitem__(self, key: str) -> Any:
|
|
1693
|
+
K8sActiveDirectoryResponse.__key_warning(key)
|
|
1694
|
+
return super().__getitem__(key)
|
|
1695
|
+
|
|
1696
|
+
def get(self, key: str, default = None) -> Any:
|
|
1697
|
+
K8sActiveDirectoryResponse.__key_warning(key)
|
|
1698
|
+
return super().get(key, default)
|
|
1699
|
+
|
|
1700
|
+
def __init__(__self__, *,
|
|
1701
|
+
account_name: Optional[str] = None,
|
|
1702
|
+
connector: Optional['outputs.K8sActiveDirectoryResponseConnector'] = None,
|
|
1703
|
+
encryption_types: Optional[Sequence[str]] = None,
|
|
1704
|
+
keytab_secret: Optional[str] = None):
|
|
1705
|
+
"""
|
|
1706
|
+
The kubernetes active directory information.
|
|
1707
|
+
:param str account_name: Account name for AAD
|
|
1708
|
+
:param Sequence[str] encryption_types: An array of encryption types
|
|
1709
|
+
:param str keytab_secret: Keytab secret used to authenticate with Active Directory.
|
|
1710
|
+
"""
|
|
1711
|
+
if account_name is not None:
|
|
1712
|
+
pulumi.set(__self__, "account_name", account_name)
|
|
1713
|
+
if connector is not None:
|
|
1714
|
+
pulumi.set(__self__, "connector", connector)
|
|
1715
|
+
if encryption_types is not None:
|
|
1716
|
+
pulumi.set(__self__, "encryption_types", encryption_types)
|
|
1717
|
+
if keytab_secret is not None:
|
|
1718
|
+
pulumi.set(__self__, "keytab_secret", keytab_secret)
|
|
1719
|
+
|
|
1720
|
+
@property
|
|
1721
|
+
@pulumi.getter(name="accountName")
|
|
1722
|
+
def account_name(self) -> Optional[str]:
|
|
1723
|
+
"""
|
|
1724
|
+
Account name for AAD
|
|
1725
|
+
"""
|
|
1726
|
+
return pulumi.get(self, "account_name")
|
|
1727
|
+
|
|
1728
|
+
@property
|
|
1729
|
+
@pulumi.getter
|
|
1730
|
+
def connector(self) -> Optional['outputs.K8sActiveDirectoryResponseConnector']:
|
|
1731
|
+
return pulumi.get(self, "connector")
|
|
1732
|
+
|
|
1733
|
+
@property
|
|
1734
|
+
@pulumi.getter(name="encryptionTypes")
|
|
1735
|
+
def encryption_types(self) -> Optional[Sequence[str]]:
|
|
1736
|
+
"""
|
|
1737
|
+
An array of encryption types
|
|
1738
|
+
"""
|
|
1739
|
+
return pulumi.get(self, "encryption_types")
|
|
1740
|
+
|
|
1741
|
+
@property
|
|
1742
|
+
@pulumi.getter(name="keytabSecret")
|
|
1743
|
+
def keytab_secret(self) -> Optional[str]:
|
|
1744
|
+
"""
|
|
1745
|
+
Keytab secret used to authenticate with Active Directory.
|
|
1746
|
+
"""
|
|
1747
|
+
return pulumi.get(self, "keytab_secret")
|
|
1748
|
+
|
|
1749
|
+
|
|
1750
|
+
@pulumi.output_type
|
|
1751
|
+
class K8sActiveDirectoryResponseConnector(dict):
|
|
1752
|
+
def __init__(__self__, *,
|
|
1753
|
+
name: Optional[str] = None,
|
|
1754
|
+
namespace: Optional[str] = None):
|
|
1755
|
+
"""
|
|
1756
|
+
:param str name: Name of the connector
|
|
1757
|
+
:param str namespace: Name space of the connector
|
|
1758
|
+
"""
|
|
1759
|
+
if name is not None:
|
|
1760
|
+
pulumi.set(__self__, "name", name)
|
|
1761
|
+
if namespace is not None:
|
|
1762
|
+
pulumi.set(__self__, "namespace", namespace)
|
|
1763
|
+
|
|
1764
|
+
@property
|
|
1765
|
+
@pulumi.getter
|
|
1766
|
+
def name(self) -> Optional[str]:
|
|
1767
|
+
"""
|
|
1768
|
+
Name of the connector
|
|
1769
|
+
"""
|
|
1770
|
+
return pulumi.get(self, "name")
|
|
1771
|
+
|
|
1772
|
+
@property
|
|
1773
|
+
@pulumi.getter
|
|
1774
|
+
def namespace(self) -> Optional[str]:
|
|
1775
|
+
"""
|
|
1776
|
+
Name space of the connector
|
|
1777
|
+
"""
|
|
1778
|
+
return pulumi.get(self, "namespace")
|
|
1779
|
+
|
|
1780
|
+
|
|
1781
|
+
@pulumi.output_type
|
|
1782
|
+
class K8sNetworkSettingsResponse(dict):
|
|
1783
|
+
"""
|
|
1784
|
+
The kubernetes network settings information.
|
|
1785
|
+
"""
|
|
1786
|
+
def __init__(__self__, *,
|
|
1787
|
+
forceencryption: Optional[int] = None,
|
|
1788
|
+
tlsciphers: Optional[str] = None,
|
|
1789
|
+
tlsprotocols: Optional[str] = None):
|
|
1790
|
+
"""
|
|
1791
|
+
The kubernetes network settings information.
|
|
1792
|
+
:param int forceencryption: If 1, then SQL Server forces all connections to be encrypted. By default, this option is 0
|
|
1793
|
+
:param str tlsciphers: Specifies which ciphers are allowed by SQL Server for TLS
|
|
1794
|
+
:param str tlsprotocols: A comma-separated list of which TLS protocols are allowed by SQL Server
|
|
1795
|
+
"""
|
|
1796
|
+
if forceencryption is not None:
|
|
1797
|
+
pulumi.set(__self__, "forceencryption", forceencryption)
|
|
1798
|
+
if tlsciphers is not None:
|
|
1799
|
+
pulumi.set(__self__, "tlsciphers", tlsciphers)
|
|
1800
|
+
if tlsprotocols is not None:
|
|
1801
|
+
pulumi.set(__self__, "tlsprotocols", tlsprotocols)
|
|
1802
|
+
|
|
1803
|
+
@property
|
|
1804
|
+
@pulumi.getter
|
|
1805
|
+
def forceencryption(self) -> Optional[int]:
|
|
1806
|
+
"""
|
|
1807
|
+
If 1, then SQL Server forces all connections to be encrypted. By default, this option is 0
|
|
1808
|
+
"""
|
|
1809
|
+
return pulumi.get(self, "forceencryption")
|
|
1810
|
+
|
|
1811
|
+
@property
|
|
1812
|
+
@pulumi.getter
|
|
1813
|
+
def tlsciphers(self) -> Optional[str]:
|
|
1814
|
+
"""
|
|
1815
|
+
Specifies which ciphers are allowed by SQL Server for TLS
|
|
1816
|
+
"""
|
|
1817
|
+
return pulumi.get(self, "tlsciphers")
|
|
1818
|
+
|
|
1819
|
+
@property
|
|
1820
|
+
@pulumi.getter
|
|
1821
|
+
def tlsprotocols(self) -> Optional[str]:
|
|
1822
|
+
"""
|
|
1823
|
+
A comma-separated list of which TLS protocols are allowed by SQL Server
|
|
1824
|
+
"""
|
|
1825
|
+
return pulumi.get(self, "tlsprotocols")
|
|
1826
|
+
|
|
1827
|
+
|
|
1828
|
+
@pulumi.output_type
|
|
1829
|
+
class K8sResourceRequirementsResponse(dict):
|
|
1830
|
+
"""
|
|
1831
|
+
The kubernetes resource limits and requests used to restrict or reserve resource usage.
|
|
1832
|
+
"""
|
|
1833
|
+
def __init__(__self__, *,
|
|
1834
|
+
limits: Optional[Mapping[str, str]] = None,
|
|
1835
|
+
requests: Optional[Mapping[str, str]] = None):
|
|
1836
|
+
"""
|
|
1837
|
+
The kubernetes resource limits and requests used to restrict or reserve resource usage.
|
|
1838
|
+
:param Mapping[str, str] limits: Limits for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' request must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default 'memory' is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and maximum 'memory' is '128Gi'.
|
|
1839
|
+
:param Mapping[str, str] requests: Requests for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' request must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default 'memory' is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and maximum 'memory' is '128Gi'.
|
|
1840
|
+
"""
|
|
1841
|
+
if limits is not None:
|
|
1842
|
+
pulumi.set(__self__, "limits", limits)
|
|
1843
|
+
if requests is not None:
|
|
1844
|
+
pulumi.set(__self__, "requests", requests)
|
|
1845
|
+
|
|
1846
|
+
@property
|
|
1847
|
+
@pulumi.getter
|
|
1848
|
+
def limits(self) -> Optional[Mapping[str, str]]:
|
|
1849
|
+
"""
|
|
1850
|
+
Limits for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' request must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default 'memory' is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and maximum 'memory' is '128Gi'.
|
|
1851
|
+
"""
|
|
1852
|
+
return pulumi.get(self, "limits")
|
|
1853
|
+
|
|
1854
|
+
@property
|
|
1855
|
+
@pulumi.getter
|
|
1856
|
+
def requests(self) -> Optional[Mapping[str, str]]:
|
|
1857
|
+
"""
|
|
1858
|
+
Requests for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' request must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default 'memory' is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and maximum 'memory' is '128Gi'.
|
|
1859
|
+
"""
|
|
1860
|
+
return pulumi.get(self, "requests")
|
|
1861
|
+
|
|
1862
|
+
|
|
1863
|
+
@pulumi.output_type
|
|
1864
|
+
class K8sSchedulingOptionsResponse(dict):
|
|
1865
|
+
"""
|
|
1866
|
+
The kubernetes scheduling options. It describes restrictions used to help Kubernetes select appropriate nodes to host the database service
|
|
1867
|
+
"""
|
|
1868
|
+
def __init__(__self__, *,
|
|
1869
|
+
resources: Optional['outputs.K8sResourceRequirementsResponse'] = None):
|
|
1870
|
+
"""
|
|
1871
|
+
The kubernetes scheduling options. It describes restrictions used to help Kubernetes select appropriate nodes to host the database service
|
|
1872
|
+
:param 'K8sResourceRequirementsResponse' resources: The kubernetes resource limits and requests used to restrict or reserve resource usage.
|
|
1873
|
+
"""
|
|
1874
|
+
if resources is not None:
|
|
1875
|
+
pulumi.set(__self__, "resources", resources)
|
|
1876
|
+
|
|
1877
|
+
@property
|
|
1878
|
+
@pulumi.getter
|
|
1879
|
+
def resources(self) -> Optional['outputs.K8sResourceRequirementsResponse']:
|
|
1880
|
+
"""
|
|
1881
|
+
The kubernetes resource limits and requests used to restrict or reserve resource usage.
|
|
1882
|
+
"""
|
|
1883
|
+
return pulumi.get(self, "resources")
|
|
1884
|
+
|
|
1885
|
+
|
|
1886
|
+
@pulumi.output_type
|
|
1887
|
+
class K8sSchedulingResponse(dict):
|
|
1888
|
+
"""
|
|
1889
|
+
The kubernetes scheduling information.
|
|
1890
|
+
"""
|
|
1891
|
+
def __init__(__self__, *,
|
|
1892
|
+
default: Optional['outputs.K8sSchedulingOptionsResponse'] = None):
|
|
1893
|
+
"""
|
|
1894
|
+
The kubernetes scheduling information.
|
|
1895
|
+
:param 'K8sSchedulingOptionsResponse' default: The kubernetes scheduling options. It describes restrictions used to help Kubernetes select appropriate nodes to host the database service
|
|
1896
|
+
"""
|
|
1897
|
+
if default is not None:
|
|
1898
|
+
pulumi.set(__self__, "default", default)
|
|
1899
|
+
|
|
1900
|
+
@property
|
|
1901
|
+
@pulumi.getter
|
|
1902
|
+
def default(self) -> Optional['outputs.K8sSchedulingOptionsResponse']:
|
|
1903
|
+
"""
|
|
1904
|
+
The kubernetes scheduling options. It describes restrictions used to help Kubernetes select appropriate nodes to host the database service
|
|
1905
|
+
"""
|
|
1906
|
+
return pulumi.get(self, "default")
|
|
1907
|
+
|
|
1908
|
+
|
|
1909
|
+
@pulumi.output_type
|
|
1910
|
+
class K8sSecurityResponse(dict):
|
|
1911
|
+
"""
|
|
1912
|
+
The kubernetes security information.
|
|
1913
|
+
"""
|
|
1914
|
+
@staticmethod
|
|
1915
|
+
def __key_warning(key: str):
|
|
1916
|
+
suggest = None
|
|
1917
|
+
if key == "activeDirectory":
|
|
1918
|
+
suggest = "active_directory"
|
|
1919
|
+
elif key == "adminLoginSecret":
|
|
1920
|
+
suggest = "admin_login_secret"
|
|
1921
|
+
elif key == "serviceCertificateSecret":
|
|
1922
|
+
suggest = "service_certificate_secret"
|
|
1923
|
+
elif key == "transparentDataEncryption":
|
|
1924
|
+
suggest = "transparent_data_encryption"
|
|
1925
|
+
|
|
1926
|
+
if suggest:
|
|
1927
|
+
pulumi.log.warn(f"Key '{key}' not found in K8sSecurityResponse. Access the value via the '{suggest}' property getter instead.")
|
|
1928
|
+
|
|
1929
|
+
def __getitem__(self, key: str) -> Any:
|
|
1930
|
+
K8sSecurityResponse.__key_warning(key)
|
|
1931
|
+
return super().__getitem__(key)
|
|
1932
|
+
|
|
1933
|
+
def get(self, key: str, default = None) -> Any:
|
|
1934
|
+
K8sSecurityResponse.__key_warning(key)
|
|
1935
|
+
return super().get(key, default)
|
|
1936
|
+
|
|
1937
|
+
def __init__(__self__, *,
|
|
1938
|
+
active_directory: Optional['outputs.K8sActiveDirectoryResponse'] = None,
|
|
1939
|
+
admin_login_secret: Optional[str] = None,
|
|
1940
|
+
service_certificate_secret: Optional[str] = None,
|
|
1941
|
+
transparent_data_encryption: Optional['outputs.K8stransparentDataEncryptionResponse'] = None):
|
|
1942
|
+
"""
|
|
1943
|
+
The kubernetes security information.
|
|
1944
|
+
:param 'K8sActiveDirectoryResponse' active_directory: The kubernetes active directory information.
|
|
1945
|
+
:param str admin_login_secret: Admin login secret key
|
|
1946
|
+
:param str service_certificate_secret: Service certificate secret used
|
|
1947
|
+
:param 'K8stransparentDataEncryptionResponse' transparent_data_encryption: Transparent data encryption information.
|
|
1948
|
+
"""
|
|
1949
|
+
if active_directory is not None:
|
|
1950
|
+
pulumi.set(__self__, "active_directory", active_directory)
|
|
1951
|
+
if admin_login_secret is not None:
|
|
1952
|
+
pulumi.set(__self__, "admin_login_secret", admin_login_secret)
|
|
1953
|
+
if service_certificate_secret is not None:
|
|
1954
|
+
pulumi.set(__self__, "service_certificate_secret", service_certificate_secret)
|
|
1955
|
+
if transparent_data_encryption is not None:
|
|
1956
|
+
pulumi.set(__self__, "transparent_data_encryption", transparent_data_encryption)
|
|
1957
|
+
|
|
1958
|
+
@property
|
|
1959
|
+
@pulumi.getter(name="activeDirectory")
|
|
1960
|
+
def active_directory(self) -> Optional['outputs.K8sActiveDirectoryResponse']:
|
|
1961
|
+
"""
|
|
1962
|
+
The kubernetes active directory information.
|
|
1963
|
+
"""
|
|
1964
|
+
return pulumi.get(self, "active_directory")
|
|
1965
|
+
|
|
1966
|
+
@property
|
|
1967
|
+
@pulumi.getter(name="adminLoginSecret")
|
|
1968
|
+
def admin_login_secret(self) -> Optional[str]:
|
|
1969
|
+
"""
|
|
1970
|
+
Admin login secret key
|
|
1971
|
+
"""
|
|
1972
|
+
return pulumi.get(self, "admin_login_secret")
|
|
1973
|
+
|
|
1974
|
+
@property
|
|
1975
|
+
@pulumi.getter(name="serviceCertificateSecret")
|
|
1976
|
+
def service_certificate_secret(self) -> Optional[str]:
|
|
1977
|
+
"""
|
|
1978
|
+
Service certificate secret used
|
|
1979
|
+
"""
|
|
1980
|
+
return pulumi.get(self, "service_certificate_secret")
|
|
1981
|
+
|
|
1982
|
+
@property
|
|
1983
|
+
@pulumi.getter(name="transparentDataEncryption")
|
|
1984
|
+
def transparent_data_encryption(self) -> Optional['outputs.K8stransparentDataEncryptionResponse']:
|
|
1985
|
+
"""
|
|
1986
|
+
Transparent data encryption information.
|
|
1987
|
+
"""
|
|
1988
|
+
return pulumi.get(self, "transparent_data_encryption")
|
|
1989
|
+
|
|
1990
|
+
|
|
1991
|
+
@pulumi.output_type
|
|
1992
|
+
class K8sSettingsResponse(dict):
|
|
1993
|
+
"""
|
|
1994
|
+
The kubernetes settings information.
|
|
1995
|
+
"""
|
|
1996
|
+
def __init__(__self__, *,
|
|
1997
|
+
network: Optional['outputs.K8sNetworkSettingsResponse'] = None):
|
|
1998
|
+
"""
|
|
1999
|
+
The kubernetes settings information.
|
|
2000
|
+
:param 'K8sNetworkSettingsResponse' network: The kubernetes network settings information.
|
|
2001
|
+
"""
|
|
2002
|
+
if network is not None:
|
|
2003
|
+
pulumi.set(__self__, "network", network)
|
|
2004
|
+
|
|
2005
|
+
@property
|
|
2006
|
+
@pulumi.getter
|
|
2007
|
+
def network(self) -> Optional['outputs.K8sNetworkSettingsResponse']:
|
|
2008
|
+
"""
|
|
2009
|
+
The kubernetes network settings information.
|
|
2010
|
+
"""
|
|
2011
|
+
return pulumi.get(self, "network")
|
|
2012
|
+
|
|
2013
|
+
|
|
2014
|
+
@pulumi.output_type
|
|
2015
|
+
class K8stransparentDataEncryptionResponse(dict):
|
|
2016
|
+
"""
|
|
2017
|
+
Transparent data encryption information.
|
|
2018
|
+
"""
|
|
2019
|
+
@staticmethod
|
|
2020
|
+
def __key_warning(key: str):
|
|
2021
|
+
suggest = None
|
|
2022
|
+
if key == "protectorSecret":
|
|
2023
|
+
suggest = "protector_secret"
|
|
2024
|
+
|
|
2025
|
+
if suggest:
|
|
2026
|
+
pulumi.log.warn(f"Key '{key}' not found in K8stransparentDataEncryptionResponse. Access the value via the '{suggest}' property getter instead.")
|
|
2027
|
+
|
|
2028
|
+
def __getitem__(self, key: str) -> Any:
|
|
2029
|
+
K8stransparentDataEncryptionResponse.__key_warning(key)
|
|
2030
|
+
return super().__getitem__(key)
|
|
2031
|
+
|
|
2032
|
+
def get(self, key: str, default = None) -> Any:
|
|
2033
|
+
K8stransparentDataEncryptionResponse.__key_warning(key)
|
|
2034
|
+
return super().get(key, default)
|
|
2035
|
+
|
|
2036
|
+
def __init__(__self__, *,
|
|
2037
|
+
mode: Optional[str] = None,
|
|
2038
|
+
protector_secret: Optional[str] = None):
|
|
2039
|
+
"""
|
|
2040
|
+
Transparent data encryption information.
|
|
2041
|
+
:param str mode: Transparent data encryption mode. Can be Service Managed, Customer managed or disabled
|
|
2042
|
+
:param str protector_secret: Protector secret for customer managed Transparent data encryption mode
|
|
2043
|
+
"""
|
|
2044
|
+
if mode is not None:
|
|
2045
|
+
pulumi.set(__self__, "mode", mode)
|
|
2046
|
+
if protector_secret is not None:
|
|
2047
|
+
pulumi.set(__self__, "protector_secret", protector_secret)
|
|
2048
|
+
|
|
2049
|
+
@property
|
|
2050
|
+
@pulumi.getter
|
|
2051
|
+
def mode(self) -> Optional[str]:
|
|
2052
|
+
"""
|
|
2053
|
+
Transparent data encryption mode. Can be Service Managed, Customer managed or disabled
|
|
2054
|
+
"""
|
|
2055
|
+
return pulumi.get(self, "mode")
|
|
2056
|
+
|
|
2057
|
+
@property
|
|
2058
|
+
@pulumi.getter(name="protectorSecret")
|
|
2059
|
+
def protector_secret(self) -> Optional[str]:
|
|
2060
|
+
"""
|
|
2061
|
+
Protector secret for customer managed Transparent data encryption mode
|
|
2062
|
+
"""
|
|
2063
|
+
return pulumi.get(self, "protector_secret")
|
|
2064
|
+
|
|
2065
|
+
|
|
2066
|
+
@pulumi.output_type
|
|
2067
|
+
class LogAnalyticsWorkspaceConfigResponse(dict):
|
|
2068
|
+
"""
|
|
2069
|
+
Log analytics workspace id and primary key
|
|
2070
|
+
"""
|
|
2071
|
+
@staticmethod
|
|
2072
|
+
def __key_warning(key: str):
|
|
2073
|
+
suggest = None
|
|
2074
|
+
if key == "workspaceId":
|
|
2075
|
+
suggest = "workspace_id"
|
|
2076
|
+
|
|
2077
|
+
if suggest:
|
|
2078
|
+
pulumi.log.warn(f"Key '{key}' not found in LogAnalyticsWorkspaceConfigResponse. Access the value via the '{suggest}' property getter instead.")
|
|
2079
|
+
|
|
2080
|
+
def __getitem__(self, key: str) -> Any:
|
|
2081
|
+
LogAnalyticsWorkspaceConfigResponse.__key_warning(key)
|
|
2082
|
+
return super().__getitem__(key)
|
|
2083
|
+
|
|
2084
|
+
def get(self, key: str, default = None) -> Any:
|
|
2085
|
+
LogAnalyticsWorkspaceConfigResponse.__key_warning(key)
|
|
2086
|
+
return super().get(key, default)
|
|
2087
|
+
|
|
2088
|
+
def __init__(__self__, *,
|
|
2089
|
+
workspace_id: Optional[str] = None):
|
|
2090
|
+
"""
|
|
2091
|
+
Log analytics workspace id and primary key
|
|
2092
|
+
:param str workspace_id: Azure Log Analytics workspace ID
|
|
2093
|
+
"""
|
|
2094
|
+
if workspace_id is not None:
|
|
2095
|
+
pulumi.set(__self__, "workspace_id", workspace_id)
|
|
2096
|
+
|
|
2097
|
+
@property
|
|
2098
|
+
@pulumi.getter(name="workspaceId")
|
|
2099
|
+
def workspace_id(self) -> Optional[str]:
|
|
2100
|
+
"""
|
|
2101
|
+
Azure Log Analytics workspace ID
|
|
2102
|
+
"""
|
|
2103
|
+
return pulumi.get(self, "workspace_id")
|
|
2104
|
+
|
|
2105
|
+
|
|
2106
|
+
@pulumi.output_type
|
|
2107
|
+
class MonitoringResponse(dict):
|
|
2108
|
+
"""
|
|
2109
|
+
The monitoring configuration.
|
|
2110
|
+
"""
|
|
2111
|
+
def __init__(__self__, *,
|
|
2112
|
+
enabled: Optional[bool] = None):
|
|
2113
|
+
"""
|
|
2114
|
+
The monitoring configuration.
|
|
2115
|
+
:param bool enabled: Indicates if monitoring is enabled for this SQL Server instance.
|
|
2116
|
+
"""
|
|
2117
|
+
if enabled is not None:
|
|
2118
|
+
pulumi.set(__self__, "enabled", enabled)
|
|
2119
|
+
|
|
2120
|
+
@property
|
|
2121
|
+
@pulumi.getter
|
|
2122
|
+
def enabled(self) -> Optional[bool]:
|
|
2123
|
+
"""
|
|
2124
|
+
Indicates if monitoring is enabled for this SQL Server instance.
|
|
2125
|
+
"""
|
|
2126
|
+
return pulumi.get(self, "enabled")
|
|
2127
|
+
|
|
2128
|
+
|
|
2129
|
+
@pulumi.output_type
|
|
2130
|
+
class OnPremisePropertyResponse(dict):
|
|
2131
|
+
"""
|
|
2132
|
+
Properties from the Kubernetes data controller
|
|
2133
|
+
"""
|
|
2134
|
+
@staticmethod
|
|
2135
|
+
def __key_warning(key: str):
|
|
2136
|
+
suggest = None
|
|
2137
|
+
if key == "publicSigningKey":
|
|
2138
|
+
suggest = "public_signing_key"
|
|
2139
|
+
elif key == "signingCertificateThumbprint":
|
|
2140
|
+
suggest = "signing_certificate_thumbprint"
|
|
2141
|
+
|
|
2142
|
+
if suggest:
|
|
2143
|
+
pulumi.log.warn(f"Key '{key}' not found in OnPremisePropertyResponse. Access the value via the '{suggest}' property getter instead.")
|
|
2144
|
+
|
|
2145
|
+
def __getitem__(self, key: str) -> Any:
|
|
2146
|
+
OnPremisePropertyResponse.__key_warning(key)
|
|
2147
|
+
return super().__getitem__(key)
|
|
2148
|
+
|
|
2149
|
+
def get(self, key: str, default = None) -> Any:
|
|
2150
|
+
OnPremisePropertyResponse.__key_warning(key)
|
|
2151
|
+
return super().get(key, default)
|
|
2152
|
+
|
|
2153
|
+
def __init__(__self__, *,
|
|
2154
|
+
id: str,
|
|
2155
|
+
public_signing_key: str,
|
|
2156
|
+
signing_certificate_thumbprint: Optional[str] = None):
|
|
2157
|
+
"""
|
|
2158
|
+
Properties from the Kubernetes data controller
|
|
2159
|
+
:param str id: A globally unique ID identifying the associated Kubernetes cluster
|
|
2160
|
+
:param str public_signing_key: Certificate that contains the Kubernetes cluster public key used to verify signing
|
|
2161
|
+
:param str signing_certificate_thumbprint: Unique thumbprint returned to customer to verify the certificate being uploaded
|
|
2162
|
+
"""
|
|
2163
|
+
pulumi.set(__self__, "id", id)
|
|
2164
|
+
pulumi.set(__self__, "public_signing_key", public_signing_key)
|
|
2165
|
+
if signing_certificate_thumbprint is not None:
|
|
2166
|
+
pulumi.set(__self__, "signing_certificate_thumbprint", signing_certificate_thumbprint)
|
|
2167
|
+
|
|
2168
|
+
@property
|
|
2169
|
+
@pulumi.getter
|
|
2170
|
+
def id(self) -> str:
|
|
2171
|
+
"""
|
|
2172
|
+
A globally unique ID identifying the associated Kubernetes cluster
|
|
2173
|
+
"""
|
|
2174
|
+
return pulumi.get(self, "id")
|
|
2175
|
+
|
|
2176
|
+
@property
|
|
2177
|
+
@pulumi.getter(name="publicSigningKey")
|
|
2178
|
+
def public_signing_key(self) -> str:
|
|
2179
|
+
"""
|
|
2180
|
+
Certificate that contains the Kubernetes cluster public key used to verify signing
|
|
2181
|
+
"""
|
|
2182
|
+
return pulumi.get(self, "public_signing_key")
|
|
2183
|
+
|
|
2184
|
+
@property
|
|
2185
|
+
@pulumi.getter(name="signingCertificateThumbprint")
|
|
2186
|
+
def signing_certificate_thumbprint(self) -> Optional[str]:
|
|
2187
|
+
"""
|
|
2188
|
+
Unique thumbprint returned to customer to verify the certificate being uploaded
|
|
2189
|
+
"""
|
|
2190
|
+
return pulumi.get(self, "signing_certificate_thumbprint")
|
|
2191
|
+
|
|
2192
|
+
|
|
2193
|
+
@pulumi.output_type
|
|
2194
|
+
class PostgresInstancePropertiesResponse(dict):
|
|
2195
|
+
"""
|
|
2196
|
+
Postgres Instance properties.
|
|
2197
|
+
"""
|
|
2198
|
+
@staticmethod
|
|
2199
|
+
def __key_warning(key: str):
|
|
2200
|
+
suggest = None
|
|
2201
|
+
if key == "provisioningState":
|
|
2202
|
+
suggest = "provisioning_state"
|
|
2203
|
+
elif key == "basicLoginInformation":
|
|
2204
|
+
suggest = "basic_login_information"
|
|
2205
|
+
elif key == "dataControllerId":
|
|
2206
|
+
suggest = "data_controller_id"
|
|
2207
|
+
elif key == "k8sRaw":
|
|
2208
|
+
suggest = "k8s_raw"
|
|
2209
|
+
elif key == "lastUploadedDate":
|
|
2210
|
+
suggest = "last_uploaded_date"
|
|
2211
|
+
|
|
2212
|
+
if suggest:
|
|
2213
|
+
pulumi.log.warn(f"Key '{key}' not found in PostgresInstancePropertiesResponse. Access the value via the '{suggest}' property getter instead.")
|
|
2214
|
+
|
|
2215
|
+
def __getitem__(self, key: str) -> Any:
|
|
2216
|
+
PostgresInstancePropertiesResponse.__key_warning(key)
|
|
2217
|
+
return super().__getitem__(key)
|
|
2218
|
+
|
|
2219
|
+
def get(self, key: str, default = None) -> Any:
|
|
2220
|
+
PostgresInstancePropertiesResponse.__key_warning(key)
|
|
2221
|
+
return super().get(key, default)
|
|
2222
|
+
|
|
2223
|
+
def __init__(__self__, *,
|
|
2224
|
+
provisioning_state: str,
|
|
2225
|
+
admin: Optional[str] = None,
|
|
2226
|
+
basic_login_information: Optional['outputs.BasicLoginInformationResponse'] = None,
|
|
2227
|
+
data_controller_id: Optional[str] = None,
|
|
2228
|
+
k8s_raw: Optional[Any] = None,
|
|
2229
|
+
last_uploaded_date: Optional[str] = None):
|
|
2230
|
+
"""
|
|
2231
|
+
Postgres Instance properties.
|
|
2232
|
+
:param str provisioning_state: The provisioning state of the Azure Arc-enabled PostgreSQL instance.
|
|
2233
|
+
:param str admin: The instance admin
|
|
2234
|
+
:param 'BasicLoginInformationResponse' basic_login_information: Username and password for basic authentication.
|
|
2235
|
+
:param str data_controller_id: The data controller id
|
|
2236
|
+
:param Any k8s_raw: The raw kubernetes information
|
|
2237
|
+
:param str last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current date time
|
|
2238
|
+
"""
|
|
2239
|
+
pulumi.set(__self__, "provisioning_state", provisioning_state)
|
|
2240
|
+
if admin is not None:
|
|
2241
|
+
pulumi.set(__self__, "admin", admin)
|
|
2242
|
+
if basic_login_information is not None:
|
|
2243
|
+
pulumi.set(__self__, "basic_login_information", basic_login_information)
|
|
2244
|
+
if data_controller_id is not None:
|
|
2245
|
+
pulumi.set(__self__, "data_controller_id", data_controller_id)
|
|
2246
|
+
if k8s_raw is not None:
|
|
2247
|
+
pulumi.set(__self__, "k8s_raw", k8s_raw)
|
|
2248
|
+
if last_uploaded_date is not None:
|
|
2249
|
+
pulumi.set(__self__, "last_uploaded_date", last_uploaded_date)
|
|
2250
|
+
|
|
2251
|
+
@property
|
|
2252
|
+
@pulumi.getter(name="provisioningState")
|
|
2253
|
+
def provisioning_state(self) -> str:
|
|
2254
|
+
"""
|
|
2255
|
+
The provisioning state of the Azure Arc-enabled PostgreSQL instance.
|
|
2256
|
+
"""
|
|
2257
|
+
return pulumi.get(self, "provisioning_state")
|
|
2258
|
+
|
|
2259
|
+
@property
|
|
2260
|
+
@pulumi.getter
|
|
2261
|
+
def admin(self) -> Optional[str]:
|
|
2262
|
+
"""
|
|
2263
|
+
The instance admin
|
|
2264
|
+
"""
|
|
2265
|
+
return pulumi.get(self, "admin")
|
|
2266
|
+
|
|
2267
|
+
@property
|
|
2268
|
+
@pulumi.getter(name="basicLoginInformation")
|
|
2269
|
+
def basic_login_information(self) -> Optional['outputs.BasicLoginInformationResponse']:
|
|
2270
|
+
"""
|
|
2271
|
+
Username and password for basic authentication.
|
|
2272
|
+
"""
|
|
2273
|
+
return pulumi.get(self, "basic_login_information")
|
|
2274
|
+
|
|
2275
|
+
@property
|
|
2276
|
+
@pulumi.getter(name="dataControllerId")
|
|
2277
|
+
def data_controller_id(self) -> Optional[str]:
|
|
2278
|
+
"""
|
|
2279
|
+
The data controller id
|
|
2280
|
+
"""
|
|
2281
|
+
return pulumi.get(self, "data_controller_id")
|
|
2282
|
+
|
|
2283
|
+
@property
|
|
2284
|
+
@pulumi.getter(name="k8sRaw")
|
|
2285
|
+
def k8s_raw(self) -> Optional[Any]:
|
|
2286
|
+
"""
|
|
2287
|
+
The raw kubernetes information
|
|
2288
|
+
"""
|
|
2289
|
+
return pulumi.get(self, "k8s_raw")
|
|
2290
|
+
|
|
2291
|
+
@property
|
|
2292
|
+
@pulumi.getter(name="lastUploadedDate")
|
|
2293
|
+
def last_uploaded_date(self) -> Optional[str]:
|
|
2294
|
+
"""
|
|
2295
|
+
Last uploaded date from Kubernetes cluster. Defaults to current date time
|
|
2296
|
+
"""
|
|
2297
|
+
return pulumi.get(self, "last_uploaded_date")
|
|
2298
|
+
|
|
2299
|
+
|
|
2300
|
+
@pulumi.output_type
|
|
2301
|
+
class PostgresInstanceSkuResponse(dict):
|
|
2302
|
+
"""
|
|
2303
|
+
The resource model definition representing SKU for Azure Database for PostgresSQL - Azure Arc
|
|
2304
|
+
"""
|
|
2305
|
+
def __init__(__self__, *,
|
|
2306
|
+
name: str,
|
|
2307
|
+
capacity: Optional[int] = None,
|
|
2308
|
+
dev: Optional[bool] = None,
|
|
2309
|
+
family: Optional[str] = None,
|
|
2310
|
+
size: Optional[str] = None,
|
|
2311
|
+
tier: Optional[str] = None):
|
|
2312
|
+
"""
|
|
2313
|
+
The resource model definition representing SKU for Azure Database for PostgresSQL - Azure Arc
|
|
2314
|
+
:param str name: The name of the SKU. It is typically a letter+number code
|
|
2315
|
+
:param int capacity: If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
|
|
2316
|
+
:param bool dev: Whether dev/test is enabled. When the dev field is set to true, the resource is used for dev/test purpose.
|
|
2317
|
+
:param str family: If the service has different generations of hardware, for the same SKU, then that can be captured here.
|
|
2318
|
+
:param str size: The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
|
|
2319
|
+
:param str tier: This field is required to be implemented by the Resource Provider if the service has more than one tier.
|
|
2320
|
+
"""
|
|
2321
|
+
pulumi.set(__self__, "name", name)
|
|
2322
|
+
if capacity is not None:
|
|
2323
|
+
pulumi.set(__self__, "capacity", capacity)
|
|
2324
|
+
if dev is None:
|
|
2325
|
+
dev = True
|
|
2326
|
+
if dev is not None:
|
|
2327
|
+
pulumi.set(__self__, "dev", dev)
|
|
2328
|
+
if family is not None:
|
|
2329
|
+
pulumi.set(__self__, "family", family)
|
|
2330
|
+
if size is not None:
|
|
2331
|
+
pulumi.set(__self__, "size", size)
|
|
2332
|
+
if tier is None:
|
|
2333
|
+
tier = 'Hyperscale'
|
|
2334
|
+
if tier is not None:
|
|
2335
|
+
pulumi.set(__self__, "tier", tier)
|
|
2336
|
+
|
|
2337
|
+
@property
|
|
2338
|
+
@pulumi.getter
|
|
2339
|
+
def name(self) -> str:
|
|
2340
|
+
"""
|
|
2341
|
+
The name of the SKU. It is typically a letter+number code
|
|
2342
|
+
"""
|
|
2343
|
+
return pulumi.get(self, "name")
|
|
2344
|
+
|
|
2345
|
+
@property
|
|
2346
|
+
@pulumi.getter
|
|
2347
|
+
def capacity(self) -> Optional[int]:
|
|
2348
|
+
"""
|
|
2349
|
+
If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
|
|
2350
|
+
"""
|
|
2351
|
+
return pulumi.get(self, "capacity")
|
|
2352
|
+
|
|
2353
|
+
@property
|
|
2354
|
+
@pulumi.getter
|
|
2355
|
+
def dev(self) -> Optional[bool]:
|
|
2356
|
+
"""
|
|
2357
|
+
Whether dev/test is enabled. When the dev field is set to true, the resource is used for dev/test purpose.
|
|
2358
|
+
"""
|
|
2359
|
+
return pulumi.get(self, "dev")
|
|
2360
|
+
|
|
2361
|
+
@property
|
|
2362
|
+
@pulumi.getter
|
|
2363
|
+
def family(self) -> Optional[str]:
|
|
2364
|
+
"""
|
|
2365
|
+
If the service has different generations of hardware, for the same SKU, then that can be captured here.
|
|
2366
|
+
"""
|
|
2367
|
+
return pulumi.get(self, "family")
|
|
2368
|
+
|
|
2369
|
+
@property
|
|
2370
|
+
@pulumi.getter
|
|
2371
|
+
def size(self) -> Optional[str]:
|
|
2372
|
+
"""
|
|
2373
|
+
The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
|
|
2374
|
+
"""
|
|
2375
|
+
return pulumi.get(self, "size")
|
|
2376
|
+
|
|
2377
|
+
@property
|
|
2378
|
+
@pulumi.getter
|
|
2379
|
+
def tier(self) -> Optional[str]:
|
|
2380
|
+
"""
|
|
2381
|
+
This field is required to be implemented by the Resource Provider if the service has more than one tier.
|
|
2382
|
+
"""
|
|
2383
|
+
return pulumi.get(self, "tier")
|
|
2384
|
+
|
|
2385
|
+
|
|
2386
|
+
@pulumi.output_type
|
|
2387
|
+
class SqlAvailabilityGroupDatabaseReplicaResourcePropertiesResponse(dict):
|
|
2388
|
+
"""
|
|
2389
|
+
The properties of Arc Sql availability group database replica resource
|
|
2390
|
+
"""
|
|
2391
|
+
@staticmethod
|
|
2392
|
+
def __key_warning(key: str):
|
|
2393
|
+
suggest = None
|
|
2394
|
+
if key == "databaseStateDescription":
|
|
2395
|
+
suggest = "database_state_description"
|
|
2396
|
+
elif key == "isCommitParticipant":
|
|
2397
|
+
suggest = "is_commit_participant"
|
|
2398
|
+
elif key == "isLocal":
|
|
2399
|
+
suggest = "is_local"
|
|
2400
|
+
elif key == "isPrimaryReplica":
|
|
2401
|
+
suggest = "is_primary_replica"
|
|
2402
|
+
elif key == "isSuspended":
|
|
2403
|
+
suggest = "is_suspended"
|
|
2404
|
+
elif key == "replicaName":
|
|
2405
|
+
suggest = "replica_name"
|
|
2406
|
+
elif key == "suspendReasonDescription":
|
|
2407
|
+
suggest = "suspend_reason_description"
|
|
2408
|
+
elif key == "synchronizationHealthDescription":
|
|
2409
|
+
suggest = "synchronization_health_description"
|
|
2410
|
+
elif key == "synchronizationStateDescription":
|
|
2411
|
+
suggest = "synchronization_state_description"
|
|
2412
|
+
elif key == "databaseName":
|
|
2413
|
+
suggest = "database_name"
|
|
2414
|
+
|
|
2415
|
+
if suggest:
|
|
2416
|
+
pulumi.log.warn(f"Key '{key}' not found in SqlAvailabilityGroupDatabaseReplicaResourcePropertiesResponse. Access the value via the '{suggest}' property getter instead.")
|
|
2417
|
+
|
|
2418
|
+
def __getitem__(self, key: str) -> Any:
|
|
2419
|
+
SqlAvailabilityGroupDatabaseReplicaResourcePropertiesResponse.__key_warning(key)
|
|
2420
|
+
return super().__getitem__(key)
|
|
2421
|
+
|
|
2422
|
+
def get(self, key: str, default = None) -> Any:
|
|
2423
|
+
SqlAvailabilityGroupDatabaseReplicaResourcePropertiesResponse.__key_warning(key)
|
|
2424
|
+
return super().get(key, default)
|
|
2425
|
+
|
|
2426
|
+
def __init__(__self__, *,
|
|
2427
|
+
database_state_description: str,
|
|
2428
|
+
is_commit_participant: bool,
|
|
2429
|
+
is_local: bool,
|
|
2430
|
+
is_primary_replica: bool,
|
|
2431
|
+
is_suspended: bool,
|
|
2432
|
+
replica_name: str,
|
|
2433
|
+
suspend_reason_description: str,
|
|
2434
|
+
synchronization_health_description: str,
|
|
2435
|
+
synchronization_state_description: str,
|
|
2436
|
+
database_name: Optional[str] = None):
|
|
2437
|
+
"""
|
|
2438
|
+
The properties of Arc Sql availability group database replica resource
|
|
2439
|
+
:param str database_state_description: Description of the database state of the availability replica.
|
|
2440
|
+
:param bool is_commit_participant: Whether this replica is transaction committer.
|
|
2441
|
+
:param bool is_local: Whether the availability database is local.
|
|
2442
|
+
:param bool is_primary_replica: Returns 1 if the replica is primary, or 0 if it is a secondary replica.
|
|
2443
|
+
:param bool is_suspended: Whether this data movement is suspended.
|
|
2444
|
+
:param str replica_name: the database replica name.
|
|
2445
|
+
:param str suspend_reason_description: Description of the database suspended state reason.
|
|
2446
|
+
:param str synchronization_health_description: Description of the health of database.
|
|
2447
|
+
:param str synchronization_state_description: Description of the data-movement state.
|
|
2448
|
+
:param str database_name: the database name.
|
|
2449
|
+
"""
|
|
2450
|
+
pulumi.set(__self__, "database_state_description", database_state_description)
|
|
2451
|
+
pulumi.set(__self__, "is_commit_participant", is_commit_participant)
|
|
2452
|
+
pulumi.set(__self__, "is_local", is_local)
|
|
2453
|
+
pulumi.set(__self__, "is_primary_replica", is_primary_replica)
|
|
2454
|
+
pulumi.set(__self__, "is_suspended", is_suspended)
|
|
2455
|
+
pulumi.set(__self__, "replica_name", replica_name)
|
|
2456
|
+
pulumi.set(__self__, "suspend_reason_description", suspend_reason_description)
|
|
2457
|
+
pulumi.set(__self__, "synchronization_health_description", synchronization_health_description)
|
|
2458
|
+
pulumi.set(__self__, "synchronization_state_description", synchronization_state_description)
|
|
2459
|
+
if database_name is not None:
|
|
2460
|
+
pulumi.set(__self__, "database_name", database_name)
|
|
2461
|
+
|
|
2462
|
+
@property
|
|
2463
|
+
@pulumi.getter(name="databaseStateDescription")
|
|
2464
|
+
def database_state_description(self) -> str:
|
|
2465
|
+
"""
|
|
2466
|
+
Description of the database state of the availability replica.
|
|
2467
|
+
"""
|
|
2468
|
+
return pulumi.get(self, "database_state_description")
|
|
2469
|
+
|
|
2470
|
+
@property
|
|
2471
|
+
@pulumi.getter(name="isCommitParticipant")
|
|
2472
|
+
def is_commit_participant(self) -> bool:
|
|
2473
|
+
"""
|
|
2474
|
+
Whether this replica is transaction committer.
|
|
2475
|
+
"""
|
|
2476
|
+
return pulumi.get(self, "is_commit_participant")
|
|
2477
|
+
|
|
2478
|
+
@property
|
|
2479
|
+
@pulumi.getter(name="isLocal")
|
|
2480
|
+
def is_local(self) -> bool:
|
|
2481
|
+
"""
|
|
2482
|
+
Whether the availability database is local.
|
|
2483
|
+
"""
|
|
2484
|
+
return pulumi.get(self, "is_local")
|
|
2485
|
+
|
|
2486
|
+
@property
|
|
2487
|
+
@pulumi.getter(name="isPrimaryReplica")
|
|
2488
|
+
def is_primary_replica(self) -> bool:
|
|
2489
|
+
"""
|
|
2490
|
+
Returns 1 if the replica is primary, or 0 if it is a secondary replica.
|
|
2491
|
+
"""
|
|
2492
|
+
return pulumi.get(self, "is_primary_replica")
|
|
2493
|
+
|
|
2494
|
+
@property
|
|
2495
|
+
@pulumi.getter(name="isSuspended")
|
|
2496
|
+
def is_suspended(self) -> bool:
|
|
2497
|
+
"""
|
|
2498
|
+
Whether this data movement is suspended.
|
|
2499
|
+
"""
|
|
2500
|
+
return pulumi.get(self, "is_suspended")
|
|
2501
|
+
|
|
2502
|
+
@property
|
|
2503
|
+
@pulumi.getter(name="replicaName")
|
|
2504
|
+
def replica_name(self) -> str:
|
|
2505
|
+
"""
|
|
2506
|
+
the database replica name.
|
|
2507
|
+
"""
|
|
2508
|
+
return pulumi.get(self, "replica_name")
|
|
2509
|
+
|
|
2510
|
+
@property
|
|
2511
|
+
@pulumi.getter(name="suspendReasonDescription")
|
|
2512
|
+
def suspend_reason_description(self) -> str:
|
|
2513
|
+
"""
|
|
2514
|
+
Description of the database suspended state reason.
|
|
2515
|
+
"""
|
|
2516
|
+
return pulumi.get(self, "suspend_reason_description")
|
|
2517
|
+
|
|
2518
|
+
@property
|
|
2519
|
+
@pulumi.getter(name="synchronizationHealthDescription")
|
|
2520
|
+
def synchronization_health_description(self) -> str:
|
|
2521
|
+
"""
|
|
2522
|
+
Description of the health of database.
|
|
2523
|
+
"""
|
|
2524
|
+
return pulumi.get(self, "synchronization_health_description")
|
|
2525
|
+
|
|
2526
|
+
@property
|
|
2527
|
+
@pulumi.getter(name="synchronizationStateDescription")
|
|
2528
|
+
def synchronization_state_description(self) -> str:
|
|
2529
|
+
"""
|
|
2530
|
+
Description of the data-movement state.
|
|
2531
|
+
"""
|
|
2532
|
+
return pulumi.get(self, "synchronization_state_description")
|
|
2533
|
+
|
|
2534
|
+
@property
|
|
2535
|
+
@pulumi.getter(name="databaseName")
|
|
2536
|
+
def database_name(self) -> Optional[str]:
|
|
2537
|
+
"""
|
|
2538
|
+
the database name.
|
|
2539
|
+
"""
|
|
2540
|
+
return pulumi.get(self, "database_name")
|
|
2541
|
+
|
|
2542
|
+
|
|
2543
|
+
@pulumi.output_type
|
|
2544
|
+
class SqlAvailabilityGroupReplicaResourcePropertiesResponse(dict):
|
|
2545
|
+
"""
|
|
2546
|
+
The properties of Arc Sql availability group replica resource
|
|
2547
|
+
"""
|
|
2548
|
+
@staticmethod
|
|
2549
|
+
def __key_warning(key: str):
|
|
2550
|
+
suggest = None
|
|
2551
|
+
if key == "replicaId":
|
|
2552
|
+
suggest = "replica_id"
|
|
2553
|
+
elif key == "replicaName":
|
|
2554
|
+
suggest = "replica_name"
|
|
2555
|
+
|
|
2556
|
+
if suggest:
|
|
2557
|
+
pulumi.log.warn(f"Key '{key}' not found in SqlAvailabilityGroupReplicaResourcePropertiesResponse. Access the value via the '{suggest}' property getter instead.")
|
|
2558
|
+
|
|
2559
|
+
def __getitem__(self, key: str) -> Any:
|
|
2560
|
+
SqlAvailabilityGroupReplicaResourcePropertiesResponse.__key_warning(key)
|
|
2561
|
+
return super().__getitem__(key)
|
|
2562
|
+
|
|
2563
|
+
def get(self, key: str, default = None) -> Any:
|
|
2564
|
+
SqlAvailabilityGroupReplicaResourcePropertiesResponse.__key_warning(key)
|
|
2565
|
+
return super().get(key, default)
|
|
2566
|
+
|
|
2567
|
+
def __init__(__self__, *,
|
|
2568
|
+
replica_id: str,
|
|
2569
|
+
configure: Optional['outputs.AvailabilityGroupConfigureResponse'] = None,
|
|
2570
|
+
replica_name: Optional[str] = None,
|
|
2571
|
+
state: Optional['outputs.AvailabilityGroupStateResponse'] = None):
|
|
2572
|
+
"""
|
|
2573
|
+
The properties of Arc Sql availability group replica resource
|
|
2574
|
+
:param str replica_id: ID GUID of the availability group.
|
|
2575
|
+
:param 'AvailabilityGroupConfigureResponse' configure: null
|
|
2576
|
+
:param str replica_name: the replica name.
|
|
2577
|
+
:param 'AvailabilityGroupStateResponse' state: null
|
|
2578
|
+
"""
|
|
2579
|
+
pulumi.set(__self__, "replica_id", replica_id)
|
|
2580
|
+
if configure is not None:
|
|
2581
|
+
pulumi.set(__self__, "configure", configure)
|
|
2582
|
+
if replica_name is not None:
|
|
2583
|
+
pulumi.set(__self__, "replica_name", replica_name)
|
|
2584
|
+
if state is not None:
|
|
2585
|
+
pulumi.set(__self__, "state", state)
|
|
2586
|
+
|
|
2587
|
+
@property
|
|
2588
|
+
@pulumi.getter(name="replicaId")
|
|
2589
|
+
def replica_id(self) -> str:
|
|
2590
|
+
"""
|
|
2591
|
+
ID GUID of the availability group.
|
|
2592
|
+
"""
|
|
2593
|
+
return pulumi.get(self, "replica_id")
|
|
2594
|
+
|
|
2595
|
+
@property
|
|
2596
|
+
@pulumi.getter
|
|
2597
|
+
def configure(self) -> Optional['outputs.AvailabilityGroupConfigureResponse']:
|
|
2598
|
+
"""
|
|
2599
|
+
null
|
|
2600
|
+
"""
|
|
2601
|
+
return pulumi.get(self, "configure")
|
|
2602
|
+
|
|
2603
|
+
@property
|
|
2604
|
+
@pulumi.getter(name="replicaName")
|
|
2605
|
+
def replica_name(self) -> Optional[str]:
|
|
2606
|
+
"""
|
|
2607
|
+
the replica name.
|
|
2608
|
+
"""
|
|
2609
|
+
return pulumi.get(self, "replica_name")
|
|
2610
|
+
|
|
2611
|
+
@property
|
|
2612
|
+
@pulumi.getter
|
|
2613
|
+
def state(self) -> Optional['outputs.AvailabilityGroupStateResponse']:
|
|
2614
|
+
"""
|
|
2615
|
+
null
|
|
2616
|
+
"""
|
|
2617
|
+
return pulumi.get(self, "state")
|
|
2618
|
+
|
|
2619
|
+
|
|
2620
|
+
@pulumi.output_type
|
|
2621
|
+
class SqlManagedInstanceK8sRawResponse(dict):
|
|
2622
|
+
"""
|
|
2623
|
+
The raw kubernetes information.
|
|
2624
|
+
"""
|
|
2625
|
+
def __init__(__self__, *,
|
|
2626
|
+
spec: Optional['outputs.SqlManagedInstanceK8sSpecResponse'] = None):
|
|
2627
|
+
"""
|
|
2628
|
+
The raw kubernetes information.
|
|
2629
|
+
:param 'SqlManagedInstanceK8sSpecResponse' spec: The kubernetes spec information.
|
|
2630
|
+
"""
|
|
2631
|
+
if spec is not None:
|
|
2632
|
+
pulumi.set(__self__, "spec", spec)
|
|
2633
|
+
|
|
2634
|
+
@property
|
|
2635
|
+
@pulumi.getter
|
|
2636
|
+
def spec(self) -> Optional['outputs.SqlManagedInstanceK8sSpecResponse']:
|
|
2637
|
+
"""
|
|
2638
|
+
The kubernetes spec information.
|
|
2639
|
+
"""
|
|
2640
|
+
return pulumi.get(self, "spec")
|
|
2641
|
+
|
|
2642
|
+
|
|
2643
|
+
@pulumi.output_type
|
|
2644
|
+
class SqlManagedInstanceK8sSpecResponse(dict):
|
|
2645
|
+
"""
|
|
2646
|
+
The kubernetes spec information.
|
|
2647
|
+
"""
|
|
2648
|
+
def __init__(__self__, *,
|
|
2649
|
+
replicas: Optional[int] = None,
|
|
2650
|
+
scheduling: Optional['outputs.K8sSchedulingResponse'] = None,
|
|
2651
|
+
security: Optional['outputs.K8sSecurityResponse'] = None,
|
|
2652
|
+
settings: Optional['outputs.K8sSettingsResponse'] = None):
|
|
2653
|
+
"""
|
|
2654
|
+
The kubernetes spec information.
|
|
2655
|
+
:param int replicas: This option specifies the number of SQL Managed Instance replicas that will be deployed in your Kubernetes cluster for high availability purposes. If sku.tier is BusinessCritical, allowed values are '2' or '3' with default of '3'. If sku.tier is GeneralPurpose, replicas must be '1'.
|
|
2656
|
+
:param 'K8sSchedulingResponse' scheduling: The kubernetes scheduling information.
|
|
2657
|
+
:param 'K8sSecurityResponse' security: The kubernetes security information.
|
|
2658
|
+
:param 'K8sSettingsResponse' settings: The kubernetes settings information.
|
|
2659
|
+
"""
|
|
2660
|
+
if replicas is not None:
|
|
2661
|
+
pulumi.set(__self__, "replicas", replicas)
|
|
2662
|
+
if scheduling is not None:
|
|
2663
|
+
pulumi.set(__self__, "scheduling", scheduling)
|
|
2664
|
+
if security is not None:
|
|
2665
|
+
pulumi.set(__self__, "security", security)
|
|
2666
|
+
if settings is not None:
|
|
2667
|
+
pulumi.set(__self__, "settings", settings)
|
|
2668
|
+
|
|
2669
|
+
@property
|
|
2670
|
+
@pulumi.getter
|
|
2671
|
+
def replicas(self) -> Optional[int]:
|
|
2672
|
+
"""
|
|
2673
|
+
This option specifies the number of SQL Managed Instance replicas that will be deployed in your Kubernetes cluster for high availability purposes. If sku.tier is BusinessCritical, allowed values are '2' or '3' with default of '3'. If sku.tier is GeneralPurpose, replicas must be '1'.
|
|
2674
|
+
"""
|
|
2675
|
+
return pulumi.get(self, "replicas")
|
|
2676
|
+
|
|
2677
|
+
@property
|
|
2678
|
+
@pulumi.getter
|
|
2679
|
+
def scheduling(self) -> Optional['outputs.K8sSchedulingResponse']:
|
|
2680
|
+
"""
|
|
2681
|
+
The kubernetes scheduling information.
|
|
2682
|
+
"""
|
|
2683
|
+
return pulumi.get(self, "scheduling")
|
|
2684
|
+
|
|
2685
|
+
@property
|
|
2686
|
+
@pulumi.getter
|
|
2687
|
+
def security(self) -> Optional['outputs.K8sSecurityResponse']:
|
|
2688
|
+
"""
|
|
2689
|
+
The kubernetes security information.
|
|
2690
|
+
"""
|
|
2691
|
+
return pulumi.get(self, "security")
|
|
2692
|
+
|
|
2693
|
+
@property
|
|
2694
|
+
@pulumi.getter
|
|
2695
|
+
def settings(self) -> Optional['outputs.K8sSettingsResponse']:
|
|
2696
|
+
"""
|
|
2697
|
+
The kubernetes settings information.
|
|
2698
|
+
"""
|
|
2699
|
+
return pulumi.get(self, "settings")
|
|
2700
|
+
|
|
2701
|
+
|
|
2702
|
+
@pulumi.output_type
|
|
2703
|
+
class SqlManagedInstancePropertiesResponse(dict):
|
|
2704
|
+
"""
|
|
2705
|
+
Properties of sqlManagedInstance.
|
|
2706
|
+
"""
|
|
2707
|
+
@staticmethod
|
|
2708
|
+
def __key_warning(key: str):
|
|
2709
|
+
suggest = None
|
|
2710
|
+
if key == "provisioningState":
|
|
2711
|
+
suggest = "provisioning_state"
|
|
2712
|
+
elif key == "basicLoginInformation":
|
|
2713
|
+
suggest = "basic_login_information"
|
|
2714
|
+
elif key == "clusterId":
|
|
2715
|
+
suggest = "cluster_id"
|
|
2716
|
+
elif key == "dataControllerId":
|
|
2717
|
+
suggest = "data_controller_id"
|
|
2718
|
+
elif key == "endTime":
|
|
2719
|
+
suggest = "end_time"
|
|
2720
|
+
elif key == "extensionId":
|
|
2721
|
+
suggest = "extension_id"
|
|
2722
|
+
elif key == "k8sRaw":
|
|
2723
|
+
suggest = "k8s_raw"
|
|
2724
|
+
elif key == "lastUploadedDate":
|
|
2725
|
+
suggest = "last_uploaded_date"
|
|
2726
|
+
elif key == "licenseType":
|
|
2727
|
+
suggest = "license_type"
|
|
2728
|
+
elif key == "startTime":
|
|
2729
|
+
suggest = "start_time"
|
|
2730
|
+
|
|
2731
|
+
if suggest:
|
|
2732
|
+
pulumi.log.warn(f"Key '{key}' not found in SqlManagedInstancePropertiesResponse. Access the value via the '{suggest}' property getter instead.")
|
|
2733
|
+
|
|
2734
|
+
def __getitem__(self, key: str) -> Any:
|
|
2735
|
+
SqlManagedInstancePropertiesResponse.__key_warning(key)
|
|
2736
|
+
return super().__getitem__(key)
|
|
2737
|
+
|
|
2738
|
+
def get(self, key: str, default = None) -> Any:
|
|
2739
|
+
SqlManagedInstancePropertiesResponse.__key_warning(key)
|
|
2740
|
+
return super().get(key, default)
|
|
2741
|
+
|
|
2742
|
+
def __init__(__self__, *,
|
|
2743
|
+
provisioning_state: str,
|
|
2744
|
+
admin: Optional[str] = None,
|
|
2745
|
+
basic_login_information: Optional['outputs.BasicLoginInformationResponse'] = None,
|
|
2746
|
+
cluster_id: Optional[str] = None,
|
|
2747
|
+
data_controller_id: Optional[str] = None,
|
|
2748
|
+
end_time: Optional[str] = None,
|
|
2749
|
+
extension_id: Optional[str] = None,
|
|
2750
|
+
k8s_raw: Optional['outputs.SqlManagedInstanceK8sRawResponse'] = None,
|
|
2751
|
+
last_uploaded_date: Optional[str] = None,
|
|
2752
|
+
license_type: Optional[str] = None,
|
|
2753
|
+
start_time: Optional[str] = None):
|
|
2754
|
+
"""
|
|
2755
|
+
Properties of sqlManagedInstance.
|
|
2756
|
+
:param str provisioning_state: The provisioning state of the Arc-enabled SQL Managed Instance resource.
|
|
2757
|
+
:param str admin: The instance admin user
|
|
2758
|
+
:param 'BasicLoginInformationResponse' basic_login_information: Username and password for basic authentication.
|
|
2759
|
+
:param str cluster_id: If a CustomLocation is provided, this contains the ARM id of the connected cluster the custom location belongs to.
|
|
2760
|
+
:param str data_controller_id: null
|
|
2761
|
+
:param str end_time: The instance end time
|
|
2762
|
+
:param str extension_id: If a CustomLocation is provided, this contains the ARM id of the extension the custom location belongs to.
|
|
2763
|
+
:param 'SqlManagedInstanceK8sRawResponse' k8s_raw: The raw kubernetes information
|
|
2764
|
+
:param str last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current date time
|
|
2765
|
+
:param str license_type: The license type to apply for this managed instance.
|
|
2766
|
+
:param str start_time: The instance start time
|
|
2767
|
+
"""
|
|
2768
|
+
pulumi.set(__self__, "provisioning_state", provisioning_state)
|
|
2769
|
+
if admin is not None:
|
|
2770
|
+
pulumi.set(__self__, "admin", admin)
|
|
2771
|
+
if basic_login_information is not None:
|
|
2772
|
+
pulumi.set(__self__, "basic_login_information", basic_login_information)
|
|
2773
|
+
if cluster_id is not None:
|
|
2774
|
+
pulumi.set(__self__, "cluster_id", cluster_id)
|
|
2775
|
+
if data_controller_id is not None:
|
|
2776
|
+
pulumi.set(__self__, "data_controller_id", data_controller_id)
|
|
2777
|
+
if end_time is not None:
|
|
2778
|
+
pulumi.set(__self__, "end_time", end_time)
|
|
2779
|
+
if extension_id is not None:
|
|
2780
|
+
pulumi.set(__self__, "extension_id", extension_id)
|
|
2781
|
+
if k8s_raw is not None:
|
|
2782
|
+
pulumi.set(__self__, "k8s_raw", k8s_raw)
|
|
2783
|
+
if last_uploaded_date is not None:
|
|
2784
|
+
pulumi.set(__self__, "last_uploaded_date", last_uploaded_date)
|
|
2785
|
+
if license_type is None:
|
|
2786
|
+
license_type = 'BasePrice'
|
|
2787
|
+
if license_type is not None:
|
|
2788
|
+
pulumi.set(__self__, "license_type", license_type)
|
|
2789
|
+
if start_time is not None:
|
|
2790
|
+
pulumi.set(__self__, "start_time", start_time)
|
|
2791
|
+
|
|
2792
|
+
@property
|
|
2793
|
+
@pulumi.getter(name="provisioningState")
|
|
2794
|
+
def provisioning_state(self) -> str:
|
|
2795
|
+
"""
|
|
2796
|
+
The provisioning state of the Arc-enabled SQL Managed Instance resource.
|
|
2797
|
+
"""
|
|
2798
|
+
return pulumi.get(self, "provisioning_state")
|
|
2799
|
+
|
|
2800
|
+
@property
|
|
2801
|
+
@pulumi.getter
|
|
2802
|
+
def admin(self) -> Optional[str]:
|
|
2803
|
+
"""
|
|
2804
|
+
The instance admin user
|
|
2805
|
+
"""
|
|
2806
|
+
return pulumi.get(self, "admin")
|
|
2807
|
+
|
|
2808
|
+
@property
|
|
2809
|
+
@pulumi.getter(name="basicLoginInformation")
|
|
2810
|
+
def basic_login_information(self) -> Optional['outputs.BasicLoginInformationResponse']:
|
|
2811
|
+
"""
|
|
2812
|
+
Username and password for basic authentication.
|
|
2813
|
+
"""
|
|
2814
|
+
return pulumi.get(self, "basic_login_information")
|
|
2815
|
+
|
|
2816
|
+
@property
|
|
2817
|
+
@pulumi.getter(name="clusterId")
|
|
2818
|
+
def cluster_id(self) -> Optional[str]:
|
|
2819
|
+
"""
|
|
2820
|
+
If a CustomLocation is provided, this contains the ARM id of the connected cluster the custom location belongs to.
|
|
2821
|
+
"""
|
|
2822
|
+
return pulumi.get(self, "cluster_id")
|
|
2823
|
+
|
|
2824
|
+
@property
|
|
2825
|
+
@pulumi.getter(name="dataControllerId")
|
|
2826
|
+
def data_controller_id(self) -> Optional[str]:
|
|
2827
|
+
"""
|
|
2828
|
+
null
|
|
2829
|
+
"""
|
|
2830
|
+
return pulumi.get(self, "data_controller_id")
|
|
2831
|
+
|
|
2832
|
+
@property
|
|
2833
|
+
@pulumi.getter(name="endTime")
|
|
2834
|
+
def end_time(self) -> Optional[str]:
|
|
2835
|
+
"""
|
|
2836
|
+
The instance end time
|
|
2837
|
+
"""
|
|
2838
|
+
return pulumi.get(self, "end_time")
|
|
2839
|
+
|
|
2840
|
+
@property
|
|
2841
|
+
@pulumi.getter(name="extensionId")
|
|
2842
|
+
def extension_id(self) -> Optional[str]:
|
|
2843
|
+
"""
|
|
2844
|
+
If a CustomLocation is provided, this contains the ARM id of the extension the custom location belongs to.
|
|
2845
|
+
"""
|
|
2846
|
+
return pulumi.get(self, "extension_id")
|
|
2847
|
+
|
|
2848
|
+
@property
|
|
2849
|
+
@pulumi.getter(name="k8sRaw")
|
|
2850
|
+
def k8s_raw(self) -> Optional['outputs.SqlManagedInstanceK8sRawResponse']:
|
|
2851
|
+
"""
|
|
2852
|
+
The raw kubernetes information
|
|
2853
|
+
"""
|
|
2854
|
+
return pulumi.get(self, "k8s_raw")
|
|
2855
|
+
|
|
2856
|
+
@property
|
|
2857
|
+
@pulumi.getter(name="lastUploadedDate")
|
|
2858
|
+
def last_uploaded_date(self) -> Optional[str]:
|
|
2859
|
+
"""
|
|
2860
|
+
Last uploaded date from Kubernetes cluster. Defaults to current date time
|
|
2861
|
+
"""
|
|
2862
|
+
return pulumi.get(self, "last_uploaded_date")
|
|
2863
|
+
|
|
2864
|
+
@property
|
|
2865
|
+
@pulumi.getter(name="licenseType")
|
|
2866
|
+
def license_type(self) -> Optional[str]:
|
|
2867
|
+
"""
|
|
2868
|
+
The license type to apply for this managed instance.
|
|
2869
|
+
"""
|
|
2870
|
+
return pulumi.get(self, "license_type")
|
|
2871
|
+
|
|
2872
|
+
@property
|
|
2873
|
+
@pulumi.getter(name="startTime")
|
|
2874
|
+
def start_time(self) -> Optional[str]:
|
|
2875
|
+
"""
|
|
2876
|
+
The instance start time
|
|
2877
|
+
"""
|
|
2878
|
+
return pulumi.get(self, "start_time")
|
|
2879
|
+
|
|
2880
|
+
|
|
2881
|
+
@pulumi.output_type
|
|
2882
|
+
class SqlManagedInstanceSkuResponse(dict):
|
|
2883
|
+
"""
|
|
2884
|
+
The resource model definition representing SKU for Azure Managed Instance - Azure Arc
|
|
2885
|
+
"""
|
|
2886
|
+
def __init__(__self__, *,
|
|
2887
|
+
name: str,
|
|
2888
|
+
capacity: Optional[int] = None,
|
|
2889
|
+
dev: Optional[bool] = None,
|
|
2890
|
+
family: Optional[str] = None,
|
|
2891
|
+
size: Optional[str] = None,
|
|
2892
|
+
tier: Optional[str] = None):
|
|
2893
|
+
"""
|
|
2894
|
+
The resource model definition representing SKU for Azure Managed Instance - Azure Arc
|
|
2895
|
+
:param str name: The name of the SKU.
|
|
2896
|
+
:param int capacity: The SKU capacity
|
|
2897
|
+
:param bool dev: Whether dev/test is enabled. When the dev field is set to true, the resource is used for dev/test purpose.
|
|
2898
|
+
:param str family: The SKU family
|
|
2899
|
+
:param str size: The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
|
|
2900
|
+
:param str tier: The pricing tier for the instance.
|
|
2901
|
+
"""
|
|
2902
|
+
pulumi.set(__self__, "name", name)
|
|
2903
|
+
if capacity is not None:
|
|
2904
|
+
pulumi.set(__self__, "capacity", capacity)
|
|
2905
|
+
if dev is None:
|
|
2906
|
+
dev = True
|
|
2907
|
+
if dev is not None:
|
|
2908
|
+
pulumi.set(__self__, "dev", dev)
|
|
2909
|
+
if family is not None:
|
|
2910
|
+
pulumi.set(__self__, "family", family)
|
|
2911
|
+
if size is not None:
|
|
2912
|
+
pulumi.set(__self__, "size", size)
|
|
2913
|
+
if tier is None:
|
|
2914
|
+
tier = 'GeneralPurpose'
|
|
2915
|
+
if tier is not None:
|
|
2916
|
+
pulumi.set(__self__, "tier", tier)
|
|
2917
|
+
|
|
2918
|
+
@property
|
|
2919
|
+
@pulumi.getter
|
|
2920
|
+
def name(self) -> str:
|
|
2921
|
+
"""
|
|
2922
|
+
The name of the SKU.
|
|
2923
|
+
"""
|
|
2924
|
+
return pulumi.get(self, "name")
|
|
2925
|
+
|
|
2926
|
+
@property
|
|
2927
|
+
@pulumi.getter
|
|
2928
|
+
def capacity(self) -> Optional[int]:
|
|
2929
|
+
"""
|
|
2930
|
+
The SKU capacity
|
|
2931
|
+
"""
|
|
2932
|
+
return pulumi.get(self, "capacity")
|
|
2933
|
+
|
|
2934
|
+
@property
|
|
2935
|
+
@pulumi.getter
|
|
2936
|
+
def dev(self) -> Optional[bool]:
|
|
2937
|
+
"""
|
|
2938
|
+
Whether dev/test is enabled. When the dev field is set to true, the resource is used for dev/test purpose.
|
|
2939
|
+
"""
|
|
2940
|
+
return pulumi.get(self, "dev")
|
|
2941
|
+
|
|
2942
|
+
@property
|
|
2943
|
+
@pulumi.getter
|
|
2944
|
+
def family(self) -> Optional[str]:
|
|
2945
|
+
"""
|
|
2946
|
+
The SKU family
|
|
2947
|
+
"""
|
|
2948
|
+
return pulumi.get(self, "family")
|
|
2949
|
+
|
|
2950
|
+
@property
|
|
2951
|
+
@pulumi.getter
|
|
2952
|
+
def size(self) -> Optional[str]:
|
|
2953
|
+
"""
|
|
2954
|
+
The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
|
|
2955
|
+
"""
|
|
2956
|
+
return pulumi.get(self, "size")
|
|
2957
|
+
|
|
2958
|
+
@property
|
|
2959
|
+
@pulumi.getter
|
|
2960
|
+
def tier(self) -> Optional[str]:
|
|
2961
|
+
"""
|
|
2962
|
+
The pricing tier for the instance.
|
|
2963
|
+
"""
|
|
2964
|
+
return pulumi.get(self, "tier")
|
|
2965
|
+
|
|
2966
|
+
|
|
2967
|
+
@pulumi.output_type
|
|
2968
|
+
class SqlServerAvailabilityGroupResourcePropertiesResponse(dict):
|
|
2969
|
+
"""
|
|
2970
|
+
The properties of Arc Sql Server availability group resource
|
|
2971
|
+
"""
|
|
2972
|
+
@staticmethod
|
|
2973
|
+
def __key_warning(key: str):
|
|
2974
|
+
suggest = None
|
|
2975
|
+
if key == "availabilityGroupId":
|
|
2976
|
+
suggest = "availability_group_id"
|
|
2977
|
+
elif key == "collectionTimestamp":
|
|
2978
|
+
suggest = "collection_timestamp"
|
|
2979
|
+
elif key == "instanceName":
|
|
2980
|
+
suggest = "instance_name"
|
|
2981
|
+
elif key == "provisioningState":
|
|
2982
|
+
suggest = "provisioning_state"
|
|
2983
|
+
elif key == "serverName":
|
|
2984
|
+
suggest = "server_name"
|
|
2985
|
+
|
|
2986
|
+
if suggest:
|
|
2987
|
+
pulumi.log.warn(f"Key '{key}' not found in SqlServerAvailabilityGroupResourcePropertiesResponse. Access the value via the '{suggest}' property getter instead.")
|
|
2988
|
+
|
|
2989
|
+
def __getitem__(self, key: str) -> Any:
|
|
2990
|
+
SqlServerAvailabilityGroupResourcePropertiesResponse.__key_warning(key)
|
|
2991
|
+
return super().__getitem__(key)
|
|
2992
|
+
|
|
2993
|
+
def get(self, key: str, default = None) -> Any:
|
|
2994
|
+
SqlServerAvailabilityGroupResourcePropertiesResponse.__key_warning(key)
|
|
2995
|
+
return super().get(key, default)
|
|
2996
|
+
|
|
2997
|
+
def __init__(__self__, *,
|
|
2998
|
+
availability_group_id: str,
|
|
2999
|
+
collection_timestamp: str,
|
|
3000
|
+
instance_name: str,
|
|
3001
|
+
provisioning_state: str,
|
|
3002
|
+
server_name: str,
|
|
3003
|
+
databases: Optional['outputs.SqlServerAvailabilityGroupResourcePropertiesResponseDatabases'] = None,
|
|
3004
|
+
info: Optional['outputs.AvailabilityGroupInfoResponse'] = None,
|
|
3005
|
+
replicas: Optional['outputs.SqlServerAvailabilityGroupResourcePropertiesResponseReplicas'] = None):
|
|
3006
|
+
"""
|
|
3007
|
+
The properties of Arc Sql Server availability group resource
|
|
3008
|
+
:param str availability_group_id: ID GUID of the availability group.
|
|
3009
|
+
:param str collection_timestamp: Timestamp for when the data was collected from the client machine.
|
|
3010
|
+
:param str instance_name: the SQL Server Instance name.
|
|
3011
|
+
:param str provisioning_state: The provisioning state of the Arc-enabled SQL Server availability group resource.
|
|
3012
|
+
:param str server_name: the SQL server name.
|
|
3013
|
+
:param 'SqlServerAvailabilityGroupResourcePropertiesResponseDatabases' databases: A list of Availability Group Database Replicas.
|
|
3014
|
+
:param 'AvailabilityGroupInfoResponse' info: Availability Group Info
|
|
3015
|
+
:param 'SqlServerAvailabilityGroupResourcePropertiesResponseReplicas' replicas: A list of Availability Group Replicas.
|
|
3016
|
+
"""
|
|
3017
|
+
pulumi.set(__self__, "availability_group_id", availability_group_id)
|
|
3018
|
+
pulumi.set(__self__, "collection_timestamp", collection_timestamp)
|
|
3019
|
+
pulumi.set(__self__, "instance_name", instance_name)
|
|
3020
|
+
pulumi.set(__self__, "provisioning_state", provisioning_state)
|
|
3021
|
+
pulumi.set(__self__, "server_name", server_name)
|
|
3022
|
+
if databases is not None:
|
|
3023
|
+
pulumi.set(__self__, "databases", databases)
|
|
3024
|
+
if info is not None:
|
|
3025
|
+
pulumi.set(__self__, "info", info)
|
|
3026
|
+
if replicas is not None:
|
|
3027
|
+
pulumi.set(__self__, "replicas", replicas)
|
|
3028
|
+
|
|
3029
|
+
@property
|
|
3030
|
+
@pulumi.getter(name="availabilityGroupId")
|
|
3031
|
+
def availability_group_id(self) -> str:
|
|
3032
|
+
"""
|
|
3033
|
+
ID GUID of the availability group.
|
|
3034
|
+
"""
|
|
3035
|
+
return pulumi.get(self, "availability_group_id")
|
|
3036
|
+
|
|
3037
|
+
@property
|
|
3038
|
+
@pulumi.getter(name="collectionTimestamp")
|
|
3039
|
+
def collection_timestamp(self) -> str:
|
|
3040
|
+
"""
|
|
3041
|
+
Timestamp for when the data was collected from the client machine.
|
|
3042
|
+
"""
|
|
3043
|
+
return pulumi.get(self, "collection_timestamp")
|
|
3044
|
+
|
|
3045
|
+
@property
|
|
3046
|
+
@pulumi.getter(name="instanceName")
|
|
3047
|
+
def instance_name(self) -> str:
|
|
3048
|
+
"""
|
|
3049
|
+
the SQL Server Instance name.
|
|
3050
|
+
"""
|
|
3051
|
+
return pulumi.get(self, "instance_name")
|
|
3052
|
+
|
|
3053
|
+
@property
|
|
3054
|
+
@pulumi.getter(name="provisioningState")
|
|
3055
|
+
def provisioning_state(self) -> str:
|
|
3056
|
+
"""
|
|
3057
|
+
The provisioning state of the Arc-enabled SQL Server availability group resource.
|
|
3058
|
+
"""
|
|
3059
|
+
return pulumi.get(self, "provisioning_state")
|
|
3060
|
+
|
|
3061
|
+
@property
|
|
3062
|
+
@pulumi.getter(name="serverName")
|
|
3063
|
+
def server_name(self) -> str:
|
|
3064
|
+
"""
|
|
3065
|
+
the SQL server name.
|
|
3066
|
+
"""
|
|
3067
|
+
return pulumi.get(self, "server_name")
|
|
3068
|
+
|
|
3069
|
+
@property
|
|
3070
|
+
@pulumi.getter
|
|
3071
|
+
def databases(self) -> Optional['outputs.SqlServerAvailabilityGroupResourcePropertiesResponseDatabases']:
|
|
3072
|
+
"""
|
|
3073
|
+
A list of Availability Group Database Replicas.
|
|
3074
|
+
"""
|
|
3075
|
+
return pulumi.get(self, "databases")
|
|
3076
|
+
|
|
3077
|
+
@property
|
|
3078
|
+
@pulumi.getter
|
|
3079
|
+
def info(self) -> Optional['outputs.AvailabilityGroupInfoResponse']:
|
|
3080
|
+
"""
|
|
3081
|
+
Availability Group Info
|
|
3082
|
+
"""
|
|
3083
|
+
return pulumi.get(self, "info")
|
|
3084
|
+
|
|
3085
|
+
@property
|
|
3086
|
+
@pulumi.getter
|
|
3087
|
+
def replicas(self) -> Optional['outputs.SqlServerAvailabilityGroupResourcePropertiesResponseReplicas']:
|
|
3088
|
+
"""
|
|
3089
|
+
A list of Availability Group Replicas.
|
|
3090
|
+
"""
|
|
3091
|
+
return pulumi.get(self, "replicas")
|
|
3092
|
+
|
|
3093
|
+
|
|
3094
|
+
@pulumi.output_type
|
|
3095
|
+
class SqlServerAvailabilityGroupResourcePropertiesResponseDatabases(dict):
|
|
3096
|
+
"""
|
|
3097
|
+
A list of Availability Group Database Replicas.
|
|
3098
|
+
"""
|
|
3099
|
+
@staticmethod
|
|
3100
|
+
def __key_warning(key: str):
|
|
3101
|
+
suggest = None
|
|
3102
|
+
if key == "nextLink":
|
|
3103
|
+
suggest = "next_link"
|
|
3104
|
+
|
|
3105
|
+
if suggest:
|
|
3106
|
+
pulumi.log.warn(f"Key '{key}' not found in SqlServerAvailabilityGroupResourcePropertiesResponseDatabases. Access the value via the '{suggest}' property getter instead.")
|
|
3107
|
+
|
|
3108
|
+
def __getitem__(self, key: str) -> Any:
|
|
3109
|
+
SqlServerAvailabilityGroupResourcePropertiesResponseDatabases.__key_warning(key)
|
|
3110
|
+
return super().__getitem__(key)
|
|
3111
|
+
|
|
3112
|
+
def get(self, key: str, default = None) -> Any:
|
|
3113
|
+
SqlServerAvailabilityGroupResourcePropertiesResponseDatabases.__key_warning(key)
|
|
3114
|
+
return super().get(key, default)
|
|
3115
|
+
|
|
3116
|
+
def __init__(__self__, *,
|
|
3117
|
+
next_link: str,
|
|
3118
|
+
value: Optional[Sequence['outputs.SqlAvailabilityGroupDatabaseReplicaResourcePropertiesResponse']] = None):
|
|
3119
|
+
"""
|
|
3120
|
+
A list of Availability Group Database Replicas.
|
|
3121
|
+
:param str next_link: Link to retrieve next page of results.
|
|
3122
|
+
:param Sequence['SqlAvailabilityGroupDatabaseReplicaResourcePropertiesResponse'] value: Array of Availability Group Database Replicas.
|
|
3123
|
+
"""
|
|
3124
|
+
pulumi.set(__self__, "next_link", next_link)
|
|
3125
|
+
if value is not None:
|
|
3126
|
+
pulumi.set(__self__, "value", value)
|
|
3127
|
+
|
|
3128
|
+
@property
|
|
3129
|
+
@pulumi.getter(name="nextLink")
|
|
3130
|
+
def next_link(self) -> str:
|
|
3131
|
+
"""
|
|
3132
|
+
Link to retrieve next page of results.
|
|
3133
|
+
"""
|
|
3134
|
+
return pulumi.get(self, "next_link")
|
|
3135
|
+
|
|
3136
|
+
@property
|
|
3137
|
+
@pulumi.getter
|
|
3138
|
+
def value(self) -> Optional[Sequence['outputs.SqlAvailabilityGroupDatabaseReplicaResourcePropertiesResponse']]:
|
|
3139
|
+
"""
|
|
3140
|
+
Array of Availability Group Database Replicas.
|
|
3141
|
+
"""
|
|
3142
|
+
return pulumi.get(self, "value")
|
|
3143
|
+
|
|
3144
|
+
|
|
3145
|
+
@pulumi.output_type
|
|
3146
|
+
class SqlServerAvailabilityGroupResourcePropertiesResponseReplicas(dict):
|
|
3147
|
+
"""
|
|
3148
|
+
A list of Availability Group Replicas.
|
|
3149
|
+
"""
|
|
3150
|
+
@staticmethod
|
|
3151
|
+
def __key_warning(key: str):
|
|
3152
|
+
suggest = None
|
|
3153
|
+
if key == "nextLink":
|
|
3154
|
+
suggest = "next_link"
|
|
3155
|
+
|
|
3156
|
+
if suggest:
|
|
3157
|
+
pulumi.log.warn(f"Key '{key}' not found in SqlServerAvailabilityGroupResourcePropertiesResponseReplicas. Access the value via the '{suggest}' property getter instead.")
|
|
3158
|
+
|
|
3159
|
+
def __getitem__(self, key: str) -> Any:
|
|
3160
|
+
SqlServerAvailabilityGroupResourcePropertiesResponseReplicas.__key_warning(key)
|
|
3161
|
+
return super().__getitem__(key)
|
|
3162
|
+
|
|
3163
|
+
def get(self, key: str, default = None) -> Any:
|
|
3164
|
+
SqlServerAvailabilityGroupResourcePropertiesResponseReplicas.__key_warning(key)
|
|
3165
|
+
return super().get(key, default)
|
|
3166
|
+
|
|
3167
|
+
def __init__(__self__, *,
|
|
3168
|
+
next_link: str,
|
|
3169
|
+
value: Optional[Sequence['outputs.SqlAvailabilityGroupReplicaResourcePropertiesResponse']] = None):
|
|
3170
|
+
"""
|
|
3171
|
+
A list of Availability Group Replicas.
|
|
3172
|
+
:param str next_link: Link to retrieve next page of results.
|
|
3173
|
+
:param Sequence['SqlAvailabilityGroupReplicaResourcePropertiesResponse'] value: Array of Availability Group Replicas.
|
|
3174
|
+
"""
|
|
3175
|
+
pulumi.set(__self__, "next_link", next_link)
|
|
3176
|
+
if value is not None:
|
|
3177
|
+
pulumi.set(__self__, "value", value)
|
|
3178
|
+
|
|
3179
|
+
@property
|
|
3180
|
+
@pulumi.getter(name="nextLink")
|
|
3181
|
+
def next_link(self) -> str:
|
|
3182
|
+
"""
|
|
3183
|
+
Link to retrieve next page of results.
|
|
3184
|
+
"""
|
|
3185
|
+
return pulumi.get(self, "next_link")
|
|
3186
|
+
|
|
3187
|
+
@property
|
|
3188
|
+
@pulumi.getter
|
|
3189
|
+
def value(self) -> Optional[Sequence['outputs.SqlAvailabilityGroupReplicaResourcePropertiesResponse']]:
|
|
3190
|
+
"""
|
|
3191
|
+
Array of Availability Group Replicas.
|
|
3192
|
+
"""
|
|
3193
|
+
return pulumi.get(self, "value")
|
|
3194
|
+
|
|
3195
|
+
|
|
3196
|
+
@pulumi.output_type
|
|
3197
|
+
class SqlServerDatabaseResourcePropertiesResponse(dict):
|
|
3198
|
+
"""
|
|
3199
|
+
The properties of Arc Sql Server database resource
|
|
3200
|
+
"""
|
|
3201
|
+
@staticmethod
|
|
3202
|
+
def __key_warning(key: str):
|
|
3203
|
+
suggest = None
|
|
3204
|
+
if key == "earliestRestoreDate":
|
|
3205
|
+
suggest = "earliest_restore_date"
|
|
3206
|
+
elif key == "lastDatabaseUploadTime":
|
|
3207
|
+
suggest = "last_database_upload_time"
|
|
3208
|
+
elif key == "provisioningState":
|
|
3209
|
+
suggest = "provisioning_state"
|
|
3210
|
+
elif key == "backupInformation":
|
|
3211
|
+
suggest = "backup_information"
|
|
3212
|
+
elif key == "backupPolicy":
|
|
3213
|
+
suggest = "backup_policy"
|
|
3214
|
+
elif key == "collationName":
|
|
3215
|
+
suggest = "collation_name"
|
|
3216
|
+
elif key == "compatibilityLevel":
|
|
3217
|
+
suggest = "compatibility_level"
|
|
3218
|
+
elif key == "createMode":
|
|
3219
|
+
suggest = "create_mode"
|
|
3220
|
+
elif key == "databaseCreationDate":
|
|
3221
|
+
suggest = "database_creation_date"
|
|
3222
|
+
elif key == "databaseOptions":
|
|
3223
|
+
suggest = "database_options"
|
|
3224
|
+
elif key == "isReadOnly":
|
|
3225
|
+
suggest = "is_read_only"
|
|
3226
|
+
elif key == "recoveryMode":
|
|
3227
|
+
suggest = "recovery_mode"
|
|
3228
|
+
elif key == "restorePointInTime":
|
|
3229
|
+
suggest = "restore_point_in_time"
|
|
3230
|
+
elif key == "sizeMB":
|
|
3231
|
+
suggest = "size_mb"
|
|
3232
|
+
elif key == "sourceDatabaseId":
|
|
3233
|
+
suggest = "source_database_id"
|
|
3234
|
+
elif key == "spaceAvailableMB":
|
|
3235
|
+
suggest = "space_available_mb"
|
|
3236
|
+
|
|
3237
|
+
if suggest:
|
|
3238
|
+
pulumi.log.warn(f"Key '{key}' not found in SqlServerDatabaseResourcePropertiesResponse. Access the value via the '{suggest}' property getter instead.")
|
|
3239
|
+
|
|
3240
|
+
def __getitem__(self, key: str) -> Any:
|
|
3241
|
+
SqlServerDatabaseResourcePropertiesResponse.__key_warning(key)
|
|
3242
|
+
return super().__getitem__(key)
|
|
3243
|
+
|
|
3244
|
+
def get(self, key: str, default = None) -> Any:
|
|
3245
|
+
SqlServerDatabaseResourcePropertiesResponse.__key_warning(key)
|
|
3246
|
+
return super().get(key, default)
|
|
3247
|
+
|
|
3248
|
+
def __init__(__self__, *,
|
|
3249
|
+
earliest_restore_date: str,
|
|
3250
|
+
last_database_upload_time: str,
|
|
3251
|
+
provisioning_state: str,
|
|
3252
|
+
backup_information: Optional['outputs.SqlServerDatabaseResourcePropertiesResponseBackupInformation'] = None,
|
|
3253
|
+
backup_policy: Optional['outputs.BackupPolicyResponse'] = None,
|
|
3254
|
+
collation_name: Optional[str] = None,
|
|
3255
|
+
compatibility_level: Optional[int] = None,
|
|
3256
|
+
create_mode: Optional[str] = None,
|
|
3257
|
+
database_creation_date: Optional[str] = None,
|
|
3258
|
+
database_options: Optional['outputs.SqlServerDatabaseResourcePropertiesResponseDatabaseOptions'] = None,
|
|
3259
|
+
is_read_only: Optional[bool] = None,
|
|
3260
|
+
recovery_mode: Optional[str] = None,
|
|
3261
|
+
restore_point_in_time: Optional[str] = None,
|
|
3262
|
+
size_mb: Optional[float] = None,
|
|
3263
|
+
source_database_id: Optional[str] = None,
|
|
3264
|
+
space_available_mb: Optional[float] = None,
|
|
3265
|
+
state: Optional[str] = None):
|
|
3266
|
+
"""
|
|
3267
|
+
The properties of Arc Sql Server database resource
|
|
3268
|
+
:param str earliest_restore_date: This records the earliest start date and time that restore is available for this database (ISO8601 format).
|
|
3269
|
+
:param str last_database_upload_time: The time when last successful database upload was performed.
|
|
3270
|
+
:param str provisioning_state: The provisioning state of the Arc-enabled SQL Server database resource.
|
|
3271
|
+
:param 'BackupPolicyResponse' backup_policy: The backup profile for the SQL server.
|
|
3272
|
+
:param str collation_name: Collation of the database.
|
|
3273
|
+
:param int compatibility_level: Compatibility level of the database
|
|
3274
|
+
:param str create_mode: Database create mode. PointInTimeRestore: Create a database by restoring a point in time backup of an existing database. sourceDatabaseId and restorePointInTime must be specified.
|
|
3275
|
+
:param str database_creation_date: Creation date of the database.
|
|
3276
|
+
:param 'SqlServerDatabaseResourcePropertiesResponseDatabaseOptions' database_options: List of features that are enabled for the database
|
|
3277
|
+
:param bool is_read_only: Whether the database is read only or not.
|
|
3278
|
+
:param str recovery_mode: Status of the database.
|
|
3279
|
+
:param str restore_point_in_time: Conditional. If createMode is PointInTimeRestore, this value is required. Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database.
|
|
3280
|
+
:param float size_mb: Size of the database.
|
|
3281
|
+
:param str source_database_id: The resource identifier of the source database associated with create operation of this database.
|
|
3282
|
+
:param float space_available_mb: Space left of the database.
|
|
3283
|
+
:param str state: State of the database.
|
|
3284
|
+
"""
|
|
3285
|
+
pulumi.set(__self__, "earliest_restore_date", earliest_restore_date)
|
|
3286
|
+
pulumi.set(__self__, "last_database_upload_time", last_database_upload_time)
|
|
3287
|
+
pulumi.set(__self__, "provisioning_state", provisioning_state)
|
|
3288
|
+
if backup_information is not None:
|
|
3289
|
+
pulumi.set(__self__, "backup_information", backup_information)
|
|
3290
|
+
if backup_policy is not None:
|
|
3291
|
+
pulumi.set(__self__, "backup_policy", backup_policy)
|
|
3292
|
+
if collation_name is not None:
|
|
3293
|
+
pulumi.set(__self__, "collation_name", collation_name)
|
|
3294
|
+
if compatibility_level is not None:
|
|
3295
|
+
pulumi.set(__self__, "compatibility_level", compatibility_level)
|
|
3296
|
+
if create_mode is not None:
|
|
3297
|
+
pulumi.set(__self__, "create_mode", create_mode)
|
|
3298
|
+
if database_creation_date is not None:
|
|
3299
|
+
pulumi.set(__self__, "database_creation_date", database_creation_date)
|
|
3300
|
+
if database_options is not None:
|
|
3301
|
+
pulumi.set(__self__, "database_options", database_options)
|
|
3302
|
+
if is_read_only is not None:
|
|
3303
|
+
pulumi.set(__self__, "is_read_only", is_read_only)
|
|
3304
|
+
if recovery_mode is not None:
|
|
3305
|
+
pulumi.set(__self__, "recovery_mode", recovery_mode)
|
|
3306
|
+
if restore_point_in_time is not None:
|
|
3307
|
+
pulumi.set(__self__, "restore_point_in_time", restore_point_in_time)
|
|
3308
|
+
if size_mb is not None:
|
|
3309
|
+
pulumi.set(__self__, "size_mb", size_mb)
|
|
3310
|
+
if source_database_id is not None:
|
|
3311
|
+
pulumi.set(__self__, "source_database_id", source_database_id)
|
|
3312
|
+
if space_available_mb is not None:
|
|
3313
|
+
pulumi.set(__self__, "space_available_mb", space_available_mb)
|
|
3314
|
+
if state is not None:
|
|
3315
|
+
pulumi.set(__self__, "state", state)
|
|
3316
|
+
|
|
3317
|
+
@property
|
|
3318
|
+
@pulumi.getter(name="earliestRestoreDate")
|
|
3319
|
+
def earliest_restore_date(self) -> str:
|
|
3320
|
+
"""
|
|
3321
|
+
This records the earliest start date and time that restore is available for this database (ISO8601 format).
|
|
3322
|
+
"""
|
|
3323
|
+
return pulumi.get(self, "earliest_restore_date")
|
|
3324
|
+
|
|
3325
|
+
@property
|
|
3326
|
+
@pulumi.getter(name="lastDatabaseUploadTime")
|
|
3327
|
+
def last_database_upload_time(self) -> str:
|
|
3328
|
+
"""
|
|
3329
|
+
The time when last successful database upload was performed.
|
|
3330
|
+
"""
|
|
3331
|
+
return pulumi.get(self, "last_database_upload_time")
|
|
3332
|
+
|
|
3333
|
+
@property
|
|
3334
|
+
@pulumi.getter(name="provisioningState")
|
|
3335
|
+
def provisioning_state(self) -> str:
|
|
3336
|
+
"""
|
|
3337
|
+
The provisioning state of the Arc-enabled SQL Server database resource.
|
|
3338
|
+
"""
|
|
3339
|
+
return pulumi.get(self, "provisioning_state")
|
|
3340
|
+
|
|
3341
|
+
@property
|
|
3342
|
+
@pulumi.getter(name="backupInformation")
|
|
3343
|
+
def backup_information(self) -> Optional['outputs.SqlServerDatabaseResourcePropertiesResponseBackupInformation']:
|
|
3344
|
+
return pulumi.get(self, "backup_information")
|
|
3345
|
+
|
|
3346
|
+
@property
|
|
3347
|
+
@pulumi.getter(name="backupPolicy")
|
|
3348
|
+
def backup_policy(self) -> Optional['outputs.BackupPolicyResponse']:
|
|
3349
|
+
"""
|
|
3350
|
+
The backup profile for the SQL server.
|
|
3351
|
+
"""
|
|
3352
|
+
return pulumi.get(self, "backup_policy")
|
|
3353
|
+
|
|
3354
|
+
@property
|
|
3355
|
+
@pulumi.getter(name="collationName")
|
|
3356
|
+
def collation_name(self) -> Optional[str]:
|
|
3357
|
+
"""
|
|
3358
|
+
Collation of the database.
|
|
3359
|
+
"""
|
|
3360
|
+
return pulumi.get(self, "collation_name")
|
|
3361
|
+
|
|
3362
|
+
@property
|
|
3363
|
+
@pulumi.getter(name="compatibilityLevel")
|
|
3364
|
+
def compatibility_level(self) -> Optional[int]:
|
|
3365
|
+
"""
|
|
3366
|
+
Compatibility level of the database
|
|
3367
|
+
"""
|
|
3368
|
+
return pulumi.get(self, "compatibility_level")
|
|
3369
|
+
|
|
3370
|
+
@property
|
|
3371
|
+
@pulumi.getter(name="createMode")
|
|
3372
|
+
def create_mode(self) -> Optional[str]:
|
|
3373
|
+
"""
|
|
3374
|
+
Database create mode. PointInTimeRestore: Create a database by restoring a point in time backup of an existing database. sourceDatabaseId and restorePointInTime must be specified.
|
|
3375
|
+
"""
|
|
3376
|
+
return pulumi.get(self, "create_mode")
|
|
3377
|
+
|
|
3378
|
+
@property
|
|
3379
|
+
@pulumi.getter(name="databaseCreationDate")
|
|
3380
|
+
def database_creation_date(self) -> Optional[str]:
|
|
3381
|
+
"""
|
|
3382
|
+
Creation date of the database.
|
|
3383
|
+
"""
|
|
3384
|
+
return pulumi.get(self, "database_creation_date")
|
|
3385
|
+
|
|
3386
|
+
@property
|
|
3387
|
+
@pulumi.getter(name="databaseOptions")
|
|
3388
|
+
def database_options(self) -> Optional['outputs.SqlServerDatabaseResourcePropertiesResponseDatabaseOptions']:
|
|
3389
|
+
"""
|
|
3390
|
+
List of features that are enabled for the database
|
|
3391
|
+
"""
|
|
3392
|
+
return pulumi.get(self, "database_options")
|
|
3393
|
+
|
|
3394
|
+
@property
|
|
3395
|
+
@pulumi.getter(name="isReadOnly")
|
|
3396
|
+
def is_read_only(self) -> Optional[bool]:
|
|
3397
|
+
"""
|
|
3398
|
+
Whether the database is read only or not.
|
|
3399
|
+
"""
|
|
3400
|
+
return pulumi.get(self, "is_read_only")
|
|
3401
|
+
|
|
3402
|
+
@property
|
|
3403
|
+
@pulumi.getter(name="recoveryMode")
|
|
3404
|
+
def recovery_mode(self) -> Optional[str]:
|
|
3405
|
+
"""
|
|
3406
|
+
Status of the database.
|
|
3407
|
+
"""
|
|
3408
|
+
return pulumi.get(self, "recovery_mode")
|
|
3409
|
+
|
|
3410
|
+
@property
|
|
3411
|
+
@pulumi.getter(name="restorePointInTime")
|
|
3412
|
+
def restore_point_in_time(self) -> Optional[str]:
|
|
3413
|
+
"""
|
|
3414
|
+
Conditional. If createMode is PointInTimeRestore, this value is required. Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database.
|
|
3415
|
+
"""
|
|
3416
|
+
return pulumi.get(self, "restore_point_in_time")
|
|
3417
|
+
|
|
3418
|
+
@property
|
|
3419
|
+
@pulumi.getter(name="sizeMB")
|
|
3420
|
+
def size_mb(self) -> Optional[float]:
|
|
3421
|
+
"""
|
|
3422
|
+
Size of the database.
|
|
3423
|
+
"""
|
|
3424
|
+
return pulumi.get(self, "size_mb")
|
|
3425
|
+
|
|
3426
|
+
@property
|
|
3427
|
+
@pulumi.getter(name="sourceDatabaseId")
|
|
3428
|
+
def source_database_id(self) -> Optional[str]:
|
|
3429
|
+
"""
|
|
3430
|
+
The resource identifier of the source database associated with create operation of this database.
|
|
3431
|
+
"""
|
|
3432
|
+
return pulumi.get(self, "source_database_id")
|
|
3433
|
+
|
|
3434
|
+
@property
|
|
3435
|
+
@pulumi.getter(name="spaceAvailableMB")
|
|
3436
|
+
def space_available_mb(self) -> Optional[float]:
|
|
3437
|
+
"""
|
|
3438
|
+
Space left of the database.
|
|
3439
|
+
"""
|
|
3440
|
+
return pulumi.get(self, "space_available_mb")
|
|
3441
|
+
|
|
3442
|
+
@property
|
|
3443
|
+
@pulumi.getter
|
|
3444
|
+
def state(self) -> Optional[str]:
|
|
3445
|
+
"""
|
|
3446
|
+
State of the database.
|
|
3447
|
+
"""
|
|
3448
|
+
return pulumi.get(self, "state")
|
|
3449
|
+
|
|
3450
|
+
|
|
3451
|
+
@pulumi.output_type
|
|
3452
|
+
class SqlServerDatabaseResourcePropertiesResponseBackupInformation(dict):
|
|
3453
|
+
@staticmethod
|
|
3454
|
+
def __key_warning(key: str):
|
|
3455
|
+
suggest = None
|
|
3456
|
+
if key == "lastFullBackup":
|
|
3457
|
+
suggest = "last_full_backup"
|
|
3458
|
+
elif key == "lastLogBackup":
|
|
3459
|
+
suggest = "last_log_backup"
|
|
3460
|
+
|
|
3461
|
+
if suggest:
|
|
3462
|
+
pulumi.log.warn(f"Key '{key}' not found in SqlServerDatabaseResourcePropertiesResponseBackupInformation. Access the value via the '{suggest}' property getter instead.")
|
|
3463
|
+
|
|
3464
|
+
def __getitem__(self, key: str) -> Any:
|
|
3465
|
+
SqlServerDatabaseResourcePropertiesResponseBackupInformation.__key_warning(key)
|
|
3466
|
+
return super().__getitem__(key)
|
|
3467
|
+
|
|
3468
|
+
def get(self, key: str, default = None) -> Any:
|
|
3469
|
+
SqlServerDatabaseResourcePropertiesResponseBackupInformation.__key_warning(key)
|
|
3470
|
+
return super().get(key, default)
|
|
3471
|
+
|
|
3472
|
+
def __init__(__self__, *,
|
|
3473
|
+
last_full_backup: Optional[str] = None,
|
|
3474
|
+
last_log_backup: Optional[str] = None):
|
|
3475
|
+
"""
|
|
3476
|
+
:param str last_full_backup: Date time of last full backup.
|
|
3477
|
+
:param str last_log_backup: Date time of last log backup.
|
|
3478
|
+
"""
|
|
3479
|
+
if last_full_backup is not None:
|
|
3480
|
+
pulumi.set(__self__, "last_full_backup", last_full_backup)
|
|
3481
|
+
if last_log_backup is not None:
|
|
3482
|
+
pulumi.set(__self__, "last_log_backup", last_log_backup)
|
|
3483
|
+
|
|
3484
|
+
@property
|
|
3485
|
+
@pulumi.getter(name="lastFullBackup")
|
|
3486
|
+
def last_full_backup(self) -> Optional[str]:
|
|
3487
|
+
"""
|
|
3488
|
+
Date time of last full backup.
|
|
3489
|
+
"""
|
|
3490
|
+
return pulumi.get(self, "last_full_backup")
|
|
3491
|
+
|
|
3492
|
+
@property
|
|
3493
|
+
@pulumi.getter(name="lastLogBackup")
|
|
3494
|
+
def last_log_backup(self) -> Optional[str]:
|
|
3495
|
+
"""
|
|
3496
|
+
Date time of last log backup.
|
|
3497
|
+
"""
|
|
3498
|
+
return pulumi.get(self, "last_log_backup")
|
|
3499
|
+
|
|
3500
|
+
|
|
3501
|
+
@pulumi.output_type
|
|
3502
|
+
class SqlServerDatabaseResourcePropertiesResponseDatabaseOptions(dict):
|
|
3503
|
+
"""
|
|
3504
|
+
List of features that are enabled for the database
|
|
3505
|
+
"""
|
|
3506
|
+
@staticmethod
|
|
3507
|
+
def __key_warning(key: str):
|
|
3508
|
+
suggest = None
|
|
3509
|
+
if key == "isAutoCloseOn":
|
|
3510
|
+
suggest = "is_auto_close_on"
|
|
3511
|
+
elif key == "isAutoCreateStatsOn":
|
|
3512
|
+
suggest = "is_auto_create_stats_on"
|
|
3513
|
+
elif key == "isAutoShrinkOn":
|
|
3514
|
+
suggest = "is_auto_shrink_on"
|
|
3515
|
+
elif key == "isAutoUpdateStatsOn":
|
|
3516
|
+
suggest = "is_auto_update_stats_on"
|
|
3517
|
+
elif key == "isEncrypted":
|
|
3518
|
+
suggest = "is_encrypted"
|
|
3519
|
+
elif key == "isMemoryOptimizationEnabled":
|
|
3520
|
+
suggest = "is_memory_optimization_enabled"
|
|
3521
|
+
elif key == "isRemoteDataArchiveEnabled":
|
|
3522
|
+
suggest = "is_remote_data_archive_enabled"
|
|
3523
|
+
elif key == "isTrustworthyOn":
|
|
3524
|
+
suggest = "is_trustworthy_on"
|
|
3525
|
+
|
|
3526
|
+
if suggest:
|
|
3527
|
+
pulumi.log.warn(f"Key '{key}' not found in SqlServerDatabaseResourcePropertiesResponseDatabaseOptions. Access the value via the '{suggest}' property getter instead.")
|
|
3528
|
+
|
|
3529
|
+
def __getitem__(self, key: str) -> Any:
|
|
3530
|
+
SqlServerDatabaseResourcePropertiesResponseDatabaseOptions.__key_warning(key)
|
|
3531
|
+
return super().__getitem__(key)
|
|
3532
|
+
|
|
3533
|
+
def get(self, key: str, default = None) -> Any:
|
|
3534
|
+
SqlServerDatabaseResourcePropertiesResponseDatabaseOptions.__key_warning(key)
|
|
3535
|
+
return super().get(key, default)
|
|
3536
|
+
|
|
3537
|
+
def __init__(__self__, *,
|
|
3538
|
+
is_auto_close_on: Optional[bool] = None,
|
|
3539
|
+
is_auto_create_stats_on: Optional[bool] = None,
|
|
3540
|
+
is_auto_shrink_on: Optional[bool] = None,
|
|
3541
|
+
is_auto_update_stats_on: Optional[bool] = None,
|
|
3542
|
+
is_encrypted: Optional[bool] = None,
|
|
3543
|
+
is_memory_optimization_enabled: Optional[bool] = None,
|
|
3544
|
+
is_remote_data_archive_enabled: Optional[bool] = None,
|
|
3545
|
+
is_trustworthy_on: Optional[bool] = None):
|
|
3546
|
+
"""
|
|
3547
|
+
List of features that are enabled for the database
|
|
3548
|
+
"""
|
|
3549
|
+
if is_auto_close_on is not None:
|
|
3550
|
+
pulumi.set(__self__, "is_auto_close_on", is_auto_close_on)
|
|
3551
|
+
if is_auto_create_stats_on is not None:
|
|
3552
|
+
pulumi.set(__self__, "is_auto_create_stats_on", is_auto_create_stats_on)
|
|
3553
|
+
if is_auto_shrink_on is not None:
|
|
3554
|
+
pulumi.set(__self__, "is_auto_shrink_on", is_auto_shrink_on)
|
|
3555
|
+
if is_auto_update_stats_on is not None:
|
|
3556
|
+
pulumi.set(__self__, "is_auto_update_stats_on", is_auto_update_stats_on)
|
|
3557
|
+
if is_encrypted is not None:
|
|
3558
|
+
pulumi.set(__self__, "is_encrypted", is_encrypted)
|
|
3559
|
+
if is_memory_optimization_enabled is not None:
|
|
3560
|
+
pulumi.set(__self__, "is_memory_optimization_enabled", is_memory_optimization_enabled)
|
|
3561
|
+
if is_remote_data_archive_enabled is not None:
|
|
3562
|
+
pulumi.set(__self__, "is_remote_data_archive_enabled", is_remote_data_archive_enabled)
|
|
3563
|
+
if is_trustworthy_on is not None:
|
|
3564
|
+
pulumi.set(__self__, "is_trustworthy_on", is_trustworthy_on)
|
|
3565
|
+
|
|
3566
|
+
@property
|
|
3567
|
+
@pulumi.getter(name="isAutoCloseOn")
|
|
3568
|
+
def is_auto_close_on(self) -> Optional[bool]:
|
|
3569
|
+
return pulumi.get(self, "is_auto_close_on")
|
|
3570
|
+
|
|
3571
|
+
@property
|
|
3572
|
+
@pulumi.getter(name="isAutoCreateStatsOn")
|
|
3573
|
+
def is_auto_create_stats_on(self) -> Optional[bool]:
|
|
3574
|
+
return pulumi.get(self, "is_auto_create_stats_on")
|
|
3575
|
+
|
|
3576
|
+
@property
|
|
3577
|
+
@pulumi.getter(name="isAutoShrinkOn")
|
|
3578
|
+
def is_auto_shrink_on(self) -> Optional[bool]:
|
|
3579
|
+
return pulumi.get(self, "is_auto_shrink_on")
|
|
3580
|
+
|
|
3581
|
+
@property
|
|
3582
|
+
@pulumi.getter(name="isAutoUpdateStatsOn")
|
|
3583
|
+
def is_auto_update_stats_on(self) -> Optional[bool]:
|
|
3584
|
+
return pulumi.get(self, "is_auto_update_stats_on")
|
|
3585
|
+
|
|
3586
|
+
@property
|
|
3587
|
+
@pulumi.getter(name="isEncrypted")
|
|
3588
|
+
def is_encrypted(self) -> Optional[bool]:
|
|
3589
|
+
return pulumi.get(self, "is_encrypted")
|
|
3590
|
+
|
|
3591
|
+
@property
|
|
3592
|
+
@pulumi.getter(name="isMemoryOptimizationEnabled")
|
|
3593
|
+
def is_memory_optimization_enabled(self) -> Optional[bool]:
|
|
3594
|
+
return pulumi.get(self, "is_memory_optimization_enabled")
|
|
3595
|
+
|
|
3596
|
+
@property
|
|
3597
|
+
@pulumi.getter(name="isRemoteDataArchiveEnabled")
|
|
3598
|
+
def is_remote_data_archive_enabled(self) -> Optional[bool]:
|
|
3599
|
+
return pulumi.get(self, "is_remote_data_archive_enabled")
|
|
3600
|
+
|
|
3601
|
+
@property
|
|
3602
|
+
@pulumi.getter(name="isTrustworthyOn")
|
|
3603
|
+
def is_trustworthy_on(self) -> Optional[bool]:
|
|
3604
|
+
return pulumi.get(self, "is_trustworthy_on")
|
|
3605
|
+
|
|
3606
|
+
|
|
3607
|
+
@pulumi.output_type
|
|
3608
|
+
class SqlServerInstancePropertiesResponse(dict):
|
|
3609
|
+
"""
|
|
3610
|
+
Properties of SqlServerInstance.
|
|
3611
|
+
"""
|
|
3612
|
+
@staticmethod
|
|
3613
|
+
def __key_warning(key: str):
|
|
3614
|
+
suggest = None
|
|
3615
|
+
if key == "alwaysOnRole":
|
|
3616
|
+
suggest = "always_on_role"
|
|
3617
|
+
elif key == "azureDefenderStatus":
|
|
3618
|
+
suggest = "azure_defender_status"
|
|
3619
|
+
elif key == "azureDefenderStatusLastUpdated":
|
|
3620
|
+
suggest = "azure_defender_status_last_updated"
|
|
3621
|
+
elif key == "containerResourceId":
|
|
3622
|
+
suggest = "container_resource_id"
|
|
3623
|
+
elif key == "createTime":
|
|
3624
|
+
suggest = "create_time"
|
|
3625
|
+
elif key == "currentVersion":
|
|
3626
|
+
suggest = "current_version"
|
|
3627
|
+
elif key == "lastInventoryUploadTime":
|
|
3628
|
+
suggest = "last_inventory_upload_time"
|
|
3629
|
+
elif key == "lastUsageUploadTime":
|
|
3630
|
+
suggest = "last_usage_upload_time"
|
|
3631
|
+
elif key == "licenseType":
|
|
3632
|
+
suggest = "license_type"
|
|
3633
|
+
elif key == "patchLevel":
|
|
3634
|
+
suggest = "patch_level"
|
|
3635
|
+
elif key == "productId":
|
|
3636
|
+
suggest = "product_id"
|
|
3637
|
+
elif key == "provisioningState":
|
|
3638
|
+
suggest = "provisioning_state"
|
|
3639
|
+
elif key == "tcpDynamicPorts":
|
|
3640
|
+
suggest = "tcp_dynamic_ports"
|
|
3641
|
+
elif key == "tcpStaticPorts":
|
|
3642
|
+
suggest = "tcp_static_ports"
|
|
3643
|
+
elif key == "vCore":
|
|
3644
|
+
suggest = "v_core"
|
|
3645
|
+
elif key == "backupPolicy":
|
|
3646
|
+
suggest = "backup_policy"
|
|
3647
|
+
elif key == "failoverCluster":
|
|
3648
|
+
suggest = "failover_cluster"
|
|
3649
|
+
elif key == "hostType":
|
|
3650
|
+
suggest = "host_type"
|
|
3651
|
+
elif key == "instanceName":
|
|
3652
|
+
suggest = "instance_name"
|
|
3653
|
+
elif key == "upgradeLockedUntil":
|
|
3654
|
+
suggest = "upgrade_locked_until"
|
|
3655
|
+
|
|
3656
|
+
if suggest:
|
|
3657
|
+
pulumi.log.warn(f"Key '{key}' not found in SqlServerInstancePropertiesResponse. Access the value via the '{suggest}' property getter instead.")
|
|
3658
|
+
|
|
3659
|
+
def __getitem__(self, key: str) -> Any:
|
|
3660
|
+
SqlServerInstancePropertiesResponse.__key_warning(key)
|
|
3661
|
+
return super().__getitem__(key)
|
|
3662
|
+
|
|
3663
|
+
def get(self, key: str, default = None) -> Any:
|
|
3664
|
+
SqlServerInstancePropertiesResponse.__key_warning(key)
|
|
3665
|
+
return super().get(key, default)
|
|
3666
|
+
|
|
3667
|
+
def __init__(__self__, *,
|
|
3668
|
+
always_on_role: str,
|
|
3669
|
+
azure_defender_status: str,
|
|
3670
|
+
azure_defender_status_last_updated: str,
|
|
3671
|
+
collation: str,
|
|
3672
|
+
container_resource_id: str,
|
|
3673
|
+
create_time: str,
|
|
3674
|
+
current_version: str,
|
|
3675
|
+
last_inventory_upload_time: str,
|
|
3676
|
+
last_usage_upload_time: str,
|
|
3677
|
+
license_type: str,
|
|
3678
|
+
patch_level: str,
|
|
3679
|
+
product_id: str,
|
|
3680
|
+
provisioning_state: str,
|
|
3681
|
+
status: str,
|
|
3682
|
+
tcp_dynamic_ports: str,
|
|
3683
|
+
tcp_static_ports: str,
|
|
3684
|
+
v_core: str,
|
|
3685
|
+
backup_policy: Optional['outputs.BackupPolicyResponse'] = None,
|
|
3686
|
+
cores: Optional[str] = None,
|
|
3687
|
+
edition: Optional[str] = None,
|
|
3688
|
+
failover_cluster: Optional['outputs.FailoverClusterResponse'] = None,
|
|
3689
|
+
host_type: Optional[str] = None,
|
|
3690
|
+
instance_name: Optional[str] = None,
|
|
3691
|
+
monitoring: Optional['outputs.MonitoringResponse'] = None,
|
|
3692
|
+
upgrade_locked_until: Optional[str] = None,
|
|
3693
|
+
version: Optional[str] = None):
|
|
3694
|
+
"""
|
|
3695
|
+
Properties of SqlServerInstance.
|
|
3696
|
+
:param str always_on_role: The role of the SQL Server, based on availability.
|
|
3697
|
+
:param str azure_defender_status: Status of Azure Defender.
|
|
3698
|
+
:param str azure_defender_status_last_updated: Timestamp of last Azure Defender status update.
|
|
3699
|
+
:param str collation: SQL Server collation.
|
|
3700
|
+
:param str container_resource_id: ARM Resource id of the container resource (Azure Arc for Servers).
|
|
3701
|
+
:param str create_time: The time when the resource was created.
|
|
3702
|
+
:param str current_version: SQL Server current version.
|
|
3703
|
+
:param str last_inventory_upload_time: The time when last successful inventory upload was performed.
|
|
3704
|
+
:param str last_usage_upload_time: The time when last successful usage upload was performed.
|
|
3705
|
+
:param str license_type: SQL Server license type.
|
|
3706
|
+
:param str patch_level: SQL Server update level.
|
|
3707
|
+
:param str product_id: SQL Server product ID.
|
|
3708
|
+
:param str provisioning_state: The provisioning state of the Arc-enabled SQL Server resource.
|
|
3709
|
+
:param str status: The cloud connectivity status.
|
|
3710
|
+
:param str tcp_dynamic_ports: Dynamic TCP ports used by SQL Server.
|
|
3711
|
+
:param str tcp_static_ports: Static TCP ports used by SQL Server.
|
|
3712
|
+
:param str v_core: The number of logical processors used by the SQL Server instance.
|
|
3713
|
+
:param 'BackupPolicyResponse' backup_policy: The backup profile for the SQL server.
|
|
3714
|
+
:param str cores: The number of total cores of the Operating System Environment (OSE) hosting the SQL Server instance.
|
|
3715
|
+
:param str edition: SQL Server edition.
|
|
3716
|
+
:param 'FailoverClusterResponse' failover_cluster: Failover Cluster Instance properties.
|
|
3717
|
+
:param str host_type: Type of host for Azure Arc SQL Server
|
|
3718
|
+
:param str instance_name: SQL Server instance name.
|
|
3719
|
+
:param 'MonitoringResponse' monitoring: The monitoring configuration.
|
|
3720
|
+
:param str upgrade_locked_until: Upgrade Action for this resource is locked until it expires. The Expiration time indicated by this value. It is not locked when it is empty.
|
|
3721
|
+
:param str version: SQL Server version.
|
|
3722
|
+
"""
|
|
3723
|
+
pulumi.set(__self__, "always_on_role", always_on_role)
|
|
3724
|
+
pulumi.set(__self__, "azure_defender_status", azure_defender_status)
|
|
3725
|
+
pulumi.set(__self__, "azure_defender_status_last_updated", azure_defender_status_last_updated)
|
|
3726
|
+
pulumi.set(__self__, "collation", collation)
|
|
3727
|
+
pulumi.set(__self__, "container_resource_id", container_resource_id)
|
|
3728
|
+
pulumi.set(__self__, "create_time", create_time)
|
|
3729
|
+
pulumi.set(__self__, "current_version", current_version)
|
|
3730
|
+
pulumi.set(__self__, "last_inventory_upload_time", last_inventory_upload_time)
|
|
3731
|
+
pulumi.set(__self__, "last_usage_upload_time", last_usage_upload_time)
|
|
3732
|
+
pulumi.set(__self__, "license_type", license_type)
|
|
3733
|
+
pulumi.set(__self__, "patch_level", patch_level)
|
|
3734
|
+
pulumi.set(__self__, "product_id", product_id)
|
|
3735
|
+
pulumi.set(__self__, "provisioning_state", provisioning_state)
|
|
3736
|
+
pulumi.set(__self__, "status", status)
|
|
3737
|
+
pulumi.set(__self__, "tcp_dynamic_ports", tcp_dynamic_ports)
|
|
3738
|
+
pulumi.set(__self__, "tcp_static_ports", tcp_static_ports)
|
|
3739
|
+
pulumi.set(__self__, "v_core", v_core)
|
|
3740
|
+
if backup_policy is not None:
|
|
3741
|
+
pulumi.set(__self__, "backup_policy", backup_policy)
|
|
3742
|
+
if cores is not None:
|
|
3743
|
+
pulumi.set(__self__, "cores", cores)
|
|
3744
|
+
if edition is not None:
|
|
3745
|
+
pulumi.set(__self__, "edition", edition)
|
|
3746
|
+
if failover_cluster is not None:
|
|
3747
|
+
pulumi.set(__self__, "failover_cluster", failover_cluster)
|
|
3748
|
+
if host_type is not None:
|
|
3749
|
+
pulumi.set(__self__, "host_type", host_type)
|
|
3750
|
+
if instance_name is not None:
|
|
3751
|
+
pulumi.set(__self__, "instance_name", instance_name)
|
|
3752
|
+
if monitoring is not None:
|
|
3753
|
+
pulumi.set(__self__, "monitoring", monitoring)
|
|
3754
|
+
if upgrade_locked_until is not None:
|
|
3755
|
+
pulumi.set(__self__, "upgrade_locked_until", upgrade_locked_until)
|
|
3756
|
+
if version is not None:
|
|
3757
|
+
pulumi.set(__self__, "version", version)
|
|
3758
|
+
|
|
3759
|
+
@property
|
|
3760
|
+
@pulumi.getter(name="alwaysOnRole")
|
|
3761
|
+
def always_on_role(self) -> str:
|
|
3762
|
+
"""
|
|
3763
|
+
The role of the SQL Server, based on availability.
|
|
3764
|
+
"""
|
|
3765
|
+
return pulumi.get(self, "always_on_role")
|
|
3766
|
+
|
|
3767
|
+
@property
|
|
3768
|
+
@pulumi.getter(name="azureDefenderStatus")
|
|
3769
|
+
def azure_defender_status(self) -> str:
|
|
3770
|
+
"""
|
|
3771
|
+
Status of Azure Defender.
|
|
3772
|
+
"""
|
|
3773
|
+
return pulumi.get(self, "azure_defender_status")
|
|
3774
|
+
|
|
3775
|
+
@property
|
|
3776
|
+
@pulumi.getter(name="azureDefenderStatusLastUpdated")
|
|
3777
|
+
def azure_defender_status_last_updated(self) -> str:
|
|
3778
|
+
"""
|
|
3779
|
+
Timestamp of last Azure Defender status update.
|
|
3780
|
+
"""
|
|
3781
|
+
return pulumi.get(self, "azure_defender_status_last_updated")
|
|
3782
|
+
|
|
3783
|
+
@property
|
|
3784
|
+
@pulumi.getter
|
|
3785
|
+
def collation(self) -> str:
|
|
3786
|
+
"""
|
|
3787
|
+
SQL Server collation.
|
|
3788
|
+
"""
|
|
3789
|
+
return pulumi.get(self, "collation")
|
|
3790
|
+
|
|
3791
|
+
@property
|
|
3792
|
+
@pulumi.getter(name="containerResourceId")
|
|
3793
|
+
def container_resource_id(self) -> str:
|
|
3794
|
+
"""
|
|
3795
|
+
ARM Resource id of the container resource (Azure Arc for Servers).
|
|
3796
|
+
"""
|
|
3797
|
+
return pulumi.get(self, "container_resource_id")
|
|
3798
|
+
|
|
3799
|
+
@property
|
|
3800
|
+
@pulumi.getter(name="createTime")
|
|
3801
|
+
def create_time(self) -> str:
|
|
3802
|
+
"""
|
|
3803
|
+
The time when the resource was created.
|
|
3804
|
+
"""
|
|
3805
|
+
return pulumi.get(self, "create_time")
|
|
3806
|
+
|
|
3807
|
+
@property
|
|
3808
|
+
@pulumi.getter(name="currentVersion")
|
|
3809
|
+
def current_version(self) -> str:
|
|
3810
|
+
"""
|
|
3811
|
+
SQL Server current version.
|
|
3812
|
+
"""
|
|
3813
|
+
return pulumi.get(self, "current_version")
|
|
3814
|
+
|
|
3815
|
+
@property
|
|
3816
|
+
@pulumi.getter(name="lastInventoryUploadTime")
|
|
3817
|
+
def last_inventory_upload_time(self) -> str:
|
|
3818
|
+
"""
|
|
3819
|
+
The time when last successful inventory upload was performed.
|
|
3820
|
+
"""
|
|
3821
|
+
return pulumi.get(self, "last_inventory_upload_time")
|
|
3822
|
+
|
|
3823
|
+
@property
|
|
3824
|
+
@pulumi.getter(name="lastUsageUploadTime")
|
|
3825
|
+
def last_usage_upload_time(self) -> str:
|
|
3826
|
+
"""
|
|
3827
|
+
The time when last successful usage upload was performed.
|
|
3828
|
+
"""
|
|
3829
|
+
return pulumi.get(self, "last_usage_upload_time")
|
|
3830
|
+
|
|
3831
|
+
@property
|
|
3832
|
+
@pulumi.getter(name="licenseType")
|
|
3833
|
+
def license_type(self) -> str:
|
|
3834
|
+
"""
|
|
3835
|
+
SQL Server license type.
|
|
3836
|
+
"""
|
|
3837
|
+
return pulumi.get(self, "license_type")
|
|
3838
|
+
|
|
3839
|
+
@property
|
|
3840
|
+
@pulumi.getter(name="patchLevel")
|
|
3841
|
+
def patch_level(self) -> str:
|
|
3842
|
+
"""
|
|
3843
|
+
SQL Server update level.
|
|
3844
|
+
"""
|
|
3845
|
+
return pulumi.get(self, "patch_level")
|
|
3846
|
+
|
|
3847
|
+
@property
|
|
3848
|
+
@pulumi.getter(name="productId")
|
|
3849
|
+
def product_id(self) -> str:
|
|
3850
|
+
"""
|
|
3851
|
+
SQL Server product ID.
|
|
3852
|
+
"""
|
|
3853
|
+
return pulumi.get(self, "product_id")
|
|
3854
|
+
|
|
3855
|
+
@property
|
|
3856
|
+
@pulumi.getter(name="provisioningState")
|
|
3857
|
+
def provisioning_state(self) -> str:
|
|
3858
|
+
"""
|
|
3859
|
+
The provisioning state of the Arc-enabled SQL Server resource.
|
|
3860
|
+
"""
|
|
3861
|
+
return pulumi.get(self, "provisioning_state")
|
|
3862
|
+
|
|
3863
|
+
@property
|
|
3864
|
+
@pulumi.getter
|
|
3865
|
+
def status(self) -> str:
|
|
3866
|
+
"""
|
|
3867
|
+
The cloud connectivity status.
|
|
3868
|
+
"""
|
|
3869
|
+
return pulumi.get(self, "status")
|
|
3870
|
+
|
|
3871
|
+
@property
|
|
3872
|
+
@pulumi.getter(name="tcpDynamicPorts")
|
|
3873
|
+
def tcp_dynamic_ports(self) -> str:
|
|
3874
|
+
"""
|
|
3875
|
+
Dynamic TCP ports used by SQL Server.
|
|
3876
|
+
"""
|
|
3877
|
+
return pulumi.get(self, "tcp_dynamic_ports")
|
|
3878
|
+
|
|
3879
|
+
@property
|
|
3880
|
+
@pulumi.getter(name="tcpStaticPorts")
|
|
3881
|
+
def tcp_static_ports(self) -> str:
|
|
3882
|
+
"""
|
|
3883
|
+
Static TCP ports used by SQL Server.
|
|
3884
|
+
"""
|
|
3885
|
+
return pulumi.get(self, "tcp_static_ports")
|
|
3886
|
+
|
|
3887
|
+
@property
|
|
3888
|
+
@pulumi.getter(name="vCore")
|
|
3889
|
+
def v_core(self) -> str:
|
|
3890
|
+
"""
|
|
3891
|
+
The number of logical processors used by the SQL Server instance.
|
|
3892
|
+
"""
|
|
3893
|
+
return pulumi.get(self, "v_core")
|
|
3894
|
+
|
|
3895
|
+
@property
|
|
3896
|
+
@pulumi.getter(name="backupPolicy")
|
|
3897
|
+
def backup_policy(self) -> Optional['outputs.BackupPolicyResponse']:
|
|
3898
|
+
"""
|
|
3899
|
+
The backup profile for the SQL server.
|
|
3900
|
+
"""
|
|
3901
|
+
return pulumi.get(self, "backup_policy")
|
|
3902
|
+
|
|
3903
|
+
@property
|
|
3904
|
+
@pulumi.getter
|
|
3905
|
+
def cores(self) -> Optional[str]:
|
|
3906
|
+
"""
|
|
3907
|
+
The number of total cores of the Operating System Environment (OSE) hosting the SQL Server instance.
|
|
3908
|
+
"""
|
|
3909
|
+
return pulumi.get(self, "cores")
|
|
3910
|
+
|
|
3911
|
+
@property
|
|
3912
|
+
@pulumi.getter
|
|
3913
|
+
def edition(self) -> Optional[str]:
|
|
3914
|
+
"""
|
|
3915
|
+
SQL Server edition.
|
|
3916
|
+
"""
|
|
3917
|
+
return pulumi.get(self, "edition")
|
|
3918
|
+
|
|
3919
|
+
@property
|
|
3920
|
+
@pulumi.getter(name="failoverCluster")
|
|
3921
|
+
def failover_cluster(self) -> Optional['outputs.FailoverClusterResponse']:
|
|
3922
|
+
"""
|
|
3923
|
+
Failover Cluster Instance properties.
|
|
3924
|
+
"""
|
|
3925
|
+
return pulumi.get(self, "failover_cluster")
|
|
3926
|
+
|
|
3927
|
+
@property
|
|
3928
|
+
@pulumi.getter(name="hostType")
|
|
3929
|
+
def host_type(self) -> Optional[str]:
|
|
3930
|
+
"""
|
|
3931
|
+
Type of host for Azure Arc SQL Server
|
|
3932
|
+
"""
|
|
3933
|
+
return pulumi.get(self, "host_type")
|
|
3934
|
+
|
|
3935
|
+
@property
|
|
3936
|
+
@pulumi.getter(name="instanceName")
|
|
3937
|
+
def instance_name(self) -> Optional[str]:
|
|
3938
|
+
"""
|
|
3939
|
+
SQL Server instance name.
|
|
3940
|
+
"""
|
|
3941
|
+
return pulumi.get(self, "instance_name")
|
|
3942
|
+
|
|
3943
|
+
@property
|
|
3944
|
+
@pulumi.getter
|
|
3945
|
+
def monitoring(self) -> Optional['outputs.MonitoringResponse']:
|
|
3946
|
+
"""
|
|
3947
|
+
The monitoring configuration.
|
|
3948
|
+
"""
|
|
3949
|
+
return pulumi.get(self, "monitoring")
|
|
3950
|
+
|
|
3951
|
+
@property
|
|
3952
|
+
@pulumi.getter(name="upgradeLockedUntil")
|
|
3953
|
+
def upgrade_locked_until(self) -> Optional[str]:
|
|
3954
|
+
"""
|
|
3955
|
+
Upgrade Action for this resource is locked until it expires. The Expiration time indicated by this value. It is not locked when it is empty.
|
|
3956
|
+
"""
|
|
3957
|
+
return pulumi.get(self, "upgrade_locked_until")
|
|
3958
|
+
|
|
3959
|
+
@property
|
|
3960
|
+
@pulumi.getter
|
|
3961
|
+
def version(self) -> Optional[str]:
|
|
3962
|
+
"""
|
|
3963
|
+
SQL Server version.
|
|
3964
|
+
"""
|
|
3965
|
+
return pulumi.get(self, "version")
|
|
3966
|
+
|
|
3967
|
+
|
|
3968
|
+
@pulumi.output_type
|
|
3969
|
+
class SqlServerInstanceTelemetryColumnResponse(dict):
|
|
3970
|
+
"""
|
|
3971
|
+
The telemetry column for the SQL Server instance.
|
|
3972
|
+
"""
|
|
3973
|
+
def __init__(__self__, *,
|
|
3974
|
+
name: Optional[str] = None,
|
|
3975
|
+
type: Optional[str] = None):
|
|
3976
|
+
"""
|
|
3977
|
+
The telemetry column for the SQL Server instance.
|
|
3978
|
+
:param str name: The name of the telemetry column.
|
|
3979
|
+
:param str type: The type of the telemetry column.
|
|
3980
|
+
"""
|
|
3981
|
+
if name is not None:
|
|
3982
|
+
pulumi.set(__self__, "name", name)
|
|
3983
|
+
if type is not None:
|
|
3984
|
+
pulumi.set(__self__, "type", type)
|
|
3985
|
+
|
|
3986
|
+
@property
|
|
3987
|
+
@pulumi.getter
|
|
3988
|
+
def name(self) -> Optional[str]:
|
|
3989
|
+
"""
|
|
3990
|
+
The name of the telemetry column.
|
|
3991
|
+
"""
|
|
3992
|
+
return pulumi.get(self, "name")
|
|
3993
|
+
|
|
3994
|
+
@property
|
|
3995
|
+
@pulumi.getter
|
|
3996
|
+
def type(self) -> Optional[str]:
|
|
3997
|
+
"""
|
|
3998
|
+
The type of the telemetry column.
|
|
3999
|
+
"""
|
|
4000
|
+
return pulumi.get(self, "type")
|
|
4001
|
+
|
|
4002
|
+
|
|
4003
|
+
@pulumi.output_type
|
|
4004
|
+
class SystemDataResponse(dict):
|
|
4005
|
+
"""
|
|
4006
|
+
Metadata pertaining to creation and last modification of the resource.
|
|
4007
|
+
"""
|
|
4008
|
+
@staticmethod
|
|
4009
|
+
def __key_warning(key: str):
|
|
4010
|
+
suggest = None
|
|
4011
|
+
if key == "createdAt":
|
|
4012
|
+
suggest = "created_at"
|
|
4013
|
+
elif key == "createdBy":
|
|
4014
|
+
suggest = "created_by"
|
|
4015
|
+
elif key == "createdByType":
|
|
4016
|
+
suggest = "created_by_type"
|
|
4017
|
+
elif key == "lastModifiedAt":
|
|
4018
|
+
suggest = "last_modified_at"
|
|
4019
|
+
elif key == "lastModifiedBy":
|
|
4020
|
+
suggest = "last_modified_by"
|
|
4021
|
+
elif key == "lastModifiedByType":
|
|
4022
|
+
suggest = "last_modified_by_type"
|
|
4023
|
+
|
|
4024
|
+
if suggest:
|
|
4025
|
+
pulumi.log.warn(f"Key '{key}' not found in SystemDataResponse. Access the value via the '{suggest}' property getter instead.")
|
|
4026
|
+
|
|
4027
|
+
def __getitem__(self, key: str) -> Any:
|
|
4028
|
+
SystemDataResponse.__key_warning(key)
|
|
4029
|
+
return super().__getitem__(key)
|
|
4030
|
+
|
|
4031
|
+
def get(self, key: str, default = None) -> Any:
|
|
4032
|
+
SystemDataResponse.__key_warning(key)
|
|
4033
|
+
return super().get(key, default)
|
|
4034
|
+
|
|
4035
|
+
def __init__(__self__, *,
|
|
4036
|
+
created_at: Optional[str] = None,
|
|
4037
|
+
created_by: Optional[str] = None,
|
|
4038
|
+
created_by_type: Optional[str] = None,
|
|
4039
|
+
last_modified_at: Optional[str] = None,
|
|
4040
|
+
last_modified_by: Optional[str] = None,
|
|
4041
|
+
last_modified_by_type: Optional[str] = None):
|
|
4042
|
+
"""
|
|
4043
|
+
Metadata pertaining to creation and last modification of the resource.
|
|
4044
|
+
:param str created_at: The timestamp of resource creation (UTC).
|
|
4045
|
+
:param str created_by: The identity that created the resource.
|
|
4046
|
+
:param str created_by_type: The type of identity that created the resource.
|
|
4047
|
+
:param str last_modified_at: The timestamp of resource last modification (UTC)
|
|
4048
|
+
:param str last_modified_by: The identity that last modified the resource.
|
|
4049
|
+
:param str last_modified_by_type: The type of identity that last modified the resource.
|
|
4050
|
+
"""
|
|
4051
|
+
if created_at is not None:
|
|
4052
|
+
pulumi.set(__self__, "created_at", created_at)
|
|
4053
|
+
if created_by is not None:
|
|
4054
|
+
pulumi.set(__self__, "created_by", created_by)
|
|
4055
|
+
if created_by_type is not None:
|
|
4056
|
+
pulumi.set(__self__, "created_by_type", created_by_type)
|
|
4057
|
+
if last_modified_at is not None:
|
|
4058
|
+
pulumi.set(__self__, "last_modified_at", last_modified_at)
|
|
4059
|
+
if last_modified_by is not None:
|
|
4060
|
+
pulumi.set(__self__, "last_modified_by", last_modified_by)
|
|
4061
|
+
if last_modified_by_type is not None:
|
|
4062
|
+
pulumi.set(__self__, "last_modified_by_type", last_modified_by_type)
|
|
4063
|
+
|
|
4064
|
+
@property
|
|
4065
|
+
@pulumi.getter(name="createdAt")
|
|
4066
|
+
def created_at(self) -> Optional[str]:
|
|
4067
|
+
"""
|
|
4068
|
+
The timestamp of resource creation (UTC).
|
|
4069
|
+
"""
|
|
4070
|
+
return pulumi.get(self, "created_at")
|
|
4071
|
+
|
|
4072
|
+
@property
|
|
4073
|
+
@pulumi.getter(name="createdBy")
|
|
4074
|
+
def created_by(self) -> Optional[str]:
|
|
4075
|
+
"""
|
|
4076
|
+
The identity that created the resource.
|
|
4077
|
+
"""
|
|
4078
|
+
return pulumi.get(self, "created_by")
|
|
4079
|
+
|
|
4080
|
+
@property
|
|
4081
|
+
@pulumi.getter(name="createdByType")
|
|
4082
|
+
def created_by_type(self) -> Optional[str]:
|
|
4083
|
+
"""
|
|
4084
|
+
The type of identity that created the resource.
|
|
4085
|
+
"""
|
|
4086
|
+
return pulumi.get(self, "created_by_type")
|
|
4087
|
+
|
|
4088
|
+
@property
|
|
4089
|
+
@pulumi.getter(name="lastModifiedAt")
|
|
4090
|
+
def last_modified_at(self) -> Optional[str]:
|
|
4091
|
+
"""
|
|
4092
|
+
The timestamp of resource last modification (UTC)
|
|
4093
|
+
"""
|
|
4094
|
+
return pulumi.get(self, "last_modified_at")
|
|
4095
|
+
|
|
4096
|
+
@property
|
|
4097
|
+
@pulumi.getter(name="lastModifiedBy")
|
|
4098
|
+
def last_modified_by(self) -> Optional[str]:
|
|
4099
|
+
"""
|
|
4100
|
+
The identity that last modified the resource.
|
|
4101
|
+
"""
|
|
4102
|
+
return pulumi.get(self, "last_modified_by")
|
|
4103
|
+
|
|
4104
|
+
@property
|
|
4105
|
+
@pulumi.getter(name="lastModifiedByType")
|
|
4106
|
+
def last_modified_by_type(self) -> Optional[str]:
|
|
4107
|
+
"""
|
|
4108
|
+
The type of identity that last modified the resource.
|
|
4109
|
+
"""
|
|
4110
|
+
return pulumi.get(self, "last_modified_by_type")
|
|
4111
|
+
|
|
4112
|
+
|
|
4113
|
+
@pulumi.output_type
|
|
4114
|
+
class UploadServicePrincipalResponse(dict):
|
|
4115
|
+
"""
|
|
4116
|
+
Service principal for uploading billing, metrics and logs.
|
|
4117
|
+
"""
|
|
4118
|
+
@staticmethod
|
|
4119
|
+
def __key_warning(key: str):
|
|
4120
|
+
suggest = None
|
|
4121
|
+
if key == "clientId":
|
|
4122
|
+
suggest = "client_id"
|
|
4123
|
+
elif key == "tenantId":
|
|
4124
|
+
suggest = "tenant_id"
|
|
4125
|
+
|
|
4126
|
+
if suggest:
|
|
4127
|
+
pulumi.log.warn(f"Key '{key}' not found in UploadServicePrincipalResponse. Access the value via the '{suggest}' property getter instead.")
|
|
4128
|
+
|
|
4129
|
+
def __getitem__(self, key: str) -> Any:
|
|
4130
|
+
UploadServicePrincipalResponse.__key_warning(key)
|
|
4131
|
+
return super().__getitem__(key)
|
|
4132
|
+
|
|
4133
|
+
def get(self, key: str, default = None) -> Any:
|
|
4134
|
+
UploadServicePrincipalResponse.__key_warning(key)
|
|
4135
|
+
return super().get(key, default)
|
|
4136
|
+
|
|
4137
|
+
def __init__(__self__, *,
|
|
4138
|
+
authority: Optional[str] = None,
|
|
4139
|
+
client_id: Optional[str] = None,
|
|
4140
|
+
tenant_id: Optional[str] = None):
|
|
4141
|
+
"""
|
|
4142
|
+
Service principal for uploading billing, metrics and logs.
|
|
4143
|
+
:param str authority: Authority for the service principal. Example: https://login.microsoftonline.com/
|
|
4144
|
+
:param str client_id: Client ID of the service principal for uploading data.
|
|
4145
|
+
:param str tenant_id: Tenant ID of the service principal.
|
|
4146
|
+
"""
|
|
4147
|
+
if authority is not None:
|
|
4148
|
+
pulumi.set(__self__, "authority", authority)
|
|
4149
|
+
if client_id is not None:
|
|
4150
|
+
pulumi.set(__self__, "client_id", client_id)
|
|
4151
|
+
if tenant_id is not None:
|
|
4152
|
+
pulumi.set(__self__, "tenant_id", tenant_id)
|
|
4153
|
+
|
|
4154
|
+
@property
|
|
4155
|
+
@pulumi.getter
|
|
4156
|
+
def authority(self) -> Optional[str]:
|
|
4157
|
+
"""
|
|
4158
|
+
Authority for the service principal. Example: https://login.microsoftonline.com/
|
|
4159
|
+
"""
|
|
4160
|
+
return pulumi.get(self, "authority")
|
|
4161
|
+
|
|
4162
|
+
@property
|
|
4163
|
+
@pulumi.getter(name="clientId")
|
|
4164
|
+
def client_id(self) -> Optional[str]:
|
|
4165
|
+
"""
|
|
4166
|
+
Client ID of the service principal for uploading data.
|
|
4167
|
+
"""
|
|
4168
|
+
return pulumi.get(self, "client_id")
|
|
4169
|
+
|
|
4170
|
+
@property
|
|
4171
|
+
@pulumi.getter(name="tenantId")
|
|
4172
|
+
def tenant_id(self) -> Optional[str]:
|
|
4173
|
+
"""
|
|
4174
|
+
Tenant ID of the service principal.
|
|
4175
|
+
"""
|
|
4176
|
+
return pulumi.get(self, "tenant_id")
|
|
4177
|
+
|
|
4178
|
+
|
|
4179
|
+
@pulumi.output_type
|
|
4180
|
+
class UploadWatermarkResponse(dict):
|
|
4181
|
+
"""
|
|
4182
|
+
Properties on upload watermark. Mostly timestamp for each upload data type
|
|
4183
|
+
"""
|
|
4184
|
+
def __init__(__self__, *,
|
|
4185
|
+
logs: Optional[str] = None,
|
|
4186
|
+
metrics: Optional[str] = None,
|
|
4187
|
+
usages: Optional[str] = None):
|
|
4188
|
+
"""
|
|
4189
|
+
Properties on upload watermark. Mostly timestamp for each upload data type
|
|
4190
|
+
:param str logs: Last uploaded date for logs from kubernetes cluster. Defaults to current date time
|
|
4191
|
+
:param str metrics: Last uploaded date for metrics from kubernetes cluster. Defaults to current date time
|
|
4192
|
+
:param str usages: Last uploaded date for usages from kubernetes cluster. Defaults to current date time
|
|
4193
|
+
"""
|
|
4194
|
+
if logs is not None:
|
|
4195
|
+
pulumi.set(__self__, "logs", logs)
|
|
4196
|
+
if metrics is not None:
|
|
4197
|
+
pulumi.set(__self__, "metrics", metrics)
|
|
4198
|
+
if usages is not None:
|
|
4199
|
+
pulumi.set(__self__, "usages", usages)
|
|
4200
|
+
|
|
4201
|
+
@property
|
|
4202
|
+
@pulumi.getter
|
|
4203
|
+
def logs(self) -> Optional[str]:
|
|
4204
|
+
"""
|
|
4205
|
+
Last uploaded date for logs from kubernetes cluster. Defaults to current date time
|
|
4206
|
+
"""
|
|
4207
|
+
return pulumi.get(self, "logs")
|
|
4208
|
+
|
|
4209
|
+
@property
|
|
4210
|
+
@pulumi.getter
|
|
4211
|
+
def metrics(self) -> Optional[str]:
|
|
4212
|
+
"""
|
|
4213
|
+
Last uploaded date for metrics from kubernetes cluster. Defaults to current date time
|
|
4214
|
+
"""
|
|
4215
|
+
return pulumi.get(self, "metrics")
|
|
4216
|
+
|
|
4217
|
+
@property
|
|
4218
|
+
@pulumi.getter
|
|
4219
|
+
def usages(self) -> Optional[str]:
|
|
4220
|
+
"""
|
|
4221
|
+
Last uploaded date for usages from kubernetes cluster. Defaults to current date time
|
|
4222
|
+
"""
|
|
4223
|
+
return pulumi.get(self, "usages")
|
|
4224
|
+
|
|
4225
|
+
|