pulumi-gcp 7.7.0a1706207981__py3-none-any.whl → 7.8.0__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pulumi_gcp/__init__.py +73 -0
- pulumi_gcp/_utilities.py +6 -2
- pulumi_gcp/accesscontextmanager/access_level.py +2 -18
- pulumi_gcp/accesscontextmanager/access_levels.py +2 -18
- pulumi_gcp/accesscontextmanager/access_policy.py +2 -18
- pulumi_gcp/accesscontextmanager/authorized_orgs_desc.py +2 -18
- pulumi_gcp/accesscontextmanager/egress_policy.py +2 -18
- pulumi_gcp/accesscontextmanager/gcp_user_access_binding.py +2 -18
- pulumi_gcp/accesscontextmanager/ingress_policy.py +2 -18
- pulumi_gcp/accesscontextmanager/service_perimeter.py +2 -18
- pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +2 -18
- pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +2 -18
- pulumi_gcp/accesscontextmanager/service_perimeter_resource.py +2 -18
- pulumi_gcp/accesscontextmanager/service_perimeters.py +2 -18
- pulumi_gcp/activedirectory/domain.py +2 -18
- pulumi_gcp/activedirectory/domain_trust.py +2 -18
- pulumi_gcp/alloydb/backup.py +2 -18
- pulumi_gcp/alloydb/cluster.py +26 -18
- pulumi_gcp/alloydb/instance.py +3 -19
- pulumi_gcp/alloydb/outputs.py +16 -0
- pulumi_gcp/alloydb/user.py +2 -18
- pulumi_gcp/apigateway/api.py +2 -18
- pulumi_gcp/apigateway/api_config.py +2 -18
- pulumi_gcp/apigateway/gateway.py +23 -53
- pulumi_gcp/apigee/addons_config.py +2 -18
- pulumi_gcp/apigee/endpoint_attachment.py +2 -18
- pulumi_gcp/apigee/env_group.py +2 -18
- pulumi_gcp/apigee/env_group_attachment.py +2 -18
- pulumi_gcp/apigee/env_keystore.py +2 -18
- pulumi_gcp/apigee/env_references.py +2 -18
- pulumi_gcp/apigee/environment.py +2 -18
- pulumi_gcp/apigee/flowhook.py +2 -18
- pulumi_gcp/apigee/instance.py +2 -18
- pulumi_gcp/apigee/instance_attachment.py +2 -18
- pulumi_gcp/apigee/keystores_aliases_key_cert_file.py +2 -18
- pulumi_gcp/apigee/keystores_aliases_pkcs12.py +2 -18
- pulumi_gcp/apigee/keystores_aliases_self_signed_cert.py +2 -18
- pulumi_gcp/apigee/nat_address.py +2 -18
- pulumi_gcp/apigee/organization.py +2 -18
- pulumi_gcp/apigee/sharedflow.py +2 -18
- pulumi_gcp/apigee/sharedflow_deployment.py +2 -18
- pulumi_gcp/apigee/sync_authorization.py +2 -18
- pulumi_gcp/apigee/target_server.py +2 -18
- pulumi_gcp/appengine/application.py +2 -18
- pulumi_gcp/appengine/application_url_dispatch_rules.py +2 -18
- pulumi_gcp/appengine/domain_mapping.py +2 -18
- pulumi_gcp/appengine/engine_split_traffic.py +2 -18
- pulumi_gcp/appengine/firewall_rule.py +2 -18
- pulumi_gcp/appengine/flexible_app_version.py +2 -18
- pulumi_gcp/appengine/service_network_settings.py +2 -18
- pulumi_gcp/appengine/standard_app_version.py +2 -18
- pulumi_gcp/artifactregistry/_inputs.py +60 -0
- pulumi_gcp/artifactregistry/outputs.py +264 -0
- pulumi_gcp/artifactregistry/repository.py +77 -74
- pulumi_gcp/artifactregistry/vpcsc_config.py +2 -18
- pulumi_gcp/assuredworkloads/_inputs.py +34 -0
- pulumi_gcp/assuredworkloads/outputs.py +34 -0
- pulumi_gcp/assuredworkloads/workload.py +2 -18
- pulumi_gcp/backupdisasterrecovery/management_server.py +2 -18
- pulumi_gcp/backupdisasterrecovery/outputs.py +20 -0
- pulumi_gcp/beyondcorp/app_connection.py +2 -18
- pulumi_gcp/beyondcorp/app_connector.py +2 -18
- pulumi_gcp/beyondcorp/app_gateway.py +2 -18
- pulumi_gcp/beyondcorp/outputs.py +54 -0
- pulumi_gcp/biglake/catalog.py +2 -18
- pulumi_gcp/biglake/database.py +2 -18
- pulumi_gcp/biglake/table.py +2 -18
- pulumi_gcp/bigquery/_inputs.py +18 -0
- pulumi_gcp/bigquery/app_profile.py +2 -18
- pulumi_gcp/bigquery/bi_reservation.py +2 -18
- pulumi_gcp/bigquery/capacity_commitment.py +2 -18
- pulumi_gcp/bigquery/connection.py +2 -18
- pulumi_gcp/bigquery/data_transfer_config.py +2 -18
- pulumi_gcp/bigquery/dataset.py +9 -18
- pulumi_gcp/bigquery/dataset_iam_binding.py +4 -12
- pulumi_gcp/bigquery/dataset_iam_member.py +4 -12
- pulumi_gcp/bigquery/dataset_iam_policy.py +4 -12
- pulumi_gcp/bigquery/job.py +2 -18
- pulumi_gcp/bigquery/outputs.py +172 -0
- pulumi_gcp/bigquery/reservation.py +2 -18
- pulumi_gcp/bigquery/reservation_assignment.py +2 -18
- pulumi_gcp/bigquery/routine.py +2 -18
- pulumi_gcp/bigquery/table.py +2 -18
- pulumi_gcp/bigqueryanalyticshub/data_exchange.py +2 -18
- pulumi_gcp/bigqueryanalyticshub/listing.py +2 -18
- pulumi_gcp/bigquerydatapolicy/data_policy.py +2 -18
- pulumi_gcp/bigtable/_inputs.py +4 -0
- pulumi_gcp/bigtable/instance.py +2 -18
- pulumi_gcp/bigtable/instance_iam_binding.py +4 -12
- pulumi_gcp/bigtable/instance_iam_member.py +4 -12
- pulumi_gcp/bigtable/instance_iam_policy.py +4 -12
- pulumi_gcp/bigtable/outputs.py +4 -0
- pulumi_gcp/bigtable/table.py +2 -18
- pulumi_gcp/bigtable/table_iam_binding.py +4 -12
- pulumi_gcp/bigtable/table_iam_member.py +4 -12
- pulumi_gcp/bigtable/table_iam_policy.py +4 -12
- pulumi_gcp/billing/account_iam_binding.py +4 -12
- pulumi_gcp/billing/account_iam_member.py +4 -12
- pulumi_gcp/billing/account_iam_policy.py +4 -12
- pulumi_gcp/billing/budget.py +2 -18
- pulumi_gcp/billing/project_info.py +2 -18
- pulumi_gcp/billing/sub_account.py +2 -18
- pulumi_gcp/binaryauthorization/attestor.py +2 -18
- pulumi_gcp/binaryauthorization/policy.py +2 -18
- pulumi_gcp/blockchainnodeengine/__init__.py +10 -0
- pulumi_gcp/blockchainnodeengine/_inputs.py +388 -0
- pulumi_gcp/blockchainnodeengine/blockchain_nodes.py +791 -0
- pulumi_gcp/blockchainnodeengine/outputs.py +441 -0
- pulumi_gcp/certificateauthority/authority.py +2 -18
- pulumi_gcp/certificateauthority/ca_pool.py +2 -18
- pulumi_gcp/certificateauthority/certificate.py +2 -18
- pulumi_gcp/certificateauthority/certificate_template.py +2 -18
- pulumi_gcp/certificateauthority/outputs.py +378 -0
- pulumi_gcp/certificatemanager/certificate.py +2 -18
- pulumi_gcp/certificatemanager/certificate_issuance_config.py +2 -18
- pulumi_gcp/certificatemanager/certificate_map.py +2 -18
- pulumi_gcp/certificatemanager/certificate_map_entry.py +2 -18
- pulumi_gcp/certificatemanager/dns_authorization.py +2 -18
- pulumi_gcp/certificatemanager/outputs.py +32 -0
- pulumi_gcp/certificatemanager/trust_config.py +2 -18
- pulumi_gcp/cloudasset/folder_feed.py +2 -18
- pulumi_gcp/cloudasset/organization_feed.py +2 -18
- pulumi_gcp/cloudasset/project_feed.py +2 -18
- pulumi_gcp/cloudbuild/bitbucket_server_config.py +2 -18
- pulumi_gcp/cloudbuild/outputs.py +1009 -3
- pulumi_gcp/cloudbuild/trigger.py +2 -18
- pulumi_gcp/cloudbuild/worker_pool.py +2 -18
- pulumi_gcp/cloudbuildv2/_inputs.py +14 -0
- pulumi_gcp/cloudbuildv2/connection.py +2 -18
- pulumi_gcp/cloudbuildv2/outputs.py +14 -0
- pulumi_gcp/cloudbuildv2/repository.py +2 -18
- pulumi_gcp/clouddeploy/_inputs.py +36 -0
- pulumi_gcp/clouddeploy/automation.py +2 -18
- pulumi_gcp/clouddeploy/delivery_pipeline.py +2 -18
- pulumi_gcp/clouddeploy/outputs.py +36 -0
- pulumi_gcp/clouddeploy/target.py +2 -18
- pulumi_gcp/clouddomains/registration.py +2 -18
- pulumi_gcp/cloudfunctions/_inputs.py +4 -0
- pulumi_gcp/cloudfunctions/function.py +2 -18
- pulumi_gcp/cloudfunctions/outputs.py +54 -0
- pulumi_gcp/cloudfunctionsv2/function.py +2 -18
- pulumi_gcp/cloudfunctionsv2/outputs.py +302 -0
- pulumi_gcp/cloudidentity/group.py +2 -18
- pulumi_gcp/cloudidentity/group_membership.py +2 -18
- pulumi_gcp/cloudidentity/outputs.py +54 -0
- pulumi_gcp/cloudids/endpoint.py +2 -18
- pulumi_gcp/cloudrun/_inputs.py +93 -4
- pulumi_gcp/cloudrun/domain_mapping.py +2 -18
- pulumi_gcp/cloudrun/outputs.py +867 -9
- pulumi_gcp/cloudrun/service.py +2 -18
- pulumi_gcp/cloudrunv2/_inputs.py +12 -0
- pulumi_gcp/cloudrunv2/job.py +2 -18
- pulumi_gcp/cloudrunv2/outputs.py +937 -1
- pulumi_gcp/cloudrunv2/service.py +2 -18
- pulumi_gcp/cloudscheduler/job.py +2 -18
- pulumi_gcp/cloudtasks/queue.py +2 -18
- pulumi_gcp/composer/_inputs.py +493 -0
- pulumi_gcp/composer/environment.py +2 -18
- pulumi_gcp/composer/outputs.py +996 -0
- pulumi_gcp/compute/__init__.py +2 -0
- pulumi_gcp/compute/_inputs.py +1010 -46
- pulumi_gcp/compute/address.py +2 -18
- pulumi_gcp/compute/attached_disk.py +2 -18
- pulumi_gcp/compute/autoscaler.py +2 -18
- pulumi_gcp/compute/backend_bucket.py +2 -18
- pulumi_gcp/compute/backend_service.py +30 -18
- pulumi_gcp/compute/disk.py +34 -29
- pulumi_gcp/compute/disk_resource_policy_attachment.py +2 -18
- pulumi_gcp/compute/external_vpn_gateway.py +2 -18
- pulumi_gcp/compute/firewall.py +2 -18
- pulumi_gcp/compute/firewall_policy_association.py +2 -18
- pulumi_gcp/compute/firewall_policy_rule.py +2 -18
- pulumi_gcp/compute/forwarding_rule.py +2 -18
- pulumi_gcp/compute/get_disk.py +11 -1
- pulumi_gcp/compute/get_instance_group_manager.py +11 -1
- pulumi_gcp/compute/get_instance_template.py +3 -0
- pulumi_gcp/compute/get_machine_types.py +143 -0
- pulumi_gcp/compute/global_address.py +9 -25
- pulumi_gcp/compute/global_forwarding_rule.py +2 -18
- pulumi_gcp/compute/global_network_endpoint.py +2 -18
- pulumi_gcp/compute/global_network_endpoint_group.py +2 -18
- pulumi_gcp/compute/ha_vpn_gateway.py +2 -18
- pulumi_gcp/compute/health_check.py +2 -18
- pulumi_gcp/compute/http_health_check.py +2 -18
- pulumi_gcp/compute/https_health_check.py +2 -18
- pulumi_gcp/compute/image.py +2 -18
- pulumi_gcp/compute/instance.py +13 -22
- pulumi_gcp/compute/instance_group.py +2 -18
- pulumi_gcp/compute/instance_group_manager.py +34 -29
- pulumi_gcp/compute/instance_group_named_port.py +2 -18
- pulumi_gcp/compute/instance_settings.py +2 -18
- pulumi_gcp/compute/instance_template.py +9 -25
- pulumi_gcp/compute/interconnect_attachment.py +77 -18
- pulumi_gcp/compute/machine_image.py +2 -18
- pulumi_gcp/compute/managed_ssl_certificate.py +2 -18
- pulumi_gcp/compute/manged_ssl_certificate.py +2 -18
- pulumi_gcp/compute/network.py +2 -18
- pulumi_gcp/compute/network_attachment.py +2 -18
- pulumi_gcp/compute/network_edge_security_service.py +2 -18
- pulumi_gcp/compute/network_endpoint.py +2 -18
- pulumi_gcp/compute/network_endpoint_group.py +2 -18
- pulumi_gcp/compute/network_endpoint_list.py +2 -18
- pulumi_gcp/compute/network_firewall_policy.py +2 -18
- pulumi_gcp/compute/network_firewall_policy_association.py +2 -18
- pulumi_gcp/compute/network_firewall_policy_rule.py +2 -18
- pulumi_gcp/compute/network_peering.py +2 -18
- pulumi_gcp/compute/network_peering_routes_config.py +2 -18
- pulumi_gcp/compute/node_group.py +30 -53
- pulumi_gcp/compute/node_template.py +2 -18
- pulumi_gcp/compute/organization_security_policy.py +2 -18
- pulumi_gcp/compute/organization_security_policy_association.py +2 -18
- pulumi_gcp/compute/organization_security_policy_rule.py +2 -18
- pulumi_gcp/compute/outputs.py +4530 -181
- pulumi_gcp/compute/packet_mirroring.py +2 -18
- pulumi_gcp/compute/per_instance_config.py +2 -18
- pulumi_gcp/compute/project_default_network_tier.py +2 -18
- pulumi_gcp/compute/project_metadata.py +2 -18
- pulumi_gcp/compute/project_metadata_item.py +2 -18
- pulumi_gcp/compute/public_advertised_prefix.py +2 -18
- pulumi_gcp/compute/public_delegated_prefix.py +2 -18
- pulumi_gcp/compute/region_autoscaler.py +2 -18
- pulumi_gcp/compute/region_backend_service.py +46 -32
- pulumi_gcp/compute/region_commitment.py +2 -18
- pulumi_gcp/compute/region_disk.py +6 -29
- pulumi_gcp/compute/region_disk_resource_policy_attachment.py +2 -18
- pulumi_gcp/compute/region_health_check.py +2 -18
- pulumi_gcp/compute/region_instance_group_manager.py +34 -29
- pulumi_gcp/compute/region_instance_template.py +2 -18
- pulumi_gcp/compute/region_network_endpoint.py +556 -0
- pulumi_gcp/compute/region_network_endpoint_group.py +140 -92
- pulumi_gcp/compute/region_network_firewall_policy.py +2 -18
- pulumi_gcp/compute/region_network_firewall_policy_association.py +2 -18
- pulumi_gcp/compute/region_network_firewall_policy_rule.py +2 -18
- pulumi_gcp/compute/region_per_instance_config.py +2 -18
- pulumi_gcp/compute/region_security_policy.py +2 -18
- pulumi_gcp/compute/region_security_policy_rule.py +2 -18
- pulumi_gcp/compute/region_ssl_certificate.py +2 -18
- pulumi_gcp/compute/region_ssl_policy.py +2 -18
- pulumi_gcp/compute/region_target_http_proxy.py +2 -18
- pulumi_gcp/compute/region_target_https_proxy.py +2 -18
- pulumi_gcp/compute/region_target_tcp_proxy.py +2 -18
- pulumi_gcp/compute/region_url_map.py +2 -18
- pulumi_gcp/compute/reservation.py +2 -18
- pulumi_gcp/compute/resource_policy.py +2 -18
- pulumi_gcp/compute/route.py +2 -18
- pulumi_gcp/compute/router.py +2 -18
- pulumi_gcp/compute/router_interface.py +2 -18
- pulumi_gcp/compute/router_nat.py +44 -39
- pulumi_gcp/compute/router_peer.py +2 -18
- pulumi_gcp/compute/security_policy.py +2 -18
- pulumi_gcp/compute/security_scan_config.py +2 -18
- pulumi_gcp/compute/service_attachment.py +2 -18
- pulumi_gcp/compute/shared_vpc_host_project.py +2 -18
- pulumi_gcp/compute/shared_vpc_service_project.py +2 -18
- pulumi_gcp/compute/snapshot.py +2 -18
- pulumi_gcp/compute/ssl_certificate.py +2 -18
- pulumi_gcp/compute/ssl_policy.py +2 -18
- pulumi_gcp/compute/subnetwork.py +79 -102
- pulumi_gcp/compute/target_grpc_proxy.py +2 -18
- pulumi_gcp/compute/target_http_proxy.py +2 -18
- pulumi_gcp/compute/target_https_proxy.py +2 -18
- pulumi_gcp/compute/target_instance.py +2 -18
- pulumi_gcp/compute/target_pool.py +9 -25
- pulumi_gcp/compute/target_ssl_proxy.py +2 -18
- pulumi_gcp/compute/target_tcp_proxy.py +2 -18
- pulumi_gcp/compute/url_map.py +2 -18
- pulumi_gcp/compute/vpn_gateway.py +2 -18
- pulumi_gcp/compute/vpn_tunnel.py +2 -18
- pulumi_gcp/config/__init__.pyi +6 -0
- pulumi_gcp/config/vars.py +12 -0
- pulumi_gcp/container/_inputs.py +568 -30
- pulumi_gcp/container/attached_cluster.py +2 -18
- pulumi_gcp/container/aws_cluster.py +9 -25
- pulumi_gcp/container/aws_node_pool.py +2 -18
- pulumi_gcp/container/azure_client.py +2 -18
- pulumi_gcp/container/azure_cluster.py +9 -25
- pulumi_gcp/container/azure_node_pool.py +2 -18
- pulumi_gcp/container/cluster.py +25 -69
- pulumi_gcp/container/node_pool.py +2 -18
- pulumi_gcp/container/outputs.py +2161 -31
- pulumi_gcp/containeranalysis/note.py +2 -18
- pulumi_gcp/containeranalysis/occurence.py +2 -18
- pulumi_gcp/databasemigrationservice/connection_profile.py +2 -18
- pulumi_gcp/databasemigrationservice/private_connection.py +2 -18
- pulumi_gcp/datacatalog/entry.py +2 -18
- pulumi_gcp/datacatalog/entry_group.py +2 -18
- pulumi_gcp/datacatalog/policy_tag.py +2 -18
- pulumi_gcp/datacatalog/tag.py +2 -18
- pulumi_gcp/datacatalog/tag_template.py +2 -18
- pulumi_gcp/datacatalog/taxonomy.py +2 -18
- pulumi_gcp/dataflow/job.py +2 -18
- pulumi_gcp/dataflow/pipeline.py +2 -18
- pulumi_gcp/dataform/repository.py +2 -18
- pulumi_gcp/dataform/repository_release_config.py +2 -18
- pulumi_gcp/dataform/repository_workflow_config.py +2 -18
- pulumi_gcp/datafusion/instance.py +30 -46
- pulumi_gcp/dataloss/prevention_deidentify_template.py +2 -18
- pulumi_gcp/dataloss/prevention_inspect_template.py +2 -18
- pulumi_gcp/dataloss/prevention_job_trigger.py +2 -18
- pulumi_gcp/dataloss/prevention_stored_info_type.py +2 -18
- pulumi_gcp/dataplex/_inputs.py +66 -0
- pulumi_gcp/dataplex/asset.py +2 -18
- pulumi_gcp/dataplex/datascan.py +2 -18
- pulumi_gcp/dataplex/lake.py +2 -18
- pulumi_gcp/dataplex/outputs.py +66 -0
- pulumi_gcp/dataplex/task.py +2 -18
- pulumi_gcp/dataplex/zone.py +2 -18
- pulumi_gcp/dataproc/_inputs.py +178 -0
- pulumi_gcp/dataproc/autoscaling_policy.py +2 -18
- pulumi_gcp/dataproc/cluster_iam_binding.py +4 -12
- pulumi_gcp/dataproc/cluster_iam_member.py +4 -12
- pulumi_gcp/dataproc/cluster_iam_policy.py +4 -12
- pulumi_gcp/dataproc/job_iam_binding.py +4 -12
- pulumi_gcp/dataproc/job_iam_member.py +4 -12
- pulumi_gcp/dataproc/job_iam_policy.py +4 -12
- pulumi_gcp/dataproc/metastore_federation.py +2 -18
- pulumi_gcp/dataproc/metastore_service.py +2 -18
- pulumi_gcp/dataproc/outputs.py +178 -0
- pulumi_gcp/dataproc/workflow_template.py +9 -25
- pulumi_gcp/datastore/data_store_index.py +2 -18
- pulumi_gcp/datastream/connection_profile.py +2 -18
- pulumi_gcp/datastream/private_connection.py +2 -18
- pulumi_gcp/datastream/stream.py +2 -18
- pulumi_gcp/deploymentmanager/deployment.py +2 -18
- pulumi_gcp/diagflow/agent.py +2 -18
- pulumi_gcp/diagflow/cx_agent.py +2 -18
- pulumi_gcp/diagflow/cx_entity_type.py +2 -18
- pulumi_gcp/diagflow/cx_environment.py +2 -18
- pulumi_gcp/diagflow/cx_flow.py +2 -18
- pulumi_gcp/diagflow/cx_intent.py +2 -18
- pulumi_gcp/diagflow/cx_page.py +2 -18
- pulumi_gcp/diagflow/cx_security_settings.py +2 -18
- pulumi_gcp/diagflow/cx_test_case.py +2 -18
- pulumi_gcp/diagflow/cx_version.py +2 -18
- pulumi_gcp/diagflow/cx_webhook.py +2 -18
- pulumi_gcp/diagflow/entity_type.py +2 -18
- pulumi_gcp/diagflow/fulfillment.py +2 -18
- pulumi_gcp/diagflow/intent.py +2 -18
- pulumi_gcp/discoveryengine/__init__.py +12 -0
- pulumi_gcp/discoveryengine/_inputs.py +237 -0
- pulumi_gcp/discoveryengine/chat_engine.py +822 -0
- pulumi_gcp/discoveryengine/data_store.py +734 -0
- pulumi_gcp/discoveryengine/outputs.py +304 -0
- pulumi_gcp/discoveryengine/search_engine.py +752 -0
- pulumi_gcp/dns/_inputs.py +34 -0
- pulumi_gcp/dns/managed_zone.py +2 -18
- pulumi_gcp/dns/outputs.py +34 -0
- pulumi_gcp/dns/policy.py +2 -18
- pulumi_gcp/dns/record_set.py +2 -18
- pulumi_gcp/dns/response_policy.py +2 -18
- pulumi_gcp/dns/response_policy_rule.py +9 -32
- pulumi_gcp/edgecontainer/cluster.py +2 -18
- pulumi_gcp/edgecontainer/node_pool.py +2 -18
- pulumi_gcp/edgecontainer/vpn_connection.py +2 -18
- pulumi_gcp/edgenetwork/network.py +2 -18
- pulumi_gcp/edgenetwork/subnet.py +2 -18
- pulumi_gcp/essentialcontacts/contact.py +2 -18
- pulumi_gcp/essentialcontacts/document_ai_processor.py +2 -18
- pulumi_gcp/essentialcontacts/document_ai_processor_default_version.py +2 -18
- pulumi_gcp/essentialcontacts/document_ai_warehouse_document_schema.py +2 -18
- pulumi_gcp/eventarc/_inputs.py +2 -2
- pulumi_gcp/eventarc/channel.py +2 -18
- pulumi_gcp/eventarc/google_channel_config.py +2 -18
- pulumi_gcp/eventarc/outputs.py +2 -2
- pulumi_gcp/eventarc/trigger.py +2 -18
- pulumi_gcp/filestore/_inputs.py +1 -3
- pulumi_gcp/filestore/backup.py +2 -18
- pulumi_gcp/filestore/instance.py +2 -18
- pulumi_gcp/filestore/outputs.py +89 -3
- pulumi_gcp/filestore/snapshot.py +2 -18
- pulumi_gcp/firebase/_inputs.py +4 -2
- pulumi_gcp/firebase/android_app.py +2 -18
- pulumi_gcp/firebase/apple_app.py +2 -18
- pulumi_gcp/firebase/database_instance.py +2 -18
- pulumi_gcp/firebase/extensions_instance.py +8 -26
- pulumi_gcp/firebase/hosting_channel.py +2 -18
- pulumi_gcp/firebase/hosting_custom_domain.py +2 -18
- pulumi_gcp/firebase/hosting_release.py +2 -18
- pulumi_gcp/firebase/hosting_site.py +2 -18
- pulumi_gcp/firebase/hosting_version.py +2 -18
- pulumi_gcp/firebase/outputs.py +4 -2
- pulumi_gcp/firebase/project.py +2 -18
- pulumi_gcp/firebase/storage_bucket.py +2 -18
- pulumi_gcp/firebase/web_app.py +2 -18
- pulumi_gcp/firebaserules/_inputs.py +6 -0
- pulumi_gcp/firebaserules/outputs.py +6 -0
- pulumi_gcp/firebaserules/release.py +4 -16
- pulumi_gcp/firebaserules/ruleset.py +2 -18
- pulumi_gcp/firestore/backup_schedule.py +38 -30
- pulumi_gcp/firestore/database.py +2 -26
- pulumi_gcp/firestore/document.py +2 -86
- pulumi_gcp/firestore/field.py +24 -120
- pulumi_gcp/firestore/index.py +6 -60
- pulumi_gcp/folder/_inputs.py +4 -0
- pulumi_gcp/folder/access_approval_settings.py +2 -18
- pulumi_gcp/folder/iam_audit_config.py +6 -14
- pulumi_gcp/folder/iam_member.py +6 -14
- pulumi_gcp/folder/iam_policy.py +6 -14
- pulumi_gcp/folder/organization_policy.py +2 -18
- pulumi_gcp/folder/outputs.py +54 -0
- pulumi_gcp/gkebackup/backup_plan.py +2 -18
- pulumi_gcp/gkebackup/restore_plan.py +2 -18
- pulumi_gcp/gkebackup/restore_plan_iam_binding.py +2 -18
- pulumi_gcp/gkebackup/restore_plan_iam_member.py +2 -18
- pulumi_gcp/gkebackup/restore_plan_iam_policy.py +2 -18
- pulumi_gcp/gkehub/_inputs.py +8 -0
- pulumi_gcp/gkehub/feature.py +4 -20
- pulumi_gcp/gkehub/feature_membership.py +2 -18
- pulumi_gcp/gkehub/fleet.py +2 -18
- pulumi_gcp/gkehub/membership.py +6 -29
- pulumi_gcp/gkehub/membership_binding.py +2 -18
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +2 -18
- pulumi_gcp/gkehub/namespace.py +2 -18
- pulumi_gcp/gkehub/outputs.py +8 -0
- pulumi_gcp/gkehub/scope.py +2 -18
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +2 -18
- pulumi_gcp/gkeonprem/bare_metal_admin_cluster.py +2 -18
- pulumi_gcp/gkeonprem/bare_metal_cluster.py +2 -18
- pulumi_gcp/gkeonprem/bare_metal_node_pool.py +2 -18
- pulumi_gcp/gkeonprem/v_mware_cluster.py +2 -18
- pulumi_gcp/gkeonprem/v_mware_node_pool.py +2 -18
- pulumi_gcp/healthcare/consent_store.py +2 -18
- pulumi_gcp/healthcare/dataset.py +2 -18
- pulumi_gcp/healthcare/dataset_iam_binding.py +4 -12
- pulumi_gcp/healthcare/dataset_iam_member.py +4 -12
- pulumi_gcp/healthcare/dataset_iam_policy.py +4 -12
- pulumi_gcp/healthcare/dicom_store.py +2 -18
- pulumi_gcp/healthcare/dicom_store_iam_binding.py +4 -12
- pulumi_gcp/healthcare/dicom_store_iam_member.py +4 -12
- pulumi_gcp/healthcare/dicom_store_iam_policy.py +4 -12
- pulumi_gcp/healthcare/fhir_store.py +23 -32
- pulumi_gcp/healthcare/fhir_store_iam_binding.py +4 -12
- pulumi_gcp/healthcare/fhir_store_iam_member.py +4 -12
- pulumi_gcp/healthcare/fhir_store_iam_policy.py +4 -12
- pulumi_gcp/healthcare/hl7_store.py +2 -18
- pulumi_gcp/healthcare/hl7_store_iam_binding.py +4 -12
- pulumi_gcp/healthcare/hl7_store_iam_member.py +4 -12
- pulumi_gcp/healthcare/hl7_store_iam_policy.py +4 -12
- pulumi_gcp/iam/access_boundary_policy.py +2 -18
- pulumi_gcp/iam/deny_policy.py +2 -18
- pulumi_gcp/iam/outputs.py +92 -0
- pulumi_gcp/iam/workforce_pool.py +2 -18
- pulumi_gcp/iam/workforce_pool_provider.py +2 -18
- pulumi_gcp/iam/workload_identity_pool.py +2 -18
- pulumi_gcp/iam/workload_identity_pool_provider.py +2 -18
- pulumi_gcp/iap/brand.py +2 -18
- pulumi_gcp/iap/client.py +2 -18
- pulumi_gcp/identityplatform/config.py +2 -18
- pulumi_gcp/identityplatform/default_supported_idp_config.py +2 -18
- pulumi_gcp/identityplatform/inbound_saml_config.py +2 -18
- pulumi_gcp/identityplatform/oauth_idp_config.py +2 -18
- pulumi_gcp/identityplatform/project_default_config.py +2 -18
- pulumi_gcp/identityplatform/tenant.py +2 -18
- pulumi_gcp/identityplatform/tenant_default_supported_idp_config.py +2 -18
- pulumi_gcp/identityplatform/tenant_inbound_saml_config.py +2 -18
- pulumi_gcp/identityplatform/tenant_oauth_idp_config.py +2 -18
- pulumi_gcp/integrationconnectors/connection.py +2 -18
- pulumi_gcp/integrationconnectors/endpoint_attachment.py +2 -18
- pulumi_gcp/kms/crypto_key.py +36 -18
- pulumi_gcp/kms/crypto_key_iam_binding.py +11 -19
- pulumi_gcp/kms/crypto_key_iam_member.py +11 -19
- pulumi_gcp/kms/crypto_key_iam_policy.py +4 -12
- pulumi_gcp/kms/crypto_key_version.py +2 -18
- pulumi_gcp/kms/key_ring.py +2 -18
- pulumi_gcp/kms/key_ring_iam_binding.py +11 -19
- pulumi_gcp/kms/key_ring_iam_member.py +11 -19
- pulumi_gcp/kms/key_ring_iam_policy.py +4 -12
- pulumi_gcp/kms/key_ring_import_job.py +2 -18
- pulumi_gcp/kms/outputs.py +16 -0
- pulumi_gcp/logging/_inputs.py +108 -0
- pulumi_gcp/logging/billing_account_bucket_config.py +2 -18
- pulumi_gcp/logging/billing_account_exclusion.py +2 -18
- pulumi_gcp/logging/billing_account_sink.py +2 -18
- pulumi_gcp/logging/folder_bucket_config.py +2 -18
- pulumi_gcp/logging/folder_exclusion.py +2 -18
- pulumi_gcp/logging/folder_settings.py +2 -18
- pulumi_gcp/logging/folder_sink.py +2 -18
- pulumi_gcp/logging/linked_dataset.py +2 -18
- pulumi_gcp/logging/log_view.py +2 -18
- pulumi_gcp/logging/metric.py +2 -18
- pulumi_gcp/logging/organization_bucket_config.py +2 -18
- pulumi_gcp/logging/organization_exclusion.py +2 -18
- pulumi_gcp/logging/organization_settings.py +2 -18
- pulumi_gcp/logging/organization_sink.py +2 -18
- pulumi_gcp/logging/outputs.py +108 -0
- pulumi_gcp/logging/project_bucket_config.py +2 -18
- pulumi_gcp/logging/project_exclusion.py +2 -18
- pulumi_gcp/logging/project_sink.py +2 -18
- pulumi_gcp/looker/instance.py +2 -18
- pulumi_gcp/memcache/instance.py +63 -18
- pulumi_gcp/migrationcenter/group.py +2 -18
- pulumi_gcp/ml/engine_model.py +2 -18
- pulumi_gcp/monitoring/alert_policy.py +2 -18
- pulumi_gcp/monitoring/custom_service.py +2 -18
- pulumi_gcp/monitoring/dashboard.py +2 -18
- pulumi_gcp/monitoring/generic_service.py +2 -18
- pulumi_gcp/monitoring/group.py +2 -18
- pulumi_gcp/monitoring/metric_descriptor.py +2 -18
- pulumi_gcp/monitoring/monitored_project.py +2 -18
- pulumi_gcp/monitoring/notification_channel.py +2 -18
- pulumi_gcp/monitoring/outputs.py +14 -0
- pulumi_gcp/monitoring/slo.py +2 -18
- pulumi_gcp/monitoring/uptime_check_config.py +2 -18
- pulumi_gcp/netapp/__init__.py +1 -0
- pulumi_gcp/netapp/active_directory.py +2 -18
- pulumi_gcp/netapp/backup_policy.py +2 -18
- pulumi_gcp/netapp/backup_vault.py +2 -18
- pulumi_gcp/netapp/kmsconfig.py +2 -18
- pulumi_gcp/netapp/storage_pool.py +36 -24
- pulumi_gcp/netapp/volume.py +67 -20
- pulumi_gcp/netapp/volume_snapshot.py +625 -0
- pulumi_gcp/networkconnectivity/_inputs.py +6 -0
- pulumi_gcp/networkconnectivity/hub.py +2 -18
- pulumi_gcp/networkconnectivity/outputs.py +6 -0
- pulumi_gcp/networkconnectivity/policy_based_route.py +2 -18
- pulumi_gcp/networkconnectivity/service_connection_policy.py +2 -18
- pulumi_gcp/networkconnectivity/spoke.py +2 -18
- pulumi_gcp/networkmanagement/connectivity_test.py +2 -18
- pulumi_gcp/networksecurity/address_group.py +2 -18
- pulumi_gcp/networksecurity/authorization_policy.py +2 -18
- pulumi_gcp/networksecurity/client_tls_policy.py +2 -18
- pulumi_gcp/networksecurity/gateway_security_policy.py +2 -18
- pulumi_gcp/networksecurity/gateway_security_policy_rule.py +2 -18
- pulumi_gcp/networksecurity/security_profile.py +2 -18
- pulumi_gcp/networksecurity/server_tls_policy.py +2 -18
- pulumi_gcp/networksecurity/tls_inspection_policy.py +2 -18
- pulumi_gcp/networksecurity/url_list.py +2 -18
- pulumi_gcp/networkservices/edge_cache_keyset.py +2 -18
- pulumi_gcp/networkservices/edge_cache_origin.py +2 -18
- pulumi_gcp/networkservices/edge_cache_service.py +2 -18
- pulumi_gcp/networkservices/endpoint_policy.py +2 -18
- pulumi_gcp/networkservices/gateway.py +2 -18
- pulumi_gcp/networkservices/grpc_route.py +2 -18
- pulumi_gcp/networkservices/http_route.py +2 -18
- pulumi_gcp/networkservices/mesh.py +2 -18
- pulumi_gcp/networkservices/service_binding.py +2 -18
- pulumi_gcp/networkservices/tcp_route.py +2 -18
- pulumi_gcp/networkservices/tls_route.py +2 -18
- pulumi_gcp/notebooks/environment.py +2 -18
- pulumi_gcp/notebooks/instance.py +2 -18
- pulumi_gcp/notebooks/location.py +2 -18
- pulumi_gcp/notebooks/runtime.py +2 -18
- pulumi_gcp/organizations/_inputs.py +4 -0
- pulumi_gcp/organizations/access_approval_settings.py +2 -18
- pulumi_gcp/organizations/folder.py +2 -18
- pulumi_gcp/organizations/iam_audit_config.py +2 -2
- pulumi_gcp/organizations/iam_member.py +6 -14
- pulumi_gcp/organizations/iam_policy.py +6 -14
- pulumi_gcp/organizations/outputs.py +4 -0
- pulumi_gcp/organizations/policy.py +2 -18
- pulumi_gcp/organizations/project.py +2 -18
- pulumi_gcp/orgpolicy/custom_constraint.py +2 -18
- pulumi_gcp/orgpolicy/policy.py +4 -16
- pulumi_gcp/osconfig/guest_policies.py +2 -18
- pulumi_gcp/osconfig/os_policy_assignment.py +2 -18
- pulumi_gcp/osconfig/patch_deployment.py +2 -18
- pulumi_gcp/oslogin/ssh_public_key.py +2 -18
- pulumi_gcp/projects/_inputs.py +4 -0
- pulumi_gcp/projects/access_approval_settings.py +2 -18
- pulumi_gcp/projects/api_key.py +2 -18
- pulumi_gcp/projects/iam_audit_config.py +6 -14
- pulumi_gcp/projects/iam_binding.py +6 -14
- pulumi_gcp/projects/iam_custom_role.py +2 -18
- pulumi_gcp/projects/iam_member.py +6 -14
- pulumi_gcp/projects/iam_policy.py +6 -14
- pulumi_gcp/projects/organization_policy.py +2 -18
- pulumi_gcp/projects/outputs.py +54 -0
- pulumi_gcp/projects/service.py +2 -18
- pulumi_gcp/projects/usage_export_bucket.py +2 -18
- pulumi_gcp/provider.py +60 -0
- pulumi_gcp/pubsub/_inputs.py +26 -4
- pulumi_gcp/pubsub/lite_reservation.py +2 -18
- pulumi_gcp/pubsub/lite_subscription.py +2 -18
- pulumi_gcp/pubsub/lite_topic.py +2 -18
- pulumi_gcp/pubsub/outputs.py +323 -4
- pulumi_gcp/pubsub/schema.py +2 -18
- pulumi_gcp/pubsub/subscription.py +82 -16
- pulumi_gcp/pubsub/subscription_iam_binding.py +4 -12
- pulumi_gcp/pubsub/subscription_iam_member.py +4 -12
- pulumi_gcp/pubsub/subscription_iam_policy.py +4 -12
- pulumi_gcp/pubsub/topic.py +2 -18
- pulumi_gcp/recaptcha/enterprise_key.py +2 -18
- pulumi_gcp/redis/cluster.py +2 -18
- pulumi_gcp/redis/instance.py +2 -18
- pulumi_gcp/redis/outputs.py +204 -0
- pulumi_gcp/resourcemanager/lien.py +2 -18
- pulumi_gcp/runtimeconfig/config.py +2 -18
- pulumi_gcp/runtimeconfig/variable.py +2 -18
- pulumi_gcp/secretmanager/outputs.py +88 -0
- pulumi_gcp/secretmanager/secret.py +2 -18
- pulumi_gcp/secretmanager/secret_version.py +2 -18
- pulumi_gcp/securesourcemanager/instance.py +2 -18
- pulumi_gcp/securitycenter/event_threat_detection_custom_module.py +2 -18
- pulumi_gcp/securitycenter/folder_custom_module.py +2 -18
- pulumi_gcp/securitycenter/instance_iam_binding.py +2 -18
- pulumi_gcp/securitycenter/instance_iam_member.py +2 -18
- pulumi_gcp/securitycenter/instance_iam_policy.py +2 -18
- pulumi_gcp/securitycenter/mute_config.py +2 -18
- pulumi_gcp/securitycenter/notification_config.py +2 -18
- pulumi_gcp/securitycenter/organization_custom_module.py +2 -18
- pulumi_gcp/securitycenter/project_custom_module.py +2 -18
- pulumi_gcp/securitycenter/source.py +2 -18
- pulumi_gcp/securitycenter/source_iam_binding.py +2 -18
- pulumi_gcp/securitycenter/source_iam_member.py +2 -18
- pulumi_gcp/securitycenter/source_iam_policy.py +2 -18
- pulumi_gcp/securityposture/__init__.py +11 -0
- pulumi_gcp/securityposture/_inputs.py +1364 -0
- pulumi_gcp/securityposture/outputs.py +1372 -0
- pulumi_gcp/securityposture/posture.py +828 -0
- pulumi_gcp/securityposture/posture_deployment.py +872 -0
- pulumi_gcp/serviceaccount/account.py +2 -18
- pulumi_gcp/servicedirectory/endpoint.py +2 -18
- pulumi_gcp/servicedirectory/namespace.py +2 -18
- pulumi_gcp/servicedirectory/service.py +2 -18
- pulumi_gcp/servicenetworking/connection.py +2 -18
- pulumi_gcp/servicenetworking/peered_dns_domain.py +2 -18
- pulumi_gcp/serviceusage/consumer_quota_override.py +2 -18
- pulumi_gcp/sourcerepo/outputs.py +20 -0
- pulumi_gcp/sourcerepo/repository.py +2 -18
- pulumi_gcp/spanner/database.py +2 -18
- pulumi_gcp/spanner/database_iam_binding.py +4 -12
- pulumi_gcp/spanner/database_iam_member.py +4 -12
- pulumi_gcp/spanner/database_iam_policy.py +4 -12
- pulumi_gcp/spanner/instance.py +2 -18
- pulumi_gcp/spanner/instance_iam_binding.py +4 -12
- pulumi_gcp/spanner/instance_iam_member.py +4 -12
- pulumi_gcp/spanner/instance_iam_policy.py +4 -12
- pulumi_gcp/spanner/outputs.py +68 -0
- pulumi_gcp/sql/_inputs.py +50 -0
- pulumi_gcp/sql/database.py +2 -18
- pulumi_gcp/sql/database_instance.py +2 -18
- pulumi_gcp/sql/outputs.py +904 -0
- pulumi_gcp/sql/source_representation_instance.py +2 -18
- pulumi_gcp/sql/user.py +2 -30
- pulumi_gcp/storage/bucket.py +2 -18
- pulumi_gcp/storage/bucket_access_control.py +2 -18
- pulumi_gcp/storage/default_object_access_control.py +2 -18
- pulumi_gcp/storage/hmac_key.py +2 -18
- pulumi_gcp/storage/insights_report_config.py +2 -18
- pulumi_gcp/storage/notification.py +2 -18
- pulumi_gcp/storage/object_access_control.py +2 -18
- pulumi_gcp/storage/outputs.py +188 -0
- pulumi_gcp/storage/transfer_agent_pool.py +2 -18
- pulumi_gcp/storage/transfer_job.py +2 -18
- pulumi_gcp/tags/location_tag_binding.py +2 -18
- pulumi_gcp/tags/tag_binding.py +2 -18
- pulumi_gcp/tags/tag_key.py +2 -18
- pulumi_gcp/tags/tag_value.py +2 -18
- pulumi_gcp/tpu/node.py +2 -18
- pulumi_gcp/tpu/v2_vm.py +2 -18
- pulumi_gcp/vertex/_inputs.py +166 -0
- pulumi_gcp/vertex/ai_endpoint.py +2 -18
- pulumi_gcp/vertex/ai_feature_group.py +2 -18
- pulumi_gcp/vertex/ai_feature_group_feature.py +2 -18
- pulumi_gcp/vertex/ai_feature_online_store.py +30 -46
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +259 -19
- pulumi_gcp/vertex/ai_feature_store.py +9 -46
- pulumi_gcp/vertex/ai_feature_store_entity_type.py +9 -39
- pulumi_gcp/vertex/ai_feature_store_entity_type_feature.py +2 -18
- pulumi_gcp/vertex/ai_index.py +2 -18
- pulumi_gcp/vertex/ai_index_endpoint.py +2 -18
- pulumi_gcp/vertex/ai_metadata_store.py +2 -18
- pulumi_gcp/vertex/ai_tensorboard.py +2 -18
- pulumi_gcp/vertex/outputs.py +304 -0
- pulumi_gcp/vmwareengine/cluster.py +2 -18
- pulumi_gcp/vmwareengine/external_access_rule.py +2 -18
- pulumi_gcp/vmwareengine/external_address.py +2 -18
- pulumi_gcp/vmwareengine/network.py +2 -18
- pulumi_gcp/vmwareengine/network_peering.py +2 -18
- pulumi_gcp/vmwareengine/network_policy.py +2 -18
- pulumi_gcp/vmwareengine/outputs.py +208 -0
- pulumi_gcp/vmwareengine/private_cloud.py +2 -25
- pulumi_gcp/vmwareengine/subnet.py +2 -18
- pulumi_gcp/vpcaccess/connector.py +2 -18
- pulumi_gcp/vpcaccess/outputs.py +4 -0
- pulumi_gcp/workbench/instance.py +2 -18
- pulumi_gcp/workflows/workflow.py +75 -7
- pulumi_gcp/workstations/_inputs.py +38 -0
- pulumi_gcp/workstations/outputs.py +30 -0
- pulumi_gcp/workstations/workstation.py +2 -18
- pulumi_gcp/workstations/workstation_cluster.py +2 -18
- pulumi_gcp/workstations/workstation_config.py +56 -18
- {pulumi_gcp-7.7.0a1706207981.dist-info → pulumi_gcp-7.8.0.dist-info}/METADATA +2 -1
- {pulumi_gcp-7.7.0a1706207981.dist-info → pulumi_gcp-7.8.0.dist-info}/RECORD +686 -668
- {pulumi_gcp-7.7.0a1706207981.dist-info → pulumi_gcp-7.8.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.7.0a1706207981.dist-info → pulumi_gcp-7.8.0.dist-info}/top_level.txt +0 -0
pulumi_gcp/composer/outputs.py
CHANGED
@@ -12,6 +12,8 @@ from . import outputs
|
|
12
12
|
|
13
13
|
__all__ = [
|
14
14
|
'EnvironmentConfig',
|
15
|
+
'EnvironmentConfigDataRetentionConfig',
|
16
|
+
'EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfig',
|
15
17
|
'EnvironmentConfigDatabaseConfig',
|
16
18
|
'EnvironmentConfigEncryptionConfig',
|
17
19
|
'EnvironmentConfigMaintenanceWindow',
|
@@ -35,6 +37,8 @@ __all__ = [
|
|
35
37
|
'EnvironmentConfigWorkloadsConfigWorker',
|
36
38
|
'EnvironmentStorageConfig',
|
37
39
|
'GetEnvironmentConfigResult',
|
40
|
+
'GetEnvironmentConfigDataRetentionConfigResult',
|
41
|
+
'GetEnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigResult',
|
38
42
|
'GetEnvironmentConfigDatabaseConfigResult',
|
39
43
|
'GetEnvironmentConfigEncryptionConfigResult',
|
40
44
|
'GetEnvironmentConfigMaintenanceWindowResult',
|
@@ -69,6 +73,8 @@ class EnvironmentConfig(dict):
|
|
69
73
|
suggest = "airflow_uri"
|
70
74
|
elif key == "dagGcsPrefix":
|
71
75
|
suggest = "dag_gcs_prefix"
|
76
|
+
elif key == "dataRetentionConfig":
|
77
|
+
suggest = "data_retention_config"
|
72
78
|
elif key == "databaseConfig":
|
73
79
|
suggest = "database_config"
|
74
80
|
elif key == "enablePrivateBuildsOnly":
|
@@ -118,6 +124,7 @@ class EnvironmentConfig(dict):
|
|
118
124
|
def __init__(__self__, *,
|
119
125
|
airflow_uri: Optional[str] = None,
|
120
126
|
dag_gcs_prefix: Optional[str] = None,
|
127
|
+
data_retention_config: Optional['outputs.EnvironmentConfigDataRetentionConfig'] = None,
|
121
128
|
database_config: Optional['outputs.EnvironmentConfigDatabaseConfig'] = None,
|
122
129
|
enable_private_builds_only: Optional[bool] = None,
|
123
130
|
enable_private_environment: Optional[bool] = None,
|
@@ -135,10 +142,34 @@ class EnvironmentConfig(dict):
|
|
135
142
|
web_server_config: Optional['outputs.EnvironmentConfigWebServerConfig'] = None,
|
136
143
|
web_server_network_access_control: Optional['outputs.EnvironmentConfigWebServerNetworkAccessControl'] = None,
|
137
144
|
workloads_config: Optional['outputs.EnvironmentConfigWorkloadsConfig'] = None):
|
145
|
+
"""
|
146
|
+
:param str airflow_uri: The URI of the Apache Airflow Web UI hosted within this environment.
|
147
|
+
:param str dag_gcs_prefix: The Cloud Storage prefix of the DAGs for this environment. Although Cloud Storage objects reside in a flat namespace, a hierarchical file tree can be simulated using '/'-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with this prefix.
|
148
|
+
:param 'EnvironmentConfigDataRetentionConfigArgs' data_retention_config: The configuration setting for Airflow data retention mechanism. This field is supported for Cloud Composer environments in versions composer-2.0.32-airflow-2.1.4. or newer
|
149
|
+
:param 'EnvironmentConfigDatabaseConfigArgs' database_config: The configuration of Cloud SQL instance that is used by the Apache Airflow software. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
150
|
+
:param bool enable_private_builds_only: Optional. If true, builds performed during operations that install Python packages have only private connectivity to Google services. If false, the builds also have access to the internet.
|
151
|
+
:param bool enable_private_environment: Optional. If true, a private Composer environment will be created.
|
152
|
+
:param 'EnvironmentConfigEncryptionConfigArgs' encryption_config: The encryption options for the Composer environment and its dependencies.
|
153
|
+
:param str environment_size: The size of the Cloud Composer environment. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
154
|
+
:param str gke_cluster: The Kubernetes Engine cluster used to run this environment.
|
155
|
+
:param 'EnvironmentConfigMaintenanceWindowArgs' maintenance_window: The configuration for Cloud Composer maintenance window.
|
156
|
+
:param 'EnvironmentConfigMasterAuthorizedNetworksConfigArgs' master_authorized_networks_config: Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs.
|
157
|
+
:param 'EnvironmentConfigNodeConfigArgs' node_config: The configuration used for the Kubernetes Engine cluster.
|
158
|
+
:param int node_count: The number of nodes in the Kubernetes Engine cluster that will be used to run this environment. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
159
|
+
:param 'EnvironmentConfigPrivateEnvironmentConfigArgs' private_environment_config: The configuration used for the Private IP Cloud Composer environment.
|
160
|
+
:param 'EnvironmentConfigRecoveryConfigArgs' recovery_config: The recovery configuration settings for the Cloud Composer environment
|
161
|
+
:param str resilience_mode: Whether high resilience is enabled or not. This field is supported for Cloud Composer environments in versions composer-2.1.15-airflow-*.*.* and newer.
|
162
|
+
:param 'EnvironmentConfigSoftwareConfigArgs' software_config: The configuration settings for software inside the environment.
|
163
|
+
:param 'EnvironmentConfigWebServerConfigArgs' web_server_config: The configuration settings for the Airflow web server App Engine instance. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
164
|
+
:param 'EnvironmentConfigWebServerNetworkAccessControlArgs' web_server_network_access_control: Network-level access control policy for the Airflow web server.
|
165
|
+
:param 'EnvironmentConfigWorkloadsConfigArgs' workloads_config: The workloads configuration settings for the GKE cluster associated with the Cloud Composer environment. Supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
166
|
+
"""
|
138
167
|
if airflow_uri is not None:
|
139
168
|
pulumi.set(__self__, "airflow_uri", airflow_uri)
|
140
169
|
if dag_gcs_prefix is not None:
|
141
170
|
pulumi.set(__self__, "dag_gcs_prefix", dag_gcs_prefix)
|
171
|
+
if data_retention_config is not None:
|
172
|
+
pulumi.set(__self__, "data_retention_config", data_retention_config)
|
142
173
|
if database_config is not None:
|
143
174
|
pulumi.set(__self__, "database_config", database_config)
|
144
175
|
if enable_private_builds_only is not None:
|
@@ -177,99 +208,235 @@ class EnvironmentConfig(dict):
|
|
177
208
|
@property
|
178
209
|
@pulumi.getter(name="airflowUri")
|
179
210
|
def airflow_uri(self) -> Optional[str]:
|
211
|
+
"""
|
212
|
+
The URI of the Apache Airflow Web UI hosted within this environment.
|
213
|
+
"""
|
180
214
|
return pulumi.get(self, "airflow_uri")
|
181
215
|
|
182
216
|
@property
|
183
217
|
@pulumi.getter(name="dagGcsPrefix")
|
184
218
|
def dag_gcs_prefix(self) -> Optional[str]:
|
219
|
+
"""
|
220
|
+
The Cloud Storage prefix of the DAGs for this environment. Although Cloud Storage objects reside in a flat namespace, a hierarchical file tree can be simulated using '/'-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with this prefix.
|
221
|
+
"""
|
185
222
|
return pulumi.get(self, "dag_gcs_prefix")
|
186
223
|
|
224
|
+
@property
|
225
|
+
@pulumi.getter(name="dataRetentionConfig")
|
226
|
+
def data_retention_config(self) -> Optional['outputs.EnvironmentConfigDataRetentionConfig']:
|
227
|
+
"""
|
228
|
+
The configuration setting for Airflow data retention mechanism. This field is supported for Cloud Composer environments in versions composer-2.0.32-airflow-2.1.4. or newer
|
229
|
+
"""
|
230
|
+
return pulumi.get(self, "data_retention_config")
|
231
|
+
|
187
232
|
@property
|
188
233
|
@pulumi.getter(name="databaseConfig")
|
189
234
|
def database_config(self) -> Optional['outputs.EnvironmentConfigDatabaseConfig']:
|
235
|
+
"""
|
236
|
+
The configuration of Cloud SQL instance that is used by the Apache Airflow software. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
237
|
+
"""
|
190
238
|
return pulumi.get(self, "database_config")
|
191
239
|
|
192
240
|
@property
|
193
241
|
@pulumi.getter(name="enablePrivateBuildsOnly")
|
194
242
|
def enable_private_builds_only(self) -> Optional[bool]:
|
243
|
+
"""
|
244
|
+
Optional. If true, builds performed during operations that install Python packages have only private connectivity to Google services. If false, the builds also have access to the internet.
|
245
|
+
"""
|
195
246
|
return pulumi.get(self, "enable_private_builds_only")
|
196
247
|
|
197
248
|
@property
|
198
249
|
@pulumi.getter(name="enablePrivateEnvironment")
|
199
250
|
def enable_private_environment(self) -> Optional[bool]:
|
251
|
+
"""
|
252
|
+
Optional. If true, a private Composer environment will be created.
|
253
|
+
"""
|
200
254
|
return pulumi.get(self, "enable_private_environment")
|
201
255
|
|
202
256
|
@property
|
203
257
|
@pulumi.getter(name="encryptionConfig")
|
204
258
|
def encryption_config(self) -> Optional['outputs.EnvironmentConfigEncryptionConfig']:
|
259
|
+
"""
|
260
|
+
The encryption options for the Composer environment and its dependencies.
|
261
|
+
"""
|
205
262
|
return pulumi.get(self, "encryption_config")
|
206
263
|
|
207
264
|
@property
|
208
265
|
@pulumi.getter(name="environmentSize")
|
209
266
|
def environment_size(self) -> Optional[str]:
|
267
|
+
"""
|
268
|
+
The size of the Cloud Composer environment. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
269
|
+
"""
|
210
270
|
return pulumi.get(self, "environment_size")
|
211
271
|
|
212
272
|
@property
|
213
273
|
@pulumi.getter(name="gkeCluster")
|
214
274
|
def gke_cluster(self) -> Optional[str]:
|
275
|
+
"""
|
276
|
+
The Kubernetes Engine cluster used to run this environment.
|
277
|
+
"""
|
215
278
|
return pulumi.get(self, "gke_cluster")
|
216
279
|
|
217
280
|
@property
|
218
281
|
@pulumi.getter(name="maintenanceWindow")
|
219
282
|
def maintenance_window(self) -> Optional['outputs.EnvironmentConfigMaintenanceWindow']:
|
283
|
+
"""
|
284
|
+
The configuration for Cloud Composer maintenance window.
|
285
|
+
"""
|
220
286
|
return pulumi.get(self, "maintenance_window")
|
221
287
|
|
222
288
|
@property
|
223
289
|
@pulumi.getter(name="masterAuthorizedNetworksConfig")
|
224
290
|
def master_authorized_networks_config(self) -> Optional['outputs.EnvironmentConfigMasterAuthorizedNetworksConfig']:
|
291
|
+
"""
|
292
|
+
Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs.
|
293
|
+
"""
|
225
294
|
return pulumi.get(self, "master_authorized_networks_config")
|
226
295
|
|
227
296
|
@property
|
228
297
|
@pulumi.getter(name="nodeConfig")
|
229
298
|
def node_config(self) -> Optional['outputs.EnvironmentConfigNodeConfig']:
|
299
|
+
"""
|
300
|
+
The configuration used for the Kubernetes Engine cluster.
|
301
|
+
"""
|
230
302
|
return pulumi.get(self, "node_config")
|
231
303
|
|
232
304
|
@property
|
233
305
|
@pulumi.getter(name="nodeCount")
|
234
306
|
def node_count(self) -> Optional[int]:
|
307
|
+
"""
|
308
|
+
The number of nodes in the Kubernetes Engine cluster that will be used to run this environment. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
309
|
+
"""
|
235
310
|
return pulumi.get(self, "node_count")
|
236
311
|
|
237
312
|
@property
|
238
313
|
@pulumi.getter(name="privateEnvironmentConfig")
|
239
314
|
def private_environment_config(self) -> Optional['outputs.EnvironmentConfigPrivateEnvironmentConfig']:
|
315
|
+
"""
|
316
|
+
The configuration used for the Private IP Cloud Composer environment.
|
317
|
+
"""
|
240
318
|
return pulumi.get(self, "private_environment_config")
|
241
319
|
|
242
320
|
@property
|
243
321
|
@pulumi.getter(name="recoveryConfig")
|
244
322
|
def recovery_config(self) -> Optional['outputs.EnvironmentConfigRecoveryConfig']:
|
323
|
+
"""
|
324
|
+
The recovery configuration settings for the Cloud Composer environment
|
325
|
+
"""
|
245
326
|
return pulumi.get(self, "recovery_config")
|
246
327
|
|
247
328
|
@property
|
248
329
|
@pulumi.getter(name="resilienceMode")
|
249
330
|
def resilience_mode(self) -> Optional[str]:
|
331
|
+
"""
|
332
|
+
Whether high resilience is enabled or not. This field is supported for Cloud Composer environments in versions composer-2.1.15-airflow-*.*.* and newer.
|
333
|
+
"""
|
250
334
|
return pulumi.get(self, "resilience_mode")
|
251
335
|
|
252
336
|
@property
|
253
337
|
@pulumi.getter(name="softwareConfig")
|
254
338
|
def software_config(self) -> Optional['outputs.EnvironmentConfigSoftwareConfig']:
|
339
|
+
"""
|
340
|
+
The configuration settings for software inside the environment.
|
341
|
+
"""
|
255
342
|
return pulumi.get(self, "software_config")
|
256
343
|
|
257
344
|
@property
|
258
345
|
@pulumi.getter(name="webServerConfig")
|
259
346
|
def web_server_config(self) -> Optional['outputs.EnvironmentConfigWebServerConfig']:
|
347
|
+
"""
|
348
|
+
The configuration settings for the Airflow web server App Engine instance. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
349
|
+
"""
|
260
350
|
return pulumi.get(self, "web_server_config")
|
261
351
|
|
262
352
|
@property
|
263
353
|
@pulumi.getter(name="webServerNetworkAccessControl")
|
264
354
|
def web_server_network_access_control(self) -> Optional['outputs.EnvironmentConfigWebServerNetworkAccessControl']:
|
355
|
+
"""
|
356
|
+
Network-level access control policy for the Airflow web server.
|
357
|
+
"""
|
265
358
|
return pulumi.get(self, "web_server_network_access_control")
|
266
359
|
|
267
360
|
@property
|
268
361
|
@pulumi.getter(name="workloadsConfig")
|
269
362
|
def workloads_config(self) -> Optional['outputs.EnvironmentConfigWorkloadsConfig']:
|
363
|
+
"""
|
364
|
+
The workloads configuration settings for the GKE cluster associated with the Cloud Composer environment. Supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
365
|
+
"""
|
270
366
|
return pulumi.get(self, "workloads_config")
|
271
367
|
|
272
368
|
|
369
|
+
@pulumi.output_type
|
370
|
+
class EnvironmentConfigDataRetentionConfig(dict):
|
371
|
+
@staticmethod
|
372
|
+
def __key_warning(key: str):
|
373
|
+
suggest = None
|
374
|
+
if key == "taskLogsRetentionConfigs":
|
375
|
+
suggest = "task_logs_retention_configs"
|
376
|
+
|
377
|
+
if suggest:
|
378
|
+
pulumi.log.warn(f"Key '{key}' not found in EnvironmentConfigDataRetentionConfig. Access the value via the '{suggest}' property getter instead.")
|
379
|
+
|
380
|
+
def __getitem__(self, key: str) -> Any:
|
381
|
+
EnvironmentConfigDataRetentionConfig.__key_warning(key)
|
382
|
+
return super().__getitem__(key)
|
383
|
+
|
384
|
+
def get(self, key: str, default = None) -> Any:
|
385
|
+
EnvironmentConfigDataRetentionConfig.__key_warning(key)
|
386
|
+
return super().get(key, default)
|
387
|
+
|
388
|
+
def __init__(__self__, *,
|
389
|
+
task_logs_retention_configs: Sequence['outputs.EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfig']):
|
390
|
+
"""
|
391
|
+
:param Sequence['EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigArgs'] task_logs_retention_configs: Optional. The configuration setting for Task Logs.
|
392
|
+
"""
|
393
|
+
pulumi.set(__self__, "task_logs_retention_configs", task_logs_retention_configs)
|
394
|
+
|
395
|
+
@property
|
396
|
+
@pulumi.getter(name="taskLogsRetentionConfigs")
|
397
|
+
def task_logs_retention_configs(self) -> Sequence['outputs.EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfig']:
|
398
|
+
"""
|
399
|
+
Optional. The configuration setting for Task Logs.
|
400
|
+
"""
|
401
|
+
return pulumi.get(self, "task_logs_retention_configs")
|
402
|
+
|
403
|
+
|
404
|
+
@pulumi.output_type
|
405
|
+
class EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfig(dict):
|
406
|
+
@staticmethod
|
407
|
+
def __key_warning(key: str):
|
408
|
+
suggest = None
|
409
|
+
if key == "storageMode":
|
410
|
+
suggest = "storage_mode"
|
411
|
+
|
412
|
+
if suggest:
|
413
|
+
pulumi.log.warn(f"Key '{key}' not found in EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfig. Access the value via the '{suggest}' property getter instead.")
|
414
|
+
|
415
|
+
def __getitem__(self, key: str) -> Any:
|
416
|
+
EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfig.__key_warning(key)
|
417
|
+
return super().__getitem__(key)
|
418
|
+
|
419
|
+
def get(self, key: str, default = None) -> Any:
|
420
|
+
EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfig.__key_warning(key)
|
421
|
+
return super().get(key, default)
|
422
|
+
|
423
|
+
def __init__(__self__, *,
|
424
|
+
storage_mode: Optional[str] = None):
|
425
|
+
"""
|
426
|
+
:param str storage_mode: Whether logs in cloud logging only is enabled or not. This field is supported for Cloud Composer environments in versions composer-2.0.32-airflow-2.1.4 and newer.
|
427
|
+
"""
|
428
|
+
if storage_mode is not None:
|
429
|
+
pulumi.set(__self__, "storage_mode", storage_mode)
|
430
|
+
|
431
|
+
@property
|
432
|
+
@pulumi.getter(name="storageMode")
|
433
|
+
def storage_mode(self) -> Optional[str]:
|
434
|
+
"""
|
435
|
+
Whether logs in cloud logging only is enabled or not. This field is supported for Cloud Composer environments in versions composer-2.0.32-airflow-2.1.4 and newer.
|
436
|
+
"""
|
437
|
+
return pulumi.get(self, "storage_mode")
|
438
|
+
|
439
|
+
|
273
440
|
@pulumi.output_type
|
274
441
|
class EnvironmentConfigDatabaseConfig(dict):
|
275
442
|
@staticmethod
|
@@ -292,6 +459,10 @@ class EnvironmentConfigDatabaseConfig(dict):
|
|
292
459
|
def __init__(__self__, *,
|
293
460
|
machine_type: Optional[str] = None,
|
294
461
|
zone: Optional[str] = None):
|
462
|
+
"""
|
463
|
+
:param str machine_type: Optional. Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If not specified, db-n1-standard-2 will be used.
|
464
|
+
:param str zone: Optional. Cloud SQL database preferred zone.
|
465
|
+
"""
|
295
466
|
if machine_type is not None:
|
296
467
|
pulumi.set(__self__, "machine_type", machine_type)
|
297
468
|
if zone is not None:
|
@@ -300,11 +471,17 @@ class EnvironmentConfigDatabaseConfig(dict):
|
|
300
471
|
@property
|
301
472
|
@pulumi.getter(name="machineType")
|
302
473
|
def machine_type(self) -> Optional[str]:
|
474
|
+
"""
|
475
|
+
Optional. Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If not specified, db-n1-standard-2 will be used.
|
476
|
+
"""
|
303
477
|
return pulumi.get(self, "machine_type")
|
304
478
|
|
305
479
|
@property
|
306
480
|
@pulumi.getter
|
307
481
|
def zone(self) -> Optional[str]:
|
482
|
+
"""
|
483
|
+
Optional. Cloud SQL database preferred zone.
|
484
|
+
"""
|
308
485
|
return pulumi.get(self, "zone")
|
309
486
|
|
310
487
|
|
@@ -329,11 +506,17 @@ class EnvironmentConfigEncryptionConfig(dict):
|
|
329
506
|
|
330
507
|
def __init__(__self__, *,
|
331
508
|
kms_key_name: str):
|
509
|
+
"""
|
510
|
+
:param str kms_key_name: Optional. Customer-managed Encryption Key available through Google's Key Management Service. Cannot be updated.
|
511
|
+
"""
|
332
512
|
pulumi.set(__self__, "kms_key_name", kms_key_name)
|
333
513
|
|
334
514
|
@property
|
335
515
|
@pulumi.getter(name="kmsKeyName")
|
336
516
|
def kms_key_name(self) -> str:
|
517
|
+
"""
|
518
|
+
Optional. Customer-managed Encryption Key available through Google's Key Management Service. Cannot be updated.
|
519
|
+
"""
|
337
520
|
return pulumi.get(self, "kms_key_name")
|
338
521
|
|
339
522
|
|
@@ -362,6 +545,11 @@ class EnvironmentConfigMaintenanceWindow(dict):
|
|
362
545
|
end_time: str,
|
363
546
|
recurrence: str,
|
364
547
|
start_time: str):
|
548
|
+
"""
|
549
|
+
:param str end_time: Maintenance window end time. It is used only to calculate the duration of the maintenance window. The value for end-time must be in the future, relative to 'start_time'.
|
550
|
+
:param str recurrence: Maintenance window recurrence. Format is a subset of RFC-5545 (https://tools.ietf.org/html/rfc5545) 'RRULE'. The only allowed values for 'FREQ' field are 'FREQ=DAILY' and 'FREQ=WEEKLY;BYDAY=...'. Example values: 'FREQ=WEEKLY;BYDAY=TU,WE', 'FREQ=DAILY'.
|
551
|
+
:param str start_time: Start time of the first recurrence of the maintenance window.
|
552
|
+
"""
|
365
553
|
pulumi.set(__self__, "end_time", end_time)
|
366
554
|
pulumi.set(__self__, "recurrence", recurrence)
|
367
555
|
pulumi.set(__self__, "start_time", start_time)
|
@@ -369,16 +557,25 @@ class EnvironmentConfigMaintenanceWindow(dict):
|
|
369
557
|
@property
|
370
558
|
@pulumi.getter(name="endTime")
|
371
559
|
def end_time(self) -> str:
|
560
|
+
"""
|
561
|
+
Maintenance window end time. It is used only to calculate the duration of the maintenance window. The value for end-time must be in the future, relative to 'start_time'.
|
562
|
+
"""
|
372
563
|
return pulumi.get(self, "end_time")
|
373
564
|
|
374
565
|
@property
|
375
566
|
@pulumi.getter
|
376
567
|
def recurrence(self) -> str:
|
568
|
+
"""
|
569
|
+
Maintenance window recurrence. Format is a subset of RFC-5545 (https://tools.ietf.org/html/rfc5545) 'RRULE'. The only allowed values for 'FREQ' field are 'FREQ=DAILY' and 'FREQ=WEEKLY;BYDAY=...'. Example values: 'FREQ=WEEKLY;BYDAY=TU,WE', 'FREQ=DAILY'.
|
570
|
+
"""
|
377
571
|
return pulumi.get(self, "recurrence")
|
378
572
|
|
379
573
|
@property
|
380
574
|
@pulumi.getter(name="startTime")
|
381
575
|
def start_time(self) -> str:
|
576
|
+
"""
|
577
|
+
Start time of the first recurrence of the maintenance window.
|
578
|
+
"""
|
382
579
|
return pulumi.get(self, "start_time")
|
383
580
|
|
384
581
|
|
@@ -404,6 +601,10 @@ class EnvironmentConfigMasterAuthorizedNetworksConfig(dict):
|
|
404
601
|
def __init__(__self__, *,
|
405
602
|
enabled: bool,
|
406
603
|
cidr_blocks: Optional[Sequence['outputs.EnvironmentConfigMasterAuthorizedNetworksConfigCidrBlock']] = None):
|
604
|
+
"""
|
605
|
+
:param bool enabled: Whether or not master authorized networks is enabled.
|
606
|
+
:param Sequence['EnvironmentConfigMasterAuthorizedNetworksConfigCidrBlockArgs'] cidr_blocks: cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.
|
607
|
+
"""
|
407
608
|
pulumi.set(__self__, "enabled", enabled)
|
408
609
|
if cidr_blocks is not None:
|
409
610
|
pulumi.set(__self__, "cidr_blocks", cidr_blocks)
|
@@ -411,11 +612,17 @@ class EnvironmentConfigMasterAuthorizedNetworksConfig(dict):
|
|
411
612
|
@property
|
412
613
|
@pulumi.getter
|
413
614
|
def enabled(self) -> bool:
|
615
|
+
"""
|
616
|
+
Whether or not master authorized networks is enabled.
|
617
|
+
"""
|
414
618
|
return pulumi.get(self, "enabled")
|
415
619
|
|
416
620
|
@property
|
417
621
|
@pulumi.getter(name="cidrBlocks")
|
418
622
|
def cidr_blocks(self) -> Optional[Sequence['outputs.EnvironmentConfigMasterAuthorizedNetworksConfigCidrBlock']]:
|
623
|
+
"""
|
624
|
+
cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.
|
625
|
+
"""
|
419
626
|
return pulumi.get(self, "cidr_blocks")
|
420
627
|
|
421
628
|
|
@@ -443,6 +650,10 @@ class EnvironmentConfigMasterAuthorizedNetworksConfigCidrBlock(dict):
|
|
443
650
|
def __init__(__self__, *,
|
444
651
|
cidr_block: str,
|
445
652
|
display_name: Optional[str] = None):
|
653
|
+
"""
|
654
|
+
:param str cidr_block: cidr_block must be specified in CIDR notation.
|
655
|
+
:param str display_name: display_name is a field for users to identify CIDR blocks.
|
656
|
+
"""
|
446
657
|
pulumi.set(__self__, "cidr_block", cidr_block)
|
447
658
|
if display_name is not None:
|
448
659
|
pulumi.set(__self__, "display_name", display_name)
|
@@ -450,11 +661,17 @@ class EnvironmentConfigMasterAuthorizedNetworksConfigCidrBlock(dict):
|
|
450
661
|
@property
|
451
662
|
@pulumi.getter(name="cidrBlock")
|
452
663
|
def cidr_block(self) -> str:
|
664
|
+
"""
|
665
|
+
cidr_block must be specified in CIDR notation.
|
666
|
+
"""
|
453
667
|
return pulumi.get(self, "cidr_block")
|
454
668
|
|
455
669
|
@property
|
456
670
|
@pulumi.getter(name="displayName")
|
457
671
|
def display_name(self) -> Optional[str]:
|
672
|
+
"""
|
673
|
+
display_name is a field for users to identify CIDR blocks.
|
674
|
+
"""
|
458
675
|
return pulumi.get(self, "display_name")
|
459
676
|
|
460
677
|
|
@@ -504,6 +721,20 @@ class EnvironmentConfigNodeConfig(dict):
|
|
504
721
|
subnetwork: Optional[str] = None,
|
505
722
|
tags: Optional[Sequence[str]] = None,
|
506
723
|
zone: Optional[str] = None):
|
724
|
+
"""
|
725
|
+
:param str composer_internal_ipv4_cidr_block: IPv4 cidr range that will be used by Composer internal components.
|
726
|
+
:param int disk_size_gb: The disk size in GB used for node VMs. Minimum size is 20GB. If unspecified, defaults to 100GB. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
727
|
+
:param bool enable_ip_masq_agent: Deploys 'ip-masq-agent' daemon set in the GKE cluster and defines nonMasqueradeCIDRs equals to pod IP range so IP masquerading is used for all destination addresses, except between pods traffic. See: https://cloud.google.com/kubernetes-engine/docs/how-to/ip-masquerade-agent
|
728
|
+
:param 'EnvironmentConfigNodeConfigIpAllocationPolicyArgs' ip_allocation_policy: Configuration for controlling how IPs are allocated in the GKE cluster. Cannot be updated.
|
729
|
+
:param str machine_type: The Compute Engine machine type used for cluster instances, specified as a name or relative resource name. For example: "projects/{project}/zones/{zone}/machineTypes/{machineType}". Must belong to the enclosing environment's project and region/zone. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
730
|
+
:param int max_pods_per_node: The maximum pods per node in the GKE cluster allocated during environment creation. Lowering this value reduces IP address consumption by the Cloud Composer Kubernetes cluster. This value can only be set during environment creation, and only if the environment is VPC-Native. The range of possible values is 8-110, and the default is 32. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
731
|
+
:param str network: The Compute Engine machine type used for cluster instances, specified as a name or relative resource name. For example: "projects/{project}/zones/{zone}/machineTypes/{machineType}". Must belong to the enclosing environment's project and region/zone. The network must belong to the environment's project. If unspecified, the "default" network ID in the environment's project is used. If a Custom Subnet Network is provided, subnetwork must also be provided.
|
732
|
+
:param Sequence[str] oauth_scopes: The set of Google API scopes to be made available on all node VMs. Cannot be updated. If empty, defaults to ["https://www.googleapis.com/auth/cloud-platform"]. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
733
|
+
:param str service_account: The Google Cloud Platform Service Account to be used by the node VMs. If a service account is not specified, the "default" Compute Engine service account is used. Cannot be updated. If given, note that the service account must have roles/composer.worker for any GCP resources created under the Cloud Composer Environment.
|
734
|
+
:param str subnetwork: The Compute Engine subnetwork to be used for machine communications, , specified as a self-link, relative resource name (e.g. "projects/{project}/regions/{region}/subnetworks/{subnetwork}"), or by name. If subnetwork is provided, network must also be provided and the subnetwork must belong to the enclosing environment's project and region.
|
735
|
+
:param Sequence[str] tags: The list of instance tags applied to all node VMs. Tags are used to identify valid sources or targets for network firewalls. Each tag within the list must comply with RFC1035. Cannot be updated.
|
736
|
+
:param str zone: The Compute Engine zone in which to deploy the VMs running the Apache Airflow software, specified as the zone name or relative resource name (e.g. "projects/{project}/zones/{zone}"). Must belong to the enclosing environment's project and region. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
737
|
+
"""
|
507
738
|
if composer_internal_ipv4_cidr_block is not None:
|
508
739
|
pulumi.set(__self__, "composer_internal_ipv4_cidr_block", composer_internal_ipv4_cidr_block)
|
509
740
|
if disk_size_gb is not None:
|
@@ -532,61 +763,97 @@ class EnvironmentConfigNodeConfig(dict):
|
|
532
763
|
@property
|
533
764
|
@pulumi.getter(name="composerInternalIpv4CidrBlock")
|
534
765
|
def composer_internal_ipv4_cidr_block(self) -> Optional[str]:
|
766
|
+
"""
|
767
|
+
IPv4 cidr range that will be used by Composer internal components.
|
768
|
+
"""
|
535
769
|
return pulumi.get(self, "composer_internal_ipv4_cidr_block")
|
536
770
|
|
537
771
|
@property
|
538
772
|
@pulumi.getter(name="diskSizeGb")
|
539
773
|
def disk_size_gb(self) -> Optional[int]:
|
774
|
+
"""
|
775
|
+
The disk size in GB used for node VMs. Minimum size is 20GB. If unspecified, defaults to 100GB. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
776
|
+
"""
|
540
777
|
return pulumi.get(self, "disk_size_gb")
|
541
778
|
|
542
779
|
@property
|
543
780
|
@pulumi.getter(name="enableIpMasqAgent")
|
544
781
|
def enable_ip_masq_agent(self) -> Optional[bool]:
|
782
|
+
"""
|
783
|
+
Deploys 'ip-masq-agent' daemon set in the GKE cluster and defines nonMasqueradeCIDRs equals to pod IP range so IP masquerading is used for all destination addresses, except between pods traffic. See: https://cloud.google.com/kubernetes-engine/docs/how-to/ip-masquerade-agent
|
784
|
+
"""
|
545
785
|
return pulumi.get(self, "enable_ip_masq_agent")
|
546
786
|
|
547
787
|
@property
|
548
788
|
@pulumi.getter(name="ipAllocationPolicy")
|
549
789
|
def ip_allocation_policy(self) -> Optional['outputs.EnvironmentConfigNodeConfigIpAllocationPolicy']:
|
790
|
+
"""
|
791
|
+
Configuration for controlling how IPs are allocated in the GKE cluster. Cannot be updated.
|
792
|
+
"""
|
550
793
|
return pulumi.get(self, "ip_allocation_policy")
|
551
794
|
|
552
795
|
@property
|
553
796
|
@pulumi.getter(name="machineType")
|
554
797
|
def machine_type(self) -> Optional[str]:
|
798
|
+
"""
|
799
|
+
The Compute Engine machine type used for cluster instances, specified as a name or relative resource name. For example: "projects/{project}/zones/{zone}/machineTypes/{machineType}". Must belong to the enclosing environment's project and region/zone. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
800
|
+
"""
|
555
801
|
return pulumi.get(self, "machine_type")
|
556
802
|
|
557
803
|
@property
|
558
804
|
@pulumi.getter(name="maxPodsPerNode")
|
559
805
|
def max_pods_per_node(self) -> Optional[int]:
|
806
|
+
"""
|
807
|
+
The maximum pods per node in the GKE cluster allocated during environment creation. Lowering this value reduces IP address consumption by the Cloud Composer Kubernetes cluster. This value can only be set during environment creation, and only if the environment is VPC-Native. The range of possible values is 8-110, and the default is 32. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
808
|
+
"""
|
560
809
|
return pulumi.get(self, "max_pods_per_node")
|
561
810
|
|
562
811
|
@property
|
563
812
|
@pulumi.getter
|
564
813
|
def network(self) -> Optional[str]:
|
814
|
+
"""
|
815
|
+
The Compute Engine machine type used for cluster instances, specified as a name or relative resource name. For example: "projects/{project}/zones/{zone}/machineTypes/{machineType}". Must belong to the enclosing environment's project and region/zone. The network must belong to the environment's project. If unspecified, the "default" network ID in the environment's project is used. If a Custom Subnet Network is provided, subnetwork must also be provided.
|
816
|
+
"""
|
565
817
|
return pulumi.get(self, "network")
|
566
818
|
|
567
819
|
@property
|
568
820
|
@pulumi.getter(name="oauthScopes")
|
569
821
|
def oauth_scopes(self) -> Optional[Sequence[str]]:
|
822
|
+
"""
|
823
|
+
The set of Google API scopes to be made available on all node VMs. Cannot be updated. If empty, defaults to ["https://www.googleapis.com/auth/cloud-platform"]. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
824
|
+
"""
|
570
825
|
return pulumi.get(self, "oauth_scopes")
|
571
826
|
|
572
827
|
@property
|
573
828
|
@pulumi.getter(name="serviceAccount")
|
574
829
|
def service_account(self) -> Optional[str]:
|
830
|
+
"""
|
831
|
+
The Google Cloud Platform Service Account to be used by the node VMs. If a service account is not specified, the "default" Compute Engine service account is used. Cannot be updated. If given, note that the service account must have roles/composer.worker for any GCP resources created under the Cloud Composer Environment.
|
832
|
+
"""
|
575
833
|
return pulumi.get(self, "service_account")
|
576
834
|
|
577
835
|
@property
|
578
836
|
@pulumi.getter
|
579
837
|
def subnetwork(self) -> Optional[str]:
|
838
|
+
"""
|
839
|
+
The Compute Engine subnetwork to be used for machine communications, , specified as a self-link, relative resource name (e.g. "projects/{project}/regions/{region}/subnetworks/{subnetwork}"), or by name. If subnetwork is provided, network must also be provided and the subnetwork must belong to the enclosing environment's project and region.
|
840
|
+
"""
|
580
841
|
return pulumi.get(self, "subnetwork")
|
581
842
|
|
582
843
|
@property
|
583
844
|
@pulumi.getter
|
584
845
|
def tags(self) -> Optional[Sequence[str]]:
|
846
|
+
"""
|
847
|
+
The list of instance tags applied to all node VMs. Tags are used to identify valid sources or targets for network firewalls. Each tag within the list must comply with RFC1035. Cannot be updated.
|
848
|
+
"""
|
585
849
|
return pulumi.get(self, "tags")
|
586
850
|
|
587
851
|
@property
|
588
852
|
@pulumi.getter
|
589
853
|
def zone(self) -> Optional[str]:
|
854
|
+
"""
|
855
|
+
The Compute Engine zone in which to deploy the VMs running the Apache Airflow software, specified as the zone name or relative resource name (e.g. "projects/{project}/zones/{zone}"). Must belong to the enclosing environment's project and region. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
856
|
+
"""
|
590
857
|
return pulumi.get(self, "zone")
|
591
858
|
|
592
859
|
|
@@ -623,6 +890,13 @@ class EnvironmentConfigNodeConfigIpAllocationPolicy(dict):
|
|
623
890
|
services_ipv4_cidr_block: Optional[str] = None,
|
624
891
|
services_secondary_range_name: Optional[str] = None,
|
625
892
|
use_ip_aliases: Optional[bool] = None):
|
893
|
+
"""
|
894
|
+
:param str cluster_ipv4_cidr_block: The IP address range used to allocate IP addresses to pods in the cluster. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when use_ip_aliases is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. /14) to have GKE choose a range with a specific netmask. Set to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private networks (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use. Specify either cluster_secondary_range_name or cluster_ipv4_cidr_block but not both.
|
895
|
+
:param str cluster_secondary_range_name: The name of the cluster's secondary range used to allocate IP addresses to pods. Specify either cluster_secondary_range_name or cluster_ipv4_cidr_block but not both. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when use_ip_aliases is true.
|
896
|
+
:param str services_ipv4_cidr_block: The IP address range used to allocate IP addresses in this cluster. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when use_ip_aliases is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. /14) to have GKE choose a range with a specific netmask. Set to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private networks (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use. Specify either services_secondary_range_name or services_ipv4_cidr_block but not both.
|
897
|
+
:param str services_secondary_range_name: The name of the services' secondary range used to allocate IP addresses to the cluster. Specify either services_secondary_range_name or services_ipv4_cidr_block but not both. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when use_ip_aliases is true.
|
898
|
+
:param bool use_ip_aliases: Whether or not to enable Alias IPs in the GKE cluster. If true, a VPC-native cluster is created. Defaults to true if the ip_allocation_policy block is present in config. This field is only supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. Environments in newer versions always use VPC-native GKE clusters.
|
899
|
+
"""
|
626
900
|
if cluster_ipv4_cidr_block is not None:
|
627
901
|
pulumi.set(__self__, "cluster_ipv4_cidr_block", cluster_ipv4_cidr_block)
|
628
902
|
if cluster_secondary_range_name is not None:
|
@@ -637,26 +911,41 @@ class EnvironmentConfigNodeConfigIpAllocationPolicy(dict):
|
|
637
911
|
@property
|
638
912
|
@pulumi.getter(name="clusterIpv4CidrBlock")
|
639
913
|
def cluster_ipv4_cidr_block(self) -> Optional[str]:
|
914
|
+
"""
|
915
|
+
The IP address range used to allocate IP addresses to pods in the cluster. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when use_ip_aliases is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. /14) to have GKE choose a range with a specific netmask. Set to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private networks (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use. Specify either cluster_secondary_range_name or cluster_ipv4_cidr_block but not both.
|
916
|
+
"""
|
640
917
|
return pulumi.get(self, "cluster_ipv4_cidr_block")
|
641
918
|
|
642
919
|
@property
|
643
920
|
@pulumi.getter(name="clusterSecondaryRangeName")
|
644
921
|
def cluster_secondary_range_name(self) -> Optional[str]:
|
922
|
+
"""
|
923
|
+
The name of the cluster's secondary range used to allocate IP addresses to pods. Specify either cluster_secondary_range_name or cluster_ipv4_cidr_block but not both. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when use_ip_aliases is true.
|
924
|
+
"""
|
645
925
|
return pulumi.get(self, "cluster_secondary_range_name")
|
646
926
|
|
647
927
|
@property
|
648
928
|
@pulumi.getter(name="servicesIpv4CidrBlock")
|
649
929
|
def services_ipv4_cidr_block(self) -> Optional[str]:
|
930
|
+
"""
|
931
|
+
The IP address range used to allocate IP addresses in this cluster. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when use_ip_aliases is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. /14) to have GKE choose a range with a specific netmask. Set to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private networks (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use. Specify either services_secondary_range_name or services_ipv4_cidr_block but not both.
|
932
|
+
"""
|
650
933
|
return pulumi.get(self, "services_ipv4_cidr_block")
|
651
934
|
|
652
935
|
@property
|
653
936
|
@pulumi.getter(name="servicesSecondaryRangeName")
|
654
937
|
def services_secondary_range_name(self) -> Optional[str]:
|
938
|
+
"""
|
939
|
+
The name of the services' secondary range used to allocate IP addresses to the cluster. Specify either services_secondary_range_name or services_ipv4_cidr_block but not both. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when use_ip_aliases is true.
|
940
|
+
"""
|
655
941
|
return pulumi.get(self, "services_secondary_range_name")
|
656
942
|
|
657
943
|
@property
|
658
944
|
@pulumi.getter(name="useIpAliases")
|
659
945
|
def use_ip_aliases(self) -> Optional[bool]:
|
946
|
+
"""
|
947
|
+
Whether or not to enable Alias IPs in the GKE cluster. If true, a VPC-native cluster is created. Defaults to true if the ip_allocation_policy block is present in config. This field is only supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. Environments in newer versions always use VPC-native GKE clusters.
|
948
|
+
"""
|
660
949
|
return pulumi.get(self, "use_ip_aliases")
|
661
950
|
|
662
951
|
|
@@ -702,6 +991,16 @@ class EnvironmentConfigPrivateEnvironmentConfig(dict):
|
|
702
991
|
enable_privately_used_public_ips: Optional[bool] = None,
|
703
992
|
master_ipv4_cidr_block: Optional[str] = None,
|
704
993
|
web_server_ipv4_cidr_block: Optional[str] = None):
|
994
|
+
"""
|
995
|
+
:param str cloud_composer_connection_subnetwork: When specified, the environment will use Private Service Connect instead of VPC peerings to connect to Cloud SQL in the Tenant Project, and the PSC endpoint in the Customer Project will use an IP address from this subnetwork. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
996
|
+
:param str cloud_composer_network_ipv4_cidr_block: The CIDR block from which IP range for Cloud Composer Network in tenant project will be reserved. Needs to be disjoint from private_cluster_config.master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
997
|
+
:param str cloud_sql_ipv4_cidr_block: The CIDR block from which IP range in tenant project will be reserved for Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block.
|
998
|
+
:param str connection_type: Mode of internal communication within the Composer environment. Must be one of "VPC_PEERING" or "PRIVATE_SERVICE_CONNECT".
|
999
|
+
:param bool enable_private_endpoint: If true, access to the public endpoint of the GKE cluster is denied. If this field is set to true, ip_allocation_policy.use_ip_aliases must be set to true for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
1000
|
+
:param bool enable_privately_used_public_ips: When enabled, IPs from public (non-RFC1918) ranges can be used for ip_allocation_policy.cluster_ipv4_cidr_block and ip_allocation_policy.service_ipv4_cidr_block.
|
1001
|
+
:param str master_ipv4_cidr_block: The IP range in CIDR notation to use for the hosted master network. This range is used for assigning internal IP addresses to the cluster master or set of masters and to the internal load balancer virtual IP. This range must not overlap with any other ranges in use within the cluster's network. If left blank, the default value of '172.16.0.0/28' is used.
|
1002
|
+
:param str web_server_ipv4_cidr_block: The CIDR block from which IP range for web server will be reserved. Needs to be disjoint from master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
1003
|
+
"""
|
705
1004
|
if cloud_composer_connection_subnetwork is not None:
|
706
1005
|
pulumi.set(__self__, "cloud_composer_connection_subnetwork", cloud_composer_connection_subnetwork)
|
707
1006
|
if cloud_composer_network_ipv4_cidr_block is not None:
|
@@ -722,41 +1021,65 @@ class EnvironmentConfigPrivateEnvironmentConfig(dict):
|
|
722
1021
|
@property
|
723
1022
|
@pulumi.getter(name="cloudComposerConnectionSubnetwork")
|
724
1023
|
def cloud_composer_connection_subnetwork(self) -> Optional[str]:
|
1024
|
+
"""
|
1025
|
+
When specified, the environment will use Private Service Connect instead of VPC peerings to connect to Cloud SQL in the Tenant Project, and the PSC endpoint in the Customer Project will use an IP address from this subnetwork. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
1026
|
+
"""
|
725
1027
|
return pulumi.get(self, "cloud_composer_connection_subnetwork")
|
726
1028
|
|
727
1029
|
@property
|
728
1030
|
@pulumi.getter(name="cloudComposerNetworkIpv4CidrBlock")
|
729
1031
|
def cloud_composer_network_ipv4_cidr_block(self) -> Optional[str]:
|
1032
|
+
"""
|
1033
|
+
The CIDR block from which IP range for Cloud Composer Network in tenant project will be reserved. Needs to be disjoint from private_cluster_config.master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
1034
|
+
"""
|
730
1035
|
return pulumi.get(self, "cloud_composer_network_ipv4_cidr_block")
|
731
1036
|
|
732
1037
|
@property
|
733
1038
|
@pulumi.getter(name="cloudSqlIpv4CidrBlock")
|
734
1039
|
def cloud_sql_ipv4_cidr_block(self) -> Optional[str]:
|
1040
|
+
"""
|
1041
|
+
The CIDR block from which IP range in tenant project will be reserved for Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block.
|
1042
|
+
"""
|
735
1043
|
return pulumi.get(self, "cloud_sql_ipv4_cidr_block")
|
736
1044
|
|
737
1045
|
@property
|
738
1046
|
@pulumi.getter(name="connectionType")
|
739
1047
|
def connection_type(self) -> Optional[str]:
|
1048
|
+
"""
|
1049
|
+
Mode of internal communication within the Composer environment. Must be one of "VPC_PEERING" or "PRIVATE_SERVICE_CONNECT".
|
1050
|
+
"""
|
740
1051
|
return pulumi.get(self, "connection_type")
|
741
1052
|
|
742
1053
|
@property
|
743
1054
|
@pulumi.getter(name="enablePrivateEndpoint")
|
744
1055
|
def enable_private_endpoint(self) -> Optional[bool]:
|
1056
|
+
"""
|
1057
|
+
If true, access to the public endpoint of the GKE cluster is denied. If this field is set to true, ip_allocation_policy.use_ip_aliases must be set to true for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
1058
|
+
"""
|
745
1059
|
return pulumi.get(self, "enable_private_endpoint")
|
746
1060
|
|
747
1061
|
@property
|
748
1062
|
@pulumi.getter(name="enablePrivatelyUsedPublicIps")
|
749
1063
|
def enable_privately_used_public_ips(self) -> Optional[bool]:
|
1064
|
+
"""
|
1065
|
+
When enabled, IPs from public (non-RFC1918) ranges can be used for ip_allocation_policy.cluster_ipv4_cidr_block and ip_allocation_policy.service_ipv4_cidr_block.
|
1066
|
+
"""
|
750
1067
|
return pulumi.get(self, "enable_privately_used_public_ips")
|
751
1068
|
|
752
1069
|
@property
|
753
1070
|
@pulumi.getter(name="masterIpv4CidrBlock")
|
754
1071
|
def master_ipv4_cidr_block(self) -> Optional[str]:
|
1072
|
+
"""
|
1073
|
+
The IP range in CIDR notation to use for the hosted master network. This range is used for assigning internal IP addresses to the cluster master or set of masters and to the internal load balancer virtual IP. This range must not overlap with any other ranges in use within the cluster's network. If left blank, the default value of '172.16.0.0/28' is used.
|
1074
|
+
"""
|
755
1075
|
return pulumi.get(self, "master_ipv4_cidr_block")
|
756
1076
|
|
757
1077
|
@property
|
758
1078
|
@pulumi.getter(name="webServerIpv4CidrBlock")
|
759
1079
|
def web_server_ipv4_cidr_block(self) -> Optional[str]:
|
1080
|
+
"""
|
1081
|
+
The CIDR block from which IP range for web server will be reserved. Needs to be disjoint from master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
1082
|
+
"""
|
760
1083
|
return pulumi.get(self, "web_server_ipv4_cidr_block")
|
761
1084
|
|
762
1085
|
|
@@ -781,12 +1104,18 @@ class EnvironmentConfigRecoveryConfig(dict):
|
|
781
1104
|
|
782
1105
|
def __init__(__self__, *,
|
783
1106
|
scheduled_snapshots_config: Optional['outputs.EnvironmentConfigRecoveryConfigScheduledSnapshotsConfig'] = None):
|
1107
|
+
"""
|
1108
|
+
:param 'EnvironmentConfigRecoveryConfigScheduledSnapshotsConfigArgs' scheduled_snapshots_config: The configuration settings for scheduled snapshots.
|
1109
|
+
"""
|
784
1110
|
if scheduled_snapshots_config is not None:
|
785
1111
|
pulumi.set(__self__, "scheduled_snapshots_config", scheduled_snapshots_config)
|
786
1112
|
|
787
1113
|
@property
|
788
1114
|
@pulumi.getter(name="scheduledSnapshotsConfig")
|
789
1115
|
def scheduled_snapshots_config(self) -> Optional['outputs.EnvironmentConfigRecoveryConfigScheduledSnapshotsConfig']:
|
1116
|
+
"""
|
1117
|
+
The configuration settings for scheduled snapshots.
|
1118
|
+
"""
|
790
1119
|
return pulumi.get(self, "scheduled_snapshots_config")
|
791
1120
|
|
792
1121
|
|
@@ -818,6 +1147,12 @@ class EnvironmentConfigRecoveryConfigScheduledSnapshotsConfig(dict):
|
|
818
1147
|
snapshot_creation_schedule: Optional[str] = None,
|
819
1148
|
snapshot_location: Optional[str] = None,
|
820
1149
|
time_zone: Optional[str] = None):
|
1150
|
+
"""
|
1151
|
+
:param bool enabled: When enabled, Cloud Composer periodically saves snapshots of your environment to a Cloud Storage bucket.
|
1152
|
+
:param str snapshot_creation_schedule: Snapshot schedule, in the unix-cron format.
|
1153
|
+
:param str snapshot_location: the URI of a bucket folder where to save the snapshot.
|
1154
|
+
:param str time_zone: A time zone for the schedule. This value is a time offset and does not take into account daylight saving time changes. Valid values are from UTC-12 to UTC+12. Examples: UTC, UTC-01, UTC+03.
|
1155
|
+
"""
|
821
1156
|
pulumi.set(__self__, "enabled", enabled)
|
822
1157
|
if snapshot_creation_schedule is not None:
|
823
1158
|
pulumi.set(__self__, "snapshot_creation_schedule", snapshot_creation_schedule)
|
@@ -829,21 +1164,33 @@ class EnvironmentConfigRecoveryConfigScheduledSnapshotsConfig(dict):
|
|
829
1164
|
@property
|
830
1165
|
@pulumi.getter
|
831
1166
|
def enabled(self) -> bool:
|
1167
|
+
"""
|
1168
|
+
When enabled, Cloud Composer periodically saves snapshots of your environment to a Cloud Storage bucket.
|
1169
|
+
"""
|
832
1170
|
return pulumi.get(self, "enabled")
|
833
1171
|
|
834
1172
|
@property
|
835
1173
|
@pulumi.getter(name="snapshotCreationSchedule")
|
836
1174
|
def snapshot_creation_schedule(self) -> Optional[str]:
|
1175
|
+
"""
|
1176
|
+
Snapshot schedule, in the unix-cron format.
|
1177
|
+
"""
|
837
1178
|
return pulumi.get(self, "snapshot_creation_schedule")
|
838
1179
|
|
839
1180
|
@property
|
840
1181
|
@pulumi.getter(name="snapshotLocation")
|
841
1182
|
def snapshot_location(self) -> Optional[str]:
|
1183
|
+
"""
|
1184
|
+
the URI of a bucket folder where to save the snapshot.
|
1185
|
+
"""
|
842
1186
|
return pulumi.get(self, "snapshot_location")
|
843
1187
|
|
844
1188
|
@property
|
845
1189
|
@pulumi.getter(name="timeZone")
|
846
1190
|
def time_zone(self) -> Optional[str]:
|
1191
|
+
"""
|
1192
|
+
A time zone for the schedule. This value is a time offset and does not take into account daylight saving time changes. Valid values are from UTC-12 to UTC+12. Examples: UTC, UTC-01, UTC+03.
|
1193
|
+
"""
|
847
1194
|
return pulumi.get(self, "time_zone")
|
848
1195
|
|
849
1196
|
|
@@ -889,6 +1236,16 @@ class EnvironmentConfigSoftwareConfig(dict):
|
|
889
1236
|
python_version: Optional[str] = None,
|
890
1237
|
scheduler_count: Optional[int] = None,
|
891
1238
|
web_server_plugins_mode: Optional[str] = None):
|
1239
|
+
"""
|
1240
|
+
:param Mapping[str, str] airflow_config_overrides: Apache Airflow configuration properties to override. Property keys contain the section and property names, separated by a hyphen, for example "core-dags_are_paused_at_creation". Section names must not contain hyphens ("-"), opening square brackets ("["), or closing square brackets ("]"). The property name must not be empty and cannot contain "=" or ";". Section and property names cannot contain characters: "." Apache Airflow configuration property names must be written in snake_case. Property values can contain any character, and can be written in any lower/upper case format. Certain Apache Airflow configuration property values are blacklisted, and cannot be overridden.
|
1241
|
+
:param 'EnvironmentConfigSoftwareConfigCloudDataLineageIntegrationArgs' cloud_data_lineage_integration: The configuration for Cloud Data Lineage integration. Supported for Cloud Composer environments in versions composer-2.1.2-airflow-*.*.* and newer
|
1242
|
+
:param Mapping[str, str] env_variables: Additional environment variables to provide to the Apache Airflow scheduler, worker, and webserver processes. Environment variable names must match the regular expression [a-zA-Z_][a-zA-Z0-9_]*. They cannot specify Apache Airflow software configuration overrides (they cannot match the regular expression AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+), and they cannot match any of the following reserved names: AIRFLOW_HOME C_FORCE_ROOT CONTAINER_NAME DAGS_FOLDER GCP_PROJECT GCS_BUCKET GKE_CLUSTER_NAME SQL_DATABASE SQL_INSTANCE SQL_PASSWORD SQL_PROJECT SQL_REGION SQL_USER.
|
1243
|
+
:param str image_version: The version of the software running in the environment. This encapsulates both the version of Cloud Composer functionality and the version of Apache Airflow. It must match the regular expression composer-([0-9]+(\\.[0-9]+\\.[0-9]+(-preview\\.[0-9]+)?)?|latest)-airflow-([0-9]+(\\.[0-9]+(\\.[0-9]+)?)?). The Cloud Composer portion of the image version is a full semantic version, or an alias in the form of major version number or 'latest'. The Apache Airflow portion of the image version is a full semantic version that points to one of the supported Apache Airflow versions, or an alias in the form of only major or major.minor versions specified. See documentation for more details and version list.
|
1244
|
+
:param Mapping[str, str] pypi_packages: Custom Python Package Index (PyPI) packages to be installed in the environment. Keys refer to the lowercase package name (e.g. "numpy"). Values are the lowercase extras and version specifier (e.g. "==1.12.0", "[devel,gcp_api]", "[devel]>=1.8.2, <1.9.2"). To specify a package without pinning it to a version specifier, use the empty string as the value.
|
1245
|
+
:param str python_version: The major version of Python used to run the Apache Airflow scheduler, worker, and webserver processes. Can be set to '2' or '3'. If not specified, the default is '2'. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. Environments in newer versions always use Python major version 3.
|
1246
|
+
:param int scheduler_count: The number of schedulers for Airflow. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-2.*.*.
|
1247
|
+
:param str web_server_plugins_mode: Should be either 'ENABLED' or 'DISABLED'. Defaults to 'ENABLED'. Used in Composer 3.
|
1248
|
+
"""
|
892
1249
|
if airflow_config_overrides is not None:
|
893
1250
|
pulumi.set(__self__, "airflow_config_overrides", airflow_config_overrides)
|
894
1251
|
if cloud_data_lineage_integration is not None:
|
@@ -909,41 +1266,65 @@ class EnvironmentConfigSoftwareConfig(dict):
|
|
909
1266
|
@property
|
910
1267
|
@pulumi.getter(name="airflowConfigOverrides")
|
911
1268
|
def airflow_config_overrides(self) -> Optional[Mapping[str, str]]:
|
1269
|
+
"""
|
1270
|
+
Apache Airflow configuration properties to override. Property keys contain the section and property names, separated by a hyphen, for example "core-dags_are_paused_at_creation". Section names must not contain hyphens ("-"), opening square brackets ("["), or closing square brackets ("]"). The property name must not be empty and cannot contain "=" or ";". Section and property names cannot contain characters: "." Apache Airflow configuration property names must be written in snake_case. Property values can contain any character, and can be written in any lower/upper case format. Certain Apache Airflow configuration property values are blacklisted, and cannot be overridden.
|
1271
|
+
"""
|
912
1272
|
return pulumi.get(self, "airflow_config_overrides")
|
913
1273
|
|
914
1274
|
@property
|
915
1275
|
@pulumi.getter(name="cloudDataLineageIntegration")
|
916
1276
|
def cloud_data_lineage_integration(self) -> Optional['outputs.EnvironmentConfigSoftwareConfigCloudDataLineageIntegration']:
|
1277
|
+
"""
|
1278
|
+
The configuration for Cloud Data Lineage integration. Supported for Cloud Composer environments in versions composer-2.1.2-airflow-*.*.* and newer
|
1279
|
+
"""
|
917
1280
|
return pulumi.get(self, "cloud_data_lineage_integration")
|
918
1281
|
|
919
1282
|
@property
|
920
1283
|
@pulumi.getter(name="envVariables")
|
921
1284
|
def env_variables(self) -> Optional[Mapping[str, str]]:
|
1285
|
+
"""
|
1286
|
+
Additional environment variables to provide to the Apache Airflow scheduler, worker, and webserver processes. Environment variable names must match the regular expression [a-zA-Z_][a-zA-Z0-9_]*. They cannot specify Apache Airflow software configuration overrides (they cannot match the regular expression AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+), and they cannot match any of the following reserved names: AIRFLOW_HOME C_FORCE_ROOT CONTAINER_NAME DAGS_FOLDER GCP_PROJECT GCS_BUCKET GKE_CLUSTER_NAME SQL_DATABASE SQL_INSTANCE SQL_PASSWORD SQL_PROJECT SQL_REGION SQL_USER.
|
1287
|
+
"""
|
922
1288
|
return pulumi.get(self, "env_variables")
|
923
1289
|
|
924
1290
|
@property
|
925
1291
|
@pulumi.getter(name="imageVersion")
|
926
1292
|
def image_version(self) -> Optional[str]:
|
1293
|
+
"""
|
1294
|
+
The version of the software running in the environment. This encapsulates both the version of Cloud Composer functionality and the version of Apache Airflow. It must match the regular expression composer-([0-9]+(\\.[0-9]+\\.[0-9]+(-preview\\.[0-9]+)?)?|latest)-airflow-([0-9]+(\\.[0-9]+(\\.[0-9]+)?)?). The Cloud Composer portion of the image version is a full semantic version, or an alias in the form of major version number or 'latest'. The Apache Airflow portion of the image version is a full semantic version that points to one of the supported Apache Airflow versions, or an alias in the form of only major or major.minor versions specified. See documentation for more details and version list.
|
1295
|
+
"""
|
927
1296
|
return pulumi.get(self, "image_version")
|
928
1297
|
|
929
1298
|
@property
|
930
1299
|
@pulumi.getter(name="pypiPackages")
|
931
1300
|
def pypi_packages(self) -> Optional[Mapping[str, str]]:
|
1301
|
+
"""
|
1302
|
+
Custom Python Package Index (PyPI) packages to be installed in the environment. Keys refer to the lowercase package name (e.g. "numpy"). Values are the lowercase extras and version specifier (e.g. "==1.12.0", "[devel,gcp_api]", "[devel]>=1.8.2, <1.9.2"). To specify a package without pinning it to a version specifier, use the empty string as the value.
|
1303
|
+
"""
|
932
1304
|
return pulumi.get(self, "pypi_packages")
|
933
1305
|
|
934
1306
|
@property
|
935
1307
|
@pulumi.getter(name="pythonVersion")
|
936
1308
|
def python_version(self) -> Optional[str]:
|
1309
|
+
"""
|
1310
|
+
The major version of Python used to run the Apache Airflow scheduler, worker, and webserver processes. Can be set to '2' or '3'. If not specified, the default is '2'. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. Environments in newer versions always use Python major version 3.
|
1311
|
+
"""
|
937
1312
|
return pulumi.get(self, "python_version")
|
938
1313
|
|
939
1314
|
@property
|
940
1315
|
@pulumi.getter(name="schedulerCount")
|
941
1316
|
def scheduler_count(self) -> Optional[int]:
|
1317
|
+
"""
|
1318
|
+
The number of schedulers for Airflow. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-2.*.*.
|
1319
|
+
"""
|
942
1320
|
return pulumi.get(self, "scheduler_count")
|
943
1321
|
|
944
1322
|
@property
|
945
1323
|
@pulumi.getter(name="webServerPluginsMode")
|
946
1324
|
def web_server_plugins_mode(self) -> Optional[str]:
|
1325
|
+
"""
|
1326
|
+
Should be either 'ENABLED' or 'DISABLED'. Defaults to 'ENABLED'. Used in Composer 3.
|
1327
|
+
"""
|
947
1328
|
return pulumi.get(self, "web_server_plugins_mode")
|
948
1329
|
|
949
1330
|
|
@@ -951,11 +1332,17 @@ class EnvironmentConfigSoftwareConfig(dict):
|
|
951
1332
|
class EnvironmentConfigSoftwareConfigCloudDataLineageIntegration(dict):
|
952
1333
|
def __init__(__self__, *,
|
953
1334
|
enabled: bool):
|
1335
|
+
"""
|
1336
|
+
:param bool enabled: Whether or not Cloud Data Lineage integration is enabled.
|
1337
|
+
"""
|
954
1338
|
pulumi.set(__self__, "enabled", enabled)
|
955
1339
|
|
956
1340
|
@property
|
957
1341
|
@pulumi.getter
|
958
1342
|
def enabled(self) -> bool:
|
1343
|
+
"""
|
1344
|
+
Whether or not Cloud Data Lineage integration is enabled.
|
1345
|
+
"""
|
959
1346
|
return pulumi.get(self, "enabled")
|
960
1347
|
|
961
1348
|
|
@@ -980,11 +1367,17 @@ class EnvironmentConfigWebServerConfig(dict):
|
|
980
1367
|
|
981
1368
|
def __init__(__self__, *,
|
982
1369
|
machine_type: str):
|
1370
|
+
"""
|
1371
|
+
:param str machine_type: Optional. Machine type on which Airflow web server is running. It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or composer-n1-webserver-8. If not specified, composer-n1-webserver-2 will be used. Value custom is returned only in response, if Airflow web server parameters were manually changed to a non-standard values.
|
1372
|
+
"""
|
983
1373
|
pulumi.set(__self__, "machine_type", machine_type)
|
984
1374
|
|
985
1375
|
@property
|
986
1376
|
@pulumi.getter(name="machineType")
|
987
1377
|
def machine_type(self) -> str:
|
1378
|
+
"""
|
1379
|
+
Optional. Machine type on which Airflow web server is running. It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or composer-n1-webserver-8. If not specified, composer-n1-webserver-2 will be used. Value custom is returned only in response, if Airflow web server parameters were manually changed to a non-standard values.
|
1380
|
+
"""
|
988
1381
|
return pulumi.get(self, "machine_type")
|
989
1382
|
|
990
1383
|
|
@@ -1009,12 +1402,18 @@ class EnvironmentConfigWebServerNetworkAccessControl(dict):
|
|
1009
1402
|
|
1010
1403
|
def __init__(__self__, *,
|
1011
1404
|
allowed_ip_ranges: Optional[Sequence['outputs.EnvironmentConfigWebServerNetworkAccessControlAllowedIpRange']] = None):
|
1405
|
+
"""
|
1406
|
+
:param Sequence['EnvironmentConfigWebServerNetworkAccessControlAllowedIpRangeArgs'] allowed_ip_ranges: A collection of allowed IP ranges with descriptions.
|
1407
|
+
"""
|
1012
1408
|
if allowed_ip_ranges is not None:
|
1013
1409
|
pulumi.set(__self__, "allowed_ip_ranges", allowed_ip_ranges)
|
1014
1410
|
|
1015
1411
|
@property
|
1016
1412
|
@pulumi.getter(name="allowedIpRanges")
|
1017
1413
|
def allowed_ip_ranges(self) -> Optional[Sequence['outputs.EnvironmentConfigWebServerNetworkAccessControlAllowedIpRange']]:
|
1414
|
+
"""
|
1415
|
+
A collection of allowed IP ranges with descriptions.
|
1416
|
+
"""
|
1018
1417
|
return pulumi.get(self, "allowed_ip_ranges")
|
1019
1418
|
|
1020
1419
|
|
@@ -1023,6 +1422,10 @@ class EnvironmentConfigWebServerNetworkAccessControlAllowedIpRange(dict):
|
|
1023
1422
|
def __init__(__self__, *,
|
1024
1423
|
value: str,
|
1025
1424
|
description: Optional[str] = None):
|
1425
|
+
"""
|
1426
|
+
:param str value: IP address or range, defined using CIDR notation, of requests that this rule applies to. Examples: 192.168.1.1 or 192.168.0.0/16 or 2001:db8::/32 or 2001:0db8:0000:0042:0000:8a2e:0370:7334. IP range prefixes should be properly truncated. For example, 1.2.3.4/24 should be truncated to 1.2.3.0/24. Similarly, for IPv6, 2001:db8::1/32 should be truncated to 2001:db8::/32.
|
1427
|
+
:param str description: A description of this ip range.
|
1428
|
+
"""
|
1026
1429
|
pulumi.set(__self__, "value", value)
|
1027
1430
|
if description is not None:
|
1028
1431
|
pulumi.set(__self__, "description", description)
|
@@ -1030,11 +1433,17 @@ class EnvironmentConfigWebServerNetworkAccessControlAllowedIpRange(dict):
|
|
1030
1433
|
@property
|
1031
1434
|
@pulumi.getter
|
1032
1435
|
def value(self) -> str:
|
1436
|
+
"""
|
1437
|
+
IP address or range, defined using CIDR notation, of requests that this rule applies to. Examples: 192.168.1.1 or 192.168.0.0/16 or 2001:db8::/32 or 2001:0db8:0000:0042:0000:8a2e:0370:7334. IP range prefixes should be properly truncated. For example, 1.2.3.4/24 should be truncated to 1.2.3.0/24. Similarly, for IPv6, 2001:db8::1/32 should be truncated to 2001:db8::/32.
|
1438
|
+
"""
|
1033
1439
|
return pulumi.get(self, "value")
|
1034
1440
|
|
1035
1441
|
@property
|
1036
1442
|
@pulumi.getter
|
1037
1443
|
def description(self) -> Optional[str]:
|
1444
|
+
"""
|
1445
|
+
A description of this ip range.
|
1446
|
+
"""
|
1038
1447
|
return pulumi.get(self, "description")
|
1039
1448
|
|
1040
1449
|
|
@@ -1065,6 +1474,13 @@ class EnvironmentConfigWorkloadsConfig(dict):
|
|
1065
1474
|
triggerer: Optional['outputs.EnvironmentConfigWorkloadsConfigTriggerer'] = None,
|
1066
1475
|
web_server: Optional['outputs.EnvironmentConfigWorkloadsConfigWebServer'] = None,
|
1067
1476
|
worker: Optional['outputs.EnvironmentConfigWorkloadsConfigWorker'] = None):
|
1477
|
+
"""
|
1478
|
+
:param 'EnvironmentConfigWorkloadsConfigDagProcessorArgs' dag_processor: Configuration for resources used by DAG processor.
|
1479
|
+
:param 'EnvironmentConfigWorkloadsConfigSchedulerArgs' scheduler: Configuration for resources used by Airflow schedulers.
|
1480
|
+
:param 'EnvironmentConfigWorkloadsConfigTriggererArgs' triggerer: Configuration for resources used by Airflow triggerers.
|
1481
|
+
:param 'EnvironmentConfigWorkloadsConfigWebServerArgs' web_server: Configuration for resources used by Airflow web server.
|
1482
|
+
:param 'EnvironmentConfigWorkloadsConfigWorkerArgs' worker: Configuration for resources used by Airflow workers.
|
1483
|
+
"""
|
1068
1484
|
if dag_processor is not None:
|
1069
1485
|
pulumi.set(__self__, "dag_processor", dag_processor)
|
1070
1486
|
if scheduler is not None:
|
@@ -1079,26 +1495,41 @@ class EnvironmentConfigWorkloadsConfig(dict):
|
|
1079
1495
|
@property
|
1080
1496
|
@pulumi.getter(name="dagProcessor")
|
1081
1497
|
def dag_processor(self) -> Optional['outputs.EnvironmentConfigWorkloadsConfigDagProcessor']:
|
1498
|
+
"""
|
1499
|
+
Configuration for resources used by DAG processor.
|
1500
|
+
"""
|
1082
1501
|
return pulumi.get(self, "dag_processor")
|
1083
1502
|
|
1084
1503
|
@property
|
1085
1504
|
@pulumi.getter
|
1086
1505
|
def scheduler(self) -> Optional['outputs.EnvironmentConfigWorkloadsConfigScheduler']:
|
1506
|
+
"""
|
1507
|
+
Configuration for resources used by Airflow schedulers.
|
1508
|
+
"""
|
1087
1509
|
return pulumi.get(self, "scheduler")
|
1088
1510
|
|
1089
1511
|
@property
|
1090
1512
|
@pulumi.getter
|
1091
1513
|
def triggerer(self) -> Optional['outputs.EnvironmentConfigWorkloadsConfigTriggerer']:
|
1514
|
+
"""
|
1515
|
+
Configuration for resources used by Airflow triggerers.
|
1516
|
+
"""
|
1092
1517
|
return pulumi.get(self, "triggerer")
|
1093
1518
|
|
1094
1519
|
@property
|
1095
1520
|
@pulumi.getter(name="webServer")
|
1096
1521
|
def web_server(self) -> Optional['outputs.EnvironmentConfigWorkloadsConfigWebServer']:
|
1522
|
+
"""
|
1523
|
+
Configuration for resources used by Airflow web server.
|
1524
|
+
"""
|
1097
1525
|
return pulumi.get(self, "web_server")
|
1098
1526
|
|
1099
1527
|
@property
|
1100
1528
|
@pulumi.getter
|
1101
1529
|
def worker(self) -> Optional['outputs.EnvironmentConfigWorkloadsConfigWorker']:
|
1530
|
+
"""
|
1531
|
+
Configuration for resources used by Airflow workers.
|
1532
|
+
"""
|
1102
1533
|
return pulumi.get(self, "worker")
|
1103
1534
|
|
1104
1535
|
|
@@ -1127,6 +1558,11 @@ class EnvironmentConfigWorkloadsConfigDagProcessor(dict):
|
|
1127
1558
|
cpu: Optional[float] = None,
|
1128
1559
|
memory_gb: Optional[float] = None,
|
1129
1560
|
storage_gb: Optional[float] = None):
|
1561
|
+
"""
|
1562
|
+
:param float cpu: CPU request and limit for DAG processor.
|
1563
|
+
:param float memory_gb: Memory (GB) request and limit for DAG processor.
|
1564
|
+
:param float storage_gb: Storage (GB) request and limit for DAG processor.
|
1565
|
+
"""
|
1130
1566
|
if cpu is not None:
|
1131
1567
|
pulumi.set(__self__, "cpu", cpu)
|
1132
1568
|
if memory_gb is not None:
|
@@ -1137,16 +1573,25 @@ class EnvironmentConfigWorkloadsConfigDagProcessor(dict):
|
|
1137
1573
|
@property
|
1138
1574
|
@pulumi.getter
|
1139
1575
|
def cpu(self) -> Optional[float]:
|
1576
|
+
"""
|
1577
|
+
CPU request and limit for DAG processor.
|
1578
|
+
"""
|
1140
1579
|
return pulumi.get(self, "cpu")
|
1141
1580
|
|
1142
1581
|
@property
|
1143
1582
|
@pulumi.getter(name="memoryGb")
|
1144
1583
|
def memory_gb(self) -> Optional[float]:
|
1584
|
+
"""
|
1585
|
+
Memory (GB) request and limit for DAG processor.
|
1586
|
+
"""
|
1145
1587
|
return pulumi.get(self, "memory_gb")
|
1146
1588
|
|
1147
1589
|
@property
|
1148
1590
|
@pulumi.getter(name="storageGb")
|
1149
1591
|
def storage_gb(self) -> Optional[float]:
|
1592
|
+
"""
|
1593
|
+
Storage (GB) request and limit for DAG processor.
|
1594
|
+
"""
|
1150
1595
|
return pulumi.get(self, "storage_gb")
|
1151
1596
|
|
1152
1597
|
|
@@ -1176,6 +1621,12 @@ class EnvironmentConfigWorkloadsConfigScheduler(dict):
|
|
1176
1621
|
cpu: Optional[float] = None,
|
1177
1622
|
memory_gb: Optional[float] = None,
|
1178
1623
|
storage_gb: Optional[float] = None):
|
1624
|
+
"""
|
1625
|
+
:param int count: The number of schedulers.
|
1626
|
+
:param float cpu: CPU request and limit for a single Airflow scheduler replica
|
1627
|
+
:param float memory_gb: Memory (GB) request and limit for a single Airflow scheduler replica.
|
1628
|
+
:param float storage_gb: Storage (GB) request and limit for a single Airflow scheduler replica.
|
1629
|
+
"""
|
1179
1630
|
if count is not None:
|
1180
1631
|
pulumi.set(__self__, "count", count)
|
1181
1632
|
if cpu is not None:
|
@@ -1188,21 +1639,33 @@ class EnvironmentConfigWorkloadsConfigScheduler(dict):
|
|
1188
1639
|
@property
|
1189
1640
|
@pulumi.getter
|
1190
1641
|
def count(self) -> Optional[int]:
|
1642
|
+
"""
|
1643
|
+
The number of schedulers.
|
1644
|
+
"""
|
1191
1645
|
return pulumi.get(self, "count")
|
1192
1646
|
|
1193
1647
|
@property
|
1194
1648
|
@pulumi.getter
|
1195
1649
|
def cpu(self) -> Optional[float]:
|
1650
|
+
"""
|
1651
|
+
CPU request and limit for a single Airflow scheduler replica
|
1652
|
+
"""
|
1196
1653
|
return pulumi.get(self, "cpu")
|
1197
1654
|
|
1198
1655
|
@property
|
1199
1656
|
@pulumi.getter(name="memoryGb")
|
1200
1657
|
def memory_gb(self) -> Optional[float]:
|
1658
|
+
"""
|
1659
|
+
Memory (GB) request and limit for a single Airflow scheduler replica.
|
1660
|
+
"""
|
1201
1661
|
return pulumi.get(self, "memory_gb")
|
1202
1662
|
|
1203
1663
|
@property
|
1204
1664
|
@pulumi.getter(name="storageGb")
|
1205
1665
|
def storage_gb(self) -> Optional[float]:
|
1666
|
+
"""
|
1667
|
+
Storage (GB) request and limit for a single Airflow scheduler replica.
|
1668
|
+
"""
|
1206
1669
|
return pulumi.get(self, "storage_gb")
|
1207
1670
|
|
1208
1671
|
|
@@ -1229,6 +1692,11 @@ class EnvironmentConfigWorkloadsConfigTriggerer(dict):
|
|
1229
1692
|
count: int,
|
1230
1693
|
cpu: float,
|
1231
1694
|
memory_gb: float):
|
1695
|
+
"""
|
1696
|
+
:param int count: The number of triggerers.
|
1697
|
+
:param float cpu: CPU request and limit for a single Airflow triggerer replica.
|
1698
|
+
:param float memory_gb: Memory (GB) request and limit for a single Airflow triggerer replica.
|
1699
|
+
"""
|
1232
1700
|
pulumi.set(__self__, "count", count)
|
1233
1701
|
pulumi.set(__self__, "cpu", cpu)
|
1234
1702
|
pulumi.set(__self__, "memory_gb", memory_gb)
|
@@ -1236,16 +1704,25 @@ class EnvironmentConfigWorkloadsConfigTriggerer(dict):
|
|
1236
1704
|
@property
|
1237
1705
|
@pulumi.getter
|
1238
1706
|
def count(self) -> int:
|
1707
|
+
"""
|
1708
|
+
The number of triggerers.
|
1709
|
+
"""
|
1239
1710
|
return pulumi.get(self, "count")
|
1240
1711
|
|
1241
1712
|
@property
|
1242
1713
|
@pulumi.getter
|
1243
1714
|
def cpu(self) -> float:
|
1715
|
+
"""
|
1716
|
+
CPU request and limit for a single Airflow triggerer replica.
|
1717
|
+
"""
|
1244
1718
|
return pulumi.get(self, "cpu")
|
1245
1719
|
|
1246
1720
|
@property
|
1247
1721
|
@pulumi.getter(name="memoryGb")
|
1248
1722
|
def memory_gb(self) -> float:
|
1723
|
+
"""
|
1724
|
+
Memory (GB) request and limit for a single Airflow triggerer replica.
|
1725
|
+
"""
|
1249
1726
|
return pulumi.get(self, "memory_gb")
|
1250
1727
|
|
1251
1728
|
|
@@ -1274,6 +1751,11 @@ class EnvironmentConfigWorkloadsConfigWebServer(dict):
|
|
1274
1751
|
cpu: Optional[float] = None,
|
1275
1752
|
memory_gb: Optional[float] = None,
|
1276
1753
|
storage_gb: Optional[float] = None):
|
1754
|
+
"""
|
1755
|
+
:param float cpu: CPU request and limit for Airflow web server.
|
1756
|
+
:param float memory_gb: Memory (GB) request and limit for Airflow web server.
|
1757
|
+
:param float storage_gb: Storage (GB) request and limit for Airflow web server.
|
1758
|
+
"""
|
1277
1759
|
if cpu is not None:
|
1278
1760
|
pulumi.set(__self__, "cpu", cpu)
|
1279
1761
|
if memory_gb is not None:
|
@@ -1284,16 +1766,25 @@ class EnvironmentConfigWorkloadsConfigWebServer(dict):
|
|
1284
1766
|
@property
|
1285
1767
|
@pulumi.getter
|
1286
1768
|
def cpu(self) -> Optional[float]:
|
1769
|
+
"""
|
1770
|
+
CPU request and limit for Airflow web server.
|
1771
|
+
"""
|
1287
1772
|
return pulumi.get(self, "cpu")
|
1288
1773
|
|
1289
1774
|
@property
|
1290
1775
|
@pulumi.getter(name="memoryGb")
|
1291
1776
|
def memory_gb(self) -> Optional[float]:
|
1777
|
+
"""
|
1778
|
+
Memory (GB) request and limit for Airflow web server.
|
1779
|
+
"""
|
1292
1780
|
return pulumi.get(self, "memory_gb")
|
1293
1781
|
|
1294
1782
|
@property
|
1295
1783
|
@pulumi.getter(name="storageGb")
|
1296
1784
|
def storage_gb(self) -> Optional[float]:
|
1785
|
+
"""
|
1786
|
+
Storage (GB) request and limit for Airflow web server.
|
1787
|
+
"""
|
1297
1788
|
return pulumi.get(self, "storage_gb")
|
1298
1789
|
|
1299
1790
|
|
@@ -1328,6 +1819,13 @@ class EnvironmentConfigWorkloadsConfigWorker(dict):
|
|
1328
1819
|
memory_gb: Optional[float] = None,
|
1329
1820
|
min_count: Optional[int] = None,
|
1330
1821
|
storage_gb: Optional[float] = None):
|
1822
|
+
"""
|
1823
|
+
:param float cpu: CPU request and limit for a single Airflow worker replica.
|
1824
|
+
:param int max_count: Maximum number of workers for autoscaling.
|
1825
|
+
:param float memory_gb: Memory (GB) request and limit for a single Airflow worker replica.
|
1826
|
+
:param int min_count: Minimum number of workers for autoscaling.
|
1827
|
+
:param float storage_gb: Storage (GB) request and limit for a single Airflow worker replica.
|
1828
|
+
"""
|
1331
1829
|
if cpu is not None:
|
1332
1830
|
pulumi.set(__self__, "cpu", cpu)
|
1333
1831
|
if max_count is not None:
|
@@ -1342,26 +1840,41 @@ class EnvironmentConfigWorkloadsConfigWorker(dict):
|
|
1342
1840
|
@property
|
1343
1841
|
@pulumi.getter
|
1344
1842
|
def cpu(self) -> Optional[float]:
|
1843
|
+
"""
|
1844
|
+
CPU request and limit for a single Airflow worker replica.
|
1845
|
+
"""
|
1345
1846
|
return pulumi.get(self, "cpu")
|
1346
1847
|
|
1347
1848
|
@property
|
1348
1849
|
@pulumi.getter(name="maxCount")
|
1349
1850
|
def max_count(self) -> Optional[int]:
|
1851
|
+
"""
|
1852
|
+
Maximum number of workers for autoscaling.
|
1853
|
+
"""
|
1350
1854
|
return pulumi.get(self, "max_count")
|
1351
1855
|
|
1352
1856
|
@property
|
1353
1857
|
@pulumi.getter(name="memoryGb")
|
1354
1858
|
def memory_gb(self) -> Optional[float]:
|
1859
|
+
"""
|
1860
|
+
Memory (GB) request and limit for a single Airflow worker replica.
|
1861
|
+
"""
|
1355
1862
|
return pulumi.get(self, "memory_gb")
|
1356
1863
|
|
1357
1864
|
@property
|
1358
1865
|
@pulumi.getter(name="minCount")
|
1359
1866
|
def min_count(self) -> Optional[int]:
|
1867
|
+
"""
|
1868
|
+
Minimum number of workers for autoscaling.
|
1869
|
+
"""
|
1360
1870
|
return pulumi.get(self, "min_count")
|
1361
1871
|
|
1362
1872
|
@property
|
1363
1873
|
@pulumi.getter(name="storageGb")
|
1364
1874
|
def storage_gb(self) -> Optional[float]:
|
1875
|
+
"""
|
1876
|
+
Storage (GB) request and limit for a single Airflow worker replica.
|
1877
|
+
"""
|
1365
1878
|
return pulumi.get(self, "storage_gb")
|
1366
1879
|
|
1367
1880
|
|
@@ -1369,11 +1882,17 @@ class EnvironmentConfigWorkloadsConfigWorker(dict):
|
|
1369
1882
|
class EnvironmentStorageConfig(dict):
|
1370
1883
|
def __init__(__self__, *,
|
1371
1884
|
bucket: str):
|
1885
|
+
"""
|
1886
|
+
:param str bucket: Optional. Name of an existing Cloud Storage bucket to be used by the environment.
|
1887
|
+
"""
|
1372
1888
|
pulumi.set(__self__, "bucket", bucket)
|
1373
1889
|
|
1374
1890
|
@property
|
1375
1891
|
@pulumi.getter
|
1376
1892
|
def bucket(self) -> str:
|
1893
|
+
"""
|
1894
|
+
Optional. Name of an existing Cloud Storage bucket to be used by the environment.
|
1895
|
+
"""
|
1377
1896
|
return pulumi.get(self, "bucket")
|
1378
1897
|
|
1379
1898
|
|
@@ -1382,6 +1901,7 @@ class GetEnvironmentConfigResult(dict):
|
|
1382
1901
|
def __init__(__self__, *,
|
1383
1902
|
airflow_uri: str,
|
1384
1903
|
dag_gcs_prefix: str,
|
1904
|
+
data_retention_configs: Sequence['outputs.GetEnvironmentConfigDataRetentionConfigResult'],
|
1385
1905
|
database_configs: Sequence['outputs.GetEnvironmentConfigDatabaseConfigResult'],
|
1386
1906
|
enable_private_builds_only: bool,
|
1387
1907
|
enable_private_environment: bool,
|
@@ -1399,8 +1919,31 @@ class GetEnvironmentConfigResult(dict):
|
|
1399
1919
|
web_server_configs: Sequence['outputs.GetEnvironmentConfigWebServerConfigResult'],
|
1400
1920
|
web_server_network_access_controls: Sequence['outputs.GetEnvironmentConfigWebServerNetworkAccessControlResult'],
|
1401
1921
|
workloads_configs: Sequence['outputs.GetEnvironmentConfigWorkloadsConfigResult']):
|
1922
|
+
"""
|
1923
|
+
:param str airflow_uri: The URI of the Apache Airflow Web UI hosted within this environment.
|
1924
|
+
:param str dag_gcs_prefix: The Cloud Storage prefix of the DAGs for this environment. Although Cloud Storage objects reside in a flat namespace, a hierarchical file tree can be simulated using '/'-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with this prefix.
|
1925
|
+
:param Sequence['GetEnvironmentConfigDataRetentionConfigArgs'] data_retention_configs: The configuration setting for Airflow data retention mechanism. This field is supported for Cloud Composer environments in versions composer-2.0.32-airflow-2.1.4. or newer
|
1926
|
+
:param Sequence['GetEnvironmentConfigDatabaseConfigArgs'] database_configs: The configuration of Cloud SQL instance that is used by the Apache Airflow software. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
1927
|
+
:param bool enable_private_builds_only: Optional. If true, builds performed during operations that install Python packages have only private connectivity to Google services. If false, the builds also have access to the internet.
|
1928
|
+
:param bool enable_private_environment: Optional. If true, a private Composer environment will be created.
|
1929
|
+
:param Sequence['GetEnvironmentConfigEncryptionConfigArgs'] encryption_configs: The encryption options for the Composer environment and its dependencies.
|
1930
|
+
:param str environment_size: The size of the Cloud Composer environment. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
1931
|
+
:param str gke_cluster: The Kubernetes Engine cluster used to run this environment.
|
1932
|
+
:param Sequence['GetEnvironmentConfigMaintenanceWindowArgs'] maintenance_windows: The configuration for Cloud Composer maintenance window.
|
1933
|
+
:param Sequence['GetEnvironmentConfigMasterAuthorizedNetworksConfigArgs'] master_authorized_networks_configs: Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs.
|
1934
|
+
:param Sequence['GetEnvironmentConfigNodeConfigArgs'] node_configs: The configuration used for the Kubernetes Engine cluster.
|
1935
|
+
:param int node_count: The number of nodes in the Kubernetes Engine cluster that will be used to run this environment. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
1936
|
+
:param Sequence['GetEnvironmentConfigPrivateEnvironmentConfigArgs'] private_environment_configs: The configuration used for the Private IP Cloud Composer environment.
|
1937
|
+
:param Sequence['GetEnvironmentConfigRecoveryConfigArgs'] recovery_configs: The recovery configuration settings for the Cloud Composer environment
|
1938
|
+
:param str resilience_mode: Whether high resilience is enabled or not. This field is supported for Cloud Composer environments in versions composer-2.1.15-airflow-*.*.* and newer.
|
1939
|
+
:param Sequence['GetEnvironmentConfigSoftwareConfigArgs'] software_configs: The configuration settings for software inside the environment.
|
1940
|
+
:param Sequence['GetEnvironmentConfigWebServerConfigArgs'] web_server_configs: The configuration settings for the Airflow web server App Engine instance. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
1941
|
+
:param Sequence['GetEnvironmentConfigWebServerNetworkAccessControlArgs'] web_server_network_access_controls: Network-level access control policy for the Airflow web server.
|
1942
|
+
:param Sequence['GetEnvironmentConfigWorkloadsConfigArgs'] workloads_configs: The workloads configuration settings for the GKE cluster associated with the Cloud Composer environment. Supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
1943
|
+
"""
|
1402
1944
|
pulumi.set(__self__, "airflow_uri", airflow_uri)
|
1403
1945
|
pulumi.set(__self__, "dag_gcs_prefix", dag_gcs_prefix)
|
1946
|
+
pulumi.set(__self__, "data_retention_configs", data_retention_configs)
|
1404
1947
|
pulumi.set(__self__, "database_configs", database_configs)
|
1405
1948
|
pulumi.set(__self__, "enable_private_builds_only", enable_private_builds_only)
|
1406
1949
|
pulumi.set(__self__, "enable_private_environment", enable_private_environment)
|
@@ -1422,115 +1965,226 @@ class GetEnvironmentConfigResult(dict):
|
|
1422
1965
|
@property
|
1423
1966
|
@pulumi.getter(name="airflowUri")
|
1424
1967
|
def airflow_uri(self) -> str:
|
1968
|
+
"""
|
1969
|
+
The URI of the Apache Airflow Web UI hosted within this environment.
|
1970
|
+
"""
|
1425
1971
|
return pulumi.get(self, "airflow_uri")
|
1426
1972
|
|
1427
1973
|
@property
|
1428
1974
|
@pulumi.getter(name="dagGcsPrefix")
|
1429
1975
|
def dag_gcs_prefix(self) -> str:
|
1976
|
+
"""
|
1977
|
+
The Cloud Storage prefix of the DAGs for this environment. Although Cloud Storage objects reside in a flat namespace, a hierarchical file tree can be simulated using '/'-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with this prefix.
|
1978
|
+
"""
|
1430
1979
|
return pulumi.get(self, "dag_gcs_prefix")
|
1431
1980
|
|
1981
|
+
@property
|
1982
|
+
@pulumi.getter(name="dataRetentionConfigs")
|
1983
|
+
def data_retention_configs(self) -> Sequence['outputs.GetEnvironmentConfigDataRetentionConfigResult']:
|
1984
|
+
"""
|
1985
|
+
The configuration setting for Airflow data retention mechanism. This field is supported for Cloud Composer environments in versions composer-2.0.32-airflow-2.1.4. or newer
|
1986
|
+
"""
|
1987
|
+
return pulumi.get(self, "data_retention_configs")
|
1988
|
+
|
1432
1989
|
@property
|
1433
1990
|
@pulumi.getter(name="databaseConfigs")
|
1434
1991
|
def database_configs(self) -> Sequence['outputs.GetEnvironmentConfigDatabaseConfigResult']:
|
1992
|
+
"""
|
1993
|
+
The configuration of Cloud SQL instance that is used by the Apache Airflow software. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
1994
|
+
"""
|
1435
1995
|
return pulumi.get(self, "database_configs")
|
1436
1996
|
|
1437
1997
|
@property
|
1438
1998
|
@pulumi.getter(name="enablePrivateBuildsOnly")
|
1439
1999
|
def enable_private_builds_only(self) -> bool:
|
2000
|
+
"""
|
2001
|
+
Optional. If true, builds performed during operations that install Python packages have only private connectivity to Google services. If false, the builds also have access to the internet.
|
2002
|
+
"""
|
1440
2003
|
return pulumi.get(self, "enable_private_builds_only")
|
1441
2004
|
|
1442
2005
|
@property
|
1443
2006
|
@pulumi.getter(name="enablePrivateEnvironment")
|
1444
2007
|
def enable_private_environment(self) -> bool:
|
2008
|
+
"""
|
2009
|
+
Optional. If true, a private Composer environment will be created.
|
2010
|
+
"""
|
1445
2011
|
return pulumi.get(self, "enable_private_environment")
|
1446
2012
|
|
1447
2013
|
@property
|
1448
2014
|
@pulumi.getter(name="encryptionConfigs")
|
1449
2015
|
def encryption_configs(self) -> Sequence['outputs.GetEnvironmentConfigEncryptionConfigResult']:
|
2016
|
+
"""
|
2017
|
+
The encryption options for the Composer environment and its dependencies.
|
2018
|
+
"""
|
1450
2019
|
return pulumi.get(self, "encryption_configs")
|
1451
2020
|
|
1452
2021
|
@property
|
1453
2022
|
@pulumi.getter(name="environmentSize")
|
1454
2023
|
def environment_size(self) -> str:
|
2024
|
+
"""
|
2025
|
+
The size of the Cloud Composer environment. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
2026
|
+
"""
|
1455
2027
|
return pulumi.get(self, "environment_size")
|
1456
2028
|
|
1457
2029
|
@property
|
1458
2030
|
@pulumi.getter(name="gkeCluster")
|
1459
2031
|
def gke_cluster(self) -> str:
|
2032
|
+
"""
|
2033
|
+
The Kubernetes Engine cluster used to run this environment.
|
2034
|
+
"""
|
1460
2035
|
return pulumi.get(self, "gke_cluster")
|
1461
2036
|
|
1462
2037
|
@property
|
1463
2038
|
@pulumi.getter(name="maintenanceWindows")
|
1464
2039
|
def maintenance_windows(self) -> Sequence['outputs.GetEnvironmentConfigMaintenanceWindowResult']:
|
2040
|
+
"""
|
2041
|
+
The configuration for Cloud Composer maintenance window.
|
2042
|
+
"""
|
1465
2043
|
return pulumi.get(self, "maintenance_windows")
|
1466
2044
|
|
1467
2045
|
@property
|
1468
2046
|
@pulumi.getter(name="masterAuthorizedNetworksConfigs")
|
1469
2047
|
def master_authorized_networks_configs(self) -> Sequence['outputs.GetEnvironmentConfigMasterAuthorizedNetworksConfigResult']:
|
2048
|
+
"""
|
2049
|
+
Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs.
|
2050
|
+
"""
|
1470
2051
|
return pulumi.get(self, "master_authorized_networks_configs")
|
1471
2052
|
|
1472
2053
|
@property
|
1473
2054
|
@pulumi.getter(name="nodeConfigs")
|
1474
2055
|
def node_configs(self) -> Sequence['outputs.GetEnvironmentConfigNodeConfigResult']:
|
2056
|
+
"""
|
2057
|
+
The configuration used for the Kubernetes Engine cluster.
|
2058
|
+
"""
|
1475
2059
|
return pulumi.get(self, "node_configs")
|
1476
2060
|
|
1477
2061
|
@property
|
1478
2062
|
@pulumi.getter(name="nodeCount")
|
1479
2063
|
def node_count(self) -> int:
|
2064
|
+
"""
|
2065
|
+
The number of nodes in the Kubernetes Engine cluster that will be used to run this environment. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
2066
|
+
"""
|
1480
2067
|
return pulumi.get(self, "node_count")
|
1481
2068
|
|
1482
2069
|
@property
|
1483
2070
|
@pulumi.getter(name="privateEnvironmentConfigs")
|
1484
2071
|
def private_environment_configs(self) -> Sequence['outputs.GetEnvironmentConfigPrivateEnvironmentConfigResult']:
|
2072
|
+
"""
|
2073
|
+
The configuration used for the Private IP Cloud Composer environment.
|
2074
|
+
"""
|
1485
2075
|
return pulumi.get(self, "private_environment_configs")
|
1486
2076
|
|
1487
2077
|
@property
|
1488
2078
|
@pulumi.getter(name="recoveryConfigs")
|
1489
2079
|
def recovery_configs(self) -> Sequence['outputs.GetEnvironmentConfigRecoveryConfigResult']:
|
2080
|
+
"""
|
2081
|
+
The recovery configuration settings for the Cloud Composer environment
|
2082
|
+
"""
|
1490
2083
|
return pulumi.get(self, "recovery_configs")
|
1491
2084
|
|
1492
2085
|
@property
|
1493
2086
|
@pulumi.getter(name="resilienceMode")
|
1494
2087
|
def resilience_mode(self) -> str:
|
2088
|
+
"""
|
2089
|
+
Whether high resilience is enabled or not. This field is supported for Cloud Composer environments in versions composer-2.1.15-airflow-*.*.* and newer.
|
2090
|
+
"""
|
1495
2091
|
return pulumi.get(self, "resilience_mode")
|
1496
2092
|
|
1497
2093
|
@property
|
1498
2094
|
@pulumi.getter(name="softwareConfigs")
|
1499
2095
|
def software_configs(self) -> Sequence['outputs.GetEnvironmentConfigSoftwareConfigResult']:
|
2096
|
+
"""
|
2097
|
+
The configuration settings for software inside the environment.
|
2098
|
+
"""
|
1500
2099
|
return pulumi.get(self, "software_configs")
|
1501
2100
|
|
1502
2101
|
@property
|
1503
2102
|
@pulumi.getter(name="webServerConfigs")
|
1504
2103
|
def web_server_configs(self) -> Sequence['outputs.GetEnvironmentConfigWebServerConfigResult']:
|
2104
|
+
"""
|
2105
|
+
The configuration settings for the Airflow web server App Engine instance. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
2106
|
+
"""
|
1505
2107
|
return pulumi.get(self, "web_server_configs")
|
1506
2108
|
|
1507
2109
|
@property
|
1508
2110
|
@pulumi.getter(name="webServerNetworkAccessControls")
|
1509
2111
|
def web_server_network_access_controls(self) -> Sequence['outputs.GetEnvironmentConfigWebServerNetworkAccessControlResult']:
|
2112
|
+
"""
|
2113
|
+
Network-level access control policy for the Airflow web server.
|
2114
|
+
"""
|
1510
2115
|
return pulumi.get(self, "web_server_network_access_controls")
|
1511
2116
|
|
1512
2117
|
@property
|
1513
2118
|
@pulumi.getter(name="workloadsConfigs")
|
1514
2119
|
def workloads_configs(self) -> Sequence['outputs.GetEnvironmentConfigWorkloadsConfigResult']:
|
2120
|
+
"""
|
2121
|
+
The workloads configuration settings for the GKE cluster associated with the Cloud Composer environment. Supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
2122
|
+
"""
|
1515
2123
|
return pulumi.get(self, "workloads_configs")
|
1516
2124
|
|
1517
2125
|
|
2126
|
+
@pulumi.output_type
|
2127
|
+
class GetEnvironmentConfigDataRetentionConfigResult(dict):
|
2128
|
+
def __init__(__self__, *,
|
2129
|
+
task_logs_retention_configs: Sequence['outputs.GetEnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigResult']):
|
2130
|
+
"""
|
2131
|
+
:param Sequence['GetEnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigArgs'] task_logs_retention_configs: Optional. The configuration setting for Task Logs.
|
2132
|
+
"""
|
2133
|
+
pulumi.set(__self__, "task_logs_retention_configs", task_logs_retention_configs)
|
2134
|
+
|
2135
|
+
@property
|
2136
|
+
@pulumi.getter(name="taskLogsRetentionConfigs")
|
2137
|
+
def task_logs_retention_configs(self) -> Sequence['outputs.GetEnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigResult']:
|
2138
|
+
"""
|
2139
|
+
Optional. The configuration setting for Task Logs.
|
2140
|
+
"""
|
2141
|
+
return pulumi.get(self, "task_logs_retention_configs")
|
2142
|
+
|
2143
|
+
|
2144
|
+
@pulumi.output_type
|
2145
|
+
class GetEnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigResult(dict):
|
2146
|
+
def __init__(__self__, *,
|
2147
|
+
storage_mode: str):
|
2148
|
+
"""
|
2149
|
+
:param str storage_mode: Whether logs in cloud logging only is enabled or not. This field is supported for Cloud Composer environments in versions composer-2.0.32-airflow-2.1.4 and newer.
|
2150
|
+
"""
|
2151
|
+
pulumi.set(__self__, "storage_mode", storage_mode)
|
2152
|
+
|
2153
|
+
@property
|
2154
|
+
@pulumi.getter(name="storageMode")
|
2155
|
+
def storage_mode(self) -> str:
|
2156
|
+
"""
|
2157
|
+
Whether logs in cloud logging only is enabled or not. This field is supported for Cloud Composer environments in versions composer-2.0.32-airflow-2.1.4 and newer.
|
2158
|
+
"""
|
2159
|
+
return pulumi.get(self, "storage_mode")
|
2160
|
+
|
2161
|
+
|
1518
2162
|
@pulumi.output_type
|
1519
2163
|
class GetEnvironmentConfigDatabaseConfigResult(dict):
|
1520
2164
|
def __init__(__self__, *,
|
1521
2165
|
machine_type: str,
|
1522
2166
|
zone: str):
|
2167
|
+
"""
|
2168
|
+
:param str machine_type: Optional. Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If not specified, db-n1-standard-2 will be used.
|
2169
|
+
:param str zone: Optional. Cloud SQL database preferred zone.
|
2170
|
+
"""
|
1523
2171
|
pulumi.set(__self__, "machine_type", machine_type)
|
1524
2172
|
pulumi.set(__self__, "zone", zone)
|
1525
2173
|
|
1526
2174
|
@property
|
1527
2175
|
@pulumi.getter(name="machineType")
|
1528
2176
|
def machine_type(self) -> str:
|
2177
|
+
"""
|
2178
|
+
Optional. Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If not specified, db-n1-standard-2 will be used.
|
2179
|
+
"""
|
1529
2180
|
return pulumi.get(self, "machine_type")
|
1530
2181
|
|
1531
2182
|
@property
|
1532
2183
|
@pulumi.getter
|
1533
2184
|
def zone(self) -> str:
|
2185
|
+
"""
|
2186
|
+
Optional. Cloud SQL database preferred zone.
|
2187
|
+
"""
|
1534
2188
|
return pulumi.get(self, "zone")
|
1535
2189
|
|
1536
2190
|
|
@@ -1538,11 +2192,17 @@ class GetEnvironmentConfigDatabaseConfigResult(dict):
|
|
1538
2192
|
class GetEnvironmentConfigEncryptionConfigResult(dict):
|
1539
2193
|
def __init__(__self__, *,
|
1540
2194
|
kms_key_name: str):
|
2195
|
+
"""
|
2196
|
+
:param str kms_key_name: Optional. Customer-managed Encryption Key available through Google's Key Management Service. Cannot be updated.
|
2197
|
+
"""
|
1541
2198
|
pulumi.set(__self__, "kms_key_name", kms_key_name)
|
1542
2199
|
|
1543
2200
|
@property
|
1544
2201
|
@pulumi.getter(name="kmsKeyName")
|
1545
2202
|
def kms_key_name(self) -> str:
|
2203
|
+
"""
|
2204
|
+
Optional. Customer-managed Encryption Key available through Google's Key Management Service. Cannot be updated.
|
2205
|
+
"""
|
1546
2206
|
return pulumi.get(self, "kms_key_name")
|
1547
2207
|
|
1548
2208
|
|
@@ -1552,6 +2212,11 @@ class GetEnvironmentConfigMaintenanceWindowResult(dict):
|
|
1552
2212
|
end_time: str,
|
1553
2213
|
recurrence: str,
|
1554
2214
|
start_time: str):
|
2215
|
+
"""
|
2216
|
+
:param str end_time: Maintenance window end time. It is used only to calculate the duration of the maintenance window. The value for end-time must be in the future, relative to 'start_time'.
|
2217
|
+
:param str recurrence: Maintenance window recurrence. Format is a subset of RFC-5545 (https://tools.ietf.org/html/rfc5545) 'RRULE'. The only allowed values for 'FREQ' field are 'FREQ=DAILY' and 'FREQ=WEEKLY;BYDAY=...'. Example values: 'FREQ=WEEKLY;BYDAY=TU,WE', 'FREQ=DAILY'.
|
2218
|
+
:param str start_time: Start time of the first recurrence of the maintenance window.
|
2219
|
+
"""
|
1555
2220
|
pulumi.set(__self__, "end_time", end_time)
|
1556
2221
|
pulumi.set(__self__, "recurrence", recurrence)
|
1557
2222
|
pulumi.set(__self__, "start_time", start_time)
|
@@ -1559,16 +2224,25 @@ class GetEnvironmentConfigMaintenanceWindowResult(dict):
|
|
1559
2224
|
@property
|
1560
2225
|
@pulumi.getter(name="endTime")
|
1561
2226
|
def end_time(self) -> str:
|
2227
|
+
"""
|
2228
|
+
Maintenance window end time. It is used only to calculate the duration of the maintenance window. The value for end-time must be in the future, relative to 'start_time'.
|
2229
|
+
"""
|
1562
2230
|
return pulumi.get(self, "end_time")
|
1563
2231
|
|
1564
2232
|
@property
|
1565
2233
|
@pulumi.getter
|
1566
2234
|
def recurrence(self) -> str:
|
2235
|
+
"""
|
2236
|
+
Maintenance window recurrence. Format is a subset of RFC-5545 (https://tools.ietf.org/html/rfc5545) 'RRULE'. The only allowed values for 'FREQ' field are 'FREQ=DAILY' and 'FREQ=WEEKLY;BYDAY=...'. Example values: 'FREQ=WEEKLY;BYDAY=TU,WE', 'FREQ=DAILY'.
|
2237
|
+
"""
|
1567
2238
|
return pulumi.get(self, "recurrence")
|
1568
2239
|
|
1569
2240
|
@property
|
1570
2241
|
@pulumi.getter(name="startTime")
|
1571
2242
|
def start_time(self) -> str:
|
2243
|
+
"""
|
2244
|
+
Start time of the first recurrence of the maintenance window.
|
2245
|
+
"""
|
1572
2246
|
return pulumi.get(self, "start_time")
|
1573
2247
|
|
1574
2248
|
|
@@ -1577,17 +2251,27 @@ class GetEnvironmentConfigMasterAuthorizedNetworksConfigResult(dict):
|
|
1577
2251
|
def __init__(__self__, *,
|
1578
2252
|
cidr_blocks: Sequence['outputs.GetEnvironmentConfigMasterAuthorizedNetworksConfigCidrBlockResult'],
|
1579
2253
|
enabled: bool):
|
2254
|
+
"""
|
2255
|
+
:param Sequence['GetEnvironmentConfigMasterAuthorizedNetworksConfigCidrBlockArgs'] cidr_blocks: cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.
|
2256
|
+
:param bool enabled: Whether or not master authorized networks is enabled.
|
2257
|
+
"""
|
1580
2258
|
pulumi.set(__self__, "cidr_blocks", cidr_blocks)
|
1581
2259
|
pulumi.set(__self__, "enabled", enabled)
|
1582
2260
|
|
1583
2261
|
@property
|
1584
2262
|
@pulumi.getter(name="cidrBlocks")
|
1585
2263
|
def cidr_blocks(self) -> Sequence['outputs.GetEnvironmentConfigMasterAuthorizedNetworksConfigCidrBlockResult']:
|
2264
|
+
"""
|
2265
|
+
cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.
|
2266
|
+
"""
|
1586
2267
|
return pulumi.get(self, "cidr_blocks")
|
1587
2268
|
|
1588
2269
|
@property
|
1589
2270
|
@pulumi.getter
|
1590
2271
|
def enabled(self) -> bool:
|
2272
|
+
"""
|
2273
|
+
Whether or not master authorized networks is enabled.
|
2274
|
+
"""
|
1591
2275
|
return pulumi.get(self, "enabled")
|
1592
2276
|
|
1593
2277
|
|
@@ -1596,17 +2280,27 @@ class GetEnvironmentConfigMasterAuthorizedNetworksConfigCidrBlockResult(dict):
|
|
1596
2280
|
def __init__(__self__, *,
|
1597
2281
|
cidr_block: str,
|
1598
2282
|
display_name: str):
|
2283
|
+
"""
|
2284
|
+
:param str cidr_block: cidr_block must be specified in CIDR notation.
|
2285
|
+
:param str display_name: display_name is a field for users to identify CIDR blocks.
|
2286
|
+
"""
|
1599
2287
|
pulumi.set(__self__, "cidr_block", cidr_block)
|
1600
2288
|
pulumi.set(__self__, "display_name", display_name)
|
1601
2289
|
|
1602
2290
|
@property
|
1603
2291
|
@pulumi.getter(name="cidrBlock")
|
1604
2292
|
def cidr_block(self) -> str:
|
2293
|
+
"""
|
2294
|
+
cidr_block must be specified in CIDR notation.
|
2295
|
+
"""
|
1605
2296
|
return pulumi.get(self, "cidr_block")
|
1606
2297
|
|
1607
2298
|
@property
|
1608
2299
|
@pulumi.getter(name="displayName")
|
1609
2300
|
def display_name(self) -> str:
|
2301
|
+
"""
|
2302
|
+
display_name is a field for users to identify CIDR blocks.
|
2303
|
+
"""
|
1610
2304
|
return pulumi.get(self, "display_name")
|
1611
2305
|
|
1612
2306
|
|
@@ -1625,6 +2319,20 @@ class GetEnvironmentConfigNodeConfigResult(dict):
|
|
1625
2319
|
subnetwork: str,
|
1626
2320
|
tags: Sequence[str],
|
1627
2321
|
zone: str):
|
2322
|
+
"""
|
2323
|
+
:param str composer_internal_ipv4_cidr_block: IPv4 cidr range that will be used by Composer internal components.
|
2324
|
+
:param int disk_size_gb: The disk size in GB used for node VMs. Minimum size is 20GB. If unspecified, defaults to 100GB. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
2325
|
+
:param bool enable_ip_masq_agent: Deploys 'ip-masq-agent' daemon set in the GKE cluster and defines nonMasqueradeCIDRs equals to pod IP range so IP masquerading is used for all destination addresses, except between pods traffic. See: https://cloud.google.com/kubernetes-engine/docs/how-to/ip-masquerade-agent
|
2326
|
+
:param Sequence['GetEnvironmentConfigNodeConfigIpAllocationPolicyArgs'] ip_allocation_policies: Configuration for controlling how IPs are allocated in the GKE cluster. Cannot be updated.
|
2327
|
+
:param str machine_type: The Compute Engine machine type used for cluster instances, specified as a name or relative resource name. For example: "projects/{project}/zones/{zone}/machineTypes/{machineType}". Must belong to the enclosing environment's project and region/zone. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
2328
|
+
:param int max_pods_per_node: The maximum pods per node in the GKE cluster allocated during environment creation. Lowering this value reduces IP address consumption by the Cloud Composer Kubernetes cluster. This value can only be set during environment creation, and only if the environment is VPC-Native. The range of possible values is 8-110, and the default is 32. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
2329
|
+
:param str network: The Compute Engine machine type used for cluster instances, specified as a name or relative resource name. For example: "projects/{project}/zones/{zone}/machineTypes/{machineType}". Must belong to the enclosing environment's project and region/zone. The network must belong to the environment's project. If unspecified, the "default" network ID in the environment's project is used. If a Custom Subnet Network is provided, subnetwork must also be provided.
|
2330
|
+
:param Sequence[str] oauth_scopes: The set of Google API scopes to be made available on all node VMs. Cannot be updated. If empty, defaults to ["https://www.googleapis.com/auth/cloud-platform"]. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
2331
|
+
:param str service_account: The Google Cloud Platform Service Account to be used by the node VMs. If a service account is not specified, the "default" Compute Engine service account is used. Cannot be updated. If given, note that the service account must have roles/composer.worker for any GCP resources created under the Cloud Composer Environment.
|
2332
|
+
:param str subnetwork: The Compute Engine subnetwork to be used for machine communications, , specified as a self-link, relative resource name (e.g. "projects/{project}/regions/{region}/subnetworks/{subnetwork}"), or by name. If subnetwork is provided, network must also be provided and the subnetwork must belong to the enclosing environment's project and region.
|
2333
|
+
:param Sequence[str] tags: The list of instance tags applied to all node VMs. Tags are used to identify valid sources or targets for network firewalls. Each tag within the list must comply with RFC1035. Cannot be updated.
|
2334
|
+
:param str zone: The Compute Engine zone in which to deploy the VMs running the Apache Airflow software, specified as the zone name or relative resource name (e.g. "projects/{project}/zones/{zone}"). Must belong to the enclosing environment's project and region. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
2335
|
+
"""
|
1628
2336
|
pulumi.set(__self__, "composer_internal_ipv4_cidr_block", composer_internal_ipv4_cidr_block)
|
1629
2337
|
pulumi.set(__self__, "disk_size_gb", disk_size_gb)
|
1630
2338
|
pulumi.set(__self__, "enable_ip_masq_agent", enable_ip_masq_agent)
|
@@ -1641,61 +2349,97 @@ class GetEnvironmentConfigNodeConfigResult(dict):
|
|
1641
2349
|
@property
|
1642
2350
|
@pulumi.getter(name="composerInternalIpv4CidrBlock")
|
1643
2351
|
def composer_internal_ipv4_cidr_block(self) -> str:
|
2352
|
+
"""
|
2353
|
+
IPv4 cidr range that will be used by Composer internal components.
|
2354
|
+
"""
|
1644
2355
|
return pulumi.get(self, "composer_internal_ipv4_cidr_block")
|
1645
2356
|
|
1646
2357
|
@property
|
1647
2358
|
@pulumi.getter(name="diskSizeGb")
|
1648
2359
|
def disk_size_gb(self) -> int:
|
2360
|
+
"""
|
2361
|
+
The disk size in GB used for node VMs. Minimum size is 20GB. If unspecified, defaults to 100GB. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
2362
|
+
"""
|
1649
2363
|
return pulumi.get(self, "disk_size_gb")
|
1650
2364
|
|
1651
2365
|
@property
|
1652
2366
|
@pulumi.getter(name="enableIpMasqAgent")
|
1653
2367
|
def enable_ip_masq_agent(self) -> bool:
|
2368
|
+
"""
|
2369
|
+
Deploys 'ip-masq-agent' daemon set in the GKE cluster and defines nonMasqueradeCIDRs equals to pod IP range so IP masquerading is used for all destination addresses, except between pods traffic. See: https://cloud.google.com/kubernetes-engine/docs/how-to/ip-masquerade-agent
|
2370
|
+
"""
|
1654
2371
|
return pulumi.get(self, "enable_ip_masq_agent")
|
1655
2372
|
|
1656
2373
|
@property
|
1657
2374
|
@pulumi.getter(name="ipAllocationPolicies")
|
1658
2375
|
def ip_allocation_policies(self) -> Sequence['outputs.GetEnvironmentConfigNodeConfigIpAllocationPolicyResult']:
|
2376
|
+
"""
|
2377
|
+
Configuration for controlling how IPs are allocated in the GKE cluster. Cannot be updated.
|
2378
|
+
"""
|
1659
2379
|
return pulumi.get(self, "ip_allocation_policies")
|
1660
2380
|
|
1661
2381
|
@property
|
1662
2382
|
@pulumi.getter(name="machineType")
|
1663
2383
|
def machine_type(self) -> str:
|
2384
|
+
"""
|
2385
|
+
The Compute Engine machine type used for cluster instances, specified as a name or relative resource name. For example: "projects/{project}/zones/{zone}/machineTypes/{machineType}". Must belong to the enclosing environment's project and region/zone. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
2386
|
+
"""
|
1664
2387
|
return pulumi.get(self, "machine_type")
|
1665
2388
|
|
1666
2389
|
@property
|
1667
2390
|
@pulumi.getter(name="maxPodsPerNode")
|
1668
2391
|
def max_pods_per_node(self) -> int:
|
2392
|
+
"""
|
2393
|
+
The maximum pods per node in the GKE cluster allocated during environment creation. Lowering this value reduces IP address consumption by the Cloud Composer Kubernetes cluster. This value can only be set during environment creation, and only if the environment is VPC-Native. The range of possible values is 8-110, and the default is 32. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
2394
|
+
"""
|
1669
2395
|
return pulumi.get(self, "max_pods_per_node")
|
1670
2396
|
|
1671
2397
|
@property
|
1672
2398
|
@pulumi.getter
|
1673
2399
|
def network(self) -> str:
|
2400
|
+
"""
|
2401
|
+
The Compute Engine machine type used for cluster instances, specified as a name or relative resource name. For example: "projects/{project}/zones/{zone}/machineTypes/{machineType}". Must belong to the enclosing environment's project and region/zone. The network must belong to the environment's project. If unspecified, the "default" network ID in the environment's project is used. If a Custom Subnet Network is provided, subnetwork must also be provided.
|
2402
|
+
"""
|
1674
2403
|
return pulumi.get(self, "network")
|
1675
2404
|
|
1676
2405
|
@property
|
1677
2406
|
@pulumi.getter(name="oauthScopes")
|
1678
2407
|
def oauth_scopes(self) -> Sequence[str]:
|
2408
|
+
"""
|
2409
|
+
The set of Google API scopes to be made available on all node VMs. Cannot be updated. If empty, defaults to ["https://www.googleapis.com/auth/cloud-platform"]. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
2410
|
+
"""
|
1679
2411
|
return pulumi.get(self, "oauth_scopes")
|
1680
2412
|
|
1681
2413
|
@property
|
1682
2414
|
@pulumi.getter(name="serviceAccount")
|
1683
2415
|
def service_account(self) -> str:
|
2416
|
+
"""
|
2417
|
+
The Google Cloud Platform Service Account to be used by the node VMs. If a service account is not specified, the "default" Compute Engine service account is used. Cannot be updated. If given, note that the service account must have roles/composer.worker for any GCP resources created under the Cloud Composer Environment.
|
2418
|
+
"""
|
1684
2419
|
return pulumi.get(self, "service_account")
|
1685
2420
|
|
1686
2421
|
@property
|
1687
2422
|
@pulumi.getter
|
1688
2423
|
def subnetwork(self) -> str:
|
2424
|
+
"""
|
2425
|
+
The Compute Engine subnetwork to be used for machine communications, , specified as a self-link, relative resource name (e.g. "projects/{project}/regions/{region}/subnetworks/{subnetwork}"), or by name. If subnetwork is provided, network must also be provided and the subnetwork must belong to the enclosing environment's project and region.
|
2426
|
+
"""
|
1689
2427
|
return pulumi.get(self, "subnetwork")
|
1690
2428
|
|
1691
2429
|
@property
|
1692
2430
|
@pulumi.getter
|
1693
2431
|
def tags(self) -> Sequence[str]:
|
2432
|
+
"""
|
2433
|
+
The list of instance tags applied to all node VMs. Tags are used to identify valid sources or targets for network firewalls. Each tag within the list must comply with RFC1035. Cannot be updated.
|
2434
|
+
"""
|
1694
2435
|
return pulumi.get(self, "tags")
|
1695
2436
|
|
1696
2437
|
@property
|
1697
2438
|
@pulumi.getter
|
1698
2439
|
def zone(self) -> str:
|
2440
|
+
"""
|
2441
|
+
The Compute Engine zone in which to deploy the VMs running the Apache Airflow software, specified as the zone name or relative resource name (e.g. "projects/{project}/zones/{zone}"). Must belong to the enclosing environment's project and region. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
2442
|
+
"""
|
1699
2443
|
return pulumi.get(self, "zone")
|
1700
2444
|
|
1701
2445
|
|
@@ -1707,6 +2451,13 @@ class GetEnvironmentConfigNodeConfigIpAllocationPolicyResult(dict):
|
|
1707
2451
|
services_ipv4_cidr_block: str,
|
1708
2452
|
services_secondary_range_name: str,
|
1709
2453
|
use_ip_aliases: bool):
|
2454
|
+
"""
|
2455
|
+
:param str cluster_ipv4_cidr_block: The IP address range used to allocate IP addresses to pods in the cluster. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when use_ip_aliases is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. /14) to have GKE choose a range with a specific netmask. Set to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private networks (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use. Specify either cluster_secondary_range_name or cluster_ipv4_cidr_block but not both.
|
2456
|
+
:param str cluster_secondary_range_name: The name of the cluster's secondary range used to allocate IP addresses to pods. Specify either cluster_secondary_range_name or cluster_ipv4_cidr_block but not both. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when use_ip_aliases is true.
|
2457
|
+
:param str services_ipv4_cidr_block: The IP address range used to allocate IP addresses in this cluster. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when use_ip_aliases is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. /14) to have GKE choose a range with a specific netmask. Set to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private networks (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use. Specify either services_secondary_range_name or services_ipv4_cidr_block but not both.
|
2458
|
+
:param str services_secondary_range_name: The name of the services' secondary range used to allocate IP addresses to the cluster. Specify either services_secondary_range_name or services_ipv4_cidr_block but not both. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when use_ip_aliases is true.
|
2459
|
+
:param bool use_ip_aliases: Whether or not to enable Alias IPs in the GKE cluster. If true, a VPC-native cluster is created. Defaults to true if the ip_allocation_policy block is present in config. This field is only supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. Environments in newer versions always use VPC-native GKE clusters.
|
2460
|
+
"""
|
1710
2461
|
pulumi.set(__self__, "cluster_ipv4_cidr_block", cluster_ipv4_cidr_block)
|
1711
2462
|
pulumi.set(__self__, "cluster_secondary_range_name", cluster_secondary_range_name)
|
1712
2463
|
pulumi.set(__self__, "services_ipv4_cidr_block", services_ipv4_cidr_block)
|
@@ -1716,26 +2467,41 @@ class GetEnvironmentConfigNodeConfigIpAllocationPolicyResult(dict):
|
|
1716
2467
|
@property
|
1717
2468
|
@pulumi.getter(name="clusterIpv4CidrBlock")
|
1718
2469
|
def cluster_ipv4_cidr_block(self) -> str:
|
2470
|
+
"""
|
2471
|
+
The IP address range used to allocate IP addresses to pods in the cluster. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when use_ip_aliases is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. /14) to have GKE choose a range with a specific netmask. Set to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private networks (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use. Specify either cluster_secondary_range_name or cluster_ipv4_cidr_block but not both.
|
2472
|
+
"""
|
1719
2473
|
return pulumi.get(self, "cluster_ipv4_cidr_block")
|
1720
2474
|
|
1721
2475
|
@property
|
1722
2476
|
@pulumi.getter(name="clusterSecondaryRangeName")
|
1723
2477
|
def cluster_secondary_range_name(self) -> str:
|
2478
|
+
"""
|
2479
|
+
The name of the cluster's secondary range used to allocate IP addresses to pods. Specify either cluster_secondary_range_name or cluster_ipv4_cidr_block but not both. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when use_ip_aliases is true.
|
2480
|
+
"""
|
1724
2481
|
return pulumi.get(self, "cluster_secondary_range_name")
|
1725
2482
|
|
1726
2483
|
@property
|
1727
2484
|
@pulumi.getter(name="servicesIpv4CidrBlock")
|
1728
2485
|
def services_ipv4_cidr_block(self) -> str:
|
2486
|
+
"""
|
2487
|
+
The IP address range used to allocate IP addresses in this cluster. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when use_ip_aliases is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. /14) to have GKE choose a range with a specific netmask. Set to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private networks (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use. Specify either services_secondary_range_name or services_ipv4_cidr_block but not both.
|
2488
|
+
"""
|
1729
2489
|
return pulumi.get(self, "services_ipv4_cidr_block")
|
1730
2490
|
|
1731
2491
|
@property
|
1732
2492
|
@pulumi.getter(name="servicesSecondaryRangeName")
|
1733
2493
|
def services_secondary_range_name(self) -> str:
|
2494
|
+
"""
|
2495
|
+
The name of the services' secondary range used to allocate IP addresses to the cluster. Specify either services_secondary_range_name or services_ipv4_cidr_block but not both. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when use_ip_aliases is true.
|
2496
|
+
"""
|
1734
2497
|
return pulumi.get(self, "services_secondary_range_name")
|
1735
2498
|
|
1736
2499
|
@property
|
1737
2500
|
@pulumi.getter(name="useIpAliases")
|
1738
2501
|
def use_ip_aliases(self) -> bool:
|
2502
|
+
"""
|
2503
|
+
Whether or not to enable Alias IPs in the GKE cluster. If true, a VPC-native cluster is created. Defaults to true if the ip_allocation_policy block is present in config. This field is only supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. Environments in newer versions always use VPC-native GKE clusters.
|
2504
|
+
"""
|
1739
2505
|
return pulumi.get(self, "use_ip_aliases")
|
1740
2506
|
|
1741
2507
|
|
@@ -1750,6 +2516,16 @@ class GetEnvironmentConfigPrivateEnvironmentConfigResult(dict):
|
|
1750
2516
|
enable_privately_used_public_ips: bool,
|
1751
2517
|
master_ipv4_cidr_block: str,
|
1752
2518
|
web_server_ipv4_cidr_block: str):
|
2519
|
+
"""
|
2520
|
+
:param str cloud_composer_connection_subnetwork: When specified, the environment will use Private Service Connect instead of VPC peerings to connect to Cloud SQL in the Tenant Project, and the PSC endpoint in the Customer Project will use an IP address from this subnetwork. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
2521
|
+
:param str cloud_composer_network_ipv4_cidr_block: The CIDR block from which IP range for Cloud Composer Network in tenant project will be reserved. Needs to be disjoint from private_cluster_config.master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
2522
|
+
:param str cloud_sql_ipv4_cidr_block: The CIDR block from which IP range in tenant project will be reserved for Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block.
|
2523
|
+
:param str connection_type: Mode of internal communication within the Composer environment. Must be one of "VPC_PEERING" or "PRIVATE_SERVICE_CONNECT".
|
2524
|
+
:param bool enable_private_endpoint: If true, access to the public endpoint of the GKE cluster is denied. If this field is set to true, ip_allocation_policy.use_ip_aliases must be set to true for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
2525
|
+
:param bool enable_privately_used_public_ips: When enabled, IPs from public (non-RFC1918) ranges can be used for ip_allocation_policy.cluster_ipv4_cidr_block and ip_allocation_policy.service_ipv4_cidr_block.
|
2526
|
+
:param str master_ipv4_cidr_block: The IP range in CIDR notation to use for the hosted master network. This range is used for assigning internal IP addresses to the cluster master or set of masters and to the internal load balancer virtual IP. This range must not overlap with any other ranges in use within the cluster's network. If left blank, the default value of '172.16.0.0/28' is used.
|
2527
|
+
:param str web_server_ipv4_cidr_block: The CIDR block from which IP range for web server will be reserved. Needs to be disjoint from master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
2528
|
+
"""
|
1753
2529
|
pulumi.set(__self__, "cloud_composer_connection_subnetwork", cloud_composer_connection_subnetwork)
|
1754
2530
|
pulumi.set(__self__, "cloud_composer_network_ipv4_cidr_block", cloud_composer_network_ipv4_cidr_block)
|
1755
2531
|
pulumi.set(__self__, "cloud_sql_ipv4_cidr_block", cloud_sql_ipv4_cidr_block)
|
@@ -1762,41 +2538,65 @@ class GetEnvironmentConfigPrivateEnvironmentConfigResult(dict):
|
|
1762
2538
|
@property
|
1763
2539
|
@pulumi.getter(name="cloudComposerConnectionSubnetwork")
|
1764
2540
|
def cloud_composer_connection_subnetwork(self) -> str:
|
2541
|
+
"""
|
2542
|
+
When specified, the environment will use Private Service Connect instead of VPC peerings to connect to Cloud SQL in the Tenant Project, and the PSC endpoint in the Customer Project will use an IP address from this subnetwork. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
2543
|
+
"""
|
1765
2544
|
return pulumi.get(self, "cloud_composer_connection_subnetwork")
|
1766
2545
|
|
1767
2546
|
@property
|
1768
2547
|
@pulumi.getter(name="cloudComposerNetworkIpv4CidrBlock")
|
1769
2548
|
def cloud_composer_network_ipv4_cidr_block(self) -> str:
|
2549
|
+
"""
|
2550
|
+
The CIDR block from which IP range for Cloud Composer Network in tenant project will be reserved. Needs to be disjoint from private_cluster_config.master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
2551
|
+
"""
|
1770
2552
|
return pulumi.get(self, "cloud_composer_network_ipv4_cidr_block")
|
1771
2553
|
|
1772
2554
|
@property
|
1773
2555
|
@pulumi.getter(name="cloudSqlIpv4CidrBlock")
|
1774
2556
|
def cloud_sql_ipv4_cidr_block(self) -> str:
|
2557
|
+
"""
|
2558
|
+
The CIDR block from which IP range in tenant project will be reserved for Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block.
|
2559
|
+
"""
|
1775
2560
|
return pulumi.get(self, "cloud_sql_ipv4_cidr_block")
|
1776
2561
|
|
1777
2562
|
@property
|
1778
2563
|
@pulumi.getter(name="connectionType")
|
1779
2564
|
def connection_type(self) -> str:
|
2565
|
+
"""
|
2566
|
+
Mode of internal communication within the Composer environment. Must be one of "VPC_PEERING" or "PRIVATE_SERVICE_CONNECT".
|
2567
|
+
"""
|
1780
2568
|
return pulumi.get(self, "connection_type")
|
1781
2569
|
|
1782
2570
|
@property
|
1783
2571
|
@pulumi.getter(name="enablePrivateEndpoint")
|
1784
2572
|
def enable_private_endpoint(self) -> bool:
|
2573
|
+
"""
|
2574
|
+
If true, access to the public endpoint of the GKE cluster is denied. If this field is set to true, ip_allocation_policy.use_ip_aliases must be set to true for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
2575
|
+
"""
|
1785
2576
|
return pulumi.get(self, "enable_private_endpoint")
|
1786
2577
|
|
1787
2578
|
@property
|
1788
2579
|
@pulumi.getter(name="enablePrivatelyUsedPublicIps")
|
1789
2580
|
def enable_privately_used_public_ips(self) -> bool:
|
2581
|
+
"""
|
2582
|
+
When enabled, IPs from public (non-RFC1918) ranges can be used for ip_allocation_policy.cluster_ipv4_cidr_block and ip_allocation_policy.service_ipv4_cidr_block.
|
2583
|
+
"""
|
1790
2584
|
return pulumi.get(self, "enable_privately_used_public_ips")
|
1791
2585
|
|
1792
2586
|
@property
|
1793
2587
|
@pulumi.getter(name="masterIpv4CidrBlock")
|
1794
2588
|
def master_ipv4_cidr_block(self) -> str:
|
2589
|
+
"""
|
2590
|
+
The IP range in CIDR notation to use for the hosted master network. This range is used for assigning internal IP addresses to the cluster master or set of masters and to the internal load balancer virtual IP. This range must not overlap with any other ranges in use within the cluster's network. If left blank, the default value of '172.16.0.0/28' is used.
|
2591
|
+
"""
|
1795
2592
|
return pulumi.get(self, "master_ipv4_cidr_block")
|
1796
2593
|
|
1797
2594
|
@property
|
1798
2595
|
@pulumi.getter(name="webServerIpv4CidrBlock")
|
1799
2596
|
def web_server_ipv4_cidr_block(self) -> str:
|
2597
|
+
"""
|
2598
|
+
The CIDR block from which IP range for web server will be reserved. Needs to be disjoint from master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
2599
|
+
"""
|
1800
2600
|
return pulumi.get(self, "web_server_ipv4_cidr_block")
|
1801
2601
|
|
1802
2602
|
|
@@ -1804,11 +2604,17 @@ class GetEnvironmentConfigPrivateEnvironmentConfigResult(dict):
|
|
1804
2604
|
class GetEnvironmentConfigRecoveryConfigResult(dict):
|
1805
2605
|
def __init__(__self__, *,
|
1806
2606
|
scheduled_snapshots_configs: Sequence['outputs.GetEnvironmentConfigRecoveryConfigScheduledSnapshotsConfigResult']):
|
2607
|
+
"""
|
2608
|
+
:param Sequence['GetEnvironmentConfigRecoveryConfigScheduledSnapshotsConfigArgs'] scheduled_snapshots_configs: The configuration settings for scheduled snapshots.
|
2609
|
+
"""
|
1807
2610
|
pulumi.set(__self__, "scheduled_snapshots_configs", scheduled_snapshots_configs)
|
1808
2611
|
|
1809
2612
|
@property
|
1810
2613
|
@pulumi.getter(name="scheduledSnapshotsConfigs")
|
1811
2614
|
def scheduled_snapshots_configs(self) -> Sequence['outputs.GetEnvironmentConfigRecoveryConfigScheduledSnapshotsConfigResult']:
|
2615
|
+
"""
|
2616
|
+
The configuration settings for scheduled snapshots.
|
2617
|
+
"""
|
1812
2618
|
return pulumi.get(self, "scheduled_snapshots_configs")
|
1813
2619
|
|
1814
2620
|
|
@@ -1819,6 +2625,12 @@ class GetEnvironmentConfigRecoveryConfigScheduledSnapshotsConfigResult(dict):
|
|
1819
2625
|
snapshot_creation_schedule: str,
|
1820
2626
|
snapshot_location: str,
|
1821
2627
|
time_zone: str):
|
2628
|
+
"""
|
2629
|
+
:param bool enabled: When enabled, Cloud Composer periodically saves snapshots of your environment to a Cloud Storage bucket.
|
2630
|
+
:param str snapshot_creation_schedule: Snapshot schedule, in the unix-cron format.
|
2631
|
+
:param str snapshot_location: the URI of a bucket folder where to save the snapshot.
|
2632
|
+
:param str time_zone: A time zone for the schedule. This value is a time offset and does not take into account daylight saving time changes. Valid values are from UTC-12 to UTC+12. Examples: UTC, UTC-01, UTC+03.
|
2633
|
+
"""
|
1822
2634
|
pulumi.set(__self__, "enabled", enabled)
|
1823
2635
|
pulumi.set(__self__, "snapshot_creation_schedule", snapshot_creation_schedule)
|
1824
2636
|
pulumi.set(__self__, "snapshot_location", snapshot_location)
|
@@ -1827,21 +2639,33 @@ class GetEnvironmentConfigRecoveryConfigScheduledSnapshotsConfigResult(dict):
|
|
1827
2639
|
@property
|
1828
2640
|
@pulumi.getter
|
1829
2641
|
def enabled(self) -> bool:
|
2642
|
+
"""
|
2643
|
+
When enabled, Cloud Composer periodically saves snapshots of your environment to a Cloud Storage bucket.
|
2644
|
+
"""
|
1830
2645
|
return pulumi.get(self, "enabled")
|
1831
2646
|
|
1832
2647
|
@property
|
1833
2648
|
@pulumi.getter(name="snapshotCreationSchedule")
|
1834
2649
|
def snapshot_creation_schedule(self) -> str:
|
2650
|
+
"""
|
2651
|
+
Snapshot schedule, in the unix-cron format.
|
2652
|
+
"""
|
1835
2653
|
return pulumi.get(self, "snapshot_creation_schedule")
|
1836
2654
|
|
1837
2655
|
@property
|
1838
2656
|
@pulumi.getter(name="snapshotLocation")
|
1839
2657
|
def snapshot_location(self) -> str:
|
2658
|
+
"""
|
2659
|
+
the URI of a bucket folder where to save the snapshot.
|
2660
|
+
"""
|
1840
2661
|
return pulumi.get(self, "snapshot_location")
|
1841
2662
|
|
1842
2663
|
@property
|
1843
2664
|
@pulumi.getter(name="timeZone")
|
1844
2665
|
def time_zone(self) -> str:
|
2666
|
+
"""
|
2667
|
+
A time zone for the schedule. This value is a time offset and does not take into account daylight saving time changes. Valid values are from UTC-12 to UTC+12. Examples: UTC, UTC-01, UTC+03.
|
2668
|
+
"""
|
1845
2669
|
return pulumi.get(self, "time_zone")
|
1846
2670
|
|
1847
2671
|
|
@@ -1856,6 +2680,16 @@ class GetEnvironmentConfigSoftwareConfigResult(dict):
|
|
1856
2680
|
python_version: str,
|
1857
2681
|
scheduler_count: int,
|
1858
2682
|
web_server_plugins_mode: str):
|
2683
|
+
"""
|
2684
|
+
:param Mapping[str, str] airflow_config_overrides: Apache Airflow configuration properties to override. Property keys contain the section and property names, separated by a hyphen, for example "core-dags_are_paused_at_creation". Section names must not contain hyphens ("-"), opening square brackets ("["), or closing square brackets ("]"). The property name must not be empty and cannot contain "=" or ";". Section and property names cannot contain characters: "." Apache Airflow configuration property names must be written in snake_case. Property values can contain any character, and can be written in any lower/upper case format. Certain Apache Airflow configuration property values are blacklisted, and cannot be overridden.
|
2685
|
+
:param Sequence['GetEnvironmentConfigSoftwareConfigCloudDataLineageIntegrationArgs'] cloud_data_lineage_integrations: The configuration for Cloud Data Lineage integration. Supported for Cloud Composer environments in versions composer-2.1.2-airflow-*.*.* and newer
|
2686
|
+
:param Mapping[str, str] env_variables: Additional environment variables to provide to the Apache Airflow scheduler, worker, and webserver processes. Environment variable names must match the regular expression [a-zA-Z_][a-zA-Z0-9_]*. They cannot specify Apache Airflow software configuration overrides (they cannot match the regular expression AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+), and they cannot match any of the following reserved names: AIRFLOW_HOME C_FORCE_ROOT CONTAINER_NAME DAGS_FOLDER GCP_PROJECT GCS_BUCKET GKE_CLUSTER_NAME SQL_DATABASE SQL_INSTANCE SQL_PASSWORD SQL_PROJECT SQL_REGION SQL_USER.
|
2687
|
+
:param str image_version: The version of the software running in the environment. This encapsulates both the version of Cloud Composer functionality and the version of Apache Airflow. It must match the regular expression composer-([0-9]+(\\.[0-9]+\\.[0-9]+(-preview\\.[0-9]+)?)?|latest)-airflow-([0-9]+(\\.[0-9]+(\\.[0-9]+)?)?). The Cloud Composer portion of the image version is a full semantic version, or an alias in the form of major version number or 'latest'. The Apache Airflow portion of the image version is a full semantic version that points to one of the supported Apache Airflow versions, or an alias in the form of only major or major.minor versions specified. See documentation for more details and version list.
|
2688
|
+
:param Mapping[str, str] pypi_packages: Custom Python Package Index (PyPI) packages to be installed in the environment. Keys refer to the lowercase package name (e.g. "numpy"). Values are the lowercase extras and version specifier (e.g. "==1.12.0", "[devel,gcp_api]", "[devel]>=1.8.2, <1.9.2"). To specify a package without pinning it to a version specifier, use the empty string as the value.
|
2689
|
+
:param str python_version: The major version of Python used to run the Apache Airflow scheduler, worker, and webserver processes. Can be set to '2' or '3'. If not specified, the default is '2'. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. Environments in newer versions always use Python major version 3.
|
2690
|
+
:param int scheduler_count: The number of schedulers for Airflow. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-2.*.*.
|
2691
|
+
:param str web_server_plugins_mode: Should be either 'ENABLED' or 'DISABLED'. Defaults to 'ENABLED'. Used in Composer 3.
|
2692
|
+
"""
|
1859
2693
|
pulumi.set(__self__, "airflow_config_overrides", airflow_config_overrides)
|
1860
2694
|
pulumi.set(__self__, "cloud_data_lineage_integrations", cloud_data_lineage_integrations)
|
1861
2695
|
pulumi.set(__self__, "env_variables", env_variables)
|
@@ -1868,41 +2702,65 @@ class GetEnvironmentConfigSoftwareConfigResult(dict):
|
|
1868
2702
|
@property
|
1869
2703
|
@pulumi.getter(name="airflowConfigOverrides")
|
1870
2704
|
def airflow_config_overrides(self) -> Mapping[str, str]:
|
2705
|
+
"""
|
2706
|
+
Apache Airflow configuration properties to override. Property keys contain the section and property names, separated by a hyphen, for example "core-dags_are_paused_at_creation". Section names must not contain hyphens ("-"), opening square brackets ("["), or closing square brackets ("]"). The property name must not be empty and cannot contain "=" or ";". Section and property names cannot contain characters: "." Apache Airflow configuration property names must be written in snake_case. Property values can contain any character, and can be written in any lower/upper case format. Certain Apache Airflow configuration property values are blacklisted, and cannot be overridden.
|
2707
|
+
"""
|
1871
2708
|
return pulumi.get(self, "airflow_config_overrides")
|
1872
2709
|
|
1873
2710
|
@property
|
1874
2711
|
@pulumi.getter(name="cloudDataLineageIntegrations")
|
1875
2712
|
def cloud_data_lineage_integrations(self) -> Sequence['outputs.GetEnvironmentConfigSoftwareConfigCloudDataLineageIntegrationResult']:
|
2713
|
+
"""
|
2714
|
+
The configuration for Cloud Data Lineage integration. Supported for Cloud Composer environments in versions composer-2.1.2-airflow-*.*.* and newer
|
2715
|
+
"""
|
1876
2716
|
return pulumi.get(self, "cloud_data_lineage_integrations")
|
1877
2717
|
|
1878
2718
|
@property
|
1879
2719
|
@pulumi.getter(name="envVariables")
|
1880
2720
|
def env_variables(self) -> Mapping[str, str]:
|
2721
|
+
"""
|
2722
|
+
Additional environment variables to provide to the Apache Airflow scheduler, worker, and webserver processes. Environment variable names must match the regular expression [a-zA-Z_][a-zA-Z0-9_]*. They cannot specify Apache Airflow software configuration overrides (they cannot match the regular expression AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+), and they cannot match any of the following reserved names: AIRFLOW_HOME C_FORCE_ROOT CONTAINER_NAME DAGS_FOLDER GCP_PROJECT GCS_BUCKET GKE_CLUSTER_NAME SQL_DATABASE SQL_INSTANCE SQL_PASSWORD SQL_PROJECT SQL_REGION SQL_USER.
|
2723
|
+
"""
|
1881
2724
|
return pulumi.get(self, "env_variables")
|
1882
2725
|
|
1883
2726
|
@property
|
1884
2727
|
@pulumi.getter(name="imageVersion")
|
1885
2728
|
def image_version(self) -> str:
|
2729
|
+
"""
|
2730
|
+
The version of the software running in the environment. This encapsulates both the version of Cloud Composer functionality and the version of Apache Airflow. It must match the regular expression composer-([0-9]+(\\.[0-9]+\\.[0-9]+(-preview\\.[0-9]+)?)?|latest)-airflow-([0-9]+(\\.[0-9]+(\\.[0-9]+)?)?). The Cloud Composer portion of the image version is a full semantic version, or an alias in the form of major version number or 'latest'. The Apache Airflow portion of the image version is a full semantic version that points to one of the supported Apache Airflow versions, or an alias in the form of only major or major.minor versions specified. See documentation for more details and version list.
|
2731
|
+
"""
|
1886
2732
|
return pulumi.get(self, "image_version")
|
1887
2733
|
|
1888
2734
|
@property
|
1889
2735
|
@pulumi.getter(name="pypiPackages")
|
1890
2736
|
def pypi_packages(self) -> Mapping[str, str]:
|
2737
|
+
"""
|
2738
|
+
Custom Python Package Index (PyPI) packages to be installed in the environment. Keys refer to the lowercase package name (e.g. "numpy"). Values are the lowercase extras and version specifier (e.g. "==1.12.0", "[devel,gcp_api]", "[devel]>=1.8.2, <1.9.2"). To specify a package without pinning it to a version specifier, use the empty string as the value.
|
2739
|
+
"""
|
1891
2740
|
return pulumi.get(self, "pypi_packages")
|
1892
2741
|
|
1893
2742
|
@property
|
1894
2743
|
@pulumi.getter(name="pythonVersion")
|
1895
2744
|
def python_version(self) -> str:
|
2745
|
+
"""
|
2746
|
+
The major version of Python used to run the Apache Airflow scheduler, worker, and webserver processes. Can be set to '2' or '3'. If not specified, the default is '2'. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. Environments in newer versions always use Python major version 3.
|
2747
|
+
"""
|
1896
2748
|
return pulumi.get(self, "python_version")
|
1897
2749
|
|
1898
2750
|
@property
|
1899
2751
|
@pulumi.getter(name="schedulerCount")
|
1900
2752
|
def scheduler_count(self) -> int:
|
2753
|
+
"""
|
2754
|
+
The number of schedulers for Airflow. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-2.*.*.
|
2755
|
+
"""
|
1901
2756
|
return pulumi.get(self, "scheduler_count")
|
1902
2757
|
|
1903
2758
|
@property
|
1904
2759
|
@pulumi.getter(name="webServerPluginsMode")
|
1905
2760
|
def web_server_plugins_mode(self) -> str:
|
2761
|
+
"""
|
2762
|
+
Should be either 'ENABLED' or 'DISABLED'. Defaults to 'ENABLED'. Used in Composer 3.
|
2763
|
+
"""
|
1906
2764
|
return pulumi.get(self, "web_server_plugins_mode")
|
1907
2765
|
|
1908
2766
|
|
@@ -1910,11 +2768,17 @@ class GetEnvironmentConfigSoftwareConfigResult(dict):
|
|
1910
2768
|
class GetEnvironmentConfigSoftwareConfigCloudDataLineageIntegrationResult(dict):
|
1911
2769
|
def __init__(__self__, *,
|
1912
2770
|
enabled: bool):
|
2771
|
+
"""
|
2772
|
+
:param bool enabled: Whether or not Cloud Data Lineage integration is enabled.
|
2773
|
+
"""
|
1913
2774
|
pulumi.set(__self__, "enabled", enabled)
|
1914
2775
|
|
1915
2776
|
@property
|
1916
2777
|
@pulumi.getter
|
1917
2778
|
def enabled(self) -> bool:
|
2779
|
+
"""
|
2780
|
+
Whether or not Cloud Data Lineage integration is enabled.
|
2781
|
+
"""
|
1918
2782
|
return pulumi.get(self, "enabled")
|
1919
2783
|
|
1920
2784
|
|
@@ -1922,11 +2786,17 @@ class GetEnvironmentConfigSoftwareConfigCloudDataLineageIntegrationResult(dict):
|
|
1922
2786
|
class GetEnvironmentConfigWebServerConfigResult(dict):
|
1923
2787
|
def __init__(__self__, *,
|
1924
2788
|
machine_type: str):
|
2789
|
+
"""
|
2790
|
+
:param str machine_type: Optional. Machine type on which Airflow web server is running. It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or composer-n1-webserver-8. If not specified, composer-n1-webserver-2 will be used. Value custom is returned only in response, if Airflow web server parameters were manually changed to a non-standard values.
|
2791
|
+
"""
|
1925
2792
|
pulumi.set(__self__, "machine_type", machine_type)
|
1926
2793
|
|
1927
2794
|
@property
|
1928
2795
|
@pulumi.getter(name="machineType")
|
1929
2796
|
def machine_type(self) -> str:
|
2797
|
+
"""
|
2798
|
+
Optional. Machine type on which Airflow web server is running. It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or composer-n1-webserver-8. If not specified, composer-n1-webserver-2 will be used. Value custom is returned only in response, if Airflow web server parameters were manually changed to a non-standard values.
|
2799
|
+
"""
|
1930
2800
|
return pulumi.get(self, "machine_type")
|
1931
2801
|
|
1932
2802
|
|
@@ -1934,11 +2804,17 @@ class GetEnvironmentConfigWebServerConfigResult(dict):
|
|
1934
2804
|
class GetEnvironmentConfigWebServerNetworkAccessControlResult(dict):
|
1935
2805
|
def __init__(__self__, *,
|
1936
2806
|
allowed_ip_ranges: Sequence['outputs.GetEnvironmentConfigWebServerNetworkAccessControlAllowedIpRangeResult']):
|
2807
|
+
"""
|
2808
|
+
:param Sequence['GetEnvironmentConfigWebServerNetworkAccessControlAllowedIpRangeArgs'] allowed_ip_ranges: A collection of allowed IP ranges with descriptions.
|
2809
|
+
"""
|
1937
2810
|
pulumi.set(__self__, "allowed_ip_ranges", allowed_ip_ranges)
|
1938
2811
|
|
1939
2812
|
@property
|
1940
2813
|
@pulumi.getter(name="allowedIpRanges")
|
1941
2814
|
def allowed_ip_ranges(self) -> Sequence['outputs.GetEnvironmentConfigWebServerNetworkAccessControlAllowedIpRangeResult']:
|
2815
|
+
"""
|
2816
|
+
A collection of allowed IP ranges with descriptions.
|
2817
|
+
"""
|
1942
2818
|
return pulumi.get(self, "allowed_ip_ranges")
|
1943
2819
|
|
1944
2820
|
|
@@ -1947,17 +2823,27 @@ class GetEnvironmentConfigWebServerNetworkAccessControlAllowedIpRangeResult(dict
|
|
1947
2823
|
def __init__(__self__, *,
|
1948
2824
|
description: str,
|
1949
2825
|
value: str):
|
2826
|
+
"""
|
2827
|
+
:param str description: A description of this ip range.
|
2828
|
+
:param str value: IP address or range, defined using CIDR notation, of requests that this rule applies to. Examples: 192.168.1.1 or 192.168.0.0/16 or 2001:db8::/32 or 2001:0db8:0000:0042:0000:8a2e:0370:7334. IP range prefixes should be properly truncated. For example, 1.2.3.4/24 should be truncated to 1.2.3.0/24. Similarly, for IPv6, 2001:db8::1/32 should be truncated to 2001:db8::/32.
|
2829
|
+
"""
|
1950
2830
|
pulumi.set(__self__, "description", description)
|
1951
2831
|
pulumi.set(__self__, "value", value)
|
1952
2832
|
|
1953
2833
|
@property
|
1954
2834
|
@pulumi.getter
|
1955
2835
|
def description(self) -> str:
|
2836
|
+
"""
|
2837
|
+
A description of this ip range.
|
2838
|
+
"""
|
1956
2839
|
return pulumi.get(self, "description")
|
1957
2840
|
|
1958
2841
|
@property
|
1959
2842
|
@pulumi.getter
|
1960
2843
|
def value(self) -> str:
|
2844
|
+
"""
|
2845
|
+
IP address or range, defined using CIDR notation, of requests that this rule applies to. Examples: 192.168.1.1 or 192.168.0.0/16 or 2001:db8::/32 or 2001:0db8:0000:0042:0000:8a2e:0370:7334. IP range prefixes should be properly truncated. For example, 1.2.3.4/24 should be truncated to 1.2.3.0/24. Similarly, for IPv6, 2001:db8::1/32 should be truncated to 2001:db8::/32.
|
2846
|
+
"""
|
1961
2847
|
return pulumi.get(self, "value")
|
1962
2848
|
|
1963
2849
|
|
@@ -1969,6 +2855,13 @@ class GetEnvironmentConfigWorkloadsConfigResult(dict):
|
|
1969
2855
|
triggerers: Sequence['outputs.GetEnvironmentConfigWorkloadsConfigTriggererResult'],
|
1970
2856
|
web_servers: Sequence['outputs.GetEnvironmentConfigWorkloadsConfigWebServerResult'],
|
1971
2857
|
workers: Sequence['outputs.GetEnvironmentConfigWorkloadsConfigWorkerResult']):
|
2858
|
+
"""
|
2859
|
+
:param Sequence['GetEnvironmentConfigWorkloadsConfigDagProcessorArgs'] dag_processors: Configuration for resources used by DAG processor.
|
2860
|
+
:param Sequence['GetEnvironmentConfigWorkloadsConfigSchedulerArgs'] schedulers: Configuration for resources used by Airflow schedulers.
|
2861
|
+
:param Sequence['GetEnvironmentConfigWorkloadsConfigTriggererArgs'] triggerers: Configuration for resources used by Airflow triggerers.
|
2862
|
+
:param Sequence['GetEnvironmentConfigWorkloadsConfigWebServerArgs'] web_servers: Configuration for resources used by Airflow web server.
|
2863
|
+
:param Sequence['GetEnvironmentConfigWorkloadsConfigWorkerArgs'] workers: Configuration for resources used by Airflow workers.
|
2864
|
+
"""
|
1972
2865
|
pulumi.set(__self__, "dag_processors", dag_processors)
|
1973
2866
|
pulumi.set(__self__, "schedulers", schedulers)
|
1974
2867
|
pulumi.set(__self__, "triggerers", triggerers)
|
@@ -1978,26 +2871,41 @@ class GetEnvironmentConfigWorkloadsConfigResult(dict):
|
|
1978
2871
|
@property
|
1979
2872
|
@pulumi.getter(name="dagProcessors")
|
1980
2873
|
def dag_processors(self) -> Sequence['outputs.GetEnvironmentConfigWorkloadsConfigDagProcessorResult']:
|
2874
|
+
"""
|
2875
|
+
Configuration for resources used by DAG processor.
|
2876
|
+
"""
|
1981
2877
|
return pulumi.get(self, "dag_processors")
|
1982
2878
|
|
1983
2879
|
@property
|
1984
2880
|
@pulumi.getter
|
1985
2881
|
def schedulers(self) -> Sequence['outputs.GetEnvironmentConfigWorkloadsConfigSchedulerResult']:
|
2882
|
+
"""
|
2883
|
+
Configuration for resources used by Airflow schedulers.
|
2884
|
+
"""
|
1986
2885
|
return pulumi.get(self, "schedulers")
|
1987
2886
|
|
1988
2887
|
@property
|
1989
2888
|
@pulumi.getter
|
1990
2889
|
def triggerers(self) -> Sequence['outputs.GetEnvironmentConfigWorkloadsConfigTriggererResult']:
|
2890
|
+
"""
|
2891
|
+
Configuration for resources used by Airflow triggerers.
|
2892
|
+
"""
|
1991
2893
|
return pulumi.get(self, "triggerers")
|
1992
2894
|
|
1993
2895
|
@property
|
1994
2896
|
@pulumi.getter(name="webServers")
|
1995
2897
|
def web_servers(self) -> Sequence['outputs.GetEnvironmentConfigWorkloadsConfigWebServerResult']:
|
2898
|
+
"""
|
2899
|
+
Configuration for resources used by Airflow web server.
|
2900
|
+
"""
|
1996
2901
|
return pulumi.get(self, "web_servers")
|
1997
2902
|
|
1998
2903
|
@property
|
1999
2904
|
@pulumi.getter
|
2000
2905
|
def workers(self) -> Sequence['outputs.GetEnvironmentConfigWorkloadsConfigWorkerResult']:
|
2906
|
+
"""
|
2907
|
+
Configuration for resources used by Airflow workers.
|
2908
|
+
"""
|
2001
2909
|
return pulumi.get(self, "workers")
|
2002
2910
|
|
2003
2911
|
|
@@ -2007,6 +2915,11 @@ class GetEnvironmentConfigWorkloadsConfigDagProcessorResult(dict):
|
|
2007
2915
|
cpu: float,
|
2008
2916
|
memory_gb: float,
|
2009
2917
|
storage_gb: float):
|
2918
|
+
"""
|
2919
|
+
:param float cpu: CPU request and limit for DAG processor.
|
2920
|
+
:param float memory_gb: Memory (GB) request and limit for DAG processor.
|
2921
|
+
:param float storage_gb: Storage (GB) request and limit for DAG processor.
|
2922
|
+
"""
|
2010
2923
|
pulumi.set(__self__, "cpu", cpu)
|
2011
2924
|
pulumi.set(__self__, "memory_gb", memory_gb)
|
2012
2925
|
pulumi.set(__self__, "storage_gb", storage_gb)
|
@@ -2014,16 +2927,25 @@ class GetEnvironmentConfigWorkloadsConfigDagProcessorResult(dict):
|
|
2014
2927
|
@property
|
2015
2928
|
@pulumi.getter
|
2016
2929
|
def cpu(self) -> float:
|
2930
|
+
"""
|
2931
|
+
CPU request and limit for DAG processor.
|
2932
|
+
"""
|
2017
2933
|
return pulumi.get(self, "cpu")
|
2018
2934
|
|
2019
2935
|
@property
|
2020
2936
|
@pulumi.getter(name="memoryGb")
|
2021
2937
|
def memory_gb(self) -> float:
|
2938
|
+
"""
|
2939
|
+
Memory (GB) request and limit for DAG processor.
|
2940
|
+
"""
|
2022
2941
|
return pulumi.get(self, "memory_gb")
|
2023
2942
|
|
2024
2943
|
@property
|
2025
2944
|
@pulumi.getter(name="storageGb")
|
2026
2945
|
def storage_gb(self) -> float:
|
2946
|
+
"""
|
2947
|
+
Storage (GB) request and limit for DAG processor.
|
2948
|
+
"""
|
2027
2949
|
return pulumi.get(self, "storage_gb")
|
2028
2950
|
|
2029
2951
|
|
@@ -2034,6 +2956,12 @@ class GetEnvironmentConfigWorkloadsConfigSchedulerResult(dict):
|
|
2034
2956
|
cpu: float,
|
2035
2957
|
memory_gb: float,
|
2036
2958
|
storage_gb: float):
|
2959
|
+
"""
|
2960
|
+
:param int count: The number of schedulers.
|
2961
|
+
:param float cpu: CPU request and limit for a single Airflow scheduler replica
|
2962
|
+
:param float memory_gb: Memory (GB) request and limit for a single Airflow scheduler replica.
|
2963
|
+
:param float storage_gb: Storage (GB) request and limit for a single Airflow scheduler replica.
|
2964
|
+
"""
|
2037
2965
|
pulumi.set(__self__, "count", count)
|
2038
2966
|
pulumi.set(__self__, "cpu", cpu)
|
2039
2967
|
pulumi.set(__self__, "memory_gb", memory_gb)
|
@@ -2042,21 +2970,33 @@ class GetEnvironmentConfigWorkloadsConfigSchedulerResult(dict):
|
|
2042
2970
|
@property
|
2043
2971
|
@pulumi.getter
|
2044
2972
|
def count(self) -> int:
|
2973
|
+
"""
|
2974
|
+
The number of schedulers.
|
2975
|
+
"""
|
2045
2976
|
return pulumi.get(self, "count")
|
2046
2977
|
|
2047
2978
|
@property
|
2048
2979
|
@pulumi.getter
|
2049
2980
|
def cpu(self) -> float:
|
2981
|
+
"""
|
2982
|
+
CPU request and limit for a single Airflow scheduler replica
|
2983
|
+
"""
|
2050
2984
|
return pulumi.get(self, "cpu")
|
2051
2985
|
|
2052
2986
|
@property
|
2053
2987
|
@pulumi.getter(name="memoryGb")
|
2054
2988
|
def memory_gb(self) -> float:
|
2989
|
+
"""
|
2990
|
+
Memory (GB) request and limit for a single Airflow scheduler replica.
|
2991
|
+
"""
|
2055
2992
|
return pulumi.get(self, "memory_gb")
|
2056
2993
|
|
2057
2994
|
@property
|
2058
2995
|
@pulumi.getter(name="storageGb")
|
2059
2996
|
def storage_gb(self) -> float:
|
2997
|
+
"""
|
2998
|
+
Storage (GB) request and limit for a single Airflow scheduler replica.
|
2999
|
+
"""
|
2060
3000
|
return pulumi.get(self, "storage_gb")
|
2061
3001
|
|
2062
3002
|
|
@@ -2066,6 +3006,11 @@ class GetEnvironmentConfigWorkloadsConfigTriggererResult(dict):
|
|
2066
3006
|
count: int,
|
2067
3007
|
cpu: float,
|
2068
3008
|
memory_gb: float):
|
3009
|
+
"""
|
3010
|
+
:param int count: The number of triggerers.
|
3011
|
+
:param float cpu: CPU request and limit for a single Airflow triggerer replica.
|
3012
|
+
:param float memory_gb: Memory (GB) request and limit for a single Airflow triggerer replica.
|
3013
|
+
"""
|
2069
3014
|
pulumi.set(__self__, "count", count)
|
2070
3015
|
pulumi.set(__self__, "cpu", cpu)
|
2071
3016
|
pulumi.set(__self__, "memory_gb", memory_gb)
|
@@ -2073,16 +3018,25 @@ class GetEnvironmentConfigWorkloadsConfigTriggererResult(dict):
|
|
2073
3018
|
@property
|
2074
3019
|
@pulumi.getter
|
2075
3020
|
def count(self) -> int:
|
3021
|
+
"""
|
3022
|
+
The number of triggerers.
|
3023
|
+
"""
|
2076
3024
|
return pulumi.get(self, "count")
|
2077
3025
|
|
2078
3026
|
@property
|
2079
3027
|
@pulumi.getter
|
2080
3028
|
def cpu(self) -> float:
|
3029
|
+
"""
|
3030
|
+
CPU request and limit for a single Airflow triggerer replica.
|
3031
|
+
"""
|
2081
3032
|
return pulumi.get(self, "cpu")
|
2082
3033
|
|
2083
3034
|
@property
|
2084
3035
|
@pulumi.getter(name="memoryGb")
|
2085
3036
|
def memory_gb(self) -> float:
|
3037
|
+
"""
|
3038
|
+
Memory (GB) request and limit for a single Airflow triggerer replica.
|
3039
|
+
"""
|
2086
3040
|
return pulumi.get(self, "memory_gb")
|
2087
3041
|
|
2088
3042
|
|
@@ -2092,6 +3046,11 @@ class GetEnvironmentConfigWorkloadsConfigWebServerResult(dict):
|
|
2092
3046
|
cpu: float,
|
2093
3047
|
memory_gb: float,
|
2094
3048
|
storage_gb: float):
|
3049
|
+
"""
|
3050
|
+
:param float cpu: CPU request and limit for Airflow web server.
|
3051
|
+
:param float memory_gb: Memory (GB) request and limit for Airflow web server.
|
3052
|
+
:param float storage_gb: Storage (GB) request and limit for Airflow web server.
|
3053
|
+
"""
|
2095
3054
|
pulumi.set(__self__, "cpu", cpu)
|
2096
3055
|
pulumi.set(__self__, "memory_gb", memory_gb)
|
2097
3056
|
pulumi.set(__self__, "storage_gb", storage_gb)
|
@@ -2099,16 +3058,25 @@ class GetEnvironmentConfigWorkloadsConfigWebServerResult(dict):
|
|
2099
3058
|
@property
|
2100
3059
|
@pulumi.getter
|
2101
3060
|
def cpu(self) -> float:
|
3061
|
+
"""
|
3062
|
+
CPU request and limit for Airflow web server.
|
3063
|
+
"""
|
2102
3064
|
return pulumi.get(self, "cpu")
|
2103
3065
|
|
2104
3066
|
@property
|
2105
3067
|
@pulumi.getter(name="memoryGb")
|
2106
3068
|
def memory_gb(self) -> float:
|
3069
|
+
"""
|
3070
|
+
Memory (GB) request and limit for Airflow web server.
|
3071
|
+
"""
|
2107
3072
|
return pulumi.get(self, "memory_gb")
|
2108
3073
|
|
2109
3074
|
@property
|
2110
3075
|
@pulumi.getter(name="storageGb")
|
2111
3076
|
def storage_gb(self) -> float:
|
3077
|
+
"""
|
3078
|
+
Storage (GB) request and limit for Airflow web server.
|
3079
|
+
"""
|
2112
3080
|
return pulumi.get(self, "storage_gb")
|
2113
3081
|
|
2114
3082
|
|
@@ -2120,6 +3088,13 @@ class GetEnvironmentConfigWorkloadsConfigWorkerResult(dict):
|
|
2120
3088
|
memory_gb: float,
|
2121
3089
|
min_count: int,
|
2122
3090
|
storage_gb: float):
|
3091
|
+
"""
|
3092
|
+
:param float cpu: CPU request and limit for a single Airflow worker replica.
|
3093
|
+
:param int max_count: Maximum number of workers for autoscaling.
|
3094
|
+
:param float memory_gb: Memory (GB) request and limit for a single Airflow worker replica.
|
3095
|
+
:param int min_count: Minimum number of workers for autoscaling.
|
3096
|
+
:param float storage_gb: Storage (GB) request and limit for a single Airflow worker replica.
|
3097
|
+
"""
|
2123
3098
|
pulumi.set(__self__, "cpu", cpu)
|
2124
3099
|
pulumi.set(__self__, "max_count", max_count)
|
2125
3100
|
pulumi.set(__self__, "memory_gb", memory_gb)
|
@@ -2129,26 +3104,41 @@ class GetEnvironmentConfigWorkloadsConfigWorkerResult(dict):
|
|
2129
3104
|
@property
|
2130
3105
|
@pulumi.getter
|
2131
3106
|
def cpu(self) -> float:
|
3107
|
+
"""
|
3108
|
+
CPU request and limit for a single Airflow worker replica.
|
3109
|
+
"""
|
2132
3110
|
return pulumi.get(self, "cpu")
|
2133
3111
|
|
2134
3112
|
@property
|
2135
3113
|
@pulumi.getter(name="maxCount")
|
2136
3114
|
def max_count(self) -> int:
|
3115
|
+
"""
|
3116
|
+
Maximum number of workers for autoscaling.
|
3117
|
+
"""
|
2137
3118
|
return pulumi.get(self, "max_count")
|
2138
3119
|
|
2139
3120
|
@property
|
2140
3121
|
@pulumi.getter(name="memoryGb")
|
2141
3122
|
def memory_gb(self) -> float:
|
3123
|
+
"""
|
3124
|
+
Memory (GB) request and limit for a single Airflow worker replica.
|
3125
|
+
"""
|
2142
3126
|
return pulumi.get(self, "memory_gb")
|
2143
3127
|
|
2144
3128
|
@property
|
2145
3129
|
@pulumi.getter(name="minCount")
|
2146
3130
|
def min_count(self) -> int:
|
3131
|
+
"""
|
3132
|
+
Minimum number of workers for autoscaling.
|
3133
|
+
"""
|
2147
3134
|
return pulumi.get(self, "min_count")
|
2148
3135
|
|
2149
3136
|
@property
|
2150
3137
|
@pulumi.getter(name="storageGb")
|
2151
3138
|
def storage_gb(self) -> float:
|
3139
|
+
"""
|
3140
|
+
Storage (GB) request and limit for a single Airflow worker replica.
|
3141
|
+
"""
|
2152
3142
|
return pulumi.get(self, "storage_gb")
|
2153
3143
|
|
2154
3144
|
|
@@ -2156,11 +3146,17 @@ class GetEnvironmentConfigWorkloadsConfigWorkerResult(dict):
|
|
2156
3146
|
class GetEnvironmentStorageConfigResult(dict):
|
2157
3147
|
def __init__(__self__, *,
|
2158
3148
|
bucket: str):
|
3149
|
+
"""
|
3150
|
+
:param str bucket: Optional. Name of an existing Cloud Storage bucket to be used by the environment.
|
3151
|
+
"""
|
2159
3152
|
pulumi.set(__self__, "bucket", bucket)
|
2160
3153
|
|
2161
3154
|
@property
|
2162
3155
|
@pulumi.getter
|
2163
3156
|
def bucket(self) -> str:
|
3157
|
+
"""
|
3158
|
+
Optional. Name of an existing Cloud Storage bucket to be used by the environment.
|
3159
|
+
"""
|
2164
3160
|
return pulumi.get(self, "bucket")
|
2165
3161
|
|
2166
3162
|
|