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,1537 @@
|
|
|
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.field_mask_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 google.protobuf.wrappers_pb2
|
|
15
|
+
import google.type.timeofday_pb2
|
|
16
|
+
import sys
|
|
17
|
+
import typing
|
|
18
|
+
import yandex.cloud.mdb.mysql.v1.backup_pb2
|
|
19
|
+
import yandex.cloud.mdb.mysql.v1.cluster_pb2
|
|
20
|
+
import yandex.cloud.mdb.mysql.v1.config.mysql5_7_pb2
|
|
21
|
+
import yandex.cloud.mdb.mysql.v1.config.mysql8_0_pb2
|
|
22
|
+
import yandex.cloud.mdb.mysql.v1.database_pb2
|
|
23
|
+
import yandex.cloud.mdb.mysql.v1.maintenance_pb2
|
|
24
|
+
import yandex.cloud.mdb.mysql.v1.user_pb2
|
|
25
|
+
import yandex.cloud.operation.operation_pb2
|
|
26
|
+
|
|
27
|
+
if sys.version_info >= (3, 10):
|
|
28
|
+
import typing as typing_extensions
|
|
29
|
+
else:
|
|
30
|
+
import typing_extensions
|
|
31
|
+
|
|
32
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
33
|
+
|
|
34
|
+
@typing.final
|
|
35
|
+
class GetClusterRequest(google.protobuf.message.Message):
|
|
36
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
37
|
+
|
|
38
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
39
|
+
cluster_id: builtins.str
|
|
40
|
+
"""ID of the cluster to return information about.
|
|
41
|
+
|
|
42
|
+
To get this ID, make a [ClusterService.List] request.
|
|
43
|
+
"""
|
|
44
|
+
def __init__(
|
|
45
|
+
self,
|
|
46
|
+
*,
|
|
47
|
+
cluster_id: builtins.str = ...,
|
|
48
|
+
) -> None: ...
|
|
49
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id"]) -> None: ...
|
|
50
|
+
|
|
51
|
+
global___GetClusterRequest = GetClusterRequest
|
|
52
|
+
|
|
53
|
+
@typing.final
|
|
54
|
+
class ListClustersRequest(google.protobuf.message.Message):
|
|
55
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
56
|
+
|
|
57
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
58
|
+
PAGE_SIZE_FIELD_NUMBER: builtins.int
|
|
59
|
+
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
60
|
+
FILTER_FIELD_NUMBER: builtins.int
|
|
61
|
+
folder_id: builtins.str
|
|
62
|
+
"""ID of the folder to list clusters in.
|
|
63
|
+
|
|
64
|
+
To get this ID, make a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
|
|
65
|
+
"""
|
|
66
|
+
page_size: builtins.int
|
|
67
|
+
"""The maximum number of results per page to return.
|
|
68
|
+
|
|
69
|
+
If the number of available results is larger than [page_size], the API returns a [ListClustersResponse.next_page_token] that can be used to get the next page of results in the subsequent [ClusterService.List] requests.
|
|
70
|
+
"""
|
|
71
|
+
page_token: builtins.str
|
|
72
|
+
"""Page token that can be used to iterate through multiple pages of results.
|
|
73
|
+
|
|
74
|
+
To get the next page of results, set [page_token] to the [ListClustersResponse.next_page_token] returned by the previous [ClusterService.List] request.
|
|
75
|
+
"""
|
|
76
|
+
filter: builtins.str
|
|
77
|
+
"""A filter expression that selects clusters listed in the response.
|
|
78
|
+
|
|
79
|
+
The expression must specify:
|
|
80
|
+
1. The field name. Currently you can only use filtering with the [Cluster.name] field.
|
|
81
|
+
2. An `=` operator.
|
|
82
|
+
3. The value in double quotes (`"`). Must be 1-63 characters long and match the regular expression `[a-zA-Z0-9_-]+`.
|
|
83
|
+
"""
|
|
84
|
+
def __init__(
|
|
85
|
+
self,
|
|
86
|
+
*,
|
|
87
|
+
folder_id: builtins.str = ...,
|
|
88
|
+
page_size: builtins.int = ...,
|
|
89
|
+
page_token: builtins.str = ...,
|
|
90
|
+
filter: builtins.str = ...,
|
|
91
|
+
) -> None: ...
|
|
92
|
+
def ClearField(self, field_name: typing.Literal["filter", b"filter", "folder_id", b"folder_id", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
|
|
93
|
+
|
|
94
|
+
global___ListClustersRequest = ListClustersRequest
|
|
95
|
+
|
|
96
|
+
@typing.final
|
|
97
|
+
class ListClustersResponse(google.protobuf.message.Message):
|
|
98
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
99
|
+
|
|
100
|
+
CLUSTERS_FIELD_NUMBER: builtins.int
|
|
101
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
102
|
+
next_page_token: builtins.str
|
|
103
|
+
"""The token that can be used to get the next page of results.
|
|
104
|
+
|
|
105
|
+
If the number of results is larger than [ListClustersRequest.page_size], use the [next_page_token] as the value for the [ListClustersRequest.page_token] in the subsequent [ClusterService.List] request to iterate through multiple pages of results.
|
|
106
|
+
|
|
107
|
+
Each of the subsequent [ClusterService.List] requests should use the [next_page_token] value returned by the previous request to continue paging through the results.
|
|
108
|
+
"""
|
|
109
|
+
@property
|
|
110
|
+
def clusters(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.mdb.mysql.v1.cluster_pb2.Cluster]:
|
|
111
|
+
"""List of clusters."""
|
|
112
|
+
|
|
113
|
+
def __init__(
|
|
114
|
+
self,
|
|
115
|
+
*,
|
|
116
|
+
clusters: collections.abc.Iterable[yandex.cloud.mdb.mysql.v1.cluster_pb2.Cluster] | None = ...,
|
|
117
|
+
next_page_token: builtins.str = ...,
|
|
118
|
+
) -> None: ...
|
|
119
|
+
def ClearField(self, field_name: typing.Literal["clusters", b"clusters", "next_page_token", b"next_page_token"]) -> None: ...
|
|
120
|
+
|
|
121
|
+
global___ListClustersResponse = ListClustersResponse
|
|
122
|
+
|
|
123
|
+
@typing.final
|
|
124
|
+
class CreateClusterRequest(google.protobuf.message.Message):
|
|
125
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
126
|
+
|
|
127
|
+
@typing.final
|
|
128
|
+
class LabelsEntry(google.protobuf.message.Message):
|
|
129
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
130
|
+
|
|
131
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
132
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
133
|
+
key: builtins.str
|
|
134
|
+
value: builtins.str
|
|
135
|
+
def __init__(
|
|
136
|
+
self,
|
|
137
|
+
*,
|
|
138
|
+
key: builtins.str = ...,
|
|
139
|
+
value: builtins.str = ...,
|
|
140
|
+
) -> None: ...
|
|
141
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
142
|
+
|
|
143
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
144
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
145
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
146
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
147
|
+
ENVIRONMENT_FIELD_NUMBER: builtins.int
|
|
148
|
+
CONFIG_SPEC_FIELD_NUMBER: builtins.int
|
|
149
|
+
DATABASE_SPECS_FIELD_NUMBER: builtins.int
|
|
150
|
+
USER_SPECS_FIELD_NUMBER: builtins.int
|
|
151
|
+
HOST_SPECS_FIELD_NUMBER: builtins.int
|
|
152
|
+
NETWORK_ID_FIELD_NUMBER: builtins.int
|
|
153
|
+
SECURITY_GROUP_IDS_FIELD_NUMBER: builtins.int
|
|
154
|
+
DELETION_PROTECTION_FIELD_NUMBER: builtins.int
|
|
155
|
+
HOST_GROUP_IDS_FIELD_NUMBER: builtins.int
|
|
156
|
+
folder_id: builtins.str
|
|
157
|
+
"""ID of the folder to create the cluster in.
|
|
158
|
+
|
|
159
|
+
To get this ID, make a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
|
|
160
|
+
"""
|
|
161
|
+
name: builtins.str
|
|
162
|
+
"""Name of the cluster. The name must be unique within the folder."""
|
|
163
|
+
description: builtins.str
|
|
164
|
+
"""Description of the cluster."""
|
|
165
|
+
environment: yandex.cloud.mdb.mysql.v1.cluster_pb2.Cluster.Environment.ValueType
|
|
166
|
+
"""Deployment environment of the MySQL cluster."""
|
|
167
|
+
network_id: builtins.str
|
|
168
|
+
"""ID of the network to create the cluster in."""
|
|
169
|
+
deletion_protection: builtins.bool
|
|
170
|
+
"""This option prevents unintended deletion of the cluster."""
|
|
171
|
+
@property
|
|
172
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
173
|
+
"""Custom labels for the cluster as `key:value` pairs."""
|
|
174
|
+
|
|
175
|
+
@property
|
|
176
|
+
def config_spec(self) -> global___ConfigSpec:
|
|
177
|
+
"""Configuration of the cluster."""
|
|
178
|
+
|
|
179
|
+
@property
|
|
180
|
+
def database_specs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.mdb.mysql.v1.database_pb2.DatabaseSpec]:
|
|
181
|
+
"""Configuration of databases in the cluster."""
|
|
182
|
+
|
|
183
|
+
@property
|
|
184
|
+
def user_specs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.mdb.mysql.v1.user_pb2.UserSpec]:
|
|
185
|
+
"""Configuration of database users in the cluster."""
|
|
186
|
+
|
|
187
|
+
@property
|
|
188
|
+
def host_specs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___HostSpec]:
|
|
189
|
+
"""Configuration of hosts in the cluster."""
|
|
190
|
+
|
|
191
|
+
@property
|
|
192
|
+
def security_group_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
193
|
+
"""List of security group IDs to apply to the cluster."""
|
|
194
|
+
|
|
195
|
+
@property
|
|
196
|
+
def host_group_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
197
|
+
"""Host groups hosting VMs of the cluster."""
|
|
198
|
+
|
|
199
|
+
def __init__(
|
|
200
|
+
self,
|
|
201
|
+
*,
|
|
202
|
+
folder_id: builtins.str = ...,
|
|
203
|
+
name: builtins.str = ...,
|
|
204
|
+
description: builtins.str = ...,
|
|
205
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
206
|
+
environment: yandex.cloud.mdb.mysql.v1.cluster_pb2.Cluster.Environment.ValueType = ...,
|
|
207
|
+
config_spec: global___ConfigSpec | None = ...,
|
|
208
|
+
database_specs: collections.abc.Iterable[yandex.cloud.mdb.mysql.v1.database_pb2.DatabaseSpec] | None = ...,
|
|
209
|
+
user_specs: collections.abc.Iterable[yandex.cloud.mdb.mysql.v1.user_pb2.UserSpec] | None = ...,
|
|
210
|
+
host_specs: collections.abc.Iterable[global___HostSpec] | None = ...,
|
|
211
|
+
network_id: builtins.str = ...,
|
|
212
|
+
security_group_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
213
|
+
deletion_protection: builtins.bool = ...,
|
|
214
|
+
host_group_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
215
|
+
) -> None: ...
|
|
216
|
+
def HasField(self, field_name: typing.Literal["config_spec", b"config_spec"]) -> builtins.bool: ...
|
|
217
|
+
def ClearField(self, field_name: typing.Literal["config_spec", b"config_spec", "database_specs", b"database_specs", "deletion_protection", b"deletion_protection", "description", b"description", "environment", b"environment", "folder_id", b"folder_id", "host_group_ids", b"host_group_ids", "host_specs", b"host_specs", "labels", b"labels", "name", b"name", "network_id", b"network_id", "security_group_ids", b"security_group_ids", "user_specs", b"user_specs"]) -> None: ...
|
|
218
|
+
|
|
219
|
+
global___CreateClusterRequest = CreateClusterRequest
|
|
220
|
+
|
|
221
|
+
@typing.final
|
|
222
|
+
class CreateClusterMetadata(google.protobuf.message.Message):
|
|
223
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
224
|
+
|
|
225
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
226
|
+
cluster_id: builtins.str
|
|
227
|
+
"""ID of the cluster that is being created."""
|
|
228
|
+
def __init__(
|
|
229
|
+
self,
|
|
230
|
+
*,
|
|
231
|
+
cluster_id: builtins.str = ...,
|
|
232
|
+
) -> None: ...
|
|
233
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id"]) -> None: ...
|
|
234
|
+
|
|
235
|
+
global___CreateClusterMetadata = CreateClusterMetadata
|
|
236
|
+
|
|
237
|
+
@typing.final
|
|
238
|
+
class UpdateClusterRequest(google.protobuf.message.Message):
|
|
239
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
240
|
+
|
|
241
|
+
@typing.final
|
|
242
|
+
class LabelsEntry(google.protobuf.message.Message):
|
|
243
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
244
|
+
|
|
245
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
246
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
247
|
+
key: builtins.str
|
|
248
|
+
value: builtins.str
|
|
249
|
+
def __init__(
|
|
250
|
+
self,
|
|
251
|
+
*,
|
|
252
|
+
key: builtins.str = ...,
|
|
253
|
+
value: builtins.str = ...,
|
|
254
|
+
) -> None: ...
|
|
255
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
256
|
+
|
|
257
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
258
|
+
UPDATE_MASK_FIELD_NUMBER: builtins.int
|
|
259
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
260
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
261
|
+
CONFIG_SPEC_FIELD_NUMBER: builtins.int
|
|
262
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
263
|
+
MAINTENANCE_WINDOW_FIELD_NUMBER: builtins.int
|
|
264
|
+
SECURITY_GROUP_IDS_FIELD_NUMBER: builtins.int
|
|
265
|
+
DELETION_PROTECTION_FIELD_NUMBER: builtins.int
|
|
266
|
+
cluster_id: builtins.str
|
|
267
|
+
"""ID of the cluster to update.
|
|
268
|
+
|
|
269
|
+
To get this ID, make a [ClusterService.List] request.
|
|
270
|
+
"""
|
|
271
|
+
description: builtins.str
|
|
272
|
+
"""New description of the cluster."""
|
|
273
|
+
name: builtins.str
|
|
274
|
+
"""New name of the cluster."""
|
|
275
|
+
deletion_protection: builtins.bool
|
|
276
|
+
"""This option prevents unintended deletion of the cluster."""
|
|
277
|
+
@property
|
|
278
|
+
def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
|
|
279
|
+
"""Field mask that specifies which settings of the cluster should be updated."""
|
|
280
|
+
|
|
281
|
+
@property
|
|
282
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
283
|
+
"""New set of custom labels for the cluster as `key:value` pairs.
|
|
284
|
+
|
|
285
|
+
This set will completely replace the current one.
|
|
286
|
+
To add a label, request the current label set with the [ClusterService.Get] request, then send an [ClusterService.Update] request with the new label added to the current set.
|
|
287
|
+
"""
|
|
288
|
+
|
|
289
|
+
@property
|
|
290
|
+
def config_spec(self) -> global___ConfigSpec:
|
|
291
|
+
"""New configuration of the cluster."""
|
|
292
|
+
|
|
293
|
+
@property
|
|
294
|
+
def maintenance_window(self) -> yandex.cloud.mdb.mysql.v1.maintenance_pb2.MaintenanceWindow:
|
|
295
|
+
"""Configuration of a maintenance window in an MySQL cluster."""
|
|
296
|
+
|
|
297
|
+
@property
|
|
298
|
+
def security_group_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
299
|
+
"""New list of security group IDs to apply to the cluster."""
|
|
300
|
+
|
|
301
|
+
def __init__(
|
|
302
|
+
self,
|
|
303
|
+
*,
|
|
304
|
+
cluster_id: builtins.str = ...,
|
|
305
|
+
update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ...,
|
|
306
|
+
description: builtins.str = ...,
|
|
307
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
308
|
+
config_spec: global___ConfigSpec | None = ...,
|
|
309
|
+
name: builtins.str = ...,
|
|
310
|
+
maintenance_window: yandex.cloud.mdb.mysql.v1.maintenance_pb2.MaintenanceWindow | None = ...,
|
|
311
|
+
security_group_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
312
|
+
deletion_protection: builtins.bool = ...,
|
|
313
|
+
) -> None: ...
|
|
314
|
+
def HasField(self, field_name: typing.Literal["config_spec", b"config_spec", "maintenance_window", b"maintenance_window", "update_mask", b"update_mask"]) -> builtins.bool: ...
|
|
315
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "config_spec", b"config_spec", "deletion_protection", b"deletion_protection", "description", b"description", "labels", b"labels", "maintenance_window", b"maintenance_window", "name", b"name", "security_group_ids", b"security_group_ids", "update_mask", b"update_mask"]) -> None: ...
|
|
316
|
+
|
|
317
|
+
global___UpdateClusterRequest = UpdateClusterRequest
|
|
318
|
+
|
|
319
|
+
@typing.final
|
|
320
|
+
class UpdateClusterMetadata(google.protobuf.message.Message):
|
|
321
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
322
|
+
|
|
323
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
324
|
+
cluster_id: builtins.str
|
|
325
|
+
"""ID of the cluster that is being updated."""
|
|
326
|
+
def __init__(
|
|
327
|
+
self,
|
|
328
|
+
*,
|
|
329
|
+
cluster_id: builtins.str = ...,
|
|
330
|
+
) -> None: ...
|
|
331
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id"]) -> None: ...
|
|
332
|
+
|
|
333
|
+
global___UpdateClusterMetadata = UpdateClusterMetadata
|
|
334
|
+
|
|
335
|
+
@typing.final
|
|
336
|
+
class DeleteClusterRequest(google.protobuf.message.Message):
|
|
337
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
338
|
+
|
|
339
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
340
|
+
cluster_id: builtins.str
|
|
341
|
+
"""ID of the cluster to delete.
|
|
342
|
+
|
|
343
|
+
To get this ID, make a [ClusterService.List] request.
|
|
344
|
+
"""
|
|
345
|
+
def __init__(
|
|
346
|
+
self,
|
|
347
|
+
*,
|
|
348
|
+
cluster_id: builtins.str = ...,
|
|
349
|
+
) -> None: ...
|
|
350
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id"]) -> None: ...
|
|
351
|
+
|
|
352
|
+
global___DeleteClusterRequest = DeleteClusterRequest
|
|
353
|
+
|
|
354
|
+
@typing.final
|
|
355
|
+
class DeleteClusterMetadata(google.protobuf.message.Message):
|
|
356
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
357
|
+
|
|
358
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
359
|
+
cluster_id: builtins.str
|
|
360
|
+
"""ID of the cluster that is being deleted."""
|
|
361
|
+
def __init__(
|
|
362
|
+
self,
|
|
363
|
+
*,
|
|
364
|
+
cluster_id: builtins.str = ...,
|
|
365
|
+
) -> None: ...
|
|
366
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id"]) -> None: ...
|
|
367
|
+
|
|
368
|
+
global___DeleteClusterMetadata = DeleteClusterMetadata
|
|
369
|
+
|
|
370
|
+
@typing.final
|
|
371
|
+
class BackupClusterRequest(google.protobuf.message.Message):
|
|
372
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
373
|
+
|
|
374
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
375
|
+
cluster_id: builtins.str
|
|
376
|
+
"""ID of the cluster to back up.
|
|
377
|
+
|
|
378
|
+
To get this ID, make a [ClusterService.List] request.
|
|
379
|
+
"""
|
|
380
|
+
def __init__(
|
|
381
|
+
self,
|
|
382
|
+
*,
|
|
383
|
+
cluster_id: builtins.str = ...,
|
|
384
|
+
) -> None: ...
|
|
385
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id"]) -> None: ...
|
|
386
|
+
|
|
387
|
+
global___BackupClusterRequest = BackupClusterRequest
|
|
388
|
+
|
|
389
|
+
@typing.final
|
|
390
|
+
class BackupClusterMetadata(google.protobuf.message.Message):
|
|
391
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
392
|
+
|
|
393
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
394
|
+
BACKUP_ID_FIELD_NUMBER: builtins.int
|
|
395
|
+
cluster_id: builtins.str
|
|
396
|
+
"""ID of the cluster that is being backed up."""
|
|
397
|
+
backup_id: builtins.str
|
|
398
|
+
"""ID of the MySQL backup that is created."""
|
|
399
|
+
def __init__(
|
|
400
|
+
self,
|
|
401
|
+
*,
|
|
402
|
+
cluster_id: builtins.str = ...,
|
|
403
|
+
backup_id: builtins.str = ...,
|
|
404
|
+
) -> None: ...
|
|
405
|
+
def ClearField(self, field_name: typing.Literal["backup_id", b"backup_id", "cluster_id", b"cluster_id"]) -> None: ...
|
|
406
|
+
|
|
407
|
+
global___BackupClusterMetadata = BackupClusterMetadata
|
|
408
|
+
|
|
409
|
+
@typing.final
|
|
410
|
+
class RestoreClusterRequest(google.protobuf.message.Message):
|
|
411
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
412
|
+
|
|
413
|
+
@typing.final
|
|
414
|
+
class LabelsEntry(google.protobuf.message.Message):
|
|
415
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
416
|
+
|
|
417
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
418
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
419
|
+
key: builtins.str
|
|
420
|
+
value: builtins.str
|
|
421
|
+
def __init__(
|
|
422
|
+
self,
|
|
423
|
+
*,
|
|
424
|
+
key: builtins.str = ...,
|
|
425
|
+
value: builtins.str = ...,
|
|
426
|
+
) -> None: ...
|
|
427
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
428
|
+
|
|
429
|
+
BACKUP_ID_FIELD_NUMBER: builtins.int
|
|
430
|
+
TIME_FIELD_NUMBER: builtins.int
|
|
431
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
432
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
433
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
434
|
+
ENVIRONMENT_FIELD_NUMBER: builtins.int
|
|
435
|
+
CONFIG_SPEC_FIELD_NUMBER: builtins.int
|
|
436
|
+
HOST_SPECS_FIELD_NUMBER: builtins.int
|
|
437
|
+
NETWORK_ID_FIELD_NUMBER: builtins.int
|
|
438
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
439
|
+
SECURITY_GROUP_IDS_FIELD_NUMBER: builtins.int
|
|
440
|
+
DELETION_PROTECTION_FIELD_NUMBER: builtins.int
|
|
441
|
+
HOST_GROUP_IDS_FIELD_NUMBER: builtins.int
|
|
442
|
+
backup_id: builtins.str
|
|
443
|
+
"""ID of the backup to restore from.
|
|
444
|
+
|
|
445
|
+
To get this ID, make a [BackupService.List] request (lists all backups in a folder) or a [ClusterService.ListBackups] request (lists all backups for an existing cluster).
|
|
446
|
+
"""
|
|
447
|
+
name: builtins.str
|
|
448
|
+
"""Name of the new MySQL cluster the backup will be restored to. The name must be unique within the folder."""
|
|
449
|
+
description: builtins.str
|
|
450
|
+
"""Description of the new cluster."""
|
|
451
|
+
environment: yandex.cloud.mdb.mysql.v1.cluster_pb2.Cluster.Environment.ValueType
|
|
452
|
+
"""Deployment environment of the new cluster."""
|
|
453
|
+
network_id: builtins.str
|
|
454
|
+
"""ID of the network to create the new cluster in."""
|
|
455
|
+
folder_id: builtins.str
|
|
456
|
+
"""ID of the folder to create the new cluster in."""
|
|
457
|
+
deletion_protection: builtins.bool
|
|
458
|
+
"""Deletion Protection inhibits deletion of the cluster"""
|
|
459
|
+
@property
|
|
460
|
+
def time(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
461
|
+
"""Timestamp of the moment to which the MySQL cluster should be restored."""
|
|
462
|
+
|
|
463
|
+
@property
|
|
464
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
465
|
+
"""Custom labels for the new cluster as `key:value` pairs."""
|
|
466
|
+
|
|
467
|
+
@property
|
|
468
|
+
def config_spec(self) -> global___ConfigSpec:
|
|
469
|
+
"""Configuration of the new cluster."""
|
|
470
|
+
|
|
471
|
+
@property
|
|
472
|
+
def host_specs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___HostSpec]:
|
|
473
|
+
"""Configuration of hosts in the new cluster."""
|
|
474
|
+
|
|
475
|
+
@property
|
|
476
|
+
def security_group_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
477
|
+
"""List of security group IDs to apply to the new cluster."""
|
|
478
|
+
|
|
479
|
+
@property
|
|
480
|
+
def host_group_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
481
|
+
"""Host groups hosting VMs of the cluster."""
|
|
482
|
+
|
|
483
|
+
def __init__(
|
|
484
|
+
self,
|
|
485
|
+
*,
|
|
486
|
+
backup_id: builtins.str = ...,
|
|
487
|
+
time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
488
|
+
name: builtins.str = ...,
|
|
489
|
+
description: builtins.str = ...,
|
|
490
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
491
|
+
environment: yandex.cloud.mdb.mysql.v1.cluster_pb2.Cluster.Environment.ValueType = ...,
|
|
492
|
+
config_spec: global___ConfigSpec | None = ...,
|
|
493
|
+
host_specs: collections.abc.Iterable[global___HostSpec] | None = ...,
|
|
494
|
+
network_id: builtins.str = ...,
|
|
495
|
+
folder_id: builtins.str = ...,
|
|
496
|
+
security_group_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
497
|
+
deletion_protection: builtins.bool = ...,
|
|
498
|
+
host_group_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
499
|
+
) -> None: ...
|
|
500
|
+
def HasField(self, field_name: typing.Literal["config_spec", b"config_spec", "time", b"time"]) -> builtins.bool: ...
|
|
501
|
+
def ClearField(self, field_name: typing.Literal["backup_id", b"backup_id", "config_spec", b"config_spec", "deletion_protection", b"deletion_protection", "description", b"description", "environment", b"environment", "folder_id", b"folder_id", "host_group_ids", b"host_group_ids", "host_specs", b"host_specs", "labels", b"labels", "name", b"name", "network_id", b"network_id", "security_group_ids", b"security_group_ids", "time", b"time"]) -> None: ...
|
|
502
|
+
|
|
503
|
+
global___RestoreClusterRequest = RestoreClusterRequest
|
|
504
|
+
|
|
505
|
+
@typing.final
|
|
506
|
+
class RestoreClusterMetadata(google.protobuf.message.Message):
|
|
507
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
508
|
+
|
|
509
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
510
|
+
BACKUP_ID_FIELD_NUMBER: builtins.int
|
|
511
|
+
cluster_id: builtins.str
|
|
512
|
+
"""ID of the new cluster that is being created from a backup."""
|
|
513
|
+
backup_id: builtins.str
|
|
514
|
+
"""ID of the backup that is being used for creating a cluster."""
|
|
515
|
+
def __init__(
|
|
516
|
+
self,
|
|
517
|
+
*,
|
|
518
|
+
cluster_id: builtins.str = ...,
|
|
519
|
+
backup_id: builtins.str = ...,
|
|
520
|
+
) -> None: ...
|
|
521
|
+
def ClearField(self, field_name: typing.Literal["backup_id", b"backup_id", "cluster_id", b"cluster_id"]) -> None: ...
|
|
522
|
+
|
|
523
|
+
global___RestoreClusterMetadata = RestoreClusterMetadata
|
|
524
|
+
|
|
525
|
+
@typing.final
|
|
526
|
+
class StartClusterFailoverRequest(google.protobuf.message.Message):
|
|
527
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
528
|
+
|
|
529
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
530
|
+
HOST_NAME_FIELD_NUMBER: builtins.int
|
|
531
|
+
cluster_id: builtins.str
|
|
532
|
+
"""ID of the cluster to start failover for.
|
|
533
|
+
|
|
534
|
+
To get this ID, make a [ClusterService.List] request.
|
|
535
|
+
"""
|
|
536
|
+
host_name: builtins.str
|
|
537
|
+
"""Host name to switch master role to.
|
|
538
|
+
If not provided, then the master role is switched to the most up-to-date replica host.
|
|
539
|
+
|
|
540
|
+
To get this name, make a [ClusterService.ListHosts] request.
|
|
541
|
+
"""
|
|
542
|
+
def __init__(
|
|
543
|
+
self,
|
|
544
|
+
*,
|
|
545
|
+
cluster_id: builtins.str = ...,
|
|
546
|
+
host_name: builtins.str = ...,
|
|
547
|
+
) -> None: ...
|
|
548
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "host_name", b"host_name"]) -> None: ...
|
|
549
|
+
|
|
550
|
+
global___StartClusterFailoverRequest = StartClusterFailoverRequest
|
|
551
|
+
|
|
552
|
+
@typing.final
|
|
553
|
+
class StartClusterFailoverMetadata(google.protobuf.message.Message):
|
|
554
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
555
|
+
|
|
556
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
557
|
+
cluster_id: builtins.str
|
|
558
|
+
"""ID of the cluster that is being failovered."""
|
|
559
|
+
def __init__(
|
|
560
|
+
self,
|
|
561
|
+
*,
|
|
562
|
+
cluster_id: builtins.str = ...,
|
|
563
|
+
) -> None: ...
|
|
564
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id"]) -> None: ...
|
|
565
|
+
|
|
566
|
+
global___StartClusterFailoverMetadata = StartClusterFailoverMetadata
|
|
567
|
+
|
|
568
|
+
@typing.final
|
|
569
|
+
class RescheduleMaintenanceRequest(google.protobuf.message.Message):
|
|
570
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
571
|
+
|
|
572
|
+
class _RescheduleType:
|
|
573
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
574
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
575
|
+
|
|
576
|
+
class _RescheduleTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[RescheduleMaintenanceRequest._RescheduleType.ValueType], builtins.type):
|
|
577
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
578
|
+
RESCHEDULE_TYPE_UNSPECIFIED: RescheduleMaintenanceRequest._RescheduleType.ValueType # 0
|
|
579
|
+
IMMEDIATE: RescheduleMaintenanceRequest._RescheduleType.ValueType # 1
|
|
580
|
+
"""Start the maintenance operation immediately."""
|
|
581
|
+
NEXT_AVAILABLE_WINDOW: RescheduleMaintenanceRequest._RescheduleType.ValueType # 2
|
|
582
|
+
"""Start the maintenance operation within the next available maintenance window."""
|
|
583
|
+
SPECIFIC_TIME: RescheduleMaintenanceRequest._RescheduleType.ValueType # 3
|
|
584
|
+
"""Start the maintenance operation at the specific time."""
|
|
585
|
+
|
|
586
|
+
class RescheduleType(_RescheduleType, metaclass=_RescheduleTypeEnumTypeWrapper): ...
|
|
587
|
+
RESCHEDULE_TYPE_UNSPECIFIED: RescheduleMaintenanceRequest.RescheduleType.ValueType # 0
|
|
588
|
+
IMMEDIATE: RescheduleMaintenanceRequest.RescheduleType.ValueType # 1
|
|
589
|
+
"""Start the maintenance operation immediately."""
|
|
590
|
+
NEXT_AVAILABLE_WINDOW: RescheduleMaintenanceRequest.RescheduleType.ValueType # 2
|
|
591
|
+
"""Start the maintenance operation within the next available maintenance window."""
|
|
592
|
+
SPECIFIC_TIME: RescheduleMaintenanceRequest.RescheduleType.ValueType # 3
|
|
593
|
+
"""Start the maintenance operation at the specific time."""
|
|
594
|
+
|
|
595
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
596
|
+
RESCHEDULE_TYPE_FIELD_NUMBER: builtins.int
|
|
597
|
+
DELAYED_UNTIL_FIELD_NUMBER: builtins.int
|
|
598
|
+
cluster_id: builtins.str
|
|
599
|
+
"""ID of the cluster to reschedule the maintenance operation for.
|
|
600
|
+
|
|
601
|
+
To get this ID, make a [ClusterService.List] request.
|
|
602
|
+
"""
|
|
603
|
+
reschedule_type: global___RescheduleMaintenanceRequest.RescheduleType.ValueType
|
|
604
|
+
"""The type of reschedule request."""
|
|
605
|
+
@property
|
|
606
|
+
def delayed_until(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
607
|
+
"""The time until which this maintenance operation should be delayed.
|
|
608
|
+
The value should be ahead of the first time when the maintenance operation has been scheduled for no more than two weeks.
|
|
609
|
+
The value can also point to the past moment of time if `IMMEDIATE` reschedule type is chosen.
|
|
610
|
+
"""
|
|
611
|
+
|
|
612
|
+
def __init__(
|
|
613
|
+
self,
|
|
614
|
+
*,
|
|
615
|
+
cluster_id: builtins.str = ...,
|
|
616
|
+
reschedule_type: global___RescheduleMaintenanceRequest.RescheduleType.ValueType = ...,
|
|
617
|
+
delayed_until: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
618
|
+
) -> None: ...
|
|
619
|
+
def HasField(self, field_name: typing.Literal["delayed_until", b"delayed_until"]) -> builtins.bool: ...
|
|
620
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "delayed_until", b"delayed_until", "reschedule_type", b"reschedule_type"]) -> None: ...
|
|
621
|
+
|
|
622
|
+
global___RescheduleMaintenanceRequest = RescheduleMaintenanceRequest
|
|
623
|
+
|
|
624
|
+
@typing.final
|
|
625
|
+
class RescheduleMaintenanceMetadata(google.protobuf.message.Message):
|
|
626
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
627
|
+
|
|
628
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
629
|
+
DELAYED_UNTIL_FIELD_NUMBER: builtins.int
|
|
630
|
+
cluster_id: builtins.str
|
|
631
|
+
"""ID of the cluster the maintenance operation is being rescheduled for."""
|
|
632
|
+
@property
|
|
633
|
+
def delayed_until(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
634
|
+
"""The time until which this maintenance operation is to be delayed."""
|
|
635
|
+
|
|
636
|
+
def __init__(
|
|
637
|
+
self,
|
|
638
|
+
*,
|
|
639
|
+
cluster_id: builtins.str = ...,
|
|
640
|
+
delayed_until: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
641
|
+
) -> None: ...
|
|
642
|
+
def HasField(self, field_name: typing.Literal["delayed_until", b"delayed_until"]) -> builtins.bool: ...
|
|
643
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "delayed_until", b"delayed_until"]) -> None: ...
|
|
644
|
+
|
|
645
|
+
global___RescheduleMaintenanceMetadata = RescheduleMaintenanceMetadata
|
|
646
|
+
|
|
647
|
+
@typing.final
|
|
648
|
+
class LogRecord(google.protobuf.message.Message):
|
|
649
|
+
"""A single log record."""
|
|
650
|
+
|
|
651
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
652
|
+
|
|
653
|
+
@typing.final
|
|
654
|
+
class MessageEntry(google.protobuf.message.Message):
|
|
655
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
656
|
+
|
|
657
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
658
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
659
|
+
key: builtins.str
|
|
660
|
+
value: builtins.str
|
|
661
|
+
def __init__(
|
|
662
|
+
self,
|
|
663
|
+
*,
|
|
664
|
+
key: builtins.str = ...,
|
|
665
|
+
value: builtins.str = ...,
|
|
666
|
+
) -> None: ...
|
|
667
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
668
|
+
|
|
669
|
+
TIMESTAMP_FIELD_NUMBER: builtins.int
|
|
670
|
+
MESSAGE_FIELD_NUMBER: builtins.int
|
|
671
|
+
@property
|
|
672
|
+
def timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
673
|
+
"""Timestamp of the log record."""
|
|
674
|
+
|
|
675
|
+
@property
|
|
676
|
+
def message(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
677
|
+
"""Contents of the log record."""
|
|
678
|
+
|
|
679
|
+
def __init__(
|
|
680
|
+
self,
|
|
681
|
+
*,
|
|
682
|
+
timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
683
|
+
message: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
684
|
+
) -> None: ...
|
|
685
|
+
def HasField(self, field_name: typing.Literal["timestamp", b"timestamp"]) -> builtins.bool: ...
|
|
686
|
+
def ClearField(self, field_name: typing.Literal["message", b"message", "timestamp", b"timestamp"]) -> None: ...
|
|
687
|
+
|
|
688
|
+
global___LogRecord = LogRecord
|
|
689
|
+
|
|
690
|
+
@typing.final
|
|
691
|
+
class ListClusterLogsRequest(google.protobuf.message.Message):
|
|
692
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
693
|
+
|
|
694
|
+
class _ServiceType:
|
|
695
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
696
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
697
|
+
|
|
698
|
+
class _ServiceTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ListClusterLogsRequest._ServiceType.ValueType], builtins.type):
|
|
699
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
700
|
+
SERVICE_TYPE_UNSPECIFIED: ListClusterLogsRequest._ServiceType.ValueType # 0
|
|
701
|
+
MYSQL_ERROR: ListClusterLogsRequest._ServiceType.ValueType # 1
|
|
702
|
+
"""MySQL error log."""
|
|
703
|
+
MYSQL_GENERAL: ListClusterLogsRequest._ServiceType.ValueType # 2
|
|
704
|
+
"""MySQL general query log."""
|
|
705
|
+
MYSQL_SLOW_QUERY: ListClusterLogsRequest._ServiceType.ValueType # 3
|
|
706
|
+
"""MySQL slow query log."""
|
|
707
|
+
MYSQL_AUDIT: ListClusterLogsRequest._ServiceType.ValueType # 4
|
|
708
|
+
"""MySQL audit log."""
|
|
709
|
+
|
|
710
|
+
class ServiceType(_ServiceType, metaclass=_ServiceTypeEnumTypeWrapper): ...
|
|
711
|
+
SERVICE_TYPE_UNSPECIFIED: ListClusterLogsRequest.ServiceType.ValueType # 0
|
|
712
|
+
MYSQL_ERROR: ListClusterLogsRequest.ServiceType.ValueType # 1
|
|
713
|
+
"""MySQL error log."""
|
|
714
|
+
MYSQL_GENERAL: ListClusterLogsRequest.ServiceType.ValueType # 2
|
|
715
|
+
"""MySQL general query log."""
|
|
716
|
+
MYSQL_SLOW_QUERY: ListClusterLogsRequest.ServiceType.ValueType # 3
|
|
717
|
+
"""MySQL slow query log."""
|
|
718
|
+
MYSQL_AUDIT: ListClusterLogsRequest.ServiceType.ValueType # 4
|
|
719
|
+
"""MySQL audit log."""
|
|
720
|
+
|
|
721
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
722
|
+
COLUMN_FILTER_FIELD_NUMBER: builtins.int
|
|
723
|
+
SERVICE_TYPE_FIELD_NUMBER: builtins.int
|
|
724
|
+
FROM_TIME_FIELD_NUMBER: builtins.int
|
|
725
|
+
TO_TIME_FIELD_NUMBER: builtins.int
|
|
726
|
+
PAGE_SIZE_FIELD_NUMBER: builtins.int
|
|
727
|
+
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
728
|
+
ALWAYS_NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
729
|
+
cluster_id: builtins.str
|
|
730
|
+
"""ID of the cluster to request logs for.
|
|
731
|
+
|
|
732
|
+
To get this ID, make a [ClusterService.List] request.
|
|
733
|
+
"""
|
|
734
|
+
service_type: global___ListClusterLogsRequest.ServiceType.ValueType
|
|
735
|
+
"""The log type."""
|
|
736
|
+
page_size: builtins.int
|
|
737
|
+
"""The maximum number of results per page to return.
|
|
738
|
+
|
|
739
|
+
If the number of available results is larger than [page_size], the API returns a [ListClusterLogsResponse.next_page_token] that can be used to get the next page of results in the subsequent [ClusterService.ListLogs] requests.
|
|
740
|
+
"""
|
|
741
|
+
page_token: builtins.str
|
|
742
|
+
"""Page token that can be used to iterate through multiple pages of results.
|
|
743
|
+
|
|
744
|
+
To get the next page of results, set [page_token] to the [ListClusterLogsResponse.next_page_token] returned by the previous [ClusterService.ListLogs] request.
|
|
745
|
+
"""
|
|
746
|
+
always_next_page_token: builtins.bool
|
|
747
|
+
"""Option that controls the behavior of result pagination.
|
|
748
|
+
If it is set to `true`, then [ListClusterLogsResponse.next_page_token] will always be returned, even if the current page is empty.
|
|
749
|
+
"""
|
|
750
|
+
@property
|
|
751
|
+
def column_filter(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
752
|
+
"""Columns from the logs table to request.
|
|
753
|
+
If no columns are specified, complete log records are returned.
|
|
754
|
+
"""
|
|
755
|
+
|
|
756
|
+
@property
|
|
757
|
+
def from_time(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
758
|
+
"""Start timestamp for the logs request.
|
|
759
|
+
The logs in the response will be within [from_time] to [to_time] range.
|
|
760
|
+
"""
|
|
761
|
+
|
|
762
|
+
@property
|
|
763
|
+
def to_time(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
764
|
+
"""End timestamp for the logs request.
|
|
765
|
+
The logs in the response will be within [from_time] to [to_time] range.
|
|
766
|
+
"""
|
|
767
|
+
|
|
768
|
+
def __init__(
|
|
769
|
+
self,
|
|
770
|
+
*,
|
|
771
|
+
cluster_id: builtins.str = ...,
|
|
772
|
+
column_filter: collections.abc.Iterable[builtins.str] | None = ...,
|
|
773
|
+
service_type: global___ListClusterLogsRequest.ServiceType.ValueType = ...,
|
|
774
|
+
from_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
775
|
+
to_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
776
|
+
page_size: builtins.int = ...,
|
|
777
|
+
page_token: builtins.str = ...,
|
|
778
|
+
always_next_page_token: builtins.bool = ...,
|
|
779
|
+
) -> None: ...
|
|
780
|
+
def HasField(self, field_name: typing.Literal["from_time", b"from_time", "to_time", b"to_time"]) -> builtins.bool: ...
|
|
781
|
+
def ClearField(self, field_name: typing.Literal["always_next_page_token", b"always_next_page_token", "cluster_id", b"cluster_id", "column_filter", b"column_filter", "from_time", b"from_time", "page_size", b"page_size", "page_token", b"page_token", "service_type", b"service_type", "to_time", b"to_time"]) -> None: ...
|
|
782
|
+
|
|
783
|
+
global___ListClusterLogsRequest = ListClusterLogsRequest
|
|
784
|
+
|
|
785
|
+
@typing.final
|
|
786
|
+
class ListClusterLogsResponse(google.protobuf.message.Message):
|
|
787
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
788
|
+
|
|
789
|
+
LOGS_FIELD_NUMBER: builtins.int
|
|
790
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
791
|
+
next_page_token: builtins.str
|
|
792
|
+
"""The token that can be used to get the next page of results.
|
|
793
|
+
|
|
794
|
+
If the number of results is larger than [ListClusterLogsRequest.page_size], use the [next_page_token] as the value for the [ListClusterLogsRequest.page_token] in the subsequent [ClusterService.ListLogs] request to iterate through multiple pages of results.
|
|
795
|
+
|
|
796
|
+
Each of the subsequent [ClusterService.ListLogs] requests should use the [next_page_token] value returned by the previous request to continue paging through the results.
|
|
797
|
+
|
|
798
|
+
This value is interchangeable with [StreamLogRecord.next_record_token] from [ClusterService.StreamLogs] method.
|
|
799
|
+
"""
|
|
800
|
+
@property
|
|
801
|
+
def logs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___LogRecord]:
|
|
802
|
+
"""Requested log records."""
|
|
803
|
+
|
|
804
|
+
def __init__(
|
|
805
|
+
self,
|
|
806
|
+
*,
|
|
807
|
+
logs: collections.abc.Iterable[global___LogRecord] | None = ...,
|
|
808
|
+
next_page_token: builtins.str = ...,
|
|
809
|
+
) -> None: ...
|
|
810
|
+
def ClearField(self, field_name: typing.Literal["logs", b"logs", "next_page_token", b"next_page_token"]) -> None: ...
|
|
811
|
+
|
|
812
|
+
global___ListClusterLogsResponse = ListClusterLogsResponse
|
|
813
|
+
|
|
814
|
+
@typing.final
|
|
815
|
+
class StreamLogRecord(google.protobuf.message.Message):
|
|
816
|
+
"""A single log record in the logs stream."""
|
|
817
|
+
|
|
818
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
819
|
+
|
|
820
|
+
RECORD_FIELD_NUMBER: builtins.int
|
|
821
|
+
NEXT_RECORD_TOKEN_FIELD_NUMBER: builtins.int
|
|
822
|
+
next_record_token: builtins.str
|
|
823
|
+
"""The token that can be used to continue streaming logs starting from the exact same record.
|
|
824
|
+
To continue streaming, specify value of [next_record_token] as the [StreamClusterLogsRequest.record_token] value in the next [ClusterService.StreamLogs] request.
|
|
825
|
+
|
|
826
|
+
This value is interchangeable with [ListClusterLogsResponse.next_page_token] from [ClusterService.ListLogs] method.
|
|
827
|
+
"""
|
|
828
|
+
@property
|
|
829
|
+
def record(self) -> global___LogRecord:
|
|
830
|
+
"""One of the requested log records."""
|
|
831
|
+
|
|
832
|
+
def __init__(
|
|
833
|
+
self,
|
|
834
|
+
*,
|
|
835
|
+
record: global___LogRecord | None = ...,
|
|
836
|
+
next_record_token: builtins.str = ...,
|
|
837
|
+
) -> None: ...
|
|
838
|
+
def HasField(self, field_name: typing.Literal["record", b"record"]) -> builtins.bool: ...
|
|
839
|
+
def ClearField(self, field_name: typing.Literal["next_record_token", b"next_record_token", "record", b"record"]) -> None: ...
|
|
840
|
+
|
|
841
|
+
global___StreamLogRecord = StreamLogRecord
|
|
842
|
+
|
|
843
|
+
@typing.final
|
|
844
|
+
class StreamClusterLogsRequest(google.protobuf.message.Message):
|
|
845
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
846
|
+
|
|
847
|
+
class _ServiceType:
|
|
848
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
849
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
850
|
+
|
|
851
|
+
class _ServiceTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[StreamClusterLogsRequest._ServiceType.ValueType], builtins.type):
|
|
852
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
853
|
+
SERVICE_TYPE_UNSPECIFIED: StreamClusterLogsRequest._ServiceType.ValueType # 0
|
|
854
|
+
MYSQL_ERROR: StreamClusterLogsRequest._ServiceType.ValueType # 1
|
|
855
|
+
"""MySQL error log."""
|
|
856
|
+
MYSQL_GENERAL: StreamClusterLogsRequest._ServiceType.ValueType # 2
|
|
857
|
+
"""MySQL general query log."""
|
|
858
|
+
MYSQL_SLOW_QUERY: StreamClusterLogsRequest._ServiceType.ValueType # 3
|
|
859
|
+
"""MySQL slow query log."""
|
|
860
|
+
MYSQL_AUDIT: StreamClusterLogsRequest._ServiceType.ValueType # 4
|
|
861
|
+
"""MySQL audit log."""
|
|
862
|
+
|
|
863
|
+
class ServiceType(_ServiceType, metaclass=_ServiceTypeEnumTypeWrapper): ...
|
|
864
|
+
SERVICE_TYPE_UNSPECIFIED: StreamClusterLogsRequest.ServiceType.ValueType # 0
|
|
865
|
+
MYSQL_ERROR: StreamClusterLogsRequest.ServiceType.ValueType # 1
|
|
866
|
+
"""MySQL error log."""
|
|
867
|
+
MYSQL_GENERAL: StreamClusterLogsRequest.ServiceType.ValueType # 2
|
|
868
|
+
"""MySQL general query log."""
|
|
869
|
+
MYSQL_SLOW_QUERY: StreamClusterLogsRequest.ServiceType.ValueType # 3
|
|
870
|
+
"""MySQL slow query log."""
|
|
871
|
+
MYSQL_AUDIT: StreamClusterLogsRequest.ServiceType.ValueType # 4
|
|
872
|
+
"""MySQL audit log."""
|
|
873
|
+
|
|
874
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
875
|
+
COLUMN_FILTER_FIELD_NUMBER: builtins.int
|
|
876
|
+
SERVICE_TYPE_FIELD_NUMBER: builtins.int
|
|
877
|
+
FROM_TIME_FIELD_NUMBER: builtins.int
|
|
878
|
+
TO_TIME_FIELD_NUMBER: builtins.int
|
|
879
|
+
RECORD_TOKEN_FIELD_NUMBER: builtins.int
|
|
880
|
+
FILTER_FIELD_NUMBER: builtins.int
|
|
881
|
+
cluster_id: builtins.str
|
|
882
|
+
"""ID of the cluster to stream logs for.
|
|
883
|
+
|
|
884
|
+
To get this ID, make a [ClusterService.List] request.
|
|
885
|
+
"""
|
|
886
|
+
service_type: global___StreamClusterLogsRequest.ServiceType.ValueType
|
|
887
|
+
"""The log type."""
|
|
888
|
+
record_token: builtins.str
|
|
889
|
+
"""Record token that can be used to control logs streaming.
|
|
890
|
+
|
|
891
|
+
Set [record_token] to the [StreamLogRecord.next_record_token], returned by the previous [ClusterService.StreamLogs] request to start streaming from the next log record.
|
|
892
|
+
"""
|
|
893
|
+
filter: builtins.str
|
|
894
|
+
"""A filter expression that selects clusters logs listed in the response.
|
|
895
|
+
|
|
896
|
+
The expression must specify:
|
|
897
|
+
1. The field name. Currently filtering can be applied to the [LogRecord.logs.hostname] field.
|
|
898
|
+
2. An `=` operator.
|
|
899
|
+
3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
|
|
900
|
+
Examples of a filter: `message.hostname='node1.db.cloud.yandex.net'`
|
|
901
|
+
"""
|
|
902
|
+
@property
|
|
903
|
+
def column_filter(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
904
|
+
"""Columns from the logs table to request.
|
|
905
|
+
If no columns are specified, complete log records are returned.
|
|
906
|
+
"""
|
|
907
|
+
|
|
908
|
+
@property
|
|
909
|
+
def from_time(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
910
|
+
"""Start timestamp for the logs request."""
|
|
911
|
+
|
|
912
|
+
@property
|
|
913
|
+
def to_time(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
914
|
+
"""End timestamp for the logs request.
|
|
915
|
+
If this field is not set, all existing log records beginning from [from_time] will be returned first, and then the new records will be returned as they appear.
|
|
916
|
+
|
|
917
|
+
In essence it has `tail -f` command semantics.
|
|
918
|
+
"""
|
|
919
|
+
|
|
920
|
+
def __init__(
|
|
921
|
+
self,
|
|
922
|
+
*,
|
|
923
|
+
cluster_id: builtins.str = ...,
|
|
924
|
+
column_filter: collections.abc.Iterable[builtins.str] | None = ...,
|
|
925
|
+
service_type: global___StreamClusterLogsRequest.ServiceType.ValueType = ...,
|
|
926
|
+
from_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
927
|
+
to_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
928
|
+
record_token: builtins.str = ...,
|
|
929
|
+
filter: builtins.str = ...,
|
|
930
|
+
) -> None: ...
|
|
931
|
+
def HasField(self, field_name: typing.Literal["from_time", b"from_time", "to_time", b"to_time"]) -> builtins.bool: ...
|
|
932
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "column_filter", b"column_filter", "filter", b"filter", "from_time", b"from_time", "record_token", b"record_token", "service_type", b"service_type", "to_time", b"to_time"]) -> None: ...
|
|
933
|
+
|
|
934
|
+
global___StreamClusterLogsRequest = StreamClusterLogsRequest
|
|
935
|
+
|
|
936
|
+
@typing.final
|
|
937
|
+
class ListClusterOperationsRequest(google.protobuf.message.Message):
|
|
938
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
939
|
+
|
|
940
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
941
|
+
PAGE_SIZE_FIELD_NUMBER: builtins.int
|
|
942
|
+
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
943
|
+
cluster_id: builtins.str
|
|
944
|
+
"""ID of the cluster to list operations for.
|
|
945
|
+
|
|
946
|
+
To get this ID, make a [ClusterService.List] request.
|
|
947
|
+
"""
|
|
948
|
+
page_size: builtins.int
|
|
949
|
+
"""The maximum number of results per page to return.
|
|
950
|
+
|
|
951
|
+
If the number of available results is larger than [page_size], the API returns a [ListClusterOperationsResponse.next_page_token] that can be used to get the next page of results in the subsequent [ClusterService.ListOperations] requests.
|
|
952
|
+
"""
|
|
953
|
+
page_token: builtins.str
|
|
954
|
+
"""Page token that can be used to iterate through multiple pages of results.
|
|
955
|
+
|
|
956
|
+
To get the next page of results, set [page_token] to the [ListClusterOperationsResponse.next_page_token] returned by the previous [ClusterService.ListOperations] request.
|
|
957
|
+
"""
|
|
958
|
+
def __init__(
|
|
959
|
+
self,
|
|
960
|
+
*,
|
|
961
|
+
cluster_id: builtins.str = ...,
|
|
962
|
+
page_size: builtins.int = ...,
|
|
963
|
+
page_token: builtins.str = ...,
|
|
964
|
+
) -> None: ...
|
|
965
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
|
|
966
|
+
|
|
967
|
+
global___ListClusterOperationsRequest = ListClusterOperationsRequest
|
|
968
|
+
|
|
969
|
+
@typing.final
|
|
970
|
+
class ListClusterOperationsResponse(google.protobuf.message.Message):
|
|
971
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
972
|
+
|
|
973
|
+
OPERATIONS_FIELD_NUMBER: builtins.int
|
|
974
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
975
|
+
next_page_token: builtins.str
|
|
976
|
+
"""The token that can be used to get the next page of results.
|
|
977
|
+
|
|
978
|
+
If the number of results is larger than [ListClusterOperationsRequest.page_size], use the [next_page_token] as the value for the [ListClusterOperationsRequest.page_token] in the subsequent [ClusterService.ListOperations] request to iterate through multiple pages of results.
|
|
979
|
+
|
|
980
|
+
Each of the subsequent [ClusterService.ListOperations] requests should use the [next_page_token] value returned by the previous request to continue paging through the results.
|
|
981
|
+
"""
|
|
982
|
+
@property
|
|
983
|
+
def operations(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.operation.operation_pb2.Operation]:
|
|
984
|
+
"""List of operations in the cluster."""
|
|
985
|
+
|
|
986
|
+
def __init__(
|
|
987
|
+
self,
|
|
988
|
+
*,
|
|
989
|
+
operations: collections.abc.Iterable[yandex.cloud.operation.operation_pb2.Operation] | None = ...,
|
|
990
|
+
next_page_token: builtins.str = ...,
|
|
991
|
+
) -> None: ...
|
|
992
|
+
def ClearField(self, field_name: typing.Literal["next_page_token", b"next_page_token", "operations", b"operations"]) -> None: ...
|
|
993
|
+
|
|
994
|
+
global___ListClusterOperationsResponse = ListClusterOperationsResponse
|
|
995
|
+
|
|
996
|
+
@typing.final
|
|
997
|
+
class ListClusterBackupsRequest(google.protobuf.message.Message):
|
|
998
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
999
|
+
|
|
1000
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
1001
|
+
PAGE_SIZE_FIELD_NUMBER: builtins.int
|
|
1002
|
+
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
1003
|
+
cluster_id: builtins.str
|
|
1004
|
+
"""ID of the cluster to list backups for.
|
|
1005
|
+
|
|
1006
|
+
To get this ID, make a [ClusterService.List] request.
|
|
1007
|
+
"""
|
|
1008
|
+
page_size: builtins.int
|
|
1009
|
+
"""The maximum number of results per page to return.
|
|
1010
|
+
|
|
1011
|
+
If the number of available results is larger than [page_size], the API returns a [ListClusterBackupsResponse.next_page_token] that can be used to get the next page of results in the subsequent [ClusterService.ListBackups] requests.
|
|
1012
|
+
"""
|
|
1013
|
+
page_token: builtins.str
|
|
1014
|
+
"""Page token that can be used to iterate through multiple pages of results.
|
|
1015
|
+
|
|
1016
|
+
To get the next page of results, set [page_token] to the [ListClusterBackupsResponse.next_page_token] returned by the previous [ClusterService.ListBackups] request.
|
|
1017
|
+
"""
|
|
1018
|
+
def __init__(
|
|
1019
|
+
self,
|
|
1020
|
+
*,
|
|
1021
|
+
cluster_id: builtins.str = ...,
|
|
1022
|
+
page_size: builtins.int = ...,
|
|
1023
|
+
page_token: builtins.str = ...,
|
|
1024
|
+
) -> None: ...
|
|
1025
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
|
|
1026
|
+
|
|
1027
|
+
global___ListClusterBackupsRequest = ListClusterBackupsRequest
|
|
1028
|
+
|
|
1029
|
+
@typing.final
|
|
1030
|
+
class ListClusterBackupsResponse(google.protobuf.message.Message):
|
|
1031
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1032
|
+
|
|
1033
|
+
BACKUPS_FIELD_NUMBER: builtins.int
|
|
1034
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
1035
|
+
next_page_token: builtins.str
|
|
1036
|
+
"""The token that can be used to get the next page of results.
|
|
1037
|
+
|
|
1038
|
+
If the number of results is larger than [ListClusterBackupsRequest.page_size], use the [next_page_token] as the value for the [ListClusterBackupsRequest.page_token] in the subsequent [ClusterService.ListBackups] request to iterate through multiple pages of results.
|
|
1039
|
+
|
|
1040
|
+
Each of the subsequent [ClusterService.ListBackups] requests should use the [next_page_token] value returned by the previous request to continue paging through the results.
|
|
1041
|
+
"""
|
|
1042
|
+
@property
|
|
1043
|
+
def backups(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.mdb.mysql.v1.backup_pb2.Backup]:
|
|
1044
|
+
"""List of the cluster backups."""
|
|
1045
|
+
|
|
1046
|
+
def __init__(
|
|
1047
|
+
self,
|
|
1048
|
+
*,
|
|
1049
|
+
backups: collections.abc.Iterable[yandex.cloud.mdb.mysql.v1.backup_pb2.Backup] | None = ...,
|
|
1050
|
+
next_page_token: builtins.str = ...,
|
|
1051
|
+
) -> None: ...
|
|
1052
|
+
def ClearField(self, field_name: typing.Literal["backups", b"backups", "next_page_token", b"next_page_token"]) -> None: ...
|
|
1053
|
+
|
|
1054
|
+
global___ListClusterBackupsResponse = ListClusterBackupsResponse
|
|
1055
|
+
|
|
1056
|
+
@typing.final
|
|
1057
|
+
class ListClusterHostsRequest(google.protobuf.message.Message):
|
|
1058
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1059
|
+
|
|
1060
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
1061
|
+
PAGE_SIZE_FIELD_NUMBER: builtins.int
|
|
1062
|
+
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
1063
|
+
cluster_id: builtins.str
|
|
1064
|
+
"""ID of the cluster to list hosts for.
|
|
1065
|
+
|
|
1066
|
+
To get this ID, make a [ClusterService.List] request.
|
|
1067
|
+
"""
|
|
1068
|
+
page_size: builtins.int
|
|
1069
|
+
"""The maximum number of results per page to return.
|
|
1070
|
+
|
|
1071
|
+
If the number of available results is larger than [page_size], the API returns a [ListClusterHostsResponse.next_page_token] that can be used to get the next page of results in the subsequent [ClusterService.ListHosts] requests.
|
|
1072
|
+
"""
|
|
1073
|
+
page_token: builtins.str
|
|
1074
|
+
"""Page token that can be used to iterate through multiple pages of results.
|
|
1075
|
+
|
|
1076
|
+
To get the next page of results, set [page_token] to the [ListClusterHostsResponse.next_page_token] returned by the previous [ClusterService.ListHosts] request.
|
|
1077
|
+
"""
|
|
1078
|
+
def __init__(
|
|
1079
|
+
self,
|
|
1080
|
+
*,
|
|
1081
|
+
cluster_id: builtins.str = ...,
|
|
1082
|
+
page_size: builtins.int = ...,
|
|
1083
|
+
page_token: builtins.str = ...,
|
|
1084
|
+
) -> None: ...
|
|
1085
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
|
|
1086
|
+
|
|
1087
|
+
global___ListClusterHostsRequest = ListClusterHostsRequest
|
|
1088
|
+
|
|
1089
|
+
@typing.final
|
|
1090
|
+
class ListClusterHostsResponse(google.protobuf.message.Message):
|
|
1091
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1092
|
+
|
|
1093
|
+
HOSTS_FIELD_NUMBER: builtins.int
|
|
1094
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
1095
|
+
next_page_token: builtins.str
|
|
1096
|
+
"""The token that can be used to get the next page of results.
|
|
1097
|
+
|
|
1098
|
+
If the number of results is larger than [ListClusterHostsRequest.page_size], use the [next_page_token] as the value for the [ListClusterHostsRequest.page_token] in the subsequent [ClusterService.ListHosts] request to iterate through multiple pages of results.
|
|
1099
|
+
|
|
1100
|
+
Each of the subsequent [ClusterService.ListHosts] requests should use the [next_page_token] value returned by the previous request to continue paging through the results.
|
|
1101
|
+
"""
|
|
1102
|
+
@property
|
|
1103
|
+
def hosts(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.mdb.mysql.v1.cluster_pb2.Host]:
|
|
1104
|
+
"""List of hosts in the cluster."""
|
|
1105
|
+
|
|
1106
|
+
def __init__(
|
|
1107
|
+
self,
|
|
1108
|
+
*,
|
|
1109
|
+
hosts: collections.abc.Iterable[yandex.cloud.mdb.mysql.v1.cluster_pb2.Host] | None = ...,
|
|
1110
|
+
next_page_token: builtins.str = ...,
|
|
1111
|
+
) -> None: ...
|
|
1112
|
+
def ClearField(self, field_name: typing.Literal["hosts", b"hosts", "next_page_token", b"next_page_token"]) -> None: ...
|
|
1113
|
+
|
|
1114
|
+
global___ListClusterHostsResponse = ListClusterHostsResponse
|
|
1115
|
+
|
|
1116
|
+
@typing.final
|
|
1117
|
+
class AddClusterHostsRequest(google.protobuf.message.Message):
|
|
1118
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1119
|
+
|
|
1120
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
1121
|
+
HOST_SPECS_FIELD_NUMBER: builtins.int
|
|
1122
|
+
cluster_id: builtins.str
|
|
1123
|
+
"""ID of the cluster to add hosts to.
|
|
1124
|
+
|
|
1125
|
+
To get this ID, make a [ClusterService.List] request.
|
|
1126
|
+
"""
|
|
1127
|
+
@property
|
|
1128
|
+
def host_specs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___HostSpec]:
|
|
1129
|
+
"""Configuration of the newly added hosts."""
|
|
1130
|
+
|
|
1131
|
+
def __init__(
|
|
1132
|
+
self,
|
|
1133
|
+
*,
|
|
1134
|
+
cluster_id: builtins.str = ...,
|
|
1135
|
+
host_specs: collections.abc.Iterable[global___HostSpec] | None = ...,
|
|
1136
|
+
) -> None: ...
|
|
1137
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "host_specs", b"host_specs"]) -> None: ...
|
|
1138
|
+
|
|
1139
|
+
global___AddClusterHostsRequest = AddClusterHostsRequest
|
|
1140
|
+
|
|
1141
|
+
@typing.final
|
|
1142
|
+
class AddClusterHostsMetadata(google.protobuf.message.Message):
|
|
1143
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1144
|
+
|
|
1145
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
1146
|
+
HOST_NAMES_FIELD_NUMBER: builtins.int
|
|
1147
|
+
cluster_id: builtins.str
|
|
1148
|
+
"""ID of the cluster to which the hosts are being added."""
|
|
1149
|
+
@property
|
|
1150
|
+
def host_names(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
1151
|
+
"""Names of hosts that are being added."""
|
|
1152
|
+
|
|
1153
|
+
def __init__(
|
|
1154
|
+
self,
|
|
1155
|
+
*,
|
|
1156
|
+
cluster_id: builtins.str = ...,
|
|
1157
|
+
host_names: collections.abc.Iterable[builtins.str] | None = ...,
|
|
1158
|
+
) -> None: ...
|
|
1159
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "host_names", b"host_names"]) -> None: ...
|
|
1160
|
+
|
|
1161
|
+
global___AddClusterHostsMetadata = AddClusterHostsMetadata
|
|
1162
|
+
|
|
1163
|
+
@typing.final
|
|
1164
|
+
class DeleteClusterHostsRequest(google.protobuf.message.Message):
|
|
1165
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1166
|
+
|
|
1167
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
1168
|
+
HOST_NAMES_FIELD_NUMBER: builtins.int
|
|
1169
|
+
cluster_id: builtins.str
|
|
1170
|
+
"""ID of the cluster to delete hosts from.
|
|
1171
|
+
|
|
1172
|
+
To get this ID, make a [ClusterService.List] request.
|
|
1173
|
+
"""
|
|
1174
|
+
@property
|
|
1175
|
+
def host_names(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
1176
|
+
"""Names of hosts to delete.
|
|
1177
|
+
|
|
1178
|
+
To get these names, make a [ClusterService.ListHosts] request.
|
|
1179
|
+
"""
|
|
1180
|
+
|
|
1181
|
+
def __init__(
|
|
1182
|
+
self,
|
|
1183
|
+
*,
|
|
1184
|
+
cluster_id: builtins.str = ...,
|
|
1185
|
+
host_names: collections.abc.Iterable[builtins.str] | None = ...,
|
|
1186
|
+
) -> None: ...
|
|
1187
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "host_names", b"host_names"]) -> None: ...
|
|
1188
|
+
|
|
1189
|
+
global___DeleteClusterHostsRequest = DeleteClusterHostsRequest
|
|
1190
|
+
|
|
1191
|
+
@typing.final
|
|
1192
|
+
class DeleteClusterHostsMetadata(google.protobuf.message.Message):
|
|
1193
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1194
|
+
|
|
1195
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
1196
|
+
HOST_NAMES_FIELD_NUMBER: builtins.int
|
|
1197
|
+
cluster_id: builtins.str
|
|
1198
|
+
"""ID of the cluster from which the hosts are being deleted."""
|
|
1199
|
+
@property
|
|
1200
|
+
def host_names(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
1201
|
+
"""Names of hosts that are being deleted."""
|
|
1202
|
+
|
|
1203
|
+
def __init__(
|
|
1204
|
+
self,
|
|
1205
|
+
*,
|
|
1206
|
+
cluster_id: builtins.str = ...,
|
|
1207
|
+
host_names: collections.abc.Iterable[builtins.str] | None = ...,
|
|
1208
|
+
) -> None: ...
|
|
1209
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "host_names", b"host_names"]) -> None: ...
|
|
1210
|
+
|
|
1211
|
+
global___DeleteClusterHostsMetadata = DeleteClusterHostsMetadata
|
|
1212
|
+
|
|
1213
|
+
@typing.final
|
|
1214
|
+
class StartClusterRequest(google.protobuf.message.Message):
|
|
1215
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1216
|
+
|
|
1217
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
1218
|
+
cluster_id: builtins.str
|
|
1219
|
+
"""ID of the cluster to start.
|
|
1220
|
+
|
|
1221
|
+
To get this ID, make a [ClusterService.List] request.
|
|
1222
|
+
"""
|
|
1223
|
+
def __init__(
|
|
1224
|
+
self,
|
|
1225
|
+
*,
|
|
1226
|
+
cluster_id: builtins.str = ...,
|
|
1227
|
+
) -> None: ...
|
|
1228
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id"]) -> None: ...
|
|
1229
|
+
|
|
1230
|
+
global___StartClusterRequest = StartClusterRequest
|
|
1231
|
+
|
|
1232
|
+
@typing.final
|
|
1233
|
+
class StartClusterMetadata(google.protobuf.message.Message):
|
|
1234
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1235
|
+
|
|
1236
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
1237
|
+
cluster_id: builtins.str
|
|
1238
|
+
"""ID of the cluster that is being started."""
|
|
1239
|
+
def __init__(
|
|
1240
|
+
self,
|
|
1241
|
+
*,
|
|
1242
|
+
cluster_id: builtins.str = ...,
|
|
1243
|
+
) -> None: ...
|
|
1244
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id"]) -> None: ...
|
|
1245
|
+
|
|
1246
|
+
global___StartClusterMetadata = StartClusterMetadata
|
|
1247
|
+
|
|
1248
|
+
@typing.final
|
|
1249
|
+
class StopClusterRequest(google.protobuf.message.Message):
|
|
1250
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1251
|
+
|
|
1252
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
1253
|
+
cluster_id: builtins.str
|
|
1254
|
+
"""ID of the cluster to stop.
|
|
1255
|
+
|
|
1256
|
+
To get this ID, make a [ClusterService.List] request.
|
|
1257
|
+
"""
|
|
1258
|
+
def __init__(
|
|
1259
|
+
self,
|
|
1260
|
+
*,
|
|
1261
|
+
cluster_id: builtins.str = ...,
|
|
1262
|
+
) -> None: ...
|
|
1263
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id"]) -> None: ...
|
|
1264
|
+
|
|
1265
|
+
global___StopClusterRequest = StopClusterRequest
|
|
1266
|
+
|
|
1267
|
+
@typing.final
|
|
1268
|
+
class StopClusterMetadata(google.protobuf.message.Message):
|
|
1269
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1270
|
+
|
|
1271
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
1272
|
+
cluster_id: builtins.str
|
|
1273
|
+
"""ID of the cluster that is being stopped."""
|
|
1274
|
+
def __init__(
|
|
1275
|
+
self,
|
|
1276
|
+
*,
|
|
1277
|
+
cluster_id: builtins.str = ...,
|
|
1278
|
+
) -> None: ...
|
|
1279
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id"]) -> None: ...
|
|
1280
|
+
|
|
1281
|
+
global___StopClusterMetadata = StopClusterMetadata
|
|
1282
|
+
|
|
1283
|
+
@typing.final
|
|
1284
|
+
class MoveClusterRequest(google.protobuf.message.Message):
|
|
1285
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1286
|
+
|
|
1287
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
1288
|
+
DESTINATION_FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
1289
|
+
cluster_id: builtins.str
|
|
1290
|
+
"""ID of the cluster to move.
|
|
1291
|
+
|
|
1292
|
+
To get this ID, make a [ClusterService.List] request.
|
|
1293
|
+
"""
|
|
1294
|
+
destination_folder_id: builtins.str
|
|
1295
|
+
"""ID of the destination folder.
|
|
1296
|
+
|
|
1297
|
+
To get this ID, make a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
|
|
1298
|
+
"""
|
|
1299
|
+
def __init__(
|
|
1300
|
+
self,
|
|
1301
|
+
*,
|
|
1302
|
+
cluster_id: builtins.str = ...,
|
|
1303
|
+
destination_folder_id: builtins.str = ...,
|
|
1304
|
+
) -> None: ...
|
|
1305
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "destination_folder_id", b"destination_folder_id"]) -> None: ...
|
|
1306
|
+
|
|
1307
|
+
global___MoveClusterRequest = MoveClusterRequest
|
|
1308
|
+
|
|
1309
|
+
@typing.final
|
|
1310
|
+
class MoveClusterMetadata(google.protobuf.message.Message):
|
|
1311
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1312
|
+
|
|
1313
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
1314
|
+
SOURCE_FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
1315
|
+
DESTINATION_FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
1316
|
+
cluster_id: builtins.str
|
|
1317
|
+
"""ID of the cluster that is being moved."""
|
|
1318
|
+
source_folder_id: builtins.str
|
|
1319
|
+
"""ID of the source folder."""
|
|
1320
|
+
destination_folder_id: builtins.str
|
|
1321
|
+
"""ID of the destination folder."""
|
|
1322
|
+
def __init__(
|
|
1323
|
+
self,
|
|
1324
|
+
*,
|
|
1325
|
+
cluster_id: builtins.str = ...,
|
|
1326
|
+
source_folder_id: builtins.str = ...,
|
|
1327
|
+
destination_folder_id: builtins.str = ...,
|
|
1328
|
+
) -> None: ...
|
|
1329
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "destination_folder_id", b"destination_folder_id", "source_folder_id", b"source_folder_id"]) -> None: ...
|
|
1330
|
+
|
|
1331
|
+
global___MoveClusterMetadata = MoveClusterMetadata
|
|
1332
|
+
|
|
1333
|
+
@typing.final
|
|
1334
|
+
class UpdateClusterHostsRequest(google.protobuf.message.Message):
|
|
1335
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1336
|
+
|
|
1337
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
1338
|
+
UPDATE_HOST_SPECS_FIELD_NUMBER: builtins.int
|
|
1339
|
+
cluster_id: builtins.str
|
|
1340
|
+
"""ID of the MySQL cluster to update hosts in.
|
|
1341
|
+
To get the MySQL cluster ID, use a [ClusterService.List] request.
|
|
1342
|
+
"""
|
|
1343
|
+
@property
|
|
1344
|
+
def update_host_specs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___UpdateHostSpec]:
|
|
1345
|
+
"""New configurations to apply to hosts."""
|
|
1346
|
+
|
|
1347
|
+
def __init__(
|
|
1348
|
+
self,
|
|
1349
|
+
*,
|
|
1350
|
+
cluster_id: builtins.str = ...,
|
|
1351
|
+
update_host_specs: collections.abc.Iterable[global___UpdateHostSpec] | None = ...,
|
|
1352
|
+
) -> None: ...
|
|
1353
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "update_host_specs", b"update_host_specs"]) -> None: ...
|
|
1354
|
+
|
|
1355
|
+
global___UpdateClusterHostsRequest = UpdateClusterHostsRequest
|
|
1356
|
+
|
|
1357
|
+
@typing.final
|
|
1358
|
+
class UpdateClusterHostsMetadata(google.protobuf.message.Message):
|
|
1359
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1360
|
+
|
|
1361
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
1362
|
+
HOST_NAMES_FIELD_NUMBER: builtins.int
|
|
1363
|
+
cluster_id: builtins.str
|
|
1364
|
+
"""ID of the cluster in which the hosts are being updated."""
|
|
1365
|
+
@property
|
|
1366
|
+
def host_names(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
1367
|
+
"""Names of hosts that are being updated."""
|
|
1368
|
+
|
|
1369
|
+
def __init__(
|
|
1370
|
+
self,
|
|
1371
|
+
*,
|
|
1372
|
+
cluster_id: builtins.str = ...,
|
|
1373
|
+
host_names: collections.abc.Iterable[builtins.str] | None = ...,
|
|
1374
|
+
) -> None: ...
|
|
1375
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "host_names", b"host_names"]) -> None: ...
|
|
1376
|
+
|
|
1377
|
+
global___UpdateClusterHostsMetadata = UpdateClusterHostsMetadata
|
|
1378
|
+
|
|
1379
|
+
@typing.final
|
|
1380
|
+
class UpdateHostSpec(google.protobuf.message.Message):
|
|
1381
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1382
|
+
|
|
1383
|
+
HOST_NAME_FIELD_NUMBER: builtins.int
|
|
1384
|
+
REPLICATION_SOURCE_FIELD_NUMBER: builtins.int
|
|
1385
|
+
UPDATE_MASK_FIELD_NUMBER: builtins.int
|
|
1386
|
+
BACKUP_PRIORITY_FIELD_NUMBER: builtins.int
|
|
1387
|
+
ASSIGN_PUBLIC_IP_FIELD_NUMBER: builtins.int
|
|
1388
|
+
PRIORITY_FIELD_NUMBER: builtins.int
|
|
1389
|
+
host_name: builtins.str
|
|
1390
|
+
"""Name of the host to update.
|
|
1391
|
+
To get a MySQL host name, use a [ClusterService.ListHosts] request.
|
|
1392
|
+
"""
|
|
1393
|
+
replication_source: builtins.str
|
|
1394
|
+
"""[Host.name] of the host to be used as the replication source (for cascading replication).
|
|
1395
|
+
To get a MySQL host name, use a [ClusterService.ListHosts] request.
|
|
1396
|
+
"""
|
|
1397
|
+
backup_priority: builtins.int
|
|
1398
|
+
"""Host backup priority."""
|
|
1399
|
+
assign_public_ip: builtins.bool
|
|
1400
|
+
"""Whether the host should get a public IP address on creation."""
|
|
1401
|
+
priority: builtins.int
|
|
1402
|
+
"""Host master promotion priority."""
|
|
1403
|
+
@property
|
|
1404
|
+
def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
|
|
1405
|
+
"""Field mask that specifies which settings of the MySQL host should be updated."""
|
|
1406
|
+
|
|
1407
|
+
def __init__(
|
|
1408
|
+
self,
|
|
1409
|
+
*,
|
|
1410
|
+
host_name: builtins.str = ...,
|
|
1411
|
+
replication_source: builtins.str = ...,
|
|
1412
|
+
update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ...,
|
|
1413
|
+
backup_priority: builtins.int = ...,
|
|
1414
|
+
assign_public_ip: builtins.bool = ...,
|
|
1415
|
+
priority: builtins.int = ...,
|
|
1416
|
+
) -> None: ...
|
|
1417
|
+
def HasField(self, field_name: typing.Literal["update_mask", b"update_mask"]) -> builtins.bool: ...
|
|
1418
|
+
def ClearField(self, field_name: typing.Literal["assign_public_ip", b"assign_public_ip", "backup_priority", b"backup_priority", "host_name", b"host_name", "priority", b"priority", "replication_source", b"replication_source", "update_mask", b"update_mask"]) -> None: ...
|
|
1419
|
+
|
|
1420
|
+
global___UpdateHostSpec = UpdateHostSpec
|
|
1421
|
+
|
|
1422
|
+
@typing.final
|
|
1423
|
+
class HostSpec(google.protobuf.message.Message):
|
|
1424
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1425
|
+
|
|
1426
|
+
ZONE_ID_FIELD_NUMBER: builtins.int
|
|
1427
|
+
SUBNET_ID_FIELD_NUMBER: builtins.int
|
|
1428
|
+
ASSIGN_PUBLIC_IP_FIELD_NUMBER: builtins.int
|
|
1429
|
+
REPLICATION_SOURCE_FIELD_NUMBER: builtins.int
|
|
1430
|
+
BACKUP_PRIORITY_FIELD_NUMBER: builtins.int
|
|
1431
|
+
PRIORITY_FIELD_NUMBER: builtins.int
|
|
1432
|
+
zone_id: builtins.str
|
|
1433
|
+
"""ID of the availability zone where the host resides.
|
|
1434
|
+
|
|
1435
|
+
To get a list of available zones, make the [yandex.cloud.compute.v1.ZoneService.List] request.
|
|
1436
|
+
"""
|
|
1437
|
+
subnet_id: builtins.str
|
|
1438
|
+
"""ID of the subnet to assign to the host.
|
|
1439
|
+
|
|
1440
|
+
This subnet should be a part of the cluster network (the network ID is specified in the [ClusterService.CreateClusterRequest.network_id]).
|
|
1441
|
+
"""
|
|
1442
|
+
assign_public_ip: builtins.bool
|
|
1443
|
+
"""Option that enables public IP address for the host so that the host can be accessed from the internet.
|
|
1444
|
+
|
|
1445
|
+
After a host has been created, this setting cannot be changed.
|
|
1446
|
+
To remove an assigned public IP address, or to assign a public IP address to a host without one, recreate the host with the appropriate [assign_public_ip] value set.
|
|
1447
|
+
|
|
1448
|
+
Possible values:
|
|
1449
|
+
* `false` - don't assign a public IP address to the host.
|
|
1450
|
+
* `true` - assign a public IP address to the host.
|
|
1451
|
+
"""
|
|
1452
|
+
replication_source: builtins.str
|
|
1453
|
+
"""[Host.name] of the host to be used as the replication source (for cascading replication)."""
|
|
1454
|
+
backup_priority: builtins.int
|
|
1455
|
+
"""Host backup priority"""
|
|
1456
|
+
priority: builtins.int
|
|
1457
|
+
"""Host master promotion priority"""
|
|
1458
|
+
def __init__(
|
|
1459
|
+
self,
|
|
1460
|
+
*,
|
|
1461
|
+
zone_id: builtins.str = ...,
|
|
1462
|
+
subnet_id: builtins.str = ...,
|
|
1463
|
+
assign_public_ip: builtins.bool = ...,
|
|
1464
|
+
replication_source: builtins.str = ...,
|
|
1465
|
+
backup_priority: builtins.int = ...,
|
|
1466
|
+
priority: builtins.int = ...,
|
|
1467
|
+
) -> None: ...
|
|
1468
|
+
def ClearField(self, field_name: typing.Literal["assign_public_ip", b"assign_public_ip", "backup_priority", b"backup_priority", "priority", b"priority", "replication_source", b"replication_source", "subnet_id", b"subnet_id", "zone_id", b"zone_id"]) -> None: ...
|
|
1469
|
+
|
|
1470
|
+
global___HostSpec = HostSpec
|
|
1471
|
+
|
|
1472
|
+
@typing.final
|
|
1473
|
+
class ConfigSpec(google.protobuf.message.Message):
|
|
1474
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1475
|
+
|
|
1476
|
+
VERSION_FIELD_NUMBER: builtins.int
|
|
1477
|
+
MYSQL_CONFIG_5_7_FIELD_NUMBER: builtins.int
|
|
1478
|
+
MYSQL_CONFIG_8_0_FIELD_NUMBER: builtins.int
|
|
1479
|
+
RESOURCES_FIELD_NUMBER: builtins.int
|
|
1480
|
+
BACKUP_WINDOW_START_FIELD_NUMBER: builtins.int
|
|
1481
|
+
ACCESS_FIELD_NUMBER: builtins.int
|
|
1482
|
+
PERFORMANCE_DIAGNOSTICS_FIELD_NUMBER: builtins.int
|
|
1483
|
+
BACKUP_RETAIN_PERIOD_DAYS_FIELD_NUMBER: builtins.int
|
|
1484
|
+
version: builtins.str
|
|
1485
|
+
"""Version of MySQL used in the cluster.
|
|
1486
|
+
|
|
1487
|
+
Possible values: `5.7`, `8.0`.
|
|
1488
|
+
No formal validation, a list of supported versions should suffice.
|
|
1489
|
+
"""
|
|
1490
|
+
@property
|
|
1491
|
+
def mysql_config_5_7(self) -> yandex.cloud.mdb.mysql.v1.config.mysql5_7_pb2.MysqlConfig5_7:
|
|
1492
|
+
"""Configuration for a MySQL 5.7 cluster."""
|
|
1493
|
+
|
|
1494
|
+
@property
|
|
1495
|
+
def mysql_config_8_0(self) -> yandex.cloud.mdb.mysql.v1.config.mysql8_0_pb2.MysqlConfig8_0:
|
|
1496
|
+
"""Configuration for a MySQL 8.0 cluster."""
|
|
1497
|
+
|
|
1498
|
+
@property
|
|
1499
|
+
def resources(self) -> yandex.cloud.mdb.mysql.v1.cluster_pb2.Resources:
|
|
1500
|
+
"""Resource preset for the cluster hosts."""
|
|
1501
|
+
|
|
1502
|
+
@property
|
|
1503
|
+
def backup_window_start(self) -> google.type.timeofday_pb2.TimeOfDay:
|
|
1504
|
+
"""Time to start the daily backup, in the UTC timezone."""
|
|
1505
|
+
|
|
1506
|
+
@property
|
|
1507
|
+
def access(self) -> yandex.cloud.mdb.mysql.v1.cluster_pb2.Access:
|
|
1508
|
+
"""Access policy for external services.
|
|
1509
|
+
|
|
1510
|
+
If the specific services need to access the cluster, then set the necessary values in this policy.
|
|
1511
|
+
"""
|
|
1512
|
+
|
|
1513
|
+
@property
|
|
1514
|
+
def performance_diagnostics(self) -> yandex.cloud.mdb.mysql.v1.cluster_pb2.PerformanceDiagnostics:
|
|
1515
|
+
"""Configuration of the performance diagnostics service."""
|
|
1516
|
+
|
|
1517
|
+
@property
|
|
1518
|
+
def backup_retain_period_days(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
1519
|
+
"""Retention policy of automated backups."""
|
|
1520
|
+
|
|
1521
|
+
def __init__(
|
|
1522
|
+
self,
|
|
1523
|
+
*,
|
|
1524
|
+
version: builtins.str = ...,
|
|
1525
|
+
mysql_config_5_7: yandex.cloud.mdb.mysql.v1.config.mysql5_7_pb2.MysqlConfig5_7 | None = ...,
|
|
1526
|
+
mysql_config_8_0: yandex.cloud.mdb.mysql.v1.config.mysql8_0_pb2.MysqlConfig8_0 | None = ...,
|
|
1527
|
+
resources: yandex.cloud.mdb.mysql.v1.cluster_pb2.Resources | None = ...,
|
|
1528
|
+
backup_window_start: google.type.timeofday_pb2.TimeOfDay | None = ...,
|
|
1529
|
+
access: yandex.cloud.mdb.mysql.v1.cluster_pb2.Access | None = ...,
|
|
1530
|
+
performance_diagnostics: yandex.cloud.mdb.mysql.v1.cluster_pb2.PerformanceDiagnostics | None = ...,
|
|
1531
|
+
backup_retain_period_days: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
1532
|
+
) -> None: ...
|
|
1533
|
+
def HasField(self, field_name: typing.Literal["access", b"access", "backup_retain_period_days", b"backup_retain_period_days", "backup_window_start", b"backup_window_start", "mysql_config", b"mysql_config", "mysql_config_5_7", b"mysql_config_5_7", "mysql_config_8_0", b"mysql_config_8_0", "performance_diagnostics", b"performance_diagnostics", "resources", b"resources"]) -> builtins.bool: ...
|
|
1534
|
+
def ClearField(self, field_name: typing.Literal["access", b"access", "backup_retain_period_days", b"backup_retain_period_days", "backup_window_start", b"backup_window_start", "mysql_config", b"mysql_config", "mysql_config_5_7", b"mysql_config_5_7", "mysql_config_8_0", b"mysql_config_8_0", "performance_diagnostics", b"performance_diagnostics", "resources", b"resources", "version", b"version"]) -> None: ...
|
|
1535
|
+
def WhichOneof(self, oneof_group: typing.Literal["mysql_config", b"mysql_config"]) -> typing.Literal["mysql_config_5_7", "mysql_config_8_0"] | None: ...
|
|
1536
|
+
|
|
1537
|
+
global___ConfigSpec = ConfigSpec
|