yandexcloud 0.288.0__py3-none-any.whl → 0.289.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- yandex/cloud/access/access_pb2.pyi +288 -0
- yandex/cloud/ai/foundation_models/v1/embedding/embedding_service_pb2.pyi +63 -0
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_pb2.pyi +53 -0
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_service_pb2.pyi +67 -0
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_pb2.pyi +55 -0
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2.pyi +122 -0
- yandex/cloud/ai/foundation_models/v1/text_common_pb2.pyi +195 -0
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.pyi +122 -0
- yandex/cloud/ai/llm/v1alpha/llm_pb2.pyi +121 -0
- yandex/cloud/ai/llm/v1alpha/llm_service_pb2.pyi +280 -0
- yandex/cloud/ai/ocr/v1/ocr_pb2.pyi +364 -0
- yandex/cloud/ai/ocr/v1/ocr_service_pb2.pyi +92 -0
- yandex/cloud/ai/stt/v2/stt_service_pb2.pyi +299 -0
- yandex/cloud/ai/stt/v3/stt_pb2.pyi +1437 -0
- yandex/cloud/ai/stt/v3/stt_service_pb2.pyi +26 -0
- yandex/cloud/ai/translate/v2/translation_pb2.pyi +55 -0
- yandex/cloud/ai/translate/v2/translation_service_pb2.pyi +272 -0
- yandex/cloud/ai/tts/v3/tts_pb2.pyi +474 -0
- yandex/cloud/ai/tts/v3/tts_service_pb2.pyi +8 -0
- yandex/cloud/ai/vision/v1/classification_pb2.pyi +55 -0
- yandex/cloud/ai/vision/v1/face_detection_pb2.pyi +51 -0
- yandex/cloud/ai/vision/v1/image_copy_search_pb2.pyi +63 -0
- yandex/cloud/ai/vision/v1/primitives_pb2.pyi +51 -0
- yandex/cloud/ai/vision/v1/text_detection_pb2.pyi +196 -0
- yandex/cloud/ai/vision/v1/vision_service_pb2.pyi +284 -0
- yandex/cloud/ai/vision/v2/image_classifier_pb2.pyi +159 -0
- yandex/cloud/ai/vision/v2/image_classifier_service_pb2.pyi +8 -0
- yandex/cloud/ai/vision/v2/image_pb2.pyi +57 -0
- yandex/cloud/api/operation_pb2.pyi +47 -0
- yandex/cloud/apploadbalancer/v1/backend_group_pb2.pyi +944 -0
- yandex/cloud/apploadbalancer/v1/backend_group_service_pb2.pyi +558 -0
- yandex/cloud/apploadbalancer/v1/http_router_pb2.pyi +92 -0
- yandex/cloud/apploadbalancer/v1/http_router_service_pb2.pyi +389 -0
- yandex/cloud/apploadbalancer/v1/load_balancer_pb2.pyi +837 -0
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2.pyi +1073 -0
- yandex/cloud/apploadbalancer/v1/logging_pb2.pyi +117 -0
- yandex/cloud/apploadbalancer/v1/payload_pb2.pyi +31 -0
- yandex/cloud/apploadbalancer/v1/target_group_pb2.pyi +117 -0
- yandex/cloud/apploadbalancer/v1/target_group_service_pb2.pyi +450 -0
- yandex/cloud/apploadbalancer/v1/tls_pb2.pyi +34 -0
- yandex/cloud/apploadbalancer/v1/virtual_host_pb2.pyi +798 -0
- yandex/cloud/apploadbalancer/v1/virtual_host_service_pb2.pyi +501 -0
- yandex/cloud/audittrails/v1/trail_pb2.pyi +449 -0
- yandex/cloud/audittrails/v1/trail_service_pb2.pyi +363 -0
- yandex/cloud/backup/v1/backup_pb2.pyi +468 -0
- yandex/cloud/backup/v1/backup_service_pb2.pyi +454 -0
- yandex/cloud/backup/v1/policy_pb2.pyi +742 -0
- yandex/cloud/backup/v1/policy_service_pb2.pyi +342 -0
- yandex/cloud/backup/v1/provider_service_pb2.pyi +90 -0
- yandex/cloud/backup/v1/resource_pb2.pyi +273 -0
- yandex/cloud/backup/v1/resource_service_pb2.pyi +357 -0
- yandex/cloud/billing/v1/billable_object_pb2.pyi +65 -0
- yandex/cloud/billing/v1/billing_account_pb2.pyi +62 -0
- yandex/cloud/billing/v1/billing_account_service_pb2.pyi +190 -0
- yandex/cloud/billing/v1/budget_pb2.pyi +409 -0
- yandex/cloud/billing/v1/budget_service_pb2.pyi +151 -0
- yandex/cloud/billing/v1/customer_pb2.pyi +79 -0
- yandex/cloud/billing/v1/customer_service_pb2.pyi +187 -0
- yandex/cloud/billing/v1/service_pb2.pyi +37 -0
- yandex/cloud/billing/v1/service_service_pb2.pyi +96 -0
- yandex/cloud/billing/v1/sku_pb2.pyi +173 -0
- yandex/cloud/billing/v1/sku_service_pb2.pyi +128 -0
- yandex/cloud/cdn/v1/cache_service_pb2.pyi +95 -0
- yandex/cloud/cdn/v1/origin_group_pb2.pyi +54 -0
- yandex/cloud/cdn/v1/origin_group_service_pb2.pyi +252 -0
- yandex/cloud/cdn/v1/origin_pb2.pyi +186 -0
- yandex/cloud/cdn/v1/origin_service_pb2.pyi +262 -0
- yandex/cloud/cdn/v1/provider_service_pb2.pyi +86 -0
- yandex/cloud/cdn/v1/raw_logs_pb2.pyi +80 -0
- yandex/cloud/cdn/v1/raw_logs_service_pb2.pyi +207 -0
- yandex/cloud/cdn/v1/resource_pb2.pyi +1067 -0
- yandex/cloud/cdn/v1/resource_service_pb2.pyi +401 -0
- yandex/cloud/cdn/v1/rule_pb2.pyi +45 -0
- yandex/cloud/cdn/v1/rule_service_pb2.pyi +211 -0
- yandex/cloud/certificatemanager/v1/certificate_content_service_pb2.pyi +87 -0
- yandex/cloud/certificatemanager/v1/certificate_pb2.pyi +381 -0
- yandex/cloud/certificatemanager/v1/certificate_service_pb2.pyi +515 -0
- yandex/cloud/compute/v1/disk_pb2.pyi +202 -0
- yandex/cloud/compute/v1/disk_placement_group_pb2.pyi +143 -0
- yandex/cloud/compute/v1/disk_placement_group_service_pb2.pyi +425 -0
- yandex/cloud/compute/v1/disk_service_pb2.pyi +561 -0
- yandex/cloud/compute/v1/disk_type_pb2.pyi +39 -0
- yandex/cloud/compute/v1/disk_type_service_pb2.pyi +86 -0
- yandex/cloud/compute/v1/filesystem_pb2.pyi +137 -0
- yandex/cloud/compute/v1/filesystem_service_pb2.pyi +394 -0
- yandex/cloud/compute/v1/gpu_cluster_pb2.pyi +139 -0
- yandex/cloud/compute/v1/gpu_cluster_service_pb2.pyi +439 -0
- yandex/cloud/compute/v1/host_group_pb2.pyi +224 -0
- yandex/cloud/compute/v1/host_group_service_pb2.pyi +556 -0
- yandex/cloud/compute/v1/host_type_pb2.pyi +48 -0
- yandex/cloud/compute/v1/host_type_service_pb2.pyi +87 -0
- yandex/cloud/compute/v1/image_pb2.pyi +188 -0
- yandex/cloud/compute/v1/image_service_pb2.pyi +430 -0
- yandex/cloud/compute/v1/instance_pb2.pyi +798 -0
- yandex/cloud/compute/v1/instance_service_pb2.pyi +1806 -0
- yandex/cloud/compute/v1/instancegroup/instance_group_pb2.pyi +2064 -0
- yandex/cloud/compute/v1/instancegroup/instance_group_service_pb2.pyi +1004 -0
- yandex/cloud/compute/v1/maintenance_pb2.pyi +38 -0
- yandex/cloud/compute/v1/placement_group_pb2.pyi +115 -0
- yandex/cloud/compute/v1/placement_group_service_pb2.pyi +423 -0
- yandex/cloud/compute/v1/snapshot_pb2.pyi +139 -0
- yandex/cloud/compute/v1/snapshot_schedule_pb2.pyi +221 -0
- yandex/cloud/compute/v1/snapshot_schedule_service_pb2.pyi +678 -0
- yandex/cloud/compute/v1/snapshot_service_pb2.pyi +350 -0
- yandex/cloud/compute/v1/zone_pb2.pyi +63 -0
- yandex/cloud/compute/v1/zone_service_pb2.pyi +84 -0
- yandex/cloud/containerregistry/v1/blob_pb2.pyi +45 -0
- yandex/cloud/containerregistry/v1/image_pb2.pyi +75 -0
- yandex/cloud/containerregistry/v1/image_service_pb2.pyi +160 -0
- yandex/cloud/containerregistry/v1/ip_permission_pb2.pyi +95 -0
- yandex/cloud/containerregistry/v1/lifecycle_policy_pb2.pyi +131 -0
- yandex/cloud/containerregistry/v1/lifecycle_policy_service_pb2.pyi +479 -0
- yandex/cloud/containerregistry/v1/registry_pb2.pyi +103 -0
- yandex/cloud/containerregistry/v1/registry_service_pb2.pyi +386 -0
- yandex/cloud/containerregistry/v1/repository_pb2.pyi +35 -0
- yandex/cloud/containerregistry/v1/repository_service_pb2.pyi +202 -0
- yandex/cloud/containerregistry/v1/scan_policy_pb2.pyi +140 -0
- yandex/cloud/containerregistry/v1/scan_policy_service_pb2.pyi +177 -0
- yandex/cloud/containerregistry/v1/scanner_pb2.pyi +254 -0
- yandex/cloud/containerregistry/v1/scanner_service_pb2.pyi +234 -0
- yandex/cloud/dataproc/manager/v1/job_pb2.pyi +608 -0
- yandex/cloud/dataproc/manager/v1/job_service_pb2.pyi +201 -0
- yandex/cloud/dataproc/manager/v1/manager_service_pb2.pyi +449 -0
- yandex/cloud/dataproc/v1/cluster_pb2.pyi +351 -0
- yandex/cloud/dataproc/v1/cluster_service_pb2.pyi +764 -0
- yandex/cloud/dataproc/v1/common_pb2.pyi +75 -0
- yandex/cloud/dataproc/v1/job_pb2.pyi +526 -0
- yandex/cloud/dataproc/v1/job_service_pb2.pyi +250 -0
- yandex/cloud/dataproc/v1/resource_preset_pb2.pyi +45 -0
- yandex/cloud/dataproc/v1/resource_preset_service_pb2.pyi +83 -0
- yandex/cloud/dataproc/v1/subcluster_pb2.pyi +248 -0
- yandex/cloud/dataproc/v1/subcluster_service_pb2.pyi +301 -0
- yandex/cloud/datasphere/v1/app_token_service_pb2.pyi +27 -0
- yandex/cloud/datasphere/v1/folder_budget_service_pb2.pyi +101 -0
- yandex/cloud/datasphere/v1/node_execution_error_details_pb2.pyi +41 -0
- yandex/cloud/datasphere/v1/node_service_pb2.pyi +104 -0
- yandex/cloud/datasphere/v1/project_data_service_pb2.pyi +122 -0
- yandex/cloud/datasphere/v1/project_pb2.pyi +149 -0
- yandex/cloud/datasphere/v1/project_service_pb2.pyi +606 -0
- yandex/cloud/datasphere/v2/community_pb2.pyi +75 -0
- yandex/cloud/datasphere/v2/community_service_pb2.pyi +384 -0
- yandex/cloud/datasphere/v2/dataset_pb2.pyi +159 -0
- yandex/cloud/datasphere/v2/dataset_service_pb2.pyi +47 -0
- yandex/cloud/datasphere/v2/docker_image_service_pb2.pyi +29 -0
- yandex/cloud/datasphere/v2/jobs/jobs_pb2.pyi +484 -0
- yandex/cloud/datasphere/v2/jobs/project_job_service_pb2.pyi +694 -0
- yandex/cloud/datasphere/v2/project_pb2.pyi +265 -0
- yandex/cloud/datasphere/v2/project_service_pb2.pyi +815 -0
- yandex/cloud/datasphere/v2/resource_types_pb2.pyi +46 -0
- yandex/cloud/datasphere/v2/restrictions_pb2.pyi +127 -0
- yandex/cloud/datasphere/v2/s3_service_pb2.pyi +47 -0
- yandex/cloud/datasphere/v2/secret_pb2.pyi +102 -0
- yandex/cloud/datasphere/v2/user_pb2.pyi +43 -0
- yandex/cloud/datatransfer/v1/endpoint/clickhouse_pb2.pyi +295 -0
- yandex/cloud/datatransfer/v1/endpoint/common_pb2.pyi +324 -0
- yandex/cloud/datatransfer/v1/endpoint/kafka_pb2.pyi +294 -0
- yandex/cloud/datatransfer/v1/endpoint/metrika_pb2.pyi +84 -0
- yandex/cloud/datatransfer/v1/endpoint/mongo_pb2.pyi +191 -0
- yandex/cloud/datatransfer/v1/endpoint/mysql_pb2.pyi +261 -0
- yandex/cloud/datatransfer/v1/endpoint/parsers_pb2.pyi +91 -0
- yandex/cloud/datatransfer/v1/endpoint/postgres_pb2.pyi +326 -0
- yandex/cloud/datatransfer/v1/endpoint/serializers_pb2.pyi +105 -0
- yandex/cloud/datatransfer/v1/endpoint/ydb_pb2.pyi +154 -0
- yandex/cloud/datatransfer/v1/endpoint/yds_pb2.pyi +155 -0
- yandex/cloud/datatransfer/v1/endpoint_pb2.pyi +144 -0
- yandex/cloud/datatransfer/v1/endpoint_service_pb2.pyi +262 -0
- yandex/cloud/datatransfer/v1/transfer_pb2.pyi +689 -0
- yandex/cloud/datatransfer/v1/transfer_service_pb2.pyi +338 -0
- yandex/cloud/dns/v1/dns_zone_pb2.pyi +163 -0
- yandex/cloud/dns/v1/dns_zone_service_pb2.pyi +655 -0
- yandex/cloud/endpoint/api_endpoint_pb2.pyi +29 -0
- yandex/cloud/endpoint/api_endpoint_service_pb2.pyi +66 -0
- yandex/cloud/iam/v1/api_key_pb2.pyi +61 -0
- yandex/cloud/iam/v1/api_key_service_pb2.pyi +293 -0
- yandex/cloud/iam/v1/awscompatibility/access_key_pb2.pyi +61 -0
- yandex/cloud/iam/v1/awscompatibility/access_key_service_pb2.pyi +283 -0
- yandex/cloud/iam/v1/iam_token_service_pb2.pyi +80 -0
- yandex/cloud/iam/v1/key_pb2.pyi +90 -0
- yandex/cloud/iam/v1/key_service_pb2.pyi +320 -0
- yandex/cloud/iam/v1/resource_pb2.pyi +33 -0
- yandex/cloud/iam/v1/role_pb2.pyi +33 -0
- yandex/cloud/iam/v1/role_service_pb2.pyi +92 -0
- yandex/cloud/iam/v1/service_account_pb2.pyi +75 -0
- yandex/cloud/iam/v1/service_account_service_pb2.pyi +335 -0
- yandex/cloud/iam/v1/service_control_pb2.pyi +98 -0
- yandex/cloud/iam/v1/service_control_service_pb2.pyi +310 -0
- yandex/cloud/iam/v1/user_account_pb2.pyi +133 -0
- yandex/cloud/iam/v1/user_account_service_pb2.pyi +27 -0
- yandex/cloud/iam/v1/yandex_passport_user_account_service_pb2.pyi +27 -0
- yandex/cloud/iot/broker/v1/broker_data_service_pb2.pyi +45 -0
- yandex/cloud/iot/broker/v1/broker_pb2.pyi +209 -0
- yandex/cloud/iot/broker/v1/broker_service_pb2.pyi +627 -0
- yandex/cloud/iot/devices/v1/device_data_service_pb2.pyi +45 -0
- yandex/cloud/iot/devices/v1/device_pb2.pyi +233 -0
- yandex/cloud/iot/devices/v1/device_service_pb2.pyi +670 -0
- yandex/cloud/iot/devices/v1/registry_data_service_pb2.pyi +45 -0
- yandex/cloud/iot/devices/v1/registry_pb2.pyi +291 -0
- yandex/cloud/iot/devices/v1/registry_service_pb2.pyi +849 -0
- yandex/cloud/k8s/v1/cluster_pb2.pyi +610 -0
- yandex/cloud/k8s/v1/cluster_service_pb2.pyi +904 -0
- yandex/cloud/k8s/v1/maintenance_pb2.pyi +132 -0
- yandex/cloud/k8s/v1/node_group_pb2.pyi +365 -0
- yandex/cloud/k8s/v1/node_group_service_pb2.pyi +566 -0
- yandex/cloud/k8s/v1/node_pb2.pyi +784 -0
- yandex/cloud/k8s/v1/version_pb2.pyi +68 -0
- yandex/cloud/k8s/v1/version_service_pb2.pyi +64 -0
- yandex/cloud/kms/v1/asymmetricencryption/asymmetric_encryption_crypto_service_pb2.pyi +92 -0
- yandex/cloud/kms/v1/asymmetricencryption/asymmetric_encryption_key_pb2.pyi +149 -0
- yandex/cloud/kms/v1/asymmetricencryption/asymmetric_encryption_key_service_pb2.pyi +335 -0
- yandex/cloud/kms/v1/asymmetricsignature/asymmetric_signature_crypto_service_pb2.pyi +140 -0
- yandex/cloud/kms/v1/asymmetricsignature/asymmetric_signature_key_pb2.pyi +189 -0
- yandex/cloud/kms/v1/asymmetricsignature/asymmetric_signature_key_service_pb2.pyi +335 -0
- yandex/cloud/kms/v1/symmetric_crypto_service_pb2.pyi +270 -0
- yandex/cloud/kms/v1/symmetric_key_pb2.pyi +260 -0
- yandex/cloud/kms/v1/symmetric_key_service_pb2.pyi +591 -0
- yandex/cloud/loadbalancer/v1/health_check_pb2.pyi +102 -0
- yandex/cloud/loadbalancer/v1/network_load_balancer_pb2.pyi +364 -0
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2.pyi +747 -0
- yandex/cloud/loadbalancer/v1/target_group_pb2.pyi +109 -0
- yandex/cloud/loadbalancer/v1/target_group_service_pb2.pyi +434 -0
- yandex/cloud/loadtesting/agent/v1/agent_pb2.pyi +26 -0
- yandex/cloud/loadtesting/agent/v1/agent_registration_service_pb2.pyi +83 -0
- yandex/cloud/loadtesting/agent/v1/agent_service_pb2.pyi +79 -0
- yandex/cloud/loadtesting/agent/v1/job_service_pb2.pyi +309 -0
- yandex/cloud/loadtesting/agent/v1/monitoring_service_pb2.pyi +102 -0
- yandex/cloud/loadtesting/agent/v1/test_pb2.pyi +181 -0
- yandex/cloud/loadtesting/agent/v1/test_service_pb2.pyi +105 -0
- yandex/cloud/loadtesting/agent/v1/trail_service_pb2.pyi +178 -0
- yandex/cloud/loadtesting/api/v1/agent/agent_pb2.pyi +91 -0
- yandex/cloud/loadtesting/api/v1/agent/create_compute_instance_pb2.pyi +120 -0
- yandex/cloud/loadtesting/api/v1/agent/status_pb2.pyi +97 -0
- yandex/cloud/loadtesting/api/v1/agent_service_pb2.pyi +301 -0
- yandex/cloud/loadtesting/api/v1/common/quantiles_pb2.pyi +61 -0
- yandex/cloud/loadtesting/api/v1/common/tag_pb2.pyi +33 -0
- yandex/cloud/loadtesting/api/v1/config/config_pb2.pyi +53 -0
- yandex/cloud/loadtesting/api/v1/config_service_pb2.pyi +165 -0
- yandex/cloud/loadtesting/api/v1/report/status_pb2.pyi +45 -0
- yandex/cloud/loadtesting/api/v1/report/table/report_pb2.pyi +79 -0
- yandex/cloud/loadtesting/api/v1/report_service_pb2.pyi +78 -0
- yandex/cloud/loadtesting/api/v1/test/agent_selector_pb2.pyi +42 -0
- yandex/cloud/loadtesting/api/v1/test/artifact_settings_pb2.pyi +61 -0
- yandex/cloud/loadtesting/api/v1/test/details_pb2.pyi +54 -0
- yandex/cloud/loadtesting/api/v1/test/file_pointer_pb2.pyi +34 -0
- yandex/cloud/loadtesting/api/v1/test/imbalance_point_pb2.pyi +37 -0
- yandex/cloud/loadtesting/api/v1/test/object_storage_pb2.pyi +33 -0
- yandex/cloud/loadtesting/api/v1/test/single_agent_configuration_pb2.pyi +74 -0
- yandex/cloud/loadtesting/api/v1/test/status_pb2.pyi +96 -0
- yandex/cloud/loadtesting/api/v1/test/summary_pb2.pyi +96 -0
- yandex/cloud/loadtesting/api/v1/test/test_pb2.pyi +65 -0
- yandex/cloud/loadtesting/api/v1/test_service_pb2.pyi +233 -0
- yandex/cloud/lockbox/v1/payload_pb2.pyi +61 -0
- yandex/cloud/lockbox/v1/payload_service_pb2.pyi +31 -0
- yandex/cloud/lockbox/v1/secret_pb2.pyi +209 -0
- yandex/cloud/lockbox/v1/secret_service_pb2.pyi +634 -0
- yandex/cloud/logging/v1/export_pb2.pyi +121 -0
- yandex/cloud/logging/v1/export_service_pb2.pyi +474 -0
- yandex/cloud/logging/v1/log_entry_pb2.pyi +289 -0
- yandex/cloud/logging/v1/log_group_pb2.pyi +143 -0
- yandex/cloud/logging/v1/log_group_service_pb2.pyi +479 -0
- yandex/cloud/logging/v1/log_ingestion_service_pb2.pyi +98 -0
- yandex/cloud/logging/v1/log_reading_service_pb2.pyi +171 -0
- yandex/cloud/logging/v1/log_resource_pb2.pyi +65 -0
- yandex/cloud/logging/v1/sink_pb2.pyi +124 -0
- yandex/cloud/logging/v1/sink_service_pb2.pyi +390 -0
- yandex/cloud/marketplace/licensemanager/v1/instance_pb2.pyi +135 -0
- yandex/cloud/marketplace/licensemanager/v1/instance_service_pb2.pyi +102 -0
- yandex/cloud/marketplace/licensemanager/v1/lock_pb2.pyi +99 -0
- yandex/cloud/marketplace/licensemanager/v1/lock_service_pb2.pyi +230 -0
- yandex/cloud/marketplace/licensemanager/v1/template_pb2.pyi +107 -0
- yandex/cloud/marketplace/metering/v1/image_product_usage_service_pb2.pyi +64 -0
- yandex/cloud/marketplace/metering/v1/usage_record_pb2.pyi +111 -0
- yandex/cloud/marketplace/v1/metering/image_product_usage_service_pb2.pyi +64 -0
- yandex/cloud/marketplace/v1/metering/usage_record_pb2.pyi +111 -0
- yandex/cloud/mdb/clickhouse/v1/backup_pb2.pyi +97 -0
- yandex/cloud/mdb/clickhouse/v1/backup_service_pb2.pyi +125 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_pb2.pyi +747 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.pyi +2274 -0
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +1473 -0
- yandex/cloud/mdb/clickhouse/v1/database_pb2.pyi +51 -0
- yandex/cloud/mdb/clickhouse/v1/database_service_pb2.pyi +184 -0
- yandex/cloud/mdb/clickhouse/v1/format_schema_pb2.pyi +67 -0
- yandex/cloud/mdb/clickhouse/v1/format_schema_service_pb2.pyi +246 -0
- yandex/cloud/mdb/clickhouse/v1/maintenance_pb2.pyi +129 -0
- yandex/cloud/mdb/clickhouse/v1/ml_model_pb2.pyi +63 -0
- yandex/cloud/mdb/clickhouse/v1/ml_model_service_pb2.pyi +241 -0
- yandex/cloud/mdb/clickhouse/v1/resource_preset_pb2.pyi +45 -0
- yandex/cloud/mdb/clickhouse/v1/resource_preset_service_pb2.pyi +83 -0
- yandex/cloud/mdb/clickhouse/v1/user_pb2.pyi +1717 -0
- yandex/cloud/mdb/clickhouse/v1/user_service_pb2.pyi +353 -0
- yandex/cloud/mdb/clickhouse/v1/version_pb2.pyi +43 -0
- yandex/cloud/mdb/clickhouse/v1/versions_service_pb2.pyi +67 -0
- yandex/cloud/mdb/elasticsearch/v1/auth_pb2.pyi +139 -0
- yandex/cloud/mdb/elasticsearch/v1/auth_service_pb2.pyi +247 -0
- yandex/cloud/mdb/elasticsearch/v1/backup_pb2.pyi +69 -0
- yandex/cloud/mdb/elasticsearch/v1/backup_service_pb2.pyi +87 -0
- yandex/cloud/mdb/elasticsearch/v1/cluster_pb2.pyi +544 -0
- yandex/cloud/mdb/elasticsearch/v1/cluster_service_pb2.pyi +1422 -0
- yandex/cloud/mdb/elasticsearch/v1/config/elasticsearch_pb2.pyi +105 -0
- yandex/cloud/mdb/elasticsearch/v1/extension_pb2.pyi +67 -0
- yandex/cloud/mdb/elasticsearch/v1/extension_service_pb2.pyi +223 -0
- yandex/cloud/mdb/elasticsearch/v1/maintenance_pb2.pyi +115 -0
- yandex/cloud/mdb/elasticsearch/v1/resource_preset_pb2.pyi +45 -0
- yandex/cloud/mdb/elasticsearch/v1/resource_preset_service_pb2.pyi +85 -0
- yandex/cloud/mdb/elasticsearch/v1/user_pb2.pyi +53 -0
- yandex/cloud/mdb/elasticsearch/v1/user_service_pb2.pyi +247 -0
- yandex/cloud/mdb/greenplum/v1/backup_pb2.pyi +110 -0
- yandex/cloud/mdb/greenplum/v1/backup_service_pb2.pyi +122 -0
- yandex/cloud/mdb/greenplum/v1/cluster_pb2.pyi +519 -0
- yandex/cloud/mdb/greenplum/v1/cluster_service_pb2.pyi +1274 -0
- yandex/cloud/mdb/greenplum/v1/config_pb2.pyi +961 -0
- yandex/cloud/mdb/greenplum/v1/hba_rule_pb2.pyi +101 -0
- yandex/cloud/mdb/greenplum/v1/hba_rule_service_pb2.pyi +184 -0
- yandex/cloud/mdb/greenplum/v1/host_pb2.pyi +127 -0
- yandex/cloud/mdb/greenplum/v1/maintenance_pb2.pyi +145 -0
- yandex/cloud/mdb/greenplum/v1/pxf_pb2.pyi +539 -0
- yandex/cloud/mdb/greenplum/v1/pxf_service_pb2.pyi +164 -0
- yandex/cloud/mdb/greenplum/v1/resource_preset_pb2.pyi +89 -0
- yandex/cloud/mdb/greenplum/v1/resource_preset_service_pb2.pyi +91 -0
- yandex/cloud/mdb/kafka/v1/cluster_pb2.pyi +844 -0
- yandex/cloud/mdb/kafka/v1/cluster_service_pb2.pyi +915 -0
- yandex/cloud/mdb/kafka/v1/common_pb2.pyi +71 -0
- yandex/cloud/mdb/kafka/v1/connector_pb2.pyi +690 -0
- yandex/cloud/mdb/kafka/v1/connector_service_pb2.pyi +342 -0
- yandex/cloud/mdb/kafka/v1/maintenance_pb2.pyi +115 -0
- yandex/cloud/mdb/kafka/v1/resource_preset_pb2.pyi +45 -0
- yandex/cloud/mdb/kafka/v1/resource_preset_service_pb2.pyi +85 -0
- yandex/cloud/mdb/kafka/v1/topic_pb2.pyi +375 -0
- yandex/cloud/mdb/kafka/v1/topic_service_pb2.pyi +252 -0
- yandex/cloud/mdb/kafka/v1/user_pb2.pyi +137 -0
- yandex/cloud/mdb/kafka/v1/user_service_pb2.pyi +360 -0
- yandex/cloud/mdb/mongodb/v1/backup_pb2.pyi +97 -0
- yandex/cloud/mdb/mongodb/v1/backup_service_pb2.pyi +121 -0
- yandex/cloud/mdb/mongodb/v1/cluster_pb2.pyi +1890 -0
- yandex/cloud/mdb/mongodb/v1/cluster_service_pb2.pyi +3146 -0
- yandex/cloud/mdb/mongodb/v1/config/mongodb3_6_pb2.pyi +536 -0
- yandex/cloud/mdb/mongodb/v1/config/mongodb4_0_pb2.pyi +522 -0
- yandex/cloud/mdb/mongodb/v1/config/mongodb4_2_pb2.pyi +693 -0
- yandex/cloud/mdb/mongodb/v1/config/mongodb4_4_enterprise_pb2.pyi +781 -0
- yandex/cloud/mdb/mongodb/v1/config/mongodb4_4_pb2.pyi +693 -0
- yandex/cloud/mdb/mongodb/v1/config/mongodb5_0_enterprise_pb2.pyi +794 -0
- yandex/cloud/mdb/mongodb/v1/config/mongodb5_0_pb2.pyi +699 -0
- yandex/cloud/mdb/mongodb/v1/config/mongodb6_0_enterprise_pb2.pyi +794 -0
- yandex/cloud/mdb/mongodb/v1/config/mongodb6_0_pb2.pyi +699 -0
- yandex/cloud/mdb/mongodb/v1/database_pb2.pyi +51 -0
- yandex/cloud/mdb/mongodb/v1/database_service_pb2.pyi +184 -0
- yandex/cloud/mdb/mongodb/v1/maintenance_pb2.pyi +129 -0
- yandex/cloud/mdb/mongodb/v1/resource_preset_pb2.pyi +45 -0
- yandex/cloud/mdb/mongodb/v1/resource_preset_service_pb2.pyi +84 -0
- yandex/cloud/mdb/mongodb/v1/user_pb2.pyi +91 -0
- yandex/cloud/mdb/mongodb/v1/user_service_pb2.pyi +347 -0
- yandex/cloud/mdb/mysql/v1/backup_pb2.pyi +111 -0
- yandex/cloud/mdb/mysql/v1/backup_service_pb2.pyi +129 -0
- yandex/cloud/mdb/mysql/v1/cluster_pb2.pyi +601 -0
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2.pyi +1537 -0
- yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.pyi +1023 -0
- yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.pyi +969 -0
- yandex/cloud/mdb/mysql/v1/database_pb2.pyi +52 -0
- yandex/cloud/mdb/mysql/v1/database_service_pb2.pyi +192 -0
- yandex/cloud/mdb/mysql/v1/maintenance_pb2.pyi +129 -0
- yandex/cloud/mdb/mysql/v1/resource_preset_pb2.pyi +49 -0
- yandex/cloud/mdb/mysql/v1/resource_preset_service_pb2.pyi +86 -0
- yandex/cloud/mdb/mysql/v1/user_pb2.pyi +357 -0
- yandex/cloud/mdb/mysql/v1/user_service_pb2.pyi +378 -0
- yandex/cloud/mdb/mysql/v1alpha/backup_pb2.pyi +53 -0
- yandex/cloud/mdb/mysql/v1alpha/backup_service_pb2.pyi +89 -0
- yandex/cloud/mdb/mysql/v1alpha/cluster_pb2.pyi +470 -0
- yandex/cloud/mdb/mysql/v1alpha/cluster_service_pb2.pyi +1025 -0
- yandex/cloud/mdb/mysql/v1alpha/config/mysql5_7_pb2.pyi +87 -0
- yandex/cloud/mdb/mysql/v1alpha/database_pb2.pyi +49 -0
- yandex/cloud/mdb/mysql/v1alpha/database_service_pb2.pyi +184 -0
- yandex/cloud/mdb/mysql/v1alpha/resource_preset_pb2.pyi +45 -0
- yandex/cloud/mdb/mysql/v1alpha/resource_preset_service_pb2.pyi +83 -0
- yandex/cloud/mdb/mysql/v1alpha/user_pb2.pyi +185 -0
- yandex/cloud/mdb/mysql/v1alpha/user_service_pb2.pyi +312 -0
- yandex/cloud/mdb/opensearch/v1/auth_pb2.pyi +69 -0
- yandex/cloud/mdb/opensearch/v1/backup_pb2.pyi +69 -0
- yandex/cloud/mdb/opensearch/v1/backup_service_pb2.pyi +91 -0
- yandex/cloud/mdb/opensearch/v1/cluster_pb2.pyi +726 -0
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.pyi +1827 -0
- yandex/cloud/mdb/opensearch/v1/config/opensearch_pb2.pyi +63 -0
- yandex/cloud/mdb/opensearch/v1/maintenance_pb2.pyi +155 -0
- yandex/cloud/mdb/opensearch/v1/resource_preset_pb2.pyi +45 -0
- yandex/cloud/mdb/opensearch/v1/resource_preset_service_pb2.pyi +87 -0
- yandex/cloud/mdb/postgresql/v1/backup_pb2.pyi +139 -0
- yandex/cloud/mdb/postgresql/v1/backup_service_pb2.pyi +125 -0
- yandex/cloud/mdb/postgresql/v1/cluster_pb2.pyi +935 -0
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.pyi +1708 -0
- yandex/cloud/mdb/postgresql/v1/config/host10_1c_pb2.pyi +507 -0
- yandex/cloud/mdb/postgresql/v1/config/host10_pb2.pyi +507 -0
- yandex/cloud/mdb/postgresql/v1/config/host11_1c_pb2.pyi +501 -0
- yandex/cloud/mdb/postgresql/v1/config/host11_pb2.pyi +501 -0
- yandex/cloud/mdb/postgresql/v1/config/host12_1c_pb2.pyi +501 -0
- yandex/cloud/mdb/postgresql/v1/config/host12_pb2.pyi +501 -0
- yandex/cloud/mdb/postgresql/v1/config/host13_1c_pb2.pyi +501 -0
- yandex/cloud/mdb/postgresql/v1/config/host13_pb2.pyi +501 -0
- yandex/cloud/mdb/postgresql/v1/config/host14_1c_pb2.pyi +497 -0
- yandex/cloud/mdb/postgresql/v1/config/host14_pb2.pyi +497 -0
- yandex/cloud/mdb/postgresql/v1/config/host15_1c_pb2.pyi +497 -0
- yandex/cloud/mdb/postgresql/v1/config/host15_pb2.pyi +497 -0
- yandex/cloud/mdb/postgresql/v1/config/host16_1c_pb2.pyi +516 -0
- yandex/cloud/mdb/postgresql/v1/config/host16_pb2.pyi +516 -0
- yandex/cloud/mdb/postgresql/v1/config/host9_6_pb2.pyi +458 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql10_1c_pb2.pyi +931 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql10_pb2.pyi +923 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql11_1c_pb2.pyi +975 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql11_pb2.pyi +967 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql12_1c_pb2.pyi +999 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql12_pb2.pyi +991 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql13_1c_pb2.pyi +1053 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql13_pb2.pyi +1051 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql14_1c_pb2.pyi +1081 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql14_pb2.pyi +1079 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_1c_pb2.pyi +1091 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_pb2.pyi +1083 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_1c_pb2.pyi +1093 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_pb2.pyi +1085 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql9_6_pb2.pyi +651 -0
- yandex/cloud/mdb/postgresql/v1/database_pb2.pyi +150 -0
- yandex/cloud/mdb/postgresql/v1/database_service_pb2.pyi +260 -0
- yandex/cloud/mdb/postgresql/v1/maintenance_pb2.pyi +129 -0
- yandex/cloud/mdb/postgresql/v1/perf_diag_pb2.pyi +462 -0
- yandex/cloud/mdb/postgresql/v1/perf_diag_service_pb2.pyi +139 -0
- yandex/cloud/mdb/postgresql/v1/resource_preset_pb2.pyi +45 -0
- yandex/cloud/mdb/postgresql/v1/resource_preset_service_pb2.pyi +83 -0
- yandex/cloud/mdb/postgresql/v1/user_pb2.pyi +534 -0
- yandex/cloud/mdb/postgresql/v1/user_service_pb2.pyi +396 -0
- yandex/cloud/mdb/redis/v1/backup_pb2.pyi +65 -0
- yandex/cloud/mdb/redis/v1/backup_service_pb2.pyi +89 -0
- yandex/cloud/mdb/redis/v1/cluster_pb2.pyi +610 -0
- yandex/cloud/mdb/redis/v1/cluster_service_pb2.pyi +1686 -0
- yandex/cloud/mdb/redis/v1/config/redis5_0_pb2.pyi +204 -0
- yandex/cloud/mdb/redis/v1/config/redis6_0_pb2.pyi +204 -0
- yandex/cloud/mdb/redis/v1/config/redis6_2_pb2.pyi +210 -0
- yandex/cloud/mdb/redis/v1/config/redis7_0_pb2.pyi +210 -0
- yandex/cloud/mdb/redis/v1/config/redis_pb2.pyi +210 -0
- yandex/cloud/mdb/redis/v1/maintenance_pb2.pyi +129 -0
- yandex/cloud/mdb/redis/v1/resource_preset_pb2.pyi +45 -0
- yandex/cloud/mdb/redis/v1/resource_preset_service_pb2.pyi +83 -0
- yandex/cloud/mdb/sqlserver/v1/backup_pb2.pyi +62 -0
- yandex/cloud/mdb/sqlserver/v1/backup_service_pb2.pyi +90 -0
- yandex/cloud/mdb/sqlserver/v1/cluster_pb2.pyi +571 -0
- yandex/cloud/mdb/sqlserver/v1/cluster_service_pb2.pyi +1226 -0
- yandex/cloud/mdb/sqlserver/v1/config/sqlserver2016sp2_pb2.pyi +231 -0
- yandex/cloud/mdb/sqlserver/v1/config/sqlserver2017_pb2.pyi +231 -0
- yandex/cloud/mdb/sqlserver/v1/config/sqlserver2019_pb2.pyi +231 -0
- yandex/cloud/mdb/sqlserver/v1/database_pb2.pyi +52 -0
- yandex/cloud/mdb/sqlserver/v1/database_service_pb2.pyi +384 -0
- yandex/cloud/mdb/sqlserver/v1/resource_preset_pb2.pyi +45 -0
- yandex/cloud/mdb/sqlserver/v1/resource_preset_service_pb2.pyi +83 -0
- yandex/cloud/mdb/sqlserver/v1/user_pb2.pyi +185 -0
- yandex/cloud/mdb/sqlserver/v1/user_service_pb2.pyi +368 -0
- yandex/cloud/monitoring/v3/chart_widget_pb2.pyi +641 -0
- yandex/cloud/monitoring/v3/dashboard_pb2.pyi +122 -0
- yandex/cloud/monitoring/v3/dashboard_service_pb2.pyi +377 -0
- yandex/cloud/monitoring/v3/downsampling_pb2.pyi +118 -0
- yandex/cloud/monitoring/v3/parametrization_pb2.pyi +256 -0
- yandex/cloud/monitoring/v3/text_widget_pb2.pyi +29 -0
- yandex/cloud/monitoring/v3/title_widget_pb2.pyi +69 -0
- yandex/cloud/monitoring/v3/unit_format_pb2.pyi +480 -0
- yandex/cloud/monitoring/v3/widget_pb2.pyi +82 -0
- yandex/cloud/oauth/claims_pb2.pyi +136 -0
- yandex/cloud/operation/operation_pb2.pyi +89 -0
- yandex/cloud/operation/operation_service_pb2.pyi +43 -0
- yandex/cloud/organizationmanager/v1/group_mapping_pb2.pyi +57 -0
- yandex/cloud/organizationmanager/v1/group_mapping_service_pb2.pyi +305 -0
- yandex/cloud/organizationmanager/v1/group_pb2.pyi +51 -0
- yandex/cloud/organizationmanager/v1/group_service_pb2.pyi +464 -0
- yandex/cloud/organizationmanager/v1/organization_pb2.pyi +73 -0
- yandex/cloud/organizationmanager/v1/organization_service_pb2.pyi +231 -0
- yandex/cloud/organizationmanager/v1/os_login_service_pb2.pyi +421 -0
- yandex/cloud/organizationmanager/v1/saml/certificate_pb2.pyi +53 -0
- yandex/cloud/organizationmanager/v1/saml/certificate_service_pb2.pyi +298 -0
- yandex/cloud/organizationmanager/v1/saml/federation_pb2.pyi +179 -0
- yandex/cloud/organizationmanager/v1/saml/federation_service_pb2.pyi +625 -0
- yandex/cloud/organizationmanager/v1/ssh_certificate_service_pb2.pyi +62 -0
- yandex/cloud/organizationmanager/v1/user_account_pb2.pyi +133 -0
- yandex/cloud/organizationmanager/v1/user_service_pb2.pyi +150 -0
- yandex/cloud/organizationmanager/v1/user_ssh_key_pb2.pyi +53 -0
- yandex/cloud/organizationmanager/v1/user_ssh_key_service_pb2.pyi +194 -0
- yandex/cloud/quota/quota_pb2.pyi +88 -0
- yandex/cloud/reference/reference_pb2.pyi +77 -0
- yandex/cloud/resourcemanager/v1/cloud_pb2.pyi +73 -0
- yandex/cloud/resourcemanager/v1/cloud_service_pb2.pyi +360 -0
- yandex/cloud/resourcemanager/v1/folder_pb2.pyi +109 -0
- yandex/cloud/resourcemanager/v1/folder_service_pb2.pyi +364 -0
- yandex/cloud/serverless/apigateway/v1/apigateway_pb2.pyi +332 -0
- yandex/cloud/serverless/apigateway/v1/apigateway_service_pb2.pyi +618 -0
- yandex/cloud/serverless/apigateway/websocket/v1/connection_pb2.pyi +71 -0
- yandex/cloud/serverless/apigateway/websocket/v1/connection_service_pb2.pyi +113 -0
- yandex/cloud/serverless/containers/v1/container_pb2.pyi +538 -0
- yandex/cloud/serverless/containers/v1/container_service_pb2.pyi +668 -0
- yandex/cloud/serverless/functions/v1/function_pb2.pyi +607 -0
- yandex/cloud/serverless/functions/v1/function_service_pb2.pyi +1073 -0
- yandex/cloud/serverless/functions/v1/network_service_pb2.pyi +312 -0
- yandex/cloud/serverless/mdbproxy/v1/proxy_pb2.pyi +163 -0
- yandex/cloud/serverless/mdbproxy/v1/proxy_service_pb2.pyi +359 -0
- yandex/cloud/serverless/triggers/v1/predicate_pb2.pyi +80 -0
- yandex/cloud/serverless/triggers/v1/trigger_pb2.pyi +1109 -0
- yandex/cloud/serverless/triggers/v1/trigger_service_pb2.pyi +439 -0
- yandex/cloud/speechsense/v1/audio_pb2.pyi +204 -0
- yandex/cloud/speechsense/v1/talk_service_pb2.pyi +161 -0
- yandex/cloud/speechsense/v1/text_pb2.pyi +70 -0
- yandex/cloud/storage/v1/bucket_pb2.pyi +1465 -0
- yandex/cloud/storage/v1/bucket_service_pb2.pyi +540 -0
- yandex/cloud/validation_pb2.pyi +53 -0
- yandex/cloud/video/v1/channel_pb2.pyi +79 -0
- yandex/cloud/video/v1/channel_service_pb2.pyi +259 -0
- yandex/cloud/video/v1/episode_pb2.pyi +140 -0
- yandex/cloud/video/v1/episode_service_pb2.pyi +451 -0
- yandex/cloud/video/v1/stream_line_pb2.pyi +305 -0
- yandex/cloud/video/v1/stream_line_service_pb2.pyi +563 -0
- yandex/cloud/video/v1/stream_pb2.pyi +197 -0
- yandex/cloud/video/v1/stream_service_pb2.pyi +396 -0
- yandex/cloud/video/v1/thumbnail_pb2.pyi +39 -0
- yandex/cloud/video/v1/thumbnail_service_pb2.pyi +184 -0
- yandex/cloud/video/v1/video_pb2.pyi +211 -0
- yandex/cloud/video/v1/video_service_pb2.pyi +464 -0
- yandex/cloud/vpc/v1/address_pb2.pyi +226 -0
- yandex/cloud/vpc/v1/address_service_pb2.pyi +491 -0
- yandex/cloud/vpc/v1/gateway_pb2.pyi +92 -0
- yandex/cloud/vpc/v1/gateway_service_pb2.pyi +403 -0
- yandex/cloud/vpc/v1/network_pb2.pyi +79 -0
- yandex/cloud/vpc/v1/network_service_pb2.pyi +547 -0
- yandex/cloud/vpc/v1/route_table_pb2.pyi +136 -0
- yandex/cloud/vpc/v1/route_table_service_pb2.pyi +381 -0
- yandex/cloud/vpc/v1/security_group_pb2.pyi +266 -0
- yandex/cloud/vpc/v1/security_group_service_pb2.pyi +591 -0
- yandex/cloud/vpc/v1/subnet_pb2.pyi +155 -0
- yandex/cloud/vpc/v1/subnet_service_pb2.pyi +593 -0
- yandex/cloud/ydb/v1/backup_pb2.pyi +353 -0
- yandex/cloud/ydb/v1/backup_service_pb2.pyi +166 -0
- yandex/cloud/ydb/v1/database_pb2.pyi +577 -0
- yandex/cloud/ydb/v1/database_service_pb2.pyi +550 -0
- yandex/cloud/ydb/v1/location_pb2.pyi +29 -0
- yandex/cloud/ydb/v1/location_service_pb2.pyi +83 -0
- yandex/cloud/ydb/v1/resource_preset_pb2.pyi +32 -0
- yandex/cloud/ydb/v1/resource_preset_service_pb2.pyi +83 -0
- yandex/cloud/ydb/v1/storage_type_pb2.pyi +32 -0
- yandex/cloud/ydb/v1/storage_type_service_pb2.pyi +83 -0
- yandexcloud/_auth_fabric.py +46 -41
- yandexcloud/_auth_plugin.py +36 -18
- yandexcloud/_backoff.py +8 -7
- yandexcloud/_channels.py +27 -13
- yandexcloud/_helpers.py +15 -29
- yandexcloud/_operation_waiter.py +32 -18
- yandexcloud/_retry_interceptor.py +39 -22
- yandexcloud/_sdk.py +81 -32
- yandexcloud/_wrappers/__init__.py +9 -2
- yandexcloud/_wrappers/dataproc/__init__.py +11 -10
- yandexcloud/auth.py +10 -2
- yandexcloud/operations.py +22 -7
- {yandexcloud-0.288.0.dist-info → yandexcloud-0.289.0.dist-info}/AUTHORS +2 -3
- {yandexcloud-0.288.0.dist-info → yandexcloud-0.289.0.dist-info}/METADATA +4 -4
- {yandexcloud-0.288.0.dist-info → yandexcloud-0.289.0.dist-info}/RECORD +557 -18
- {yandexcloud-0.288.0.dist-info → yandexcloud-0.289.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.288.0.dist-info → yandexcloud-0.289.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.288.0.dist-info → yandexcloud-0.289.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,2064 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import builtins
|
|
7
|
+
import collections.abc
|
|
8
|
+
import google.protobuf.descriptor
|
|
9
|
+
import google.protobuf.duration_pb2
|
|
10
|
+
import google.protobuf.internal.containers
|
|
11
|
+
import google.protobuf.internal.enum_type_wrapper
|
|
12
|
+
import google.protobuf.message
|
|
13
|
+
import google.protobuf.timestamp_pb2
|
|
14
|
+
import sys
|
|
15
|
+
import typing
|
|
16
|
+
|
|
17
|
+
if sys.version_info >= (3, 10):
|
|
18
|
+
import typing as typing_extensions
|
|
19
|
+
else:
|
|
20
|
+
import typing_extensions
|
|
21
|
+
|
|
22
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
23
|
+
|
|
24
|
+
class _IpVersion:
|
|
25
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
26
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
27
|
+
|
|
28
|
+
class _IpVersionEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_IpVersion.ValueType], builtins.type):
|
|
29
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
30
|
+
IP_VERSION_UNSPECIFIED: _IpVersion.ValueType # 0
|
|
31
|
+
IPV4: _IpVersion.ValueType # 1
|
|
32
|
+
"""IPv4 address, for example 192.168.0.0."""
|
|
33
|
+
IPV6: _IpVersion.ValueType # 2
|
|
34
|
+
"""IPv6 address, not available yet."""
|
|
35
|
+
|
|
36
|
+
class IpVersion(_IpVersion, metaclass=_IpVersionEnumTypeWrapper): ...
|
|
37
|
+
|
|
38
|
+
IP_VERSION_UNSPECIFIED: IpVersion.ValueType # 0
|
|
39
|
+
IPV4: IpVersion.ValueType # 1
|
|
40
|
+
"""IPv4 address, for example 192.168.0.0."""
|
|
41
|
+
IPV6: IpVersion.ValueType # 2
|
|
42
|
+
"""IPv6 address, not available yet."""
|
|
43
|
+
global___IpVersion = IpVersion
|
|
44
|
+
|
|
45
|
+
class _MetadataOption:
|
|
46
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
47
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
48
|
+
|
|
49
|
+
class _MetadataOptionEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_MetadataOption.ValueType], builtins.type):
|
|
50
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
51
|
+
METADATA_OPTION_UNSPECIFIED: _MetadataOption.ValueType # 0
|
|
52
|
+
ENABLED: _MetadataOption.ValueType # 1
|
|
53
|
+
"""Option is enabled"""
|
|
54
|
+
DISABLED: _MetadataOption.ValueType # 2
|
|
55
|
+
"""Option is disabled"""
|
|
56
|
+
|
|
57
|
+
class MetadataOption(_MetadataOption, metaclass=_MetadataOptionEnumTypeWrapper): ...
|
|
58
|
+
|
|
59
|
+
METADATA_OPTION_UNSPECIFIED: MetadataOption.ValueType # 0
|
|
60
|
+
ENABLED: MetadataOption.ValueType # 1
|
|
61
|
+
"""Option is enabled"""
|
|
62
|
+
DISABLED: MetadataOption.ValueType # 2
|
|
63
|
+
"""Option is disabled"""
|
|
64
|
+
global___MetadataOption = MetadataOption
|
|
65
|
+
|
|
66
|
+
@typing.final
|
|
67
|
+
class InstanceGroup(google.protobuf.message.Message):
|
|
68
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
69
|
+
|
|
70
|
+
class _Status:
|
|
71
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
72
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
73
|
+
|
|
74
|
+
class _StatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[InstanceGroup._Status.ValueType], builtins.type):
|
|
75
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
76
|
+
STATUS_UNSPECIFIED: InstanceGroup._Status.ValueType # 0
|
|
77
|
+
STARTING: InstanceGroup._Status.ValueType # 1
|
|
78
|
+
"""Instance group is being started and will become active soon."""
|
|
79
|
+
ACTIVE: InstanceGroup._Status.ValueType # 2
|
|
80
|
+
"""Instance group is active.
|
|
81
|
+
In this state the group manages its instances and monitors their health,
|
|
82
|
+
creating, deleting, stopping, updating and starting instances as needed.
|
|
83
|
+
|
|
84
|
+
To stop the instance group, call [yandex.cloud.compute.v1.instancegroup.InstanceGroupService.Stop].
|
|
85
|
+
To pause the processes in the instance group, i.e. scaling, checking instances' health,
|
|
86
|
+
auto-healing and updating them, without stopping the instances,
|
|
87
|
+
call [yandex.cloud.compute.v1.instancegroup.InstanceGroupService.PauseProcesses].
|
|
88
|
+
"""
|
|
89
|
+
STOPPING: InstanceGroup._Status.ValueType # 3
|
|
90
|
+
"""Instance group is being stopped.
|
|
91
|
+
Group's instances stop receiving traffic from the load balancer (if any) and are then stopped.
|
|
92
|
+
"""
|
|
93
|
+
STOPPED: InstanceGroup._Status.ValueType # 4
|
|
94
|
+
"""Instance group is stopped.
|
|
95
|
+
In this state the group cannot be updated and does not react to any changes made to its instances.
|
|
96
|
+
To start the instance group, call [yandex.cloud.compute.v1.instancegroup.InstanceGroupService.Start].
|
|
97
|
+
"""
|
|
98
|
+
DELETING: InstanceGroup._Status.ValueType # 5
|
|
99
|
+
"""Instance group is being deleted."""
|
|
100
|
+
PAUSED: InstanceGroup._Status.ValueType # 6
|
|
101
|
+
"""Instance group is paused.
|
|
102
|
+
In this state all the processes regarding the group management, i.e. scaling, checking instances' health,
|
|
103
|
+
auto-healing and updating them, are paused. The instances that were running prior to pausing the group, however,
|
|
104
|
+
may still be running.
|
|
105
|
+
|
|
106
|
+
To resume the processes in the instance group,
|
|
107
|
+
call [yandex.cloud.compute.v1.instancegroup.InstanceGroupService.ResumeProcesses].
|
|
108
|
+
The group status will change to `ACTIVE`.
|
|
109
|
+
"""
|
|
110
|
+
|
|
111
|
+
class Status(_Status, metaclass=_StatusEnumTypeWrapper): ...
|
|
112
|
+
STATUS_UNSPECIFIED: InstanceGroup.Status.ValueType # 0
|
|
113
|
+
STARTING: InstanceGroup.Status.ValueType # 1
|
|
114
|
+
"""Instance group is being started and will become active soon."""
|
|
115
|
+
ACTIVE: InstanceGroup.Status.ValueType # 2
|
|
116
|
+
"""Instance group is active.
|
|
117
|
+
In this state the group manages its instances and monitors their health,
|
|
118
|
+
creating, deleting, stopping, updating and starting instances as needed.
|
|
119
|
+
|
|
120
|
+
To stop the instance group, call [yandex.cloud.compute.v1.instancegroup.InstanceGroupService.Stop].
|
|
121
|
+
To pause the processes in the instance group, i.e. scaling, checking instances' health,
|
|
122
|
+
auto-healing and updating them, without stopping the instances,
|
|
123
|
+
call [yandex.cloud.compute.v1.instancegroup.InstanceGroupService.PauseProcesses].
|
|
124
|
+
"""
|
|
125
|
+
STOPPING: InstanceGroup.Status.ValueType # 3
|
|
126
|
+
"""Instance group is being stopped.
|
|
127
|
+
Group's instances stop receiving traffic from the load balancer (if any) and are then stopped.
|
|
128
|
+
"""
|
|
129
|
+
STOPPED: InstanceGroup.Status.ValueType # 4
|
|
130
|
+
"""Instance group is stopped.
|
|
131
|
+
In this state the group cannot be updated and does not react to any changes made to its instances.
|
|
132
|
+
To start the instance group, call [yandex.cloud.compute.v1.instancegroup.InstanceGroupService.Start].
|
|
133
|
+
"""
|
|
134
|
+
DELETING: InstanceGroup.Status.ValueType # 5
|
|
135
|
+
"""Instance group is being deleted."""
|
|
136
|
+
PAUSED: InstanceGroup.Status.ValueType # 6
|
|
137
|
+
"""Instance group is paused.
|
|
138
|
+
In this state all the processes regarding the group management, i.e. scaling, checking instances' health,
|
|
139
|
+
auto-healing and updating them, are paused. The instances that were running prior to pausing the group, however,
|
|
140
|
+
may still be running.
|
|
141
|
+
|
|
142
|
+
To resume the processes in the instance group,
|
|
143
|
+
call [yandex.cloud.compute.v1.instancegroup.InstanceGroupService.ResumeProcesses].
|
|
144
|
+
The group status will change to `ACTIVE`.
|
|
145
|
+
"""
|
|
146
|
+
|
|
147
|
+
@typing.final
|
|
148
|
+
class LabelsEntry(google.protobuf.message.Message):
|
|
149
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
150
|
+
|
|
151
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
152
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
153
|
+
key: builtins.str
|
|
154
|
+
value: builtins.str
|
|
155
|
+
def __init__(
|
|
156
|
+
self,
|
|
157
|
+
*,
|
|
158
|
+
key: builtins.str = ...,
|
|
159
|
+
value: builtins.str = ...,
|
|
160
|
+
) -> None: ...
|
|
161
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
162
|
+
|
|
163
|
+
ID_FIELD_NUMBER: builtins.int
|
|
164
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
165
|
+
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
166
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
167
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
168
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
169
|
+
INSTANCE_TEMPLATE_FIELD_NUMBER: builtins.int
|
|
170
|
+
SCALE_POLICY_FIELD_NUMBER: builtins.int
|
|
171
|
+
DEPLOY_POLICY_FIELD_NUMBER: builtins.int
|
|
172
|
+
ALLOCATION_POLICY_FIELD_NUMBER: builtins.int
|
|
173
|
+
LOAD_BALANCER_STATE_FIELD_NUMBER: builtins.int
|
|
174
|
+
MANAGED_INSTANCES_STATE_FIELD_NUMBER: builtins.int
|
|
175
|
+
LOAD_BALANCER_SPEC_FIELD_NUMBER: builtins.int
|
|
176
|
+
HEALTH_CHECKS_SPEC_FIELD_NUMBER: builtins.int
|
|
177
|
+
SERVICE_ACCOUNT_ID_FIELD_NUMBER: builtins.int
|
|
178
|
+
STATUS_FIELD_NUMBER: builtins.int
|
|
179
|
+
VARIABLES_FIELD_NUMBER: builtins.int
|
|
180
|
+
DELETION_PROTECTION_FIELD_NUMBER: builtins.int
|
|
181
|
+
APPLICATION_LOAD_BALANCER_SPEC_FIELD_NUMBER: builtins.int
|
|
182
|
+
APPLICATION_LOAD_BALANCER_STATE_FIELD_NUMBER: builtins.int
|
|
183
|
+
AUTO_HEALING_POLICY_FIELD_NUMBER: builtins.int
|
|
184
|
+
id: builtins.str
|
|
185
|
+
"""ID of the instance group."""
|
|
186
|
+
folder_id: builtins.str
|
|
187
|
+
"""ID of the folder that the instance group belongs to."""
|
|
188
|
+
name: builtins.str
|
|
189
|
+
"""Name of the instance group.
|
|
190
|
+
The name is unique within the folder.
|
|
191
|
+
"""
|
|
192
|
+
description: builtins.str
|
|
193
|
+
"""Description of the instance group."""
|
|
194
|
+
service_account_id: builtins.str
|
|
195
|
+
"""ID of the service account. The service account will be used for all API calls
|
|
196
|
+
made by the Instance Groups component on behalf of the user (for example, creating instances, adding them to load balancer target group, etc.). For more information, see [Service accounts](/docs/iam/concepts/users/service-accounts).
|
|
197
|
+
To get the service account ID, use a [yandex.cloud.iam.v1.ServiceAccountService.List] request.
|
|
198
|
+
"""
|
|
199
|
+
status: global___InstanceGroup.Status.ValueType
|
|
200
|
+
"""Status of the instance group."""
|
|
201
|
+
deletion_protection: builtins.bool
|
|
202
|
+
"""Flag prohibiting deletion of the instance group.
|
|
203
|
+
|
|
204
|
+
Allowed values:</br>- `false`: The instance group can be deleted.</br>- `true`: The instance group cannot be deleted.
|
|
205
|
+
|
|
206
|
+
The default is `false`.
|
|
207
|
+
"""
|
|
208
|
+
@property
|
|
209
|
+
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
210
|
+
"""Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format."""
|
|
211
|
+
|
|
212
|
+
@property
|
|
213
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
214
|
+
"""Resource labels as `key:value` pairs."""
|
|
215
|
+
|
|
216
|
+
@property
|
|
217
|
+
def instance_template(self) -> global___InstanceTemplate:
|
|
218
|
+
"""Instance template for creating the instance group.
|
|
219
|
+
For more information, see [Instance Templates](/docs/compute/concepts/instance-groups/instance-template).
|
|
220
|
+
"""
|
|
221
|
+
|
|
222
|
+
@property
|
|
223
|
+
def scale_policy(self) -> global___ScalePolicy:
|
|
224
|
+
"""[Scaling policy](/docs/compute/concepts/instance-groups/scale) of the instance group."""
|
|
225
|
+
|
|
226
|
+
@property
|
|
227
|
+
def deploy_policy(self) -> global___DeployPolicy:
|
|
228
|
+
"""Deployment policy of the instance group."""
|
|
229
|
+
|
|
230
|
+
@property
|
|
231
|
+
def allocation_policy(self) -> global___AllocationPolicy:
|
|
232
|
+
"""Allocation policy of the instance group by zones and regions."""
|
|
233
|
+
|
|
234
|
+
@property
|
|
235
|
+
def load_balancer_state(self) -> global___LoadBalancerState:
|
|
236
|
+
"""Status of the Network Load Balancer target group attributed to the instance group."""
|
|
237
|
+
|
|
238
|
+
@property
|
|
239
|
+
def managed_instances_state(self) -> global___ManagedInstancesState:
|
|
240
|
+
"""States of instances for this instance group."""
|
|
241
|
+
|
|
242
|
+
@property
|
|
243
|
+
def load_balancer_spec(self) -> global___LoadBalancerSpec:
|
|
244
|
+
"""Settings for balancing load between instances via [Network Load Balancer](/docs/network-load-balancer/concepts)
|
|
245
|
+
(OSI model layer 3).
|
|
246
|
+
"""
|
|
247
|
+
|
|
248
|
+
@property
|
|
249
|
+
def health_checks_spec(self) -> global___HealthChecksSpec:
|
|
250
|
+
"""Health checking specification. For more information, see [Health check](/docs/network-load-balancer/concepts/health-check)."""
|
|
251
|
+
|
|
252
|
+
@property
|
|
253
|
+
def variables(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Variable]: ...
|
|
254
|
+
@property
|
|
255
|
+
def application_load_balancer_spec(self) -> global___ApplicationLoadBalancerSpec:
|
|
256
|
+
"""Settings for balancing load between instances via [Application Load Balancer](/docs/application-load-balancer/concepts)
|
|
257
|
+
(OSI model layer 7).
|
|
258
|
+
"""
|
|
259
|
+
|
|
260
|
+
@property
|
|
261
|
+
def application_load_balancer_state(self) -> global___ApplicationLoadBalancerState:
|
|
262
|
+
"""Status of the Application Load Balancer target group attributed to the instance group.
|
|
263
|
+
|
|
264
|
+
Returned if there is a working load balancer that the target group is connected to.
|
|
265
|
+
"""
|
|
266
|
+
|
|
267
|
+
@property
|
|
268
|
+
def auto_healing_policy(self) -> global___AutoHealingPolicy:
|
|
269
|
+
"""AutoHealingPolicy policy of the instance group."""
|
|
270
|
+
|
|
271
|
+
def __init__(
|
|
272
|
+
self,
|
|
273
|
+
*,
|
|
274
|
+
id: builtins.str = ...,
|
|
275
|
+
folder_id: builtins.str = ...,
|
|
276
|
+
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
277
|
+
name: builtins.str = ...,
|
|
278
|
+
description: builtins.str = ...,
|
|
279
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
280
|
+
instance_template: global___InstanceTemplate | None = ...,
|
|
281
|
+
scale_policy: global___ScalePolicy | None = ...,
|
|
282
|
+
deploy_policy: global___DeployPolicy | None = ...,
|
|
283
|
+
allocation_policy: global___AllocationPolicy | None = ...,
|
|
284
|
+
load_balancer_state: global___LoadBalancerState | None = ...,
|
|
285
|
+
managed_instances_state: global___ManagedInstancesState | None = ...,
|
|
286
|
+
load_balancer_spec: global___LoadBalancerSpec | None = ...,
|
|
287
|
+
health_checks_spec: global___HealthChecksSpec | None = ...,
|
|
288
|
+
service_account_id: builtins.str = ...,
|
|
289
|
+
status: global___InstanceGroup.Status.ValueType = ...,
|
|
290
|
+
variables: collections.abc.Iterable[global___Variable] | None = ...,
|
|
291
|
+
deletion_protection: builtins.bool = ...,
|
|
292
|
+
application_load_balancer_spec: global___ApplicationLoadBalancerSpec | None = ...,
|
|
293
|
+
application_load_balancer_state: global___ApplicationLoadBalancerState | None = ...,
|
|
294
|
+
auto_healing_policy: global___AutoHealingPolicy | None = ...,
|
|
295
|
+
) -> None: ...
|
|
296
|
+
def HasField(self, field_name: typing.Literal["allocation_policy", b"allocation_policy", "application_load_balancer_spec", b"application_load_balancer_spec", "application_load_balancer_state", b"application_load_balancer_state", "auto_healing_policy", b"auto_healing_policy", "created_at", b"created_at", "deploy_policy", b"deploy_policy", "health_checks_spec", b"health_checks_spec", "instance_template", b"instance_template", "load_balancer_spec", b"load_balancer_spec", "load_balancer_state", b"load_balancer_state", "managed_instances_state", b"managed_instances_state", "scale_policy", b"scale_policy"]) -> builtins.bool: ...
|
|
297
|
+
def ClearField(self, field_name: typing.Literal["allocation_policy", b"allocation_policy", "application_load_balancer_spec", b"application_load_balancer_spec", "application_load_balancer_state", b"application_load_balancer_state", "auto_healing_policy", b"auto_healing_policy", "created_at", b"created_at", "deletion_protection", b"deletion_protection", "deploy_policy", b"deploy_policy", "description", b"description", "folder_id", b"folder_id", "health_checks_spec", b"health_checks_spec", "id", b"id", "instance_template", b"instance_template", "labels", b"labels", "load_balancer_spec", b"load_balancer_spec", "load_balancer_state", b"load_balancer_state", "managed_instances_state", b"managed_instances_state", "name", b"name", "scale_policy", b"scale_policy", "service_account_id", b"service_account_id", "status", b"status", "variables", b"variables"]) -> None: ...
|
|
298
|
+
|
|
299
|
+
global___InstanceGroup = InstanceGroup
|
|
300
|
+
|
|
301
|
+
@typing.final
|
|
302
|
+
class ApplicationLoadBalancerState(google.protobuf.message.Message):
|
|
303
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
304
|
+
|
|
305
|
+
TARGET_GROUP_ID_FIELD_NUMBER: builtins.int
|
|
306
|
+
STATUS_MESSAGE_FIELD_NUMBER: builtins.int
|
|
307
|
+
target_group_id: builtins.str
|
|
308
|
+
"""ID of the Application Load Balancer target group attributed to the instance group."""
|
|
309
|
+
status_message: builtins.str
|
|
310
|
+
"""Status message of the target group."""
|
|
311
|
+
def __init__(
|
|
312
|
+
self,
|
|
313
|
+
*,
|
|
314
|
+
target_group_id: builtins.str = ...,
|
|
315
|
+
status_message: builtins.str = ...,
|
|
316
|
+
) -> None: ...
|
|
317
|
+
def ClearField(self, field_name: typing.Literal["status_message", b"status_message", "target_group_id", b"target_group_id"]) -> None: ...
|
|
318
|
+
|
|
319
|
+
global___ApplicationLoadBalancerState = ApplicationLoadBalancerState
|
|
320
|
+
|
|
321
|
+
@typing.final
|
|
322
|
+
class Variable(google.protobuf.message.Message):
|
|
323
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
324
|
+
|
|
325
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
326
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
327
|
+
key: builtins.str
|
|
328
|
+
value: builtins.str
|
|
329
|
+
def __init__(
|
|
330
|
+
self,
|
|
331
|
+
*,
|
|
332
|
+
key: builtins.str = ...,
|
|
333
|
+
value: builtins.str = ...,
|
|
334
|
+
) -> None: ...
|
|
335
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
336
|
+
|
|
337
|
+
global___Variable = Variable
|
|
338
|
+
|
|
339
|
+
@typing.final
|
|
340
|
+
class LoadBalancerState(google.protobuf.message.Message):
|
|
341
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
342
|
+
|
|
343
|
+
TARGET_GROUP_ID_FIELD_NUMBER: builtins.int
|
|
344
|
+
STATUS_MESSAGE_FIELD_NUMBER: builtins.int
|
|
345
|
+
target_group_id: builtins.str
|
|
346
|
+
"""ID of the Network Load Balancer target group attributed to the instance group."""
|
|
347
|
+
status_message: builtins.str
|
|
348
|
+
"""Status message of the target group."""
|
|
349
|
+
def __init__(
|
|
350
|
+
self,
|
|
351
|
+
*,
|
|
352
|
+
target_group_id: builtins.str = ...,
|
|
353
|
+
status_message: builtins.str = ...,
|
|
354
|
+
) -> None: ...
|
|
355
|
+
def ClearField(self, field_name: typing.Literal["status_message", b"status_message", "target_group_id", b"target_group_id"]) -> None: ...
|
|
356
|
+
|
|
357
|
+
global___LoadBalancerState = LoadBalancerState
|
|
358
|
+
|
|
359
|
+
@typing.final
|
|
360
|
+
class ManagedInstancesState(google.protobuf.message.Message):
|
|
361
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
362
|
+
|
|
363
|
+
@typing.final
|
|
364
|
+
class Statuses(google.protobuf.message.Message):
|
|
365
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
366
|
+
|
|
367
|
+
CREATING_FIELD_NUMBER: builtins.int
|
|
368
|
+
STARTING_FIELD_NUMBER: builtins.int
|
|
369
|
+
OPENING_FIELD_NUMBER: builtins.int
|
|
370
|
+
WARMING_FIELD_NUMBER: builtins.int
|
|
371
|
+
RUNNING_FIELD_NUMBER: builtins.int
|
|
372
|
+
CLOSING_FIELD_NUMBER: builtins.int
|
|
373
|
+
STOPPING_FIELD_NUMBER: builtins.int
|
|
374
|
+
UPDATING_FIELD_NUMBER: builtins.int
|
|
375
|
+
DELETING_FIELD_NUMBER: builtins.int
|
|
376
|
+
FAILED_FIELD_NUMBER: builtins.int
|
|
377
|
+
creating: builtins.int
|
|
378
|
+
"""Instance is being created."""
|
|
379
|
+
starting: builtins.int
|
|
380
|
+
"""Instance is being started."""
|
|
381
|
+
opening: builtins.int
|
|
382
|
+
"""Instance is being opened to receive traffic."""
|
|
383
|
+
warming: builtins.int
|
|
384
|
+
"""Instance is being warmed."""
|
|
385
|
+
running: builtins.int
|
|
386
|
+
"""Instance is running normally."""
|
|
387
|
+
closing: builtins.int
|
|
388
|
+
"""Instance is being closed to traffic."""
|
|
389
|
+
stopping: builtins.int
|
|
390
|
+
"""Instance is being stopped."""
|
|
391
|
+
updating: builtins.int
|
|
392
|
+
"""Instance is being updated."""
|
|
393
|
+
deleting: builtins.int
|
|
394
|
+
"""Instance is being deleted."""
|
|
395
|
+
failed: builtins.int
|
|
396
|
+
"""Instance failed and needs to be recreated."""
|
|
397
|
+
def __init__(
|
|
398
|
+
self,
|
|
399
|
+
*,
|
|
400
|
+
creating: builtins.int = ...,
|
|
401
|
+
starting: builtins.int = ...,
|
|
402
|
+
opening: builtins.int = ...,
|
|
403
|
+
warming: builtins.int = ...,
|
|
404
|
+
running: builtins.int = ...,
|
|
405
|
+
closing: builtins.int = ...,
|
|
406
|
+
stopping: builtins.int = ...,
|
|
407
|
+
updating: builtins.int = ...,
|
|
408
|
+
deleting: builtins.int = ...,
|
|
409
|
+
failed: builtins.int = ...,
|
|
410
|
+
) -> None: ...
|
|
411
|
+
def ClearField(self, field_name: typing.Literal["closing", b"closing", "creating", b"creating", "deleting", b"deleting", "failed", b"failed", "opening", b"opening", "running", b"running", "starting", b"starting", "stopping", b"stopping", "updating", b"updating", "warming", b"warming"]) -> None: ...
|
|
412
|
+
|
|
413
|
+
TARGET_SIZE_FIELD_NUMBER: builtins.int
|
|
414
|
+
RUNNING_ACTUAL_COUNT_FIELD_NUMBER: builtins.int
|
|
415
|
+
RUNNING_OUTDATED_COUNT_FIELD_NUMBER: builtins.int
|
|
416
|
+
PROCESSING_COUNT_FIELD_NUMBER: builtins.int
|
|
417
|
+
target_size: builtins.int
|
|
418
|
+
"""Target number of instances for this instance group."""
|
|
419
|
+
running_actual_count: builtins.int
|
|
420
|
+
"""The number of running instances that match the current instance template. For more information, see [ManagedInstance.Status.RUNNING_ACTUAL]."""
|
|
421
|
+
running_outdated_count: builtins.int
|
|
422
|
+
"""The number of running instances that does not match the current instance template. For more information, see [ManagedInstance.Status.RUNNING_OUTDATED]."""
|
|
423
|
+
processing_count: builtins.int
|
|
424
|
+
"""The number of instances in flight (for example, updating, starting, deleting). For more information, see [ManagedInstance.Status]."""
|
|
425
|
+
def __init__(
|
|
426
|
+
self,
|
|
427
|
+
*,
|
|
428
|
+
target_size: builtins.int = ...,
|
|
429
|
+
running_actual_count: builtins.int = ...,
|
|
430
|
+
running_outdated_count: builtins.int = ...,
|
|
431
|
+
processing_count: builtins.int = ...,
|
|
432
|
+
) -> None: ...
|
|
433
|
+
def ClearField(self, field_name: typing.Literal["processing_count", b"processing_count", "running_actual_count", b"running_actual_count", "running_outdated_count", b"running_outdated_count", "target_size", b"target_size"]) -> None: ...
|
|
434
|
+
|
|
435
|
+
global___ManagedInstancesState = ManagedInstancesState
|
|
436
|
+
|
|
437
|
+
@typing.final
|
|
438
|
+
class ScalePolicy(google.protobuf.message.Message):
|
|
439
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
440
|
+
|
|
441
|
+
@typing.final
|
|
442
|
+
class AutoScale(google.protobuf.message.Message):
|
|
443
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
444
|
+
|
|
445
|
+
class _AutoScaleType:
|
|
446
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
447
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
448
|
+
|
|
449
|
+
class _AutoScaleTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ScalePolicy.AutoScale._AutoScaleType.ValueType], builtins.type):
|
|
450
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
451
|
+
AUTO_SCALE_TYPE_UNSPECIFIED: ScalePolicy.AutoScale._AutoScaleType.ValueType # 0
|
|
452
|
+
ZONAL: ScalePolicy.AutoScale._AutoScaleType.ValueType # 1
|
|
453
|
+
"""Scale each zone independently. This is the default."""
|
|
454
|
+
REGIONAL: ScalePolicy.AutoScale._AutoScaleType.ValueType # 2
|
|
455
|
+
"""Scale group as a whole."""
|
|
456
|
+
|
|
457
|
+
class AutoScaleType(_AutoScaleType, metaclass=_AutoScaleTypeEnumTypeWrapper): ...
|
|
458
|
+
AUTO_SCALE_TYPE_UNSPECIFIED: ScalePolicy.AutoScale.AutoScaleType.ValueType # 0
|
|
459
|
+
ZONAL: ScalePolicy.AutoScale.AutoScaleType.ValueType # 1
|
|
460
|
+
"""Scale each zone independently. This is the default."""
|
|
461
|
+
REGIONAL: ScalePolicy.AutoScale.AutoScaleType.ValueType # 2
|
|
462
|
+
"""Scale group as a whole."""
|
|
463
|
+
|
|
464
|
+
MIN_ZONE_SIZE_FIELD_NUMBER: builtins.int
|
|
465
|
+
MAX_SIZE_FIELD_NUMBER: builtins.int
|
|
466
|
+
MEASUREMENT_DURATION_FIELD_NUMBER: builtins.int
|
|
467
|
+
WARMUP_DURATION_FIELD_NUMBER: builtins.int
|
|
468
|
+
STABILIZATION_DURATION_FIELD_NUMBER: builtins.int
|
|
469
|
+
INITIAL_SIZE_FIELD_NUMBER: builtins.int
|
|
470
|
+
CPU_UTILIZATION_RULE_FIELD_NUMBER: builtins.int
|
|
471
|
+
CUSTOM_RULES_FIELD_NUMBER: builtins.int
|
|
472
|
+
AUTO_SCALE_TYPE_FIELD_NUMBER: builtins.int
|
|
473
|
+
min_zone_size: builtins.int
|
|
474
|
+
"""Lower limit for instance count in each zone."""
|
|
475
|
+
max_size: builtins.int
|
|
476
|
+
"""Upper limit for total instance count (across all zones).
|
|
477
|
+
0 means maximum limit = 100.
|
|
478
|
+
"""
|
|
479
|
+
initial_size: builtins.int
|
|
480
|
+
"""Target group size."""
|
|
481
|
+
auto_scale_type: global___ScalePolicy.AutoScale.AutoScaleType.ValueType
|
|
482
|
+
"""Autoscaling type."""
|
|
483
|
+
@property
|
|
484
|
+
def measurement_duration(self) -> google.protobuf.duration_pb2.Duration:
|
|
485
|
+
"""Time in seconds allotted for averaging metrics.
|
|
486
|
+
1 minute by default.
|
|
487
|
+
"""
|
|
488
|
+
|
|
489
|
+
@property
|
|
490
|
+
def warmup_duration(self) -> google.protobuf.duration_pb2.Duration:
|
|
491
|
+
"""The warmup time of the instance in seconds. During this time,
|
|
492
|
+
traffic is sent to the instance, but instance metrics are not collected.
|
|
493
|
+
"""
|
|
494
|
+
|
|
495
|
+
@property
|
|
496
|
+
def stabilization_duration(self) -> google.protobuf.duration_pb2.Duration:
|
|
497
|
+
"""Minimum amount of time in seconds allotted for monitoring before
|
|
498
|
+
Instance Groups can reduce the number of instances in the group.
|
|
499
|
+
During this time, the group size doesn't decrease, even if the new metric values
|
|
500
|
+
indicate that it should.
|
|
501
|
+
"""
|
|
502
|
+
|
|
503
|
+
@property
|
|
504
|
+
def cpu_utilization_rule(self) -> global___ScalePolicy.CpuUtilizationRule:
|
|
505
|
+
"""Defines an autoscaling rule based on the average CPU utilization of the instance group.
|
|
506
|
+
|
|
507
|
+
If more than one rule is specified, e.g. CPU utilization and one or more Monitoring metrics ([custom_rules]),
|
|
508
|
+
the size of the instance group will be equal to the maximum of sizes calculated according to each metric.
|
|
509
|
+
"""
|
|
510
|
+
|
|
511
|
+
@property
|
|
512
|
+
def custom_rules(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ScalePolicy.CustomRule]:
|
|
513
|
+
"""Defines an autoscaling rule based on a [custom metric](/docs/monitoring/operations/metric/add) from Monitoring.
|
|
514
|
+
|
|
515
|
+
If more than one rule is specified, e.g. CPU utilization ([cpu_utilization_rule]) and one or more Monitoring
|
|
516
|
+
metrics, the size of the instance group will be equal to the maximum of sizes calculated according to each metric.
|
|
517
|
+
"""
|
|
518
|
+
|
|
519
|
+
def __init__(
|
|
520
|
+
self,
|
|
521
|
+
*,
|
|
522
|
+
min_zone_size: builtins.int = ...,
|
|
523
|
+
max_size: builtins.int = ...,
|
|
524
|
+
measurement_duration: google.protobuf.duration_pb2.Duration | None = ...,
|
|
525
|
+
warmup_duration: google.protobuf.duration_pb2.Duration | None = ...,
|
|
526
|
+
stabilization_duration: google.protobuf.duration_pb2.Duration | None = ...,
|
|
527
|
+
initial_size: builtins.int = ...,
|
|
528
|
+
cpu_utilization_rule: global___ScalePolicy.CpuUtilizationRule | None = ...,
|
|
529
|
+
custom_rules: collections.abc.Iterable[global___ScalePolicy.CustomRule] | None = ...,
|
|
530
|
+
auto_scale_type: global___ScalePolicy.AutoScale.AutoScaleType.ValueType = ...,
|
|
531
|
+
) -> None: ...
|
|
532
|
+
def HasField(self, field_name: typing.Literal["cpu_utilization_rule", b"cpu_utilization_rule", "measurement_duration", b"measurement_duration", "stabilization_duration", b"stabilization_duration", "warmup_duration", b"warmup_duration"]) -> builtins.bool: ...
|
|
533
|
+
def ClearField(self, field_name: typing.Literal["auto_scale_type", b"auto_scale_type", "cpu_utilization_rule", b"cpu_utilization_rule", "custom_rules", b"custom_rules", "initial_size", b"initial_size", "max_size", b"max_size", "measurement_duration", b"measurement_duration", "min_zone_size", b"min_zone_size", "stabilization_duration", b"stabilization_duration", "warmup_duration", b"warmup_duration"]) -> None: ...
|
|
534
|
+
|
|
535
|
+
@typing.final
|
|
536
|
+
class CpuUtilizationRule(google.protobuf.message.Message):
|
|
537
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
538
|
+
|
|
539
|
+
UTILIZATION_TARGET_FIELD_NUMBER: builtins.int
|
|
540
|
+
utilization_target: builtins.float
|
|
541
|
+
"""Target CPU utilization level. Instance Groups maintains this level for each availability zone."""
|
|
542
|
+
def __init__(
|
|
543
|
+
self,
|
|
544
|
+
*,
|
|
545
|
+
utilization_target: builtins.float = ...,
|
|
546
|
+
) -> None: ...
|
|
547
|
+
def ClearField(self, field_name: typing.Literal["utilization_target", b"utilization_target"]) -> None: ...
|
|
548
|
+
|
|
549
|
+
@typing.final
|
|
550
|
+
class CustomRule(google.protobuf.message.Message):
|
|
551
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
552
|
+
|
|
553
|
+
class _RuleType:
|
|
554
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
555
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
556
|
+
|
|
557
|
+
class _RuleTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ScalePolicy.CustomRule._RuleType.ValueType], builtins.type):
|
|
558
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
559
|
+
RULE_TYPE_UNSPECIFIED: ScalePolicy.CustomRule._RuleType.ValueType # 0
|
|
560
|
+
UTILIZATION: ScalePolicy.CustomRule._RuleType.ValueType # 1
|
|
561
|
+
"""This type means that the metric applies to one instance.
|
|
562
|
+
First, Instance Groups calculates the average metric value for each instance,
|
|
563
|
+
then averages the values for instances in one availability zone or in whole group depends on autoscaling type.
|
|
564
|
+
This type of metric must have the `instance_id` label.
|
|
565
|
+
"""
|
|
566
|
+
WORKLOAD: ScalePolicy.CustomRule._RuleType.ValueType # 2
|
|
567
|
+
"""This type means that the metric applies to instances in one availability zone or to whole group depends on autoscaling type.
|
|
568
|
+
This type of metric must have the `zone_id` label if ZONAL autoscaling type is chosen.
|
|
569
|
+
"""
|
|
570
|
+
|
|
571
|
+
class RuleType(_RuleType, metaclass=_RuleTypeEnumTypeWrapper): ...
|
|
572
|
+
RULE_TYPE_UNSPECIFIED: ScalePolicy.CustomRule.RuleType.ValueType # 0
|
|
573
|
+
UTILIZATION: ScalePolicy.CustomRule.RuleType.ValueType # 1
|
|
574
|
+
"""This type means that the metric applies to one instance.
|
|
575
|
+
First, Instance Groups calculates the average metric value for each instance,
|
|
576
|
+
then averages the values for instances in one availability zone or in whole group depends on autoscaling type.
|
|
577
|
+
This type of metric must have the `instance_id` label.
|
|
578
|
+
"""
|
|
579
|
+
WORKLOAD: ScalePolicy.CustomRule.RuleType.ValueType # 2
|
|
580
|
+
"""This type means that the metric applies to instances in one availability zone or to whole group depends on autoscaling type.
|
|
581
|
+
This type of metric must have the `zone_id` label if ZONAL autoscaling type is chosen.
|
|
582
|
+
"""
|
|
583
|
+
|
|
584
|
+
class _MetricType:
|
|
585
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
586
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
587
|
+
|
|
588
|
+
class _MetricTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ScalePolicy.CustomRule._MetricType.ValueType], builtins.type):
|
|
589
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
590
|
+
METRIC_TYPE_UNSPECIFIED: ScalePolicy.CustomRule._MetricType.ValueType # 0
|
|
591
|
+
GAUGE: ScalePolicy.CustomRule._MetricType.ValueType # 1
|
|
592
|
+
"""This type is used for metrics that show the metric value at a certain point in time,
|
|
593
|
+
such as requests per second to the server on an instance.
|
|
594
|
+
|
|
595
|
+
Instance Groups calculates the average metric value for the period
|
|
596
|
+
specified in the [AutoScale.measurement_duration] field.
|
|
597
|
+
"""
|
|
598
|
+
COUNTER: ScalePolicy.CustomRule._MetricType.ValueType # 2
|
|
599
|
+
"""This type is used for metrics that monotonically increase over time,
|
|
600
|
+
such as the total number of requests to the server on an instance.
|
|
601
|
+
|
|
602
|
+
Instance Groups calculates the average value increase for the period
|
|
603
|
+
specified in the [AutoScale.measurement_duration] field.
|
|
604
|
+
"""
|
|
605
|
+
|
|
606
|
+
class MetricType(_MetricType, metaclass=_MetricTypeEnumTypeWrapper): ...
|
|
607
|
+
METRIC_TYPE_UNSPECIFIED: ScalePolicy.CustomRule.MetricType.ValueType # 0
|
|
608
|
+
GAUGE: ScalePolicy.CustomRule.MetricType.ValueType # 1
|
|
609
|
+
"""This type is used for metrics that show the metric value at a certain point in time,
|
|
610
|
+
such as requests per second to the server on an instance.
|
|
611
|
+
|
|
612
|
+
Instance Groups calculates the average metric value for the period
|
|
613
|
+
specified in the [AutoScale.measurement_duration] field.
|
|
614
|
+
"""
|
|
615
|
+
COUNTER: ScalePolicy.CustomRule.MetricType.ValueType # 2
|
|
616
|
+
"""This type is used for metrics that monotonically increase over time,
|
|
617
|
+
such as the total number of requests to the server on an instance.
|
|
618
|
+
|
|
619
|
+
Instance Groups calculates the average value increase for the period
|
|
620
|
+
specified in the [AutoScale.measurement_duration] field.
|
|
621
|
+
"""
|
|
622
|
+
|
|
623
|
+
@typing.final
|
|
624
|
+
class LabelsEntry(google.protobuf.message.Message):
|
|
625
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
626
|
+
|
|
627
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
628
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
629
|
+
key: builtins.str
|
|
630
|
+
value: builtins.str
|
|
631
|
+
def __init__(
|
|
632
|
+
self,
|
|
633
|
+
*,
|
|
634
|
+
key: builtins.str = ...,
|
|
635
|
+
value: builtins.str = ...,
|
|
636
|
+
) -> None: ...
|
|
637
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
638
|
+
|
|
639
|
+
RULE_TYPE_FIELD_NUMBER: builtins.int
|
|
640
|
+
METRIC_TYPE_FIELD_NUMBER: builtins.int
|
|
641
|
+
METRIC_NAME_FIELD_NUMBER: builtins.int
|
|
642
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
643
|
+
TARGET_FIELD_NUMBER: builtins.int
|
|
644
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
645
|
+
SERVICE_FIELD_NUMBER: builtins.int
|
|
646
|
+
rule_type: global___ScalePolicy.CustomRule.RuleType.ValueType
|
|
647
|
+
"""Custom metric rule type. This field affects which label from
|
|
648
|
+
the custom metric should be used: `zone_id` or `instance_id`.
|
|
649
|
+
"""
|
|
650
|
+
metric_type: global___ScalePolicy.CustomRule.MetricType.ValueType
|
|
651
|
+
"""Type of custom metric. This field affects how Instance Groups calculates the average metric value."""
|
|
652
|
+
metric_name: builtins.str
|
|
653
|
+
"""Name of custom metric in Monitoring that should be used for scaling."""
|
|
654
|
+
target: builtins.float
|
|
655
|
+
"""Target value for the custom metric. Instance Groups maintains this level for each availability zone."""
|
|
656
|
+
folder_id: builtins.str
|
|
657
|
+
"""Folder id of custom metric in Monitoring that should be used for scaling."""
|
|
658
|
+
service: builtins.str
|
|
659
|
+
"""Service of custom metric in Monitoring that should be used for scaling."""
|
|
660
|
+
@property
|
|
661
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
662
|
+
"""Labels of custom metric in Monitoring that should be used for scaling."""
|
|
663
|
+
|
|
664
|
+
def __init__(
|
|
665
|
+
self,
|
|
666
|
+
*,
|
|
667
|
+
rule_type: global___ScalePolicy.CustomRule.RuleType.ValueType = ...,
|
|
668
|
+
metric_type: global___ScalePolicy.CustomRule.MetricType.ValueType = ...,
|
|
669
|
+
metric_name: builtins.str = ...,
|
|
670
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
671
|
+
target: builtins.float = ...,
|
|
672
|
+
folder_id: builtins.str = ...,
|
|
673
|
+
service: builtins.str = ...,
|
|
674
|
+
) -> None: ...
|
|
675
|
+
def ClearField(self, field_name: typing.Literal["folder_id", b"folder_id", "labels", b"labels", "metric_name", b"metric_name", "metric_type", b"metric_type", "rule_type", b"rule_type", "service", b"service", "target", b"target"]) -> None: ...
|
|
676
|
+
|
|
677
|
+
@typing.final
|
|
678
|
+
class FixedScale(google.protobuf.message.Message):
|
|
679
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
680
|
+
|
|
681
|
+
SIZE_FIELD_NUMBER: builtins.int
|
|
682
|
+
size: builtins.int
|
|
683
|
+
"""Number of instances in the instance group."""
|
|
684
|
+
def __init__(
|
|
685
|
+
self,
|
|
686
|
+
*,
|
|
687
|
+
size: builtins.int = ...,
|
|
688
|
+
) -> None: ...
|
|
689
|
+
def ClearField(self, field_name: typing.Literal["size", b"size"]) -> None: ...
|
|
690
|
+
|
|
691
|
+
FIXED_SCALE_FIELD_NUMBER: builtins.int
|
|
692
|
+
AUTO_SCALE_FIELD_NUMBER: builtins.int
|
|
693
|
+
TEST_AUTO_SCALE_FIELD_NUMBER: builtins.int
|
|
694
|
+
@property
|
|
695
|
+
def fixed_scale(self) -> global___ScalePolicy.FixedScale:
|
|
696
|
+
"""[Manual scaling policy](/docs/compute/concepts/instance-groups/scale#fixed-policy) of the instance group."""
|
|
697
|
+
|
|
698
|
+
@property
|
|
699
|
+
def auto_scale(self) -> global___ScalePolicy.AutoScale:
|
|
700
|
+
"""[Automatic scaling policy](/docs/compute/concepts/instance-groups/scale#auto-scale) of the instance group."""
|
|
701
|
+
|
|
702
|
+
@property
|
|
703
|
+
def test_auto_scale(self) -> global___ScalePolicy.AutoScale:
|
|
704
|
+
"""Test spec for [automatic scaling policy](/docs/compute/concepts/instance-groups/scale#auto-scale) of the instance group."""
|
|
705
|
+
|
|
706
|
+
def __init__(
|
|
707
|
+
self,
|
|
708
|
+
*,
|
|
709
|
+
fixed_scale: global___ScalePolicy.FixedScale | None = ...,
|
|
710
|
+
auto_scale: global___ScalePolicy.AutoScale | None = ...,
|
|
711
|
+
test_auto_scale: global___ScalePolicy.AutoScale | None = ...,
|
|
712
|
+
) -> None: ...
|
|
713
|
+
def HasField(self, field_name: typing.Literal["auto_scale", b"auto_scale", "fixed_scale", b"fixed_scale", "scale_type", b"scale_type", "test_auto_scale", b"test_auto_scale"]) -> builtins.bool: ...
|
|
714
|
+
def ClearField(self, field_name: typing.Literal["auto_scale", b"auto_scale", "fixed_scale", b"fixed_scale", "scale_type", b"scale_type", "test_auto_scale", b"test_auto_scale"]) -> None: ...
|
|
715
|
+
def WhichOneof(self, oneof_group: typing.Literal["scale_type", b"scale_type"]) -> typing.Literal["fixed_scale", "auto_scale"] | None: ...
|
|
716
|
+
|
|
717
|
+
global___ScalePolicy = ScalePolicy
|
|
718
|
+
|
|
719
|
+
@typing.final
|
|
720
|
+
class DeployPolicy(google.protobuf.message.Message):
|
|
721
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
722
|
+
|
|
723
|
+
class _Strategy:
|
|
724
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
725
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
726
|
+
|
|
727
|
+
class _StrategyEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[DeployPolicy._Strategy.ValueType], builtins.type):
|
|
728
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
729
|
+
STRATEGY_UNSPECIFIED: DeployPolicy._Strategy.ValueType # 0
|
|
730
|
+
PROACTIVE: DeployPolicy._Strategy.ValueType # 1
|
|
731
|
+
"""Instance Groups can forcefully stop a running instance. This is the default."""
|
|
732
|
+
OPPORTUNISTIC: DeployPolicy._Strategy.ValueType # 2
|
|
733
|
+
"""Instance Groups does not stop a running instance.
|
|
734
|
+
Instead, it will wait until the instance stops itself or becomes unhealthy.
|
|
735
|
+
"""
|
|
736
|
+
|
|
737
|
+
class Strategy(_Strategy, metaclass=_StrategyEnumTypeWrapper): ...
|
|
738
|
+
STRATEGY_UNSPECIFIED: DeployPolicy.Strategy.ValueType # 0
|
|
739
|
+
PROACTIVE: DeployPolicy.Strategy.ValueType # 1
|
|
740
|
+
"""Instance Groups can forcefully stop a running instance. This is the default."""
|
|
741
|
+
OPPORTUNISTIC: DeployPolicy.Strategy.ValueType # 2
|
|
742
|
+
"""Instance Groups does not stop a running instance.
|
|
743
|
+
Instead, it will wait until the instance stops itself or becomes unhealthy.
|
|
744
|
+
"""
|
|
745
|
+
|
|
746
|
+
class _MinimalAction:
|
|
747
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
748
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
749
|
+
|
|
750
|
+
class _MinimalActionEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[DeployPolicy._MinimalAction.ValueType], builtins.type):
|
|
751
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
752
|
+
MINIMAL_ACTION_UNSPECIFIED: DeployPolicy._MinimalAction.ValueType # 0
|
|
753
|
+
LIVE_UPDATE: DeployPolicy._MinimalAction.ValueType # 1
|
|
754
|
+
"""Updating an instance without stopping. This is the default."""
|
|
755
|
+
RESTART: DeployPolicy._MinimalAction.ValueType # 2
|
|
756
|
+
"""Updating an instance with restart: stopping and then starting the instance."""
|
|
757
|
+
RECREATE: DeployPolicy._MinimalAction.ValueType # 3
|
|
758
|
+
"""Re-creating an instance: deleting an instance and creating a new one."""
|
|
759
|
+
|
|
760
|
+
class MinimalAction(_MinimalAction, metaclass=_MinimalActionEnumTypeWrapper): ...
|
|
761
|
+
MINIMAL_ACTION_UNSPECIFIED: DeployPolicy.MinimalAction.ValueType # 0
|
|
762
|
+
LIVE_UPDATE: DeployPolicy.MinimalAction.ValueType # 1
|
|
763
|
+
"""Updating an instance without stopping. This is the default."""
|
|
764
|
+
RESTART: DeployPolicy.MinimalAction.ValueType # 2
|
|
765
|
+
"""Updating an instance with restart: stopping and then starting the instance."""
|
|
766
|
+
RECREATE: DeployPolicy.MinimalAction.ValueType # 3
|
|
767
|
+
"""Re-creating an instance: deleting an instance and creating a new one."""
|
|
768
|
+
|
|
769
|
+
MAX_UNAVAILABLE_FIELD_NUMBER: builtins.int
|
|
770
|
+
MAX_DELETING_FIELD_NUMBER: builtins.int
|
|
771
|
+
MAX_CREATING_FIELD_NUMBER: builtins.int
|
|
772
|
+
MAX_EXPANSION_FIELD_NUMBER: builtins.int
|
|
773
|
+
STARTUP_DURATION_FIELD_NUMBER: builtins.int
|
|
774
|
+
STRATEGY_FIELD_NUMBER: builtins.int
|
|
775
|
+
MINIMAL_ACTION_FIELD_NUMBER: builtins.int
|
|
776
|
+
max_unavailable: builtins.int
|
|
777
|
+
"""The maximum number of running instances that can be taken offline (i.e., stopped or deleted) at the same time
|
|
778
|
+
during the update process.
|
|
779
|
+
If [max_expansion] is not specified or set to zero, [max_unavailable] must be set to a non-zero value.
|
|
780
|
+
"""
|
|
781
|
+
max_deleting: builtins.int
|
|
782
|
+
"""The maximum number of instances that can be deleted at the same time.
|
|
783
|
+
|
|
784
|
+
The value 0 is any number of virtual machines within the allowed values.
|
|
785
|
+
"""
|
|
786
|
+
max_creating: builtins.int
|
|
787
|
+
"""The maximum number of instances that can be created at the same time.
|
|
788
|
+
|
|
789
|
+
The value 0 is any number of virtual machines within the allowed values.
|
|
790
|
+
"""
|
|
791
|
+
max_expansion: builtins.int
|
|
792
|
+
"""The maximum number of instances that can be temporarily allocated above the group's target size
|
|
793
|
+
during the update process.
|
|
794
|
+
If [max_unavailable] is not specified or set to zero, [max_expansion] must be set to a non-zero value.
|
|
795
|
+
"""
|
|
796
|
+
strategy: global___DeployPolicy.Strategy.ValueType
|
|
797
|
+
"""Affects the lifecycle of the instance during deployment."""
|
|
798
|
+
minimal_action: global___DeployPolicy.MinimalAction.ValueType
|
|
799
|
+
"""If instance update requires a less disruptive action than [minimal_action],
|
|
800
|
+
Instance Groups performs [minimal_action] to execute the update
|
|
801
|
+
"""
|
|
802
|
+
@property
|
|
803
|
+
def startup_duration(self) -> google.protobuf.duration_pb2.Duration:
|
|
804
|
+
"""Instance startup duration.
|
|
805
|
+
Instance will be considered up and running (and start receiving traffic) only after startup_duration
|
|
806
|
+
has elapsed and all health checks are passed.
|
|
807
|
+
See [yandex.cloud.compute.v1.instancegroup.ManagedInstance.Status] for more information.
|
|
808
|
+
"""
|
|
809
|
+
|
|
810
|
+
def __init__(
|
|
811
|
+
self,
|
|
812
|
+
*,
|
|
813
|
+
max_unavailable: builtins.int = ...,
|
|
814
|
+
max_deleting: builtins.int = ...,
|
|
815
|
+
max_creating: builtins.int = ...,
|
|
816
|
+
max_expansion: builtins.int = ...,
|
|
817
|
+
startup_duration: google.protobuf.duration_pb2.Duration | None = ...,
|
|
818
|
+
strategy: global___DeployPolicy.Strategy.ValueType = ...,
|
|
819
|
+
minimal_action: global___DeployPolicy.MinimalAction.ValueType = ...,
|
|
820
|
+
) -> None: ...
|
|
821
|
+
def HasField(self, field_name: typing.Literal["startup_duration", b"startup_duration"]) -> builtins.bool: ...
|
|
822
|
+
def ClearField(self, field_name: typing.Literal["max_creating", b"max_creating", "max_deleting", b"max_deleting", "max_expansion", b"max_expansion", "max_unavailable", b"max_unavailable", "minimal_action", b"minimal_action", "startup_duration", b"startup_duration", "strategy", b"strategy"]) -> None: ...
|
|
823
|
+
|
|
824
|
+
global___DeployPolicy = DeployPolicy
|
|
825
|
+
|
|
826
|
+
@typing.final
|
|
827
|
+
class AllocationPolicy(google.protobuf.message.Message):
|
|
828
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
829
|
+
|
|
830
|
+
@typing.final
|
|
831
|
+
class Zone(google.protobuf.message.Message):
|
|
832
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
833
|
+
|
|
834
|
+
ZONE_ID_FIELD_NUMBER: builtins.int
|
|
835
|
+
INSTANCE_TAGS_POOL_FIELD_NUMBER: builtins.int
|
|
836
|
+
zone_id: builtins.str
|
|
837
|
+
"""ID of the availability zone where the instance resides."""
|
|
838
|
+
@property
|
|
839
|
+
def instance_tags_pool(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
840
|
+
"""Each instance in a zone will be associated with exactly one of a tag from a pool below.
|
|
841
|
+
All specified tags must be unique across the whole group not only the zone.
|
|
842
|
+
It is guaranteed that during whole deploy only tags from prefix of the specified list will be used.
|
|
843
|
+
It is possible to use tag associated with instance in templating via {instance.tag}.
|
|
844
|
+
"""
|
|
845
|
+
|
|
846
|
+
def __init__(
|
|
847
|
+
self,
|
|
848
|
+
*,
|
|
849
|
+
zone_id: builtins.str = ...,
|
|
850
|
+
instance_tags_pool: collections.abc.Iterable[builtins.str] | None = ...,
|
|
851
|
+
) -> None: ...
|
|
852
|
+
def ClearField(self, field_name: typing.Literal["instance_tags_pool", b"instance_tags_pool", "zone_id", b"zone_id"]) -> None: ...
|
|
853
|
+
|
|
854
|
+
ZONES_FIELD_NUMBER: builtins.int
|
|
855
|
+
@property
|
|
856
|
+
def zones(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___AllocationPolicy.Zone]:
|
|
857
|
+
"""List of availability zones."""
|
|
858
|
+
|
|
859
|
+
def __init__(
|
|
860
|
+
self,
|
|
861
|
+
*,
|
|
862
|
+
zones: collections.abc.Iterable[global___AllocationPolicy.Zone] | None = ...,
|
|
863
|
+
) -> None: ...
|
|
864
|
+
def ClearField(self, field_name: typing.Literal["zones", b"zones"]) -> None: ...
|
|
865
|
+
|
|
866
|
+
global___AllocationPolicy = AllocationPolicy
|
|
867
|
+
|
|
868
|
+
@typing.final
|
|
869
|
+
class InstanceTemplate(google.protobuf.message.Message):
|
|
870
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
871
|
+
|
|
872
|
+
@typing.final
|
|
873
|
+
class LabelsEntry(google.protobuf.message.Message):
|
|
874
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
875
|
+
|
|
876
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
877
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
878
|
+
key: builtins.str
|
|
879
|
+
value: builtins.str
|
|
880
|
+
def __init__(
|
|
881
|
+
self,
|
|
882
|
+
*,
|
|
883
|
+
key: builtins.str = ...,
|
|
884
|
+
value: builtins.str = ...,
|
|
885
|
+
) -> None: ...
|
|
886
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
887
|
+
|
|
888
|
+
@typing.final
|
|
889
|
+
class MetadataEntry(google.protobuf.message.Message):
|
|
890
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
891
|
+
|
|
892
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
893
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
894
|
+
key: builtins.str
|
|
895
|
+
value: builtins.str
|
|
896
|
+
def __init__(
|
|
897
|
+
self,
|
|
898
|
+
*,
|
|
899
|
+
key: builtins.str = ...,
|
|
900
|
+
value: builtins.str = ...,
|
|
901
|
+
) -> None: ...
|
|
902
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
903
|
+
|
|
904
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
905
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
906
|
+
PLATFORM_ID_FIELD_NUMBER: builtins.int
|
|
907
|
+
RESOURCES_SPEC_FIELD_NUMBER: builtins.int
|
|
908
|
+
METADATA_FIELD_NUMBER: builtins.int
|
|
909
|
+
BOOT_DISK_SPEC_FIELD_NUMBER: builtins.int
|
|
910
|
+
SECONDARY_DISK_SPECS_FIELD_NUMBER: builtins.int
|
|
911
|
+
NETWORK_INTERFACE_SPECS_FIELD_NUMBER: builtins.int
|
|
912
|
+
SCHEDULING_POLICY_FIELD_NUMBER: builtins.int
|
|
913
|
+
SERVICE_ACCOUNT_ID_FIELD_NUMBER: builtins.int
|
|
914
|
+
NETWORK_SETTINGS_FIELD_NUMBER: builtins.int
|
|
915
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
916
|
+
HOSTNAME_FIELD_NUMBER: builtins.int
|
|
917
|
+
PLACEMENT_POLICY_FIELD_NUMBER: builtins.int
|
|
918
|
+
FILESYSTEM_SPECS_FIELD_NUMBER: builtins.int
|
|
919
|
+
METADATA_OPTIONS_FIELD_NUMBER: builtins.int
|
|
920
|
+
description: builtins.str
|
|
921
|
+
"""Description of the instance template."""
|
|
922
|
+
platform_id: builtins.str
|
|
923
|
+
"""ID of the hardware platform configuration for the instance.
|
|
924
|
+
Platforms allows you to create various types of instances: with a large amount of memory,
|
|
925
|
+
with a large number of cores, with a burstable performance.
|
|
926
|
+
For more information, see [Platforms](/docs/compute/concepts/vm-platforms).
|
|
927
|
+
"""
|
|
928
|
+
service_account_id: builtins.str
|
|
929
|
+
"""Service account ID for the instance."""
|
|
930
|
+
name: builtins.str
|
|
931
|
+
"""Name of the instance.
|
|
932
|
+
In order to be unique it must contain at least on of instance unique placeholders:
|
|
933
|
+
{instance.short_id}
|
|
934
|
+
{instance.index}
|
|
935
|
+
combination of {instance.zone_id} and {instance.index_in_zone}
|
|
936
|
+
Example: my-instance-{instance.index}
|
|
937
|
+
If not set, default is used: {instance_group.id}-{instance.short_id}
|
|
938
|
+
It may also contain another placeholders, see metadata doc for full list.
|
|
939
|
+
"""
|
|
940
|
+
hostname: builtins.str
|
|
941
|
+
"""Host name for the instance.
|
|
942
|
+
This field is used to generate the [yandex.cloud.compute.v1.Instance.fqdn] value.
|
|
943
|
+
The host name must be unique within the network and region.
|
|
944
|
+
If not specified, the host name will be equal to [yandex.cloud.compute.v1.Instance.id] of the instance
|
|
945
|
+
and FQDN will be `<id>.auto.internal`. Otherwise FQDN will be `<hostname>.<region_id>.internal`.
|
|
946
|
+
|
|
947
|
+
In order to be unique it must contain at least on of instance unique placeholders:
|
|
948
|
+
{instance.short_id}
|
|
949
|
+
{instance.index}
|
|
950
|
+
combination of {instance.zone_id} and {instance.index_in_zone}
|
|
951
|
+
Example: my-instance-{instance.index}
|
|
952
|
+
If not set, `name` value will be used
|
|
953
|
+
It may also contain another placeholders, see metadata doc for full list.
|
|
954
|
+
"""
|
|
955
|
+
@property
|
|
956
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
957
|
+
"""Resource labels as `key:value` pairs."""
|
|
958
|
+
|
|
959
|
+
@property
|
|
960
|
+
def resources_spec(self) -> global___ResourcesSpec:
|
|
961
|
+
"""Computing resources of the instance such as the amount of memory and number of cores."""
|
|
962
|
+
|
|
963
|
+
@property
|
|
964
|
+
def metadata(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
965
|
+
"""The metadata `key:value` pairs assigned to this instance template. This includes custom metadata and predefined keys.
|
|
966
|
+
|
|
967
|
+
Metadata values may contain one of the supported placeholders:
|
|
968
|
+
{instance_group.id}
|
|
969
|
+
{instance.short_id}
|
|
970
|
+
{instance.index}
|
|
971
|
+
{instance.index_in_zone}
|
|
972
|
+
{instance.zone_id}
|
|
973
|
+
InstanceGroup and Instance labels may be copied to metadata following way:
|
|
974
|
+
{instance_group.labels.some_label_key}
|
|
975
|
+
{instance.labels.another_label_key}
|
|
976
|
+
These placeholders will be substituted for each created instance anywhere in the value text.
|
|
977
|
+
In the rare case the value requires to contain this placeholder explicitly,
|
|
978
|
+
it must be escaped with double brackets, in example {instance.index}.
|
|
979
|
+
|
|
980
|
+
For example, you may use the metadata in order to provide your public SSH key to the instance.
|
|
981
|
+
For more information, see [Metadata](/docs/compute/concepts/vm-metadata).
|
|
982
|
+
"""
|
|
983
|
+
|
|
984
|
+
@property
|
|
985
|
+
def boot_disk_spec(self) -> global___AttachedDiskSpec:
|
|
986
|
+
"""Boot disk specification that will be attached to the instance."""
|
|
987
|
+
|
|
988
|
+
@property
|
|
989
|
+
def secondary_disk_specs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___AttachedDiskSpec]:
|
|
990
|
+
"""Array of secondary disks that will be attached to the instance."""
|
|
991
|
+
|
|
992
|
+
@property
|
|
993
|
+
def network_interface_specs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___NetworkInterfaceSpec]:
|
|
994
|
+
"""Array of network interfaces that will be attached to the instance."""
|
|
995
|
+
|
|
996
|
+
@property
|
|
997
|
+
def scheduling_policy(self) -> global___SchedulingPolicy:
|
|
998
|
+
"""Scheduling policy for the instance."""
|
|
999
|
+
|
|
1000
|
+
@property
|
|
1001
|
+
def network_settings(self) -> global___NetworkSettings:
|
|
1002
|
+
"""Network settings for the instance."""
|
|
1003
|
+
|
|
1004
|
+
@property
|
|
1005
|
+
def placement_policy(self) -> global___PlacementPolicy:
|
|
1006
|
+
"""Placement Group"""
|
|
1007
|
+
|
|
1008
|
+
@property
|
|
1009
|
+
def filesystem_specs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___AttachedFilesystemSpec]:
|
|
1010
|
+
"""Array of filesystems to attach to the instance.
|
|
1011
|
+
|
|
1012
|
+
The filesystems must reside in the same availability zone as the instance.
|
|
1013
|
+
|
|
1014
|
+
To use the instance with an attached filesystem, the latter must be mounted.
|
|
1015
|
+
For details, see [documentation](/docs/compute/operations/filesystem/attach-to-vm).
|
|
1016
|
+
"""
|
|
1017
|
+
|
|
1018
|
+
@property
|
|
1019
|
+
def metadata_options(self) -> global___MetadataOptions:
|
|
1020
|
+
"""Metadata options for the instance"""
|
|
1021
|
+
|
|
1022
|
+
def __init__(
|
|
1023
|
+
self,
|
|
1024
|
+
*,
|
|
1025
|
+
description: builtins.str = ...,
|
|
1026
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
1027
|
+
platform_id: builtins.str = ...,
|
|
1028
|
+
resources_spec: global___ResourcesSpec | None = ...,
|
|
1029
|
+
metadata: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
1030
|
+
boot_disk_spec: global___AttachedDiskSpec | None = ...,
|
|
1031
|
+
secondary_disk_specs: collections.abc.Iterable[global___AttachedDiskSpec] | None = ...,
|
|
1032
|
+
network_interface_specs: collections.abc.Iterable[global___NetworkInterfaceSpec] | None = ...,
|
|
1033
|
+
scheduling_policy: global___SchedulingPolicy | None = ...,
|
|
1034
|
+
service_account_id: builtins.str = ...,
|
|
1035
|
+
network_settings: global___NetworkSettings | None = ...,
|
|
1036
|
+
name: builtins.str = ...,
|
|
1037
|
+
hostname: builtins.str = ...,
|
|
1038
|
+
placement_policy: global___PlacementPolicy | None = ...,
|
|
1039
|
+
filesystem_specs: collections.abc.Iterable[global___AttachedFilesystemSpec] | None = ...,
|
|
1040
|
+
metadata_options: global___MetadataOptions | None = ...,
|
|
1041
|
+
) -> None: ...
|
|
1042
|
+
def HasField(self, field_name: typing.Literal["boot_disk_spec", b"boot_disk_spec", "metadata_options", b"metadata_options", "network_settings", b"network_settings", "placement_policy", b"placement_policy", "resources_spec", b"resources_spec", "scheduling_policy", b"scheduling_policy"]) -> builtins.bool: ...
|
|
1043
|
+
def ClearField(self, field_name: typing.Literal["boot_disk_spec", b"boot_disk_spec", "description", b"description", "filesystem_specs", b"filesystem_specs", "hostname", b"hostname", "labels", b"labels", "metadata", b"metadata", "metadata_options", b"metadata_options", "name", b"name", "network_interface_specs", b"network_interface_specs", "network_settings", b"network_settings", "placement_policy", b"placement_policy", "platform_id", b"platform_id", "resources_spec", b"resources_spec", "scheduling_policy", b"scheduling_policy", "secondary_disk_specs", b"secondary_disk_specs", "service_account_id", b"service_account_id"]) -> None: ...
|
|
1044
|
+
|
|
1045
|
+
global___InstanceTemplate = InstanceTemplate
|
|
1046
|
+
|
|
1047
|
+
@typing.final
|
|
1048
|
+
class AttachedFilesystemSpec(google.protobuf.message.Message):
|
|
1049
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1050
|
+
|
|
1051
|
+
class _Mode:
|
|
1052
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
1053
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
1054
|
+
|
|
1055
|
+
class _ModeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[AttachedFilesystemSpec._Mode.ValueType], builtins.type):
|
|
1056
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
1057
|
+
MODE_UNSPECIFIED: AttachedFilesystemSpec._Mode.ValueType # 0
|
|
1058
|
+
READ_ONLY: AttachedFilesystemSpec._Mode.ValueType # 1
|
|
1059
|
+
"""Read-only access."""
|
|
1060
|
+
READ_WRITE: AttachedFilesystemSpec._Mode.ValueType # 2
|
|
1061
|
+
"""Read/Write access. Default value."""
|
|
1062
|
+
|
|
1063
|
+
class Mode(_Mode, metaclass=_ModeEnumTypeWrapper): ...
|
|
1064
|
+
MODE_UNSPECIFIED: AttachedFilesystemSpec.Mode.ValueType # 0
|
|
1065
|
+
READ_ONLY: AttachedFilesystemSpec.Mode.ValueType # 1
|
|
1066
|
+
"""Read-only access."""
|
|
1067
|
+
READ_WRITE: AttachedFilesystemSpec.Mode.ValueType # 2
|
|
1068
|
+
"""Read/Write access. Default value."""
|
|
1069
|
+
|
|
1070
|
+
MODE_FIELD_NUMBER: builtins.int
|
|
1071
|
+
DEVICE_NAME_FIELD_NUMBER: builtins.int
|
|
1072
|
+
FILESYSTEM_ID_FIELD_NUMBER: builtins.int
|
|
1073
|
+
mode: global___AttachedFilesystemSpec.Mode.ValueType
|
|
1074
|
+
"""Mode of access to the filesystem that should be attached."""
|
|
1075
|
+
device_name: builtins.str
|
|
1076
|
+
"""Name of the device representing the filesystem on the instance.
|
|
1077
|
+
|
|
1078
|
+
The name should be used for referencing the filesystem from within the instance
|
|
1079
|
+
when it's being mounted, resized etc.
|
|
1080
|
+
|
|
1081
|
+
If not specified, a random value will be generated.
|
|
1082
|
+
"""
|
|
1083
|
+
filesystem_id: builtins.str
|
|
1084
|
+
"""ID of the filesystem that should be attached."""
|
|
1085
|
+
def __init__(
|
|
1086
|
+
self,
|
|
1087
|
+
*,
|
|
1088
|
+
mode: global___AttachedFilesystemSpec.Mode.ValueType = ...,
|
|
1089
|
+
device_name: builtins.str = ...,
|
|
1090
|
+
filesystem_id: builtins.str = ...,
|
|
1091
|
+
) -> None: ...
|
|
1092
|
+
def ClearField(self, field_name: typing.Literal["device_name", b"device_name", "filesystem_id", b"filesystem_id", "mode", b"mode"]) -> None: ...
|
|
1093
|
+
|
|
1094
|
+
global___AttachedFilesystemSpec = AttachedFilesystemSpec
|
|
1095
|
+
|
|
1096
|
+
@typing.final
|
|
1097
|
+
class PlacementPolicy(google.protobuf.message.Message):
|
|
1098
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1099
|
+
|
|
1100
|
+
@typing.final
|
|
1101
|
+
class HostAffinityRule(google.protobuf.message.Message):
|
|
1102
|
+
"""Affinity definition"""
|
|
1103
|
+
|
|
1104
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1105
|
+
|
|
1106
|
+
class _Operator:
|
|
1107
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
1108
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
1109
|
+
|
|
1110
|
+
class _OperatorEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[PlacementPolicy.HostAffinityRule._Operator.ValueType], builtins.type):
|
|
1111
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
1112
|
+
OPERATOR_UNSPECIFIED: PlacementPolicy.HostAffinityRule._Operator.ValueType # 0
|
|
1113
|
+
IN: PlacementPolicy.HostAffinityRule._Operator.ValueType # 1
|
|
1114
|
+
NOT_IN: PlacementPolicy.HostAffinityRule._Operator.ValueType # 2
|
|
1115
|
+
|
|
1116
|
+
class Operator(_Operator, metaclass=_OperatorEnumTypeWrapper): ...
|
|
1117
|
+
OPERATOR_UNSPECIFIED: PlacementPolicy.HostAffinityRule.Operator.ValueType # 0
|
|
1118
|
+
IN: PlacementPolicy.HostAffinityRule.Operator.ValueType # 1
|
|
1119
|
+
NOT_IN: PlacementPolicy.HostAffinityRule.Operator.ValueType # 2
|
|
1120
|
+
|
|
1121
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
1122
|
+
OP_FIELD_NUMBER: builtins.int
|
|
1123
|
+
VALUES_FIELD_NUMBER: builtins.int
|
|
1124
|
+
key: builtins.str
|
|
1125
|
+
"""Affinity label or one of reserved values - 'yc.hostId', 'yc.hostGroupId'"""
|
|
1126
|
+
op: global___PlacementPolicy.HostAffinityRule.Operator.ValueType
|
|
1127
|
+
"""Include or exclude action"""
|
|
1128
|
+
@property
|
|
1129
|
+
def values(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
1130
|
+
"""Affinity value or host ID or host group ID"""
|
|
1131
|
+
|
|
1132
|
+
def __init__(
|
|
1133
|
+
self,
|
|
1134
|
+
*,
|
|
1135
|
+
key: builtins.str = ...,
|
|
1136
|
+
op: global___PlacementPolicy.HostAffinityRule.Operator.ValueType = ...,
|
|
1137
|
+
values: collections.abc.Iterable[builtins.str] | None = ...,
|
|
1138
|
+
) -> None: ...
|
|
1139
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "op", b"op", "values", b"values"]) -> None: ...
|
|
1140
|
+
|
|
1141
|
+
PLACEMENT_GROUP_ID_FIELD_NUMBER: builtins.int
|
|
1142
|
+
HOST_AFFINITY_RULES_FIELD_NUMBER: builtins.int
|
|
1143
|
+
placement_group_id: builtins.str
|
|
1144
|
+
"""Identifier of placement group"""
|
|
1145
|
+
@property
|
|
1146
|
+
def host_affinity_rules(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___PlacementPolicy.HostAffinityRule]:
|
|
1147
|
+
"""List of affinity rules. Scheduler will attempt to allocate instances according to order of rules."""
|
|
1148
|
+
|
|
1149
|
+
def __init__(
|
|
1150
|
+
self,
|
|
1151
|
+
*,
|
|
1152
|
+
placement_group_id: builtins.str = ...,
|
|
1153
|
+
host_affinity_rules: collections.abc.Iterable[global___PlacementPolicy.HostAffinityRule] | None = ...,
|
|
1154
|
+
) -> None: ...
|
|
1155
|
+
def ClearField(self, field_name: typing.Literal["host_affinity_rules", b"host_affinity_rules", "placement_group_id", b"placement_group_id"]) -> None: ...
|
|
1156
|
+
|
|
1157
|
+
global___PlacementPolicy = PlacementPolicy
|
|
1158
|
+
|
|
1159
|
+
@typing.final
|
|
1160
|
+
class ResourcesSpec(google.protobuf.message.Message):
|
|
1161
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1162
|
+
|
|
1163
|
+
MEMORY_FIELD_NUMBER: builtins.int
|
|
1164
|
+
CORES_FIELD_NUMBER: builtins.int
|
|
1165
|
+
CORE_FRACTION_FIELD_NUMBER: builtins.int
|
|
1166
|
+
GPUS_FIELD_NUMBER: builtins.int
|
|
1167
|
+
memory: builtins.int
|
|
1168
|
+
"""The amount of memory available to the instance, specified in bytes."""
|
|
1169
|
+
cores: builtins.int
|
|
1170
|
+
"""The number of cores available to the instance."""
|
|
1171
|
+
core_fraction: builtins.int
|
|
1172
|
+
"""Baseline level of CPU performance with the ability to burst performance above that baseline level.
|
|
1173
|
+
This field sets baseline performance for each core.
|
|
1174
|
+
"""
|
|
1175
|
+
gpus: builtins.int
|
|
1176
|
+
"""The number of GPUs available to the instance."""
|
|
1177
|
+
def __init__(
|
|
1178
|
+
self,
|
|
1179
|
+
*,
|
|
1180
|
+
memory: builtins.int = ...,
|
|
1181
|
+
cores: builtins.int = ...,
|
|
1182
|
+
core_fraction: builtins.int = ...,
|
|
1183
|
+
gpus: builtins.int = ...,
|
|
1184
|
+
) -> None: ...
|
|
1185
|
+
def ClearField(self, field_name: typing.Literal["core_fraction", b"core_fraction", "cores", b"cores", "gpus", b"gpus", "memory", b"memory"]) -> None: ...
|
|
1186
|
+
|
|
1187
|
+
global___ResourcesSpec = ResourcesSpec
|
|
1188
|
+
|
|
1189
|
+
@typing.final
|
|
1190
|
+
class AttachedDiskSpec(google.protobuf.message.Message):
|
|
1191
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1192
|
+
|
|
1193
|
+
class _Mode:
|
|
1194
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
1195
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
1196
|
+
|
|
1197
|
+
class _ModeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[AttachedDiskSpec._Mode.ValueType], builtins.type):
|
|
1198
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
1199
|
+
MODE_UNSPECIFIED: AttachedDiskSpec._Mode.ValueType # 0
|
|
1200
|
+
READ_ONLY: AttachedDiskSpec._Mode.ValueType # 1
|
|
1201
|
+
"""Read-only access."""
|
|
1202
|
+
READ_WRITE: AttachedDiskSpec._Mode.ValueType # 2
|
|
1203
|
+
"""Read/Write access."""
|
|
1204
|
+
|
|
1205
|
+
class Mode(_Mode, metaclass=_ModeEnumTypeWrapper): ...
|
|
1206
|
+
MODE_UNSPECIFIED: AttachedDiskSpec.Mode.ValueType # 0
|
|
1207
|
+
READ_ONLY: AttachedDiskSpec.Mode.ValueType # 1
|
|
1208
|
+
"""Read-only access."""
|
|
1209
|
+
READ_WRITE: AttachedDiskSpec.Mode.ValueType # 2
|
|
1210
|
+
"""Read/Write access."""
|
|
1211
|
+
|
|
1212
|
+
@typing.final
|
|
1213
|
+
class DiskSpec(google.protobuf.message.Message):
|
|
1214
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1215
|
+
|
|
1216
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
1217
|
+
TYPE_ID_FIELD_NUMBER: builtins.int
|
|
1218
|
+
SIZE_FIELD_NUMBER: builtins.int
|
|
1219
|
+
IMAGE_ID_FIELD_NUMBER: builtins.int
|
|
1220
|
+
SNAPSHOT_ID_FIELD_NUMBER: builtins.int
|
|
1221
|
+
PRESERVE_AFTER_INSTANCE_DELETE_FIELD_NUMBER: builtins.int
|
|
1222
|
+
description: builtins.str
|
|
1223
|
+
"""Description of the disk."""
|
|
1224
|
+
type_id: builtins.str
|
|
1225
|
+
"""ID of the disk type."""
|
|
1226
|
+
size: builtins.int
|
|
1227
|
+
"""Size of the disk, specified in bytes."""
|
|
1228
|
+
image_id: builtins.str
|
|
1229
|
+
"""ID of the image that will be used for disk creation."""
|
|
1230
|
+
snapshot_id: builtins.str
|
|
1231
|
+
"""ID of the snapshot that will be used for disk creation."""
|
|
1232
|
+
preserve_after_instance_delete: builtins.bool
|
|
1233
|
+
"""When set to true, disk will not be deleted even after managed instance is deleted.
|
|
1234
|
+
It will be a user's responsibility to delete such disks.
|
|
1235
|
+
"""
|
|
1236
|
+
def __init__(
|
|
1237
|
+
self,
|
|
1238
|
+
*,
|
|
1239
|
+
description: builtins.str = ...,
|
|
1240
|
+
type_id: builtins.str = ...,
|
|
1241
|
+
size: builtins.int = ...,
|
|
1242
|
+
image_id: builtins.str = ...,
|
|
1243
|
+
snapshot_id: builtins.str = ...,
|
|
1244
|
+
preserve_after_instance_delete: builtins.bool = ...,
|
|
1245
|
+
) -> None: ...
|
|
1246
|
+
def HasField(self, field_name: typing.Literal["image_id", b"image_id", "snapshot_id", b"snapshot_id", "source_oneof", b"source_oneof"]) -> builtins.bool: ...
|
|
1247
|
+
def ClearField(self, field_name: typing.Literal["description", b"description", "image_id", b"image_id", "preserve_after_instance_delete", b"preserve_after_instance_delete", "size", b"size", "snapshot_id", b"snapshot_id", "source_oneof", b"source_oneof", "type_id", b"type_id"]) -> None: ...
|
|
1248
|
+
def WhichOneof(self, oneof_group: typing.Literal["source_oneof", b"source_oneof"]) -> typing.Literal["image_id", "snapshot_id"] | None: ...
|
|
1249
|
+
|
|
1250
|
+
MODE_FIELD_NUMBER: builtins.int
|
|
1251
|
+
DEVICE_NAME_FIELD_NUMBER: builtins.int
|
|
1252
|
+
DISK_SPEC_FIELD_NUMBER: builtins.int
|
|
1253
|
+
DISK_ID_FIELD_NUMBER: builtins.int
|
|
1254
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
1255
|
+
mode: global___AttachedDiskSpec.Mode.ValueType
|
|
1256
|
+
"""Access mode to the Disk resource."""
|
|
1257
|
+
device_name: builtins.str
|
|
1258
|
+
"""Serial number that is reflected in the /dev/disk/by-id/ tree
|
|
1259
|
+
of a Linux operating system running within the instance.
|
|
1260
|
+
|
|
1261
|
+
This value can be used to reference the device for mounting, resizing, and so on, from within the instance.
|
|
1262
|
+
"""
|
|
1263
|
+
disk_id: builtins.str
|
|
1264
|
+
"""Set to use an existing disk. To set use variables."""
|
|
1265
|
+
name: builtins.str
|
|
1266
|
+
"""When set can be later used to change DiskSpec of actual disk."""
|
|
1267
|
+
@property
|
|
1268
|
+
def disk_spec(self) -> global___AttachedDiskSpec.DiskSpec:
|
|
1269
|
+
"""oneof disk_spec or disk_id
|
|
1270
|
+
Disk specification that is attached to the instance. For more information, see [Disks](/docs/compute/concepts/disk).
|
|
1271
|
+
"""
|
|
1272
|
+
|
|
1273
|
+
def __init__(
|
|
1274
|
+
self,
|
|
1275
|
+
*,
|
|
1276
|
+
mode: global___AttachedDiskSpec.Mode.ValueType = ...,
|
|
1277
|
+
device_name: builtins.str = ...,
|
|
1278
|
+
disk_spec: global___AttachedDiskSpec.DiskSpec | None = ...,
|
|
1279
|
+
disk_id: builtins.str = ...,
|
|
1280
|
+
name: builtins.str = ...,
|
|
1281
|
+
) -> None: ...
|
|
1282
|
+
def HasField(self, field_name: typing.Literal["disk_spec", b"disk_spec"]) -> builtins.bool: ...
|
|
1283
|
+
def ClearField(self, field_name: typing.Literal["device_name", b"device_name", "disk_id", b"disk_id", "disk_spec", b"disk_spec", "mode", b"mode", "name", b"name"]) -> None: ...
|
|
1284
|
+
|
|
1285
|
+
global___AttachedDiskSpec = AttachedDiskSpec
|
|
1286
|
+
|
|
1287
|
+
@typing.final
|
|
1288
|
+
class NetworkInterfaceSpec(google.protobuf.message.Message):
|
|
1289
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1290
|
+
|
|
1291
|
+
NETWORK_ID_FIELD_NUMBER: builtins.int
|
|
1292
|
+
SUBNET_IDS_FIELD_NUMBER: builtins.int
|
|
1293
|
+
PRIMARY_V4_ADDRESS_SPEC_FIELD_NUMBER: builtins.int
|
|
1294
|
+
PRIMARY_V6_ADDRESS_SPEC_FIELD_NUMBER: builtins.int
|
|
1295
|
+
SECURITY_GROUP_IDS_FIELD_NUMBER: builtins.int
|
|
1296
|
+
network_id: builtins.str
|
|
1297
|
+
"""ID of the network."""
|
|
1298
|
+
@property
|
|
1299
|
+
def subnet_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
1300
|
+
"""IDs of the subnets."""
|
|
1301
|
+
|
|
1302
|
+
@property
|
|
1303
|
+
def primary_v4_address_spec(self) -> global___PrimaryAddressSpec:
|
|
1304
|
+
"""Primary IPv4 address that is assigned to the instance for this network interface."""
|
|
1305
|
+
|
|
1306
|
+
@property
|
|
1307
|
+
def primary_v6_address_spec(self) -> global___PrimaryAddressSpec:
|
|
1308
|
+
"""Primary IPv6 address that is assigned to the instance for this network interface. IPv6 not available yet."""
|
|
1309
|
+
|
|
1310
|
+
@property
|
|
1311
|
+
def security_group_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
1312
|
+
"""IDs of security groups."""
|
|
1313
|
+
|
|
1314
|
+
def __init__(
|
|
1315
|
+
self,
|
|
1316
|
+
*,
|
|
1317
|
+
network_id: builtins.str = ...,
|
|
1318
|
+
subnet_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
1319
|
+
primary_v4_address_spec: global___PrimaryAddressSpec | None = ...,
|
|
1320
|
+
primary_v6_address_spec: global___PrimaryAddressSpec | None = ...,
|
|
1321
|
+
security_group_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
1322
|
+
) -> None: ...
|
|
1323
|
+
def HasField(self, field_name: typing.Literal["primary_v4_address_spec", b"primary_v4_address_spec", "primary_v6_address_spec", b"primary_v6_address_spec"]) -> builtins.bool: ...
|
|
1324
|
+
def ClearField(self, field_name: typing.Literal["network_id", b"network_id", "primary_v4_address_spec", b"primary_v4_address_spec", "primary_v6_address_spec", b"primary_v6_address_spec", "security_group_ids", b"security_group_ids", "subnet_ids", b"subnet_ids"]) -> None: ...
|
|
1325
|
+
|
|
1326
|
+
global___NetworkInterfaceSpec = NetworkInterfaceSpec
|
|
1327
|
+
|
|
1328
|
+
@typing.final
|
|
1329
|
+
class PrimaryAddressSpec(google.protobuf.message.Message):
|
|
1330
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1331
|
+
|
|
1332
|
+
ONE_TO_ONE_NAT_SPEC_FIELD_NUMBER: builtins.int
|
|
1333
|
+
DNS_RECORD_SPECS_FIELD_NUMBER: builtins.int
|
|
1334
|
+
ADDRESS_FIELD_NUMBER: builtins.int
|
|
1335
|
+
address: builtins.str
|
|
1336
|
+
"""Optional. Manual set static internal IP. To set use variables."""
|
|
1337
|
+
@property
|
|
1338
|
+
def one_to_one_nat_spec(self) -> global___OneToOneNatSpec:
|
|
1339
|
+
"""An external IP address configuration.
|
|
1340
|
+
If not specified, then this managed instance will have no external internet access.
|
|
1341
|
+
"""
|
|
1342
|
+
|
|
1343
|
+
@property
|
|
1344
|
+
def dns_record_specs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___DnsRecordSpec]:
|
|
1345
|
+
"""Internal DNS configuration"""
|
|
1346
|
+
|
|
1347
|
+
def __init__(
|
|
1348
|
+
self,
|
|
1349
|
+
*,
|
|
1350
|
+
one_to_one_nat_spec: global___OneToOneNatSpec | None = ...,
|
|
1351
|
+
dns_record_specs: collections.abc.Iterable[global___DnsRecordSpec] | None = ...,
|
|
1352
|
+
address: builtins.str = ...,
|
|
1353
|
+
) -> None: ...
|
|
1354
|
+
def HasField(self, field_name: typing.Literal["one_to_one_nat_spec", b"one_to_one_nat_spec"]) -> builtins.bool: ...
|
|
1355
|
+
def ClearField(self, field_name: typing.Literal["address", b"address", "dns_record_specs", b"dns_record_specs", "one_to_one_nat_spec", b"one_to_one_nat_spec"]) -> None: ...
|
|
1356
|
+
|
|
1357
|
+
global___PrimaryAddressSpec = PrimaryAddressSpec
|
|
1358
|
+
|
|
1359
|
+
@typing.final
|
|
1360
|
+
class OneToOneNatSpec(google.protobuf.message.Message):
|
|
1361
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1362
|
+
|
|
1363
|
+
IP_VERSION_FIELD_NUMBER: builtins.int
|
|
1364
|
+
ADDRESS_FIELD_NUMBER: builtins.int
|
|
1365
|
+
DNS_RECORD_SPECS_FIELD_NUMBER: builtins.int
|
|
1366
|
+
ip_version: global___IpVersion.ValueType
|
|
1367
|
+
"""IP version for the public IP address."""
|
|
1368
|
+
address: builtins.str
|
|
1369
|
+
"""Manual set static public IP. To set use variables. (optional)"""
|
|
1370
|
+
@property
|
|
1371
|
+
def dns_record_specs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___DnsRecordSpec]:
|
|
1372
|
+
"""External DNS configuration"""
|
|
1373
|
+
|
|
1374
|
+
def __init__(
|
|
1375
|
+
self,
|
|
1376
|
+
*,
|
|
1377
|
+
ip_version: global___IpVersion.ValueType = ...,
|
|
1378
|
+
address: builtins.str = ...,
|
|
1379
|
+
dns_record_specs: collections.abc.Iterable[global___DnsRecordSpec] | None = ...,
|
|
1380
|
+
) -> None: ...
|
|
1381
|
+
def ClearField(self, field_name: typing.Literal["address", b"address", "dns_record_specs", b"dns_record_specs", "ip_version", b"ip_version"]) -> None: ...
|
|
1382
|
+
|
|
1383
|
+
global___OneToOneNatSpec = OneToOneNatSpec
|
|
1384
|
+
|
|
1385
|
+
@typing.final
|
|
1386
|
+
class DnsRecordSpec(google.protobuf.message.Message):
|
|
1387
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1388
|
+
|
|
1389
|
+
FQDN_FIELD_NUMBER: builtins.int
|
|
1390
|
+
DNS_ZONE_ID_FIELD_NUMBER: builtins.int
|
|
1391
|
+
TTL_FIELD_NUMBER: builtins.int
|
|
1392
|
+
PTR_FIELD_NUMBER: builtins.int
|
|
1393
|
+
fqdn: builtins.str
|
|
1394
|
+
"""FQDN (required)"""
|
|
1395
|
+
dns_zone_id: builtins.str
|
|
1396
|
+
"""DNS zone id (optional, if not set, private zone used)"""
|
|
1397
|
+
ttl: builtins.int
|
|
1398
|
+
"""DNS record ttl, values in 0-86400 (optional)"""
|
|
1399
|
+
ptr: builtins.bool
|
|
1400
|
+
"""When set to true, also create PTR DNS record (optional)"""
|
|
1401
|
+
def __init__(
|
|
1402
|
+
self,
|
|
1403
|
+
*,
|
|
1404
|
+
fqdn: builtins.str = ...,
|
|
1405
|
+
dns_zone_id: builtins.str = ...,
|
|
1406
|
+
ttl: builtins.int = ...,
|
|
1407
|
+
ptr: builtins.bool = ...,
|
|
1408
|
+
) -> None: ...
|
|
1409
|
+
def ClearField(self, field_name: typing.Literal["dns_zone_id", b"dns_zone_id", "fqdn", b"fqdn", "ptr", b"ptr", "ttl", b"ttl"]) -> None: ...
|
|
1410
|
+
|
|
1411
|
+
global___DnsRecordSpec = DnsRecordSpec
|
|
1412
|
+
|
|
1413
|
+
@typing.final
|
|
1414
|
+
class SchedulingPolicy(google.protobuf.message.Message):
|
|
1415
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1416
|
+
|
|
1417
|
+
PREEMPTIBLE_FIELD_NUMBER: builtins.int
|
|
1418
|
+
preemptible: builtins.bool
|
|
1419
|
+
"""Preemptible instances are stopped at least once every 24 hours, and can be stopped at any time
|
|
1420
|
+
if their resources are needed by Compute.
|
|
1421
|
+
For more information, see [Preemptible Virtual Machines](/docs/compute/concepts/preemptible-vm).
|
|
1422
|
+
"""
|
|
1423
|
+
def __init__(
|
|
1424
|
+
self,
|
|
1425
|
+
*,
|
|
1426
|
+
preemptible: builtins.bool = ...,
|
|
1427
|
+
) -> None: ...
|
|
1428
|
+
def ClearField(self, field_name: typing.Literal["preemptible", b"preemptible"]) -> None: ...
|
|
1429
|
+
|
|
1430
|
+
global___SchedulingPolicy = SchedulingPolicy
|
|
1431
|
+
|
|
1432
|
+
@typing.final
|
|
1433
|
+
class NetworkSettings(google.protobuf.message.Message):
|
|
1434
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1435
|
+
|
|
1436
|
+
class _Type:
|
|
1437
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
1438
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
1439
|
+
|
|
1440
|
+
class _TypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[NetworkSettings._Type.ValueType], builtins.type):
|
|
1441
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
1442
|
+
TYPE_UNSPECIFIED: NetworkSettings._Type.ValueType # 0
|
|
1443
|
+
STANDARD: NetworkSettings._Type.ValueType # 1
|
|
1444
|
+
SOFTWARE_ACCELERATED: NetworkSettings._Type.ValueType # 2
|
|
1445
|
+
HARDWARE_ACCELERATED: NetworkSettings._Type.ValueType # 3
|
|
1446
|
+
|
|
1447
|
+
class Type(_Type, metaclass=_TypeEnumTypeWrapper): ...
|
|
1448
|
+
TYPE_UNSPECIFIED: NetworkSettings.Type.ValueType # 0
|
|
1449
|
+
STANDARD: NetworkSettings.Type.ValueType # 1
|
|
1450
|
+
SOFTWARE_ACCELERATED: NetworkSettings.Type.ValueType # 2
|
|
1451
|
+
HARDWARE_ACCELERATED: NetworkSettings.Type.ValueType # 3
|
|
1452
|
+
|
|
1453
|
+
TYPE_FIELD_NUMBER: builtins.int
|
|
1454
|
+
type: global___NetworkSettings.Type.ValueType
|
|
1455
|
+
"""Type of instance network."""
|
|
1456
|
+
def __init__(
|
|
1457
|
+
self,
|
|
1458
|
+
*,
|
|
1459
|
+
type: global___NetworkSettings.Type.ValueType = ...,
|
|
1460
|
+
) -> None: ...
|
|
1461
|
+
def ClearField(self, field_name: typing.Literal["type", b"type"]) -> None: ...
|
|
1462
|
+
|
|
1463
|
+
global___NetworkSettings = NetworkSettings
|
|
1464
|
+
|
|
1465
|
+
@typing.final
|
|
1466
|
+
class LoadBalancerSpec(google.protobuf.message.Message):
|
|
1467
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1468
|
+
|
|
1469
|
+
TARGET_GROUP_SPEC_FIELD_NUMBER: builtins.int
|
|
1470
|
+
MAX_OPENING_TRAFFIC_DURATION_FIELD_NUMBER: builtins.int
|
|
1471
|
+
IGNORE_HEALTH_CHECKS_FIELD_NUMBER: builtins.int
|
|
1472
|
+
ignore_health_checks: builtins.bool
|
|
1473
|
+
"""Do not wait load balancer health checks."""
|
|
1474
|
+
@property
|
|
1475
|
+
def target_group_spec(self) -> global___TargetGroupSpec:
|
|
1476
|
+
"""Specification of the target group that the instance group will be added to. For more information, see [Target groups and resources](/docs/network-load-balancer/concepts/target-resources)."""
|
|
1477
|
+
|
|
1478
|
+
@property
|
|
1479
|
+
def max_opening_traffic_duration(self) -> google.protobuf.duration_pb2.Duration:
|
|
1480
|
+
"""Timeout for waiting for the VM to be checked by the load balancer. If the timeout is exceeded,
|
|
1481
|
+
the VM will be turned off based on the deployment policy. Specified in seconds.
|
|
1482
|
+
"""
|
|
1483
|
+
|
|
1484
|
+
def __init__(
|
|
1485
|
+
self,
|
|
1486
|
+
*,
|
|
1487
|
+
target_group_spec: global___TargetGroupSpec | None = ...,
|
|
1488
|
+
max_opening_traffic_duration: google.protobuf.duration_pb2.Duration | None = ...,
|
|
1489
|
+
ignore_health_checks: builtins.bool = ...,
|
|
1490
|
+
) -> None: ...
|
|
1491
|
+
def HasField(self, field_name: typing.Literal["max_opening_traffic_duration", b"max_opening_traffic_duration", "target_group_spec", b"target_group_spec"]) -> builtins.bool: ...
|
|
1492
|
+
def ClearField(self, field_name: typing.Literal["ignore_health_checks", b"ignore_health_checks", "max_opening_traffic_duration", b"max_opening_traffic_duration", "target_group_spec", b"target_group_spec"]) -> None: ...
|
|
1493
|
+
|
|
1494
|
+
global___LoadBalancerSpec = LoadBalancerSpec
|
|
1495
|
+
|
|
1496
|
+
@typing.final
|
|
1497
|
+
class TargetGroupSpec(google.protobuf.message.Message):
|
|
1498
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1499
|
+
|
|
1500
|
+
@typing.final
|
|
1501
|
+
class LabelsEntry(google.protobuf.message.Message):
|
|
1502
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1503
|
+
|
|
1504
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
1505
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
1506
|
+
key: builtins.str
|
|
1507
|
+
value: builtins.str
|
|
1508
|
+
def __init__(
|
|
1509
|
+
self,
|
|
1510
|
+
*,
|
|
1511
|
+
key: builtins.str = ...,
|
|
1512
|
+
value: builtins.str = ...,
|
|
1513
|
+
) -> None: ...
|
|
1514
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
1515
|
+
|
|
1516
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
1517
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
1518
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
1519
|
+
name: builtins.str
|
|
1520
|
+
"""Name of the target group."""
|
|
1521
|
+
description: builtins.str
|
|
1522
|
+
"""Description of the target group."""
|
|
1523
|
+
@property
|
|
1524
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
1525
|
+
"""Resource labels as `key:value` pairs."""
|
|
1526
|
+
|
|
1527
|
+
def __init__(
|
|
1528
|
+
self,
|
|
1529
|
+
*,
|
|
1530
|
+
name: builtins.str = ...,
|
|
1531
|
+
description: builtins.str = ...,
|
|
1532
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
1533
|
+
) -> None: ...
|
|
1534
|
+
def ClearField(self, field_name: typing.Literal["description", b"description", "labels", b"labels", "name", b"name"]) -> None: ...
|
|
1535
|
+
|
|
1536
|
+
global___TargetGroupSpec = TargetGroupSpec
|
|
1537
|
+
|
|
1538
|
+
@typing.final
|
|
1539
|
+
class ApplicationLoadBalancerSpec(google.protobuf.message.Message):
|
|
1540
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1541
|
+
|
|
1542
|
+
TARGET_GROUP_SPEC_FIELD_NUMBER: builtins.int
|
|
1543
|
+
MAX_OPENING_TRAFFIC_DURATION_FIELD_NUMBER: builtins.int
|
|
1544
|
+
IGNORE_HEALTH_CHECKS_FIELD_NUMBER: builtins.int
|
|
1545
|
+
ignore_health_checks: builtins.bool
|
|
1546
|
+
"""Do not wait load balancer health checks."""
|
|
1547
|
+
@property
|
|
1548
|
+
def target_group_spec(self) -> global___ApplicationTargetGroupSpec:
|
|
1549
|
+
"""Basic properties of the Application Load Balancer target group attributed to the instance group."""
|
|
1550
|
+
|
|
1551
|
+
@property
|
|
1552
|
+
def max_opening_traffic_duration(self) -> google.protobuf.duration_pb2.Duration:
|
|
1553
|
+
"""Timeout for waiting for the VM to be checked by the load balancer. If the timeout is exceeded,
|
|
1554
|
+
the VM will be turned off based on the deployment policy. Specified in seconds.
|
|
1555
|
+
"""
|
|
1556
|
+
|
|
1557
|
+
def __init__(
|
|
1558
|
+
self,
|
|
1559
|
+
*,
|
|
1560
|
+
target_group_spec: global___ApplicationTargetGroupSpec | None = ...,
|
|
1561
|
+
max_opening_traffic_duration: google.protobuf.duration_pb2.Duration | None = ...,
|
|
1562
|
+
ignore_health_checks: builtins.bool = ...,
|
|
1563
|
+
) -> None: ...
|
|
1564
|
+
def HasField(self, field_name: typing.Literal["max_opening_traffic_duration", b"max_opening_traffic_duration", "target_group_spec", b"target_group_spec"]) -> builtins.bool: ...
|
|
1565
|
+
def ClearField(self, field_name: typing.Literal["ignore_health_checks", b"ignore_health_checks", "max_opening_traffic_duration", b"max_opening_traffic_duration", "target_group_spec", b"target_group_spec"]) -> None: ...
|
|
1566
|
+
|
|
1567
|
+
global___ApplicationLoadBalancerSpec = ApplicationLoadBalancerSpec
|
|
1568
|
+
|
|
1569
|
+
@typing.final
|
|
1570
|
+
class ApplicationTargetGroupSpec(google.protobuf.message.Message):
|
|
1571
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1572
|
+
|
|
1573
|
+
@typing.final
|
|
1574
|
+
class LabelsEntry(google.protobuf.message.Message):
|
|
1575
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1576
|
+
|
|
1577
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
1578
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
1579
|
+
key: builtins.str
|
|
1580
|
+
value: builtins.str
|
|
1581
|
+
def __init__(
|
|
1582
|
+
self,
|
|
1583
|
+
*,
|
|
1584
|
+
key: builtins.str = ...,
|
|
1585
|
+
value: builtins.str = ...,
|
|
1586
|
+
) -> None: ...
|
|
1587
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
1588
|
+
|
|
1589
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
1590
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
1591
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
1592
|
+
name: builtins.str
|
|
1593
|
+
"""Name of the target group."""
|
|
1594
|
+
description: builtins.str
|
|
1595
|
+
"""Description of the target group."""
|
|
1596
|
+
@property
|
|
1597
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
1598
|
+
"""Resource labels as `key:value` pairs."""
|
|
1599
|
+
|
|
1600
|
+
def __init__(
|
|
1601
|
+
self,
|
|
1602
|
+
*,
|
|
1603
|
+
name: builtins.str = ...,
|
|
1604
|
+
description: builtins.str = ...,
|
|
1605
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
1606
|
+
) -> None: ...
|
|
1607
|
+
def ClearField(self, field_name: typing.Literal["description", b"description", "labels", b"labels", "name", b"name"]) -> None: ...
|
|
1608
|
+
|
|
1609
|
+
global___ApplicationTargetGroupSpec = ApplicationTargetGroupSpec
|
|
1610
|
+
|
|
1611
|
+
@typing.final
|
|
1612
|
+
class HealthChecksSpec(google.protobuf.message.Message):
|
|
1613
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1614
|
+
|
|
1615
|
+
HEALTH_CHECK_SPECS_FIELD_NUMBER: builtins.int
|
|
1616
|
+
MAX_CHECKING_HEALTH_DURATION_FIELD_NUMBER: builtins.int
|
|
1617
|
+
@property
|
|
1618
|
+
def health_check_specs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___HealthCheckSpec]:
|
|
1619
|
+
"""Health checking specification. For more information, see [Health check](/docs/network-load-balancer/concepts/health-check)."""
|
|
1620
|
+
|
|
1621
|
+
@property
|
|
1622
|
+
def max_checking_health_duration(self) -> google.protobuf.duration_pb2.Duration:
|
|
1623
|
+
"""Timeout for waiting for the VM to become healthy. If the timeout is exceeded,
|
|
1624
|
+
the VM will be turned off based on the deployment policy. Specified in seconds.
|
|
1625
|
+
"""
|
|
1626
|
+
|
|
1627
|
+
def __init__(
|
|
1628
|
+
self,
|
|
1629
|
+
*,
|
|
1630
|
+
health_check_specs: collections.abc.Iterable[global___HealthCheckSpec] | None = ...,
|
|
1631
|
+
max_checking_health_duration: google.protobuf.duration_pb2.Duration | None = ...,
|
|
1632
|
+
) -> None: ...
|
|
1633
|
+
def HasField(self, field_name: typing.Literal["max_checking_health_duration", b"max_checking_health_duration"]) -> builtins.bool: ...
|
|
1634
|
+
def ClearField(self, field_name: typing.Literal["health_check_specs", b"health_check_specs", "max_checking_health_duration", b"max_checking_health_duration"]) -> None: ...
|
|
1635
|
+
|
|
1636
|
+
global___HealthChecksSpec = HealthChecksSpec
|
|
1637
|
+
|
|
1638
|
+
@typing.final
|
|
1639
|
+
class HealthCheckSpec(google.protobuf.message.Message):
|
|
1640
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1641
|
+
|
|
1642
|
+
@typing.final
|
|
1643
|
+
class TcpOptions(google.protobuf.message.Message):
|
|
1644
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1645
|
+
|
|
1646
|
+
PORT_FIELD_NUMBER: builtins.int
|
|
1647
|
+
port: builtins.int
|
|
1648
|
+
"""Port to use for TCP health checks."""
|
|
1649
|
+
def __init__(
|
|
1650
|
+
self,
|
|
1651
|
+
*,
|
|
1652
|
+
port: builtins.int = ...,
|
|
1653
|
+
) -> None: ...
|
|
1654
|
+
def ClearField(self, field_name: typing.Literal["port", b"port"]) -> None: ...
|
|
1655
|
+
|
|
1656
|
+
@typing.final
|
|
1657
|
+
class HttpOptions(google.protobuf.message.Message):
|
|
1658
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1659
|
+
|
|
1660
|
+
PORT_FIELD_NUMBER: builtins.int
|
|
1661
|
+
PATH_FIELD_NUMBER: builtins.int
|
|
1662
|
+
port: builtins.int
|
|
1663
|
+
"""Port to use for HTTP health checks."""
|
|
1664
|
+
path: builtins.str
|
|
1665
|
+
"""URL path to set for health checking requests."""
|
|
1666
|
+
def __init__(
|
|
1667
|
+
self,
|
|
1668
|
+
*,
|
|
1669
|
+
port: builtins.int = ...,
|
|
1670
|
+
path: builtins.str = ...,
|
|
1671
|
+
) -> None: ...
|
|
1672
|
+
def ClearField(self, field_name: typing.Literal["path", b"path", "port", b"port"]) -> None: ...
|
|
1673
|
+
|
|
1674
|
+
INTERVAL_FIELD_NUMBER: builtins.int
|
|
1675
|
+
TIMEOUT_FIELD_NUMBER: builtins.int
|
|
1676
|
+
UNHEALTHY_THRESHOLD_FIELD_NUMBER: builtins.int
|
|
1677
|
+
HEALTHY_THRESHOLD_FIELD_NUMBER: builtins.int
|
|
1678
|
+
TCP_OPTIONS_FIELD_NUMBER: builtins.int
|
|
1679
|
+
HTTP_OPTIONS_FIELD_NUMBER: builtins.int
|
|
1680
|
+
unhealthy_threshold: builtins.int
|
|
1681
|
+
"""The number of failed health checks for the managed instance to be considered unhealthy. The default (0) is 2."""
|
|
1682
|
+
healthy_threshold: builtins.int
|
|
1683
|
+
"""The number of successful health checks required in order for the managed instance to be considered healthy. The default (0) is 2."""
|
|
1684
|
+
@property
|
|
1685
|
+
def interval(self) -> google.protobuf.duration_pb2.Duration:
|
|
1686
|
+
"""The interval between health checks. The default is 2 seconds."""
|
|
1687
|
+
|
|
1688
|
+
@property
|
|
1689
|
+
def timeout(self) -> google.protobuf.duration_pb2.Duration:
|
|
1690
|
+
"""Timeout for the managed instance to return a response for the health check. The default is 1 second."""
|
|
1691
|
+
|
|
1692
|
+
@property
|
|
1693
|
+
def tcp_options(self) -> global___HealthCheckSpec.TcpOptions:
|
|
1694
|
+
"""Configuration options for a TCP health check."""
|
|
1695
|
+
|
|
1696
|
+
@property
|
|
1697
|
+
def http_options(self) -> global___HealthCheckSpec.HttpOptions:
|
|
1698
|
+
"""Configuration options for an HTTP health check."""
|
|
1699
|
+
|
|
1700
|
+
def __init__(
|
|
1701
|
+
self,
|
|
1702
|
+
*,
|
|
1703
|
+
interval: google.protobuf.duration_pb2.Duration | None = ...,
|
|
1704
|
+
timeout: google.protobuf.duration_pb2.Duration | None = ...,
|
|
1705
|
+
unhealthy_threshold: builtins.int = ...,
|
|
1706
|
+
healthy_threshold: builtins.int = ...,
|
|
1707
|
+
tcp_options: global___HealthCheckSpec.TcpOptions | None = ...,
|
|
1708
|
+
http_options: global___HealthCheckSpec.HttpOptions | None = ...,
|
|
1709
|
+
) -> None: ...
|
|
1710
|
+
def HasField(self, field_name: typing.Literal["health_check_options", b"health_check_options", "http_options", b"http_options", "interval", b"interval", "tcp_options", b"tcp_options", "timeout", b"timeout"]) -> builtins.bool: ...
|
|
1711
|
+
def ClearField(self, field_name: typing.Literal["health_check_options", b"health_check_options", "healthy_threshold", b"healthy_threshold", "http_options", b"http_options", "interval", b"interval", "tcp_options", b"tcp_options", "timeout", b"timeout", "unhealthy_threshold", b"unhealthy_threshold"]) -> None: ...
|
|
1712
|
+
def WhichOneof(self, oneof_group: typing.Literal["health_check_options", b"health_check_options"]) -> typing.Literal["tcp_options", "http_options"] | None: ...
|
|
1713
|
+
|
|
1714
|
+
global___HealthCheckSpec = HealthCheckSpec
|
|
1715
|
+
|
|
1716
|
+
@typing.final
|
|
1717
|
+
class ManagedInstance(google.protobuf.message.Message):
|
|
1718
|
+
"""A ManagedInstance resource. For more information, see [Instance Groups Concepts](/docs/compute/concepts/instance-groups/)."""
|
|
1719
|
+
|
|
1720
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1721
|
+
|
|
1722
|
+
class _Status:
|
|
1723
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
1724
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
1725
|
+
|
|
1726
|
+
class _StatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ManagedInstance._Status.ValueType], builtins.type):
|
|
1727
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
1728
|
+
STATUS_UNSPECIFIED: ManagedInstance._Status.ValueType # 0
|
|
1729
|
+
CREATING_INSTANCE: ManagedInstance._Status.ValueType # 11
|
|
1730
|
+
"""Instance is being created."""
|
|
1731
|
+
UPDATING_INSTANCE: ManagedInstance._Status.ValueType # 12
|
|
1732
|
+
"""Instance is being updated."""
|
|
1733
|
+
DELETING_INSTANCE: ManagedInstance._Status.ValueType # 13
|
|
1734
|
+
"""Instance is being deleted."""
|
|
1735
|
+
STARTING_INSTANCE: ManagedInstance._Status.ValueType # 14
|
|
1736
|
+
"""Instance is being started."""
|
|
1737
|
+
STOPPING_INSTANCE: ManagedInstance._Status.ValueType # 15
|
|
1738
|
+
"""Instance is being stopped."""
|
|
1739
|
+
AWAITING_STARTUP_DURATION: ManagedInstance._Status.ValueType # 16
|
|
1740
|
+
"""Instance has been created successfully, but startup duration has not elapsed yet."""
|
|
1741
|
+
CHECKING_HEALTH: ManagedInstance._Status.ValueType # 17
|
|
1742
|
+
"""Instance has been created successfully and startup duration has elapsed, but health checks have not passed yet and the managed instance is not ready to receive traffic."""
|
|
1743
|
+
OPENING_TRAFFIC: ManagedInstance._Status.ValueType # 18
|
|
1744
|
+
"""Instance Groups is initiating health checks and routing traffic to the instances."""
|
|
1745
|
+
AWAITING_WARMUP_DURATION: ManagedInstance._Status.ValueType # 19
|
|
1746
|
+
"""Instance is now receiving traffic, but warmup duration has not elapsed yet."""
|
|
1747
|
+
CLOSING_TRAFFIC: ManagedInstance._Status.ValueType # 20
|
|
1748
|
+
"""Instance Groups has initiated the process of stopping routing traffic to the instances."""
|
|
1749
|
+
RUNNING_ACTUAL: ManagedInstance._Status.ValueType # 21
|
|
1750
|
+
"""Instance is running normally and its attributes match the current InstanceTemplate."""
|
|
1751
|
+
RUNNING_OUTDATED: ManagedInstance._Status.ValueType # 22
|
|
1752
|
+
"""Instance is running normally, but its attributes do not match the current InstanceTemplate.
|
|
1753
|
+
It will be updated, recreated or deleted shortly.
|
|
1754
|
+
"""
|
|
1755
|
+
STOPPED: ManagedInstance._Status.ValueType # 23
|
|
1756
|
+
"""Instance was stopped."""
|
|
1757
|
+
DELETED: ManagedInstance._Status.ValueType # 24
|
|
1758
|
+
"""Instance was deleted."""
|
|
1759
|
+
PREPARING_RESOURCES: ManagedInstance._Status.ValueType # 25
|
|
1760
|
+
"""Instance Groups is preparing dependent resources."""
|
|
1761
|
+
|
|
1762
|
+
class Status(_Status, metaclass=_StatusEnumTypeWrapper): ...
|
|
1763
|
+
STATUS_UNSPECIFIED: ManagedInstance.Status.ValueType # 0
|
|
1764
|
+
CREATING_INSTANCE: ManagedInstance.Status.ValueType # 11
|
|
1765
|
+
"""Instance is being created."""
|
|
1766
|
+
UPDATING_INSTANCE: ManagedInstance.Status.ValueType # 12
|
|
1767
|
+
"""Instance is being updated."""
|
|
1768
|
+
DELETING_INSTANCE: ManagedInstance.Status.ValueType # 13
|
|
1769
|
+
"""Instance is being deleted."""
|
|
1770
|
+
STARTING_INSTANCE: ManagedInstance.Status.ValueType # 14
|
|
1771
|
+
"""Instance is being started."""
|
|
1772
|
+
STOPPING_INSTANCE: ManagedInstance.Status.ValueType # 15
|
|
1773
|
+
"""Instance is being stopped."""
|
|
1774
|
+
AWAITING_STARTUP_DURATION: ManagedInstance.Status.ValueType # 16
|
|
1775
|
+
"""Instance has been created successfully, but startup duration has not elapsed yet."""
|
|
1776
|
+
CHECKING_HEALTH: ManagedInstance.Status.ValueType # 17
|
|
1777
|
+
"""Instance has been created successfully and startup duration has elapsed, but health checks have not passed yet and the managed instance is not ready to receive traffic."""
|
|
1778
|
+
OPENING_TRAFFIC: ManagedInstance.Status.ValueType # 18
|
|
1779
|
+
"""Instance Groups is initiating health checks and routing traffic to the instances."""
|
|
1780
|
+
AWAITING_WARMUP_DURATION: ManagedInstance.Status.ValueType # 19
|
|
1781
|
+
"""Instance is now receiving traffic, but warmup duration has not elapsed yet."""
|
|
1782
|
+
CLOSING_TRAFFIC: ManagedInstance.Status.ValueType # 20
|
|
1783
|
+
"""Instance Groups has initiated the process of stopping routing traffic to the instances."""
|
|
1784
|
+
RUNNING_ACTUAL: ManagedInstance.Status.ValueType # 21
|
|
1785
|
+
"""Instance is running normally and its attributes match the current InstanceTemplate."""
|
|
1786
|
+
RUNNING_OUTDATED: ManagedInstance.Status.ValueType # 22
|
|
1787
|
+
"""Instance is running normally, but its attributes do not match the current InstanceTemplate.
|
|
1788
|
+
It will be updated, recreated or deleted shortly.
|
|
1789
|
+
"""
|
|
1790
|
+
STOPPED: ManagedInstance.Status.ValueType # 23
|
|
1791
|
+
"""Instance was stopped."""
|
|
1792
|
+
DELETED: ManagedInstance.Status.ValueType # 24
|
|
1793
|
+
"""Instance was deleted."""
|
|
1794
|
+
PREPARING_RESOURCES: ManagedInstance.Status.ValueType # 25
|
|
1795
|
+
"""Instance Groups is preparing dependent resources."""
|
|
1796
|
+
|
|
1797
|
+
ID_FIELD_NUMBER: builtins.int
|
|
1798
|
+
STATUS_FIELD_NUMBER: builtins.int
|
|
1799
|
+
INSTANCE_ID_FIELD_NUMBER: builtins.int
|
|
1800
|
+
FQDN_FIELD_NUMBER: builtins.int
|
|
1801
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
1802
|
+
STATUS_MESSAGE_FIELD_NUMBER: builtins.int
|
|
1803
|
+
ZONE_ID_FIELD_NUMBER: builtins.int
|
|
1804
|
+
NETWORK_INTERFACES_FIELD_NUMBER: builtins.int
|
|
1805
|
+
STATUS_CHANGED_AT_FIELD_NUMBER: builtins.int
|
|
1806
|
+
INSTANCE_TAG_FIELD_NUMBER: builtins.int
|
|
1807
|
+
id: builtins.str
|
|
1808
|
+
"""ID of the managed instance."""
|
|
1809
|
+
status: global___ManagedInstance.Status.ValueType
|
|
1810
|
+
"""Status of the managed instance."""
|
|
1811
|
+
instance_id: builtins.str
|
|
1812
|
+
"""ID of the instance."""
|
|
1813
|
+
fqdn: builtins.str
|
|
1814
|
+
"""Fully Qualified Domain Name."""
|
|
1815
|
+
name: builtins.str
|
|
1816
|
+
"""The name of the managed instance."""
|
|
1817
|
+
status_message: builtins.str
|
|
1818
|
+
"""Status message for the managed instance."""
|
|
1819
|
+
zone_id: builtins.str
|
|
1820
|
+
"""ID of the availability zone where the instance resides."""
|
|
1821
|
+
instance_tag: builtins.str
|
|
1822
|
+
"""Managed instance tag."""
|
|
1823
|
+
@property
|
|
1824
|
+
def network_interfaces(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___NetworkInterface]:
|
|
1825
|
+
"""Array of network interfaces that are attached to the managed instance."""
|
|
1826
|
+
|
|
1827
|
+
@property
|
|
1828
|
+
def status_changed_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
1829
|
+
"""The timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format when the status of the managed instance was last changed."""
|
|
1830
|
+
|
|
1831
|
+
def __init__(
|
|
1832
|
+
self,
|
|
1833
|
+
*,
|
|
1834
|
+
id: builtins.str = ...,
|
|
1835
|
+
status: global___ManagedInstance.Status.ValueType = ...,
|
|
1836
|
+
instance_id: builtins.str = ...,
|
|
1837
|
+
fqdn: builtins.str = ...,
|
|
1838
|
+
name: builtins.str = ...,
|
|
1839
|
+
status_message: builtins.str = ...,
|
|
1840
|
+
zone_id: builtins.str = ...,
|
|
1841
|
+
network_interfaces: collections.abc.Iterable[global___NetworkInterface] | None = ...,
|
|
1842
|
+
status_changed_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
1843
|
+
instance_tag: builtins.str = ...,
|
|
1844
|
+
) -> None: ...
|
|
1845
|
+
def HasField(self, field_name: typing.Literal["status_changed_at", b"status_changed_at"]) -> builtins.bool: ...
|
|
1846
|
+
def ClearField(self, field_name: typing.Literal["fqdn", b"fqdn", "id", b"id", "instance_id", b"instance_id", "instance_tag", b"instance_tag", "name", b"name", "network_interfaces", b"network_interfaces", "status", b"status", "status_changed_at", b"status_changed_at", "status_message", b"status_message", "zone_id", b"zone_id"]) -> None: ...
|
|
1847
|
+
|
|
1848
|
+
global___ManagedInstance = ManagedInstance
|
|
1849
|
+
|
|
1850
|
+
@typing.final
|
|
1851
|
+
class NetworkInterface(google.protobuf.message.Message):
|
|
1852
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1853
|
+
|
|
1854
|
+
INDEX_FIELD_NUMBER: builtins.int
|
|
1855
|
+
MAC_ADDRESS_FIELD_NUMBER: builtins.int
|
|
1856
|
+
SUBNET_ID_FIELD_NUMBER: builtins.int
|
|
1857
|
+
PRIMARY_V4_ADDRESS_FIELD_NUMBER: builtins.int
|
|
1858
|
+
PRIMARY_V6_ADDRESS_FIELD_NUMBER: builtins.int
|
|
1859
|
+
index: builtins.str
|
|
1860
|
+
"""The index of the network interface, generated by the server, 0,1,2... etc.
|
|
1861
|
+
Currently only one network interface is supported per instance.
|
|
1862
|
+
"""
|
|
1863
|
+
mac_address: builtins.str
|
|
1864
|
+
"""MAC address that is assigned to the network interface."""
|
|
1865
|
+
subnet_id: builtins.str
|
|
1866
|
+
"""ID of the subnet."""
|
|
1867
|
+
@property
|
|
1868
|
+
def primary_v4_address(self) -> global___PrimaryAddress:
|
|
1869
|
+
"""Primary IPv4 address that is assigned to the instance for this network interface."""
|
|
1870
|
+
|
|
1871
|
+
@property
|
|
1872
|
+
def primary_v6_address(self) -> global___PrimaryAddress:
|
|
1873
|
+
"""Primary IPv6 address that is assigned to the instance for this network interface. IPv6 is not available yet."""
|
|
1874
|
+
|
|
1875
|
+
def __init__(
|
|
1876
|
+
self,
|
|
1877
|
+
*,
|
|
1878
|
+
index: builtins.str = ...,
|
|
1879
|
+
mac_address: builtins.str = ...,
|
|
1880
|
+
subnet_id: builtins.str = ...,
|
|
1881
|
+
primary_v4_address: global___PrimaryAddress | None = ...,
|
|
1882
|
+
primary_v6_address: global___PrimaryAddress | None = ...,
|
|
1883
|
+
) -> None: ...
|
|
1884
|
+
def HasField(self, field_name: typing.Literal["primary_v4_address", b"primary_v4_address", "primary_v6_address", b"primary_v6_address"]) -> builtins.bool: ...
|
|
1885
|
+
def ClearField(self, field_name: typing.Literal["index", b"index", "mac_address", b"mac_address", "primary_v4_address", b"primary_v4_address", "primary_v6_address", b"primary_v6_address", "subnet_id", b"subnet_id"]) -> None: ...
|
|
1886
|
+
|
|
1887
|
+
global___NetworkInterface = NetworkInterface
|
|
1888
|
+
|
|
1889
|
+
@typing.final
|
|
1890
|
+
class PrimaryAddress(google.protobuf.message.Message):
|
|
1891
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1892
|
+
|
|
1893
|
+
ADDRESS_FIELD_NUMBER: builtins.int
|
|
1894
|
+
ONE_TO_ONE_NAT_FIELD_NUMBER: builtins.int
|
|
1895
|
+
DNS_RECORDS_FIELD_NUMBER: builtins.int
|
|
1896
|
+
address: builtins.str
|
|
1897
|
+
"""An IPv4 internal network address that is assigned to the managed instance for this network interface.
|
|
1898
|
+
If not specified by the user, an unused internal IP is assigned by the system.
|
|
1899
|
+
"""
|
|
1900
|
+
@property
|
|
1901
|
+
def one_to_one_nat(self) -> global___OneToOneNat:
|
|
1902
|
+
"""One-to-one NAT configuration. If missing, NAT has not been set up."""
|
|
1903
|
+
|
|
1904
|
+
@property
|
|
1905
|
+
def dns_records(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___DnsRecord]:
|
|
1906
|
+
"""Internal DNS configuration."""
|
|
1907
|
+
|
|
1908
|
+
def __init__(
|
|
1909
|
+
self,
|
|
1910
|
+
*,
|
|
1911
|
+
address: builtins.str = ...,
|
|
1912
|
+
one_to_one_nat: global___OneToOneNat | None = ...,
|
|
1913
|
+
dns_records: collections.abc.Iterable[global___DnsRecord] | None = ...,
|
|
1914
|
+
) -> None: ...
|
|
1915
|
+
def HasField(self, field_name: typing.Literal["one_to_one_nat", b"one_to_one_nat"]) -> builtins.bool: ...
|
|
1916
|
+
def ClearField(self, field_name: typing.Literal["address", b"address", "dns_records", b"dns_records", "one_to_one_nat", b"one_to_one_nat"]) -> None: ...
|
|
1917
|
+
|
|
1918
|
+
global___PrimaryAddress = PrimaryAddress
|
|
1919
|
+
|
|
1920
|
+
@typing.final
|
|
1921
|
+
class OneToOneNat(google.protobuf.message.Message):
|
|
1922
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1923
|
+
|
|
1924
|
+
ADDRESS_FIELD_NUMBER: builtins.int
|
|
1925
|
+
IP_VERSION_FIELD_NUMBER: builtins.int
|
|
1926
|
+
DNS_RECORDS_FIELD_NUMBER: builtins.int
|
|
1927
|
+
address: builtins.str
|
|
1928
|
+
"""An IPv4 external network address that is assigned to the managed instance for this network interface."""
|
|
1929
|
+
ip_version: global___IpVersion.ValueType
|
|
1930
|
+
"""External IP address version."""
|
|
1931
|
+
@property
|
|
1932
|
+
def dns_records(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___DnsRecord]:
|
|
1933
|
+
"""External DNS configuration."""
|
|
1934
|
+
|
|
1935
|
+
def __init__(
|
|
1936
|
+
self,
|
|
1937
|
+
*,
|
|
1938
|
+
address: builtins.str = ...,
|
|
1939
|
+
ip_version: global___IpVersion.ValueType = ...,
|
|
1940
|
+
dns_records: collections.abc.Iterable[global___DnsRecord] | None = ...,
|
|
1941
|
+
) -> None: ...
|
|
1942
|
+
def ClearField(self, field_name: typing.Literal["address", b"address", "dns_records", b"dns_records", "ip_version", b"ip_version"]) -> None: ...
|
|
1943
|
+
|
|
1944
|
+
global___OneToOneNat = OneToOneNat
|
|
1945
|
+
|
|
1946
|
+
@typing.final
|
|
1947
|
+
class DnsRecord(google.protobuf.message.Message):
|
|
1948
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1949
|
+
|
|
1950
|
+
FQDN_FIELD_NUMBER: builtins.int
|
|
1951
|
+
DNS_ZONE_ID_FIELD_NUMBER: builtins.int
|
|
1952
|
+
TTL_FIELD_NUMBER: builtins.int
|
|
1953
|
+
PTR_FIELD_NUMBER: builtins.int
|
|
1954
|
+
fqdn: builtins.str
|
|
1955
|
+
"""Name of the A/AAAA record as specified when creating the instance.
|
|
1956
|
+
Note that if `fqdn' has no trailing '.', it is specified relative to the zone (@see dns_zone_id).
|
|
1957
|
+
"""
|
|
1958
|
+
dns_zone_id: builtins.str
|
|
1959
|
+
"""DNS zone id (optional, if not set, some private zone is used)."""
|
|
1960
|
+
ttl: builtins.int
|
|
1961
|
+
"""DNS record ttl (optional, if 0, a reasonable default is used)."""
|
|
1962
|
+
ptr: builtins.bool
|
|
1963
|
+
"""When true, indicates there is a corresponding auto-created PTR DNS record."""
|
|
1964
|
+
def __init__(
|
|
1965
|
+
self,
|
|
1966
|
+
*,
|
|
1967
|
+
fqdn: builtins.str = ...,
|
|
1968
|
+
dns_zone_id: builtins.str = ...,
|
|
1969
|
+
ttl: builtins.int = ...,
|
|
1970
|
+
ptr: builtins.bool = ...,
|
|
1971
|
+
) -> None: ...
|
|
1972
|
+
def ClearField(self, field_name: typing.Literal["dns_zone_id", b"dns_zone_id", "fqdn", b"fqdn", "ptr", b"ptr", "ttl", b"ttl"]) -> None: ...
|
|
1973
|
+
|
|
1974
|
+
global___DnsRecord = DnsRecord
|
|
1975
|
+
|
|
1976
|
+
@typing.final
|
|
1977
|
+
class LogRecord(google.protobuf.message.Message):
|
|
1978
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1979
|
+
|
|
1980
|
+
TIMESTAMP_FIELD_NUMBER: builtins.int
|
|
1981
|
+
MESSAGE_FIELD_NUMBER: builtins.int
|
|
1982
|
+
message: builtins.str
|
|
1983
|
+
"""The log message."""
|
|
1984
|
+
@property
|
|
1985
|
+
def timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
1986
|
+
"""Log timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format."""
|
|
1987
|
+
|
|
1988
|
+
def __init__(
|
|
1989
|
+
self,
|
|
1990
|
+
*,
|
|
1991
|
+
timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
1992
|
+
message: builtins.str = ...,
|
|
1993
|
+
) -> None: ...
|
|
1994
|
+
def HasField(self, field_name: typing.Literal["timestamp", b"timestamp"]) -> builtins.bool: ...
|
|
1995
|
+
def ClearField(self, field_name: typing.Literal["message", b"message", "timestamp", b"timestamp"]) -> None: ...
|
|
1996
|
+
|
|
1997
|
+
global___LogRecord = LogRecord
|
|
1998
|
+
|
|
1999
|
+
@typing.final
|
|
2000
|
+
class AutoHealingPolicy(google.protobuf.message.Message):
|
|
2001
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
2002
|
+
|
|
2003
|
+
class _AutoHealingAction:
|
|
2004
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
2005
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
2006
|
+
|
|
2007
|
+
class _AutoHealingActionEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[AutoHealingPolicy._AutoHealingAction.ValueType], builtins.type):
|
|
2008
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
2009
|
+
AUTO_HEALING_ACTION_UNSPECIFIED: AutoHealingPolicy._AutoHealingAction.ValueType # 0
|
|
2010
|
+
RESTART: AutoHealingPolicy._AutoHealingAction.ValueType # 1
|
|
2011
|
+
"""Re-starting an instance with restart: stopping and then starting the instance."""
|
|
2012
|
+
RECREATE: AutoHealingPolicy._AutoHealingAction.ValueType # 2
|
|
2013
|
+
"""Re-creating an instance: deleting an instance and creating a new one."""
|
|
2014
|
+
NONE: AutoHealingPolicy._AutoHealingAction.ValueType # 3
|
|
2015
|
+
"""No action"""
|
|
2016
|
+
|
|
2017
|
+
class AutoHealingAction(_AutoHealingAction, metaclass=_AutoHealingActionEnumTypeWrapper): ...
|
|
2018
|
+
AUTO_HEALING_ACTION_UNSPECIFIED: AutoHealingPolicy.AutoHealingAction.ValueType # 0
|
|
2019
|
+
RESTART: AutoHealingPolicy.AutoHealingAction.ValueType # 1
|
|
2020
|
+
"""Re-starting an instance with restart: stopping and then starting the instance."""
|
|
2021
|
+
RECREATE: AutoHealingPolicy.AutoHealingAction.ValueType # 2
|
|
2022
|
+
"""Re-creating an instance: deleting an instance and creating a new one."""
|
|
2023
|
+
NONE: AutoHealingPolicy.AutoHealingAction.ValueType # 3
|
|
2024
|
+
"""No action"""
|
|
2025
|
+
|
|
2026
|
+
AUTO_HEALING_ACTION_FIELD_NUMBER: builtins.int
|
|
2027
|
+
auto_healing_action: global___AutoHealingPolicy.AutoHealingAction.ValueType
|
|
2028
|
+
"""Instance Groups performs [auto_healing_action] when instance becomes unhealthy."""
|
|
2029
|
+
def __init__(
|
|
2030
|
+
self,
|
|
2031
|
+
*,
|
|
2032
|
+
auto_healing_action: global___AutoHealingPolicy.AutoHealingAction.ValueType = ...,
|
|
2033
|
+
) -> None: ...
|
|
2034
|
+
def ClearField(self, field_name: typing.Literal["auto_healing_action", b"auto_healing_action"]) -> None: ...
|
|
2035
|
+
|
|
2036
|
+
global___AutoHealingPolicy = AutoHealingPolicy
|
|
2037
|
+
|
|
2038
|
+
@typing.final
|
|
2039
|
+
class MetadataOptions(google.protobuf.message.Message):
|
|
2040
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
2041
|
+
|
|
2042
|
+
GCE_HTTP_ENDPOINT_FIELD_NUMBER: builtins.int
|
|
2043
|
+
AWS_V1_HTTP_ENDPOINT_FIELD_NUMBER: builtins.int
|
|
2044
|
+
GCE_HTTP_TOKEN_FIELD_NUMBER: builtins.int
|
|
2045
|
+
AWS_V1_HTTP_TOKEN_FIELD_NUMBER: builtins.int
|
|
2046
|
+
gce_http_endpoint: global___MetadataOption.ValueType
|
|
2047
|
+
"""Enabled access to GCE flavored metadata"""
|
|
2048
|
+
aws_v1_http_endpoint: global___MetadataOption.ValueType
|
|
2049
|
+
"""Enabled access to AWS flavored metadata (IMDSv1)"""
|
|
2050
|
+
gce_http_token: global___MetadataOption.ValueType
|
|
2051
|
+
"""Enabled access to IAM credentials with GCE flavored metadata"""
|
|
2052
|
+
aws_v1_http_token: global___MetadataOption.ValueType
|
|
2053
|
+
"""Enabled access to IAM credentials with AWS flavored metadata (IMDSv1)"""
|
|
2054
|
+
def __init__(
|
|
2055
|
+
self,
|
|
2056
|
+
*,
|
|
2057
|
+
gce_http_endpoint: global___MetadataOption.ValueType = ...,
|
|
2058
|
+
aws_v1_http_endpoint: global___MetadataOption.ValueType = ...,
|
|
2059
|
+
gce_http_token: global___MetadataOption.ValueType = ...,
|
|
2060
|
+
aws_v1_http_token: global___MetadataOption.ValueType = ...,
|
|
2061
|
+
) -> None: ...
|
|
2062
|
+
def ClearField(self, field_name: typing.Literal["aws_v1_http_endpoint", b"aws_v1_http_endpoint", "aws_v1_http_token", b"aws_v1_http_token", "gce_http_endpoint", b"gce_http_endpoint", "gce_http_token", b"gce_http_token"]) -> None: ...
|
|
2063
|
+
|
|
2064
|
+
global___MetadataOptions = MetadataOptions
|