yandexcloud 0.362.0__py3-none-any.whl → 0.364.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.
Potentially problematic release.
This version of yandexcloud might be problematic. Click here for more details.
- yandex/cloud/baremetal/v1alpha/rental_period_pb2.py +37 -0
- yandex/cloud/baremetal/v1alpha/rental_period_pb2.pyi +31 -0
- yandex/cloud/baremetal/v1alpha/rental_period_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/rental_period_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/rental_period_service_pb2.py +50 -0
- yandex/cloud/baremetal/v1alpha/rental_period_service_pb2.pyi +75 -0
- yandex/cloud/baremetal/v1alpha/rental_period_service_pb2_grpc.py +101 -0
- yandex/cloud/baremetal/v1alpha/rental_period_service_pb2_grpc.pyi +50 -0
- yandex/cloud/baremetal/v1alpha/server_service_pb2.pyi +8 -2
- yandex/cloud/cdn/v1/shielding_service_pb2.py +9 -7
- yandex/cloud/cdn/v1/shielding_service_pb2.pyi +5 -1
- yandex/cloud/compute/v1/application_pb2.py +70 -0
- yandex/cloud/compute/v1/application_pb2.pyi +159 -0
- yandex/cloud/compute/v1/application_pb2_grpc.py +24 -0
- yandex/cloud/compute/v1/application_pb2_grpc.pyi +17 -0
- yandex/cloud/compute/v1/instance_pb2.py +54 -53
- yandex/cloud/compute/v1/instance_pb2.pyi +9 -2
- yandex/cloud/compute/v1/instance_service_pb2.py +134 -133
- yandex/cloud/compute/v1/instance_service_pb2.pyi +17 -4
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.py +81 -79
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +1 -1
- yandex/cloud/mdb/greenplum/v1/config_pb2.py +44 -44
- yandex/cloud/mdb/greenplum/v1/config_pb2.pyi +16 -5
- yandex/cloud/mdb/mysql/v1/cluster_pb2.py +36 -35
- yandex/cloud/mdb/mysql/v1/cluster_pb2.pyi +10 -3
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2.py +104 -103
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2.pyi +11 -4
- yandex/cloud/mdb/mysql/v1/config/mysql8_4_pb2.py +179 -0
- yandex/cloud/mdb/mysql/v1/config/mysql8_4_pb2.pyi +1048 -0
- yandex/cloud/mdb/mysql/v1/config/mysql8_4_pb2_grpc.py +24 -0
- yandex/cloud/mdb/mysql/v1/config/mysql8_4_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/postgresql/v1/user_pb2.py +27 -25
- yandex/cloud/mdb/postgresql/v1/user_pb2.pyi +27 -2
- yandex/cloud/mdb/postgresql/v1/user_service_pb2.py +33 -33
- yandex/cloud/mdb/postgresql/v1/user_service_pb2.pyi +5 -1
- yandex/cloud/organizationmanager/v1/idp/application/__init__.py +0 -0
- yandex/cloud/organizationmanager/v1/idp/application/oauth/__init__.py +0 -0
- yandex/cloud/organizationmanager/v1/idp/application/oauth/application_pb2.py +55 -0
- yandex/cloud/organizationmanager/v1/idp/application/oauth/application_pb2.pyi +206 -0
- yandex/cloud/organizationmanager/v1/idp/application/oauth/application_pb2_grpc.py +24 -0
- yandex/cloud/organizationmanager/v1/idp/application/oauth/application_pb2_grpc.pyi +17 -0
- yandex/cloud/organizationmanager/v1/idp/application/oauth/application_service_pb2.py +178 -0
- yandex/cloud/organizationmanager/v1/idp/application/oauth/application_service_pb2.pyi +641 -0
- yandex/cloud/organizationmanager/v1/idp/application/oauth/application_service_pb2_grpc.py +634 -0
- yandex/cloud/organizationmanager/v1/idp/application/oauth/application_service_pb2_grpc.pyi +302 -0
- yandex/cloud/organizationmanager/v1/mfa_enforcement_pb2.py +41 -0
- yandex/cloud/organizationmanager/v1/mfa_enforcement_pb2.pyi +108 -0
- yandex/cloud/organizationmanager/v1/mfa_enforcement_pb2_grpc.py +24 -0
- yandex/cloud/organizationmanager/v1/mfa_enforcement_pb2_grpc.pyi +17 -0
- yandex/cloud/organizationmanager/v1/mfa_enforcement_service_pb2.py +156 -0
- yandex/cloud/organizationmanager/v1/mfa_enforcement_service_pb2.pyi +462 -0
- yandex/cloud/organizationmanager/v1/mfa_enforcement_service_pb2_grpc.py +446 -0
- yandex/cloud/organizationmanager/v1/mfa_enforcement_service_pb2_grpc.pyi +185 -0
- yandex/cloud/trino/v1/cluster_pb2.py +34 -30
- yandex/cloud/trino/v1/cluster_pb2.pyi +28 -2
- yandex/cloud/trino/v1/cluster_service_pb2.py +36 -36
- yandex/cloud/trino/v1/cluster_service_pb2.pyi +16 -4
- yandex/cloud/ytsaurus/v1/cluster_pb2.py +4 -2
- yandex/cloud/ytsaurus/v1/cluster_pb2.pyi +19 -1
- yandexcloud/__init__.py +1 -1
- {yandexcloud-0.362.0.dist-info → yandexcloud-0.364.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.362.0.dist-info → yandexcloud-0.364.0.dist-info}/RECORD +66 -32
- {yandexcloud-0.362.0.dist-info → yandexcloud-0.364.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.362.0.dist-info → yandexcloud-0.364.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.362.0.dist-info → yandexcloud-0.364.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.362.0.dist-info → yandexcloud-0.364.0.dist-info}/top_level.txt +0 -0
|
@@ -29,7 +29,7 @@ from yandex.cloud.trino.v1 import maintenance_pb2 as yandex_dot_cloud_dot_trino_
|
|
|
29
29
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#yandex/cloud/trino/v1/cluster.proto\x12\x15yandex.cloud.trino.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\'yandex/cloud/logging/v1/log_entry.proto\x1a*yandex/cloud/trino/v1/access_control.proto\x1a\'yandex/cloud/trino/v1/maintenance.proto\x1a\x1dyandex/cloud/validation.proto\"\x89\x07\n\x07\x43luster\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12:\n\x06labels\x18\x06 \x03(\x0b\x32*.yandex.cloud.trino.v1.Cluster.LabelsEntry\x12\x35\n\nmonitoring\x18\x07 \x03(\x0b\x32!.yandex.cloud.trino.v1.Monitoring\x12\x31\n\x05trino\x18\x08 \x01(\x0b\x32\".yandex.cloud.trino.v1.TrinoConfig\x12-\n\x06health\x18\t \x01(\x0e\x32\x1d.yandex.cloud.trino.v1.Health\x12\x35\n\x06status\x18\n \x01(\x0e\x32%.yandex.cloud.trino.v1.Cluster.Status\x12\x35\n\x07network\x18\x0b \x01(\x0b\x32$.yandex.cloud.trino.v1.NetworkConfig\x12\x1b\n\x13\x64\x65letion_protection\x18\x0c \x01(\x08\x12$\n\x12service_account_id\x18\r \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x35\n\x07logging\x18\x0e \x01(\x0b\x32$.yandex.cloud.trino.v1.LoggingConfig\x12\x17\n\x0f\x63oordinator_url\x18\x0f \x01(\t\x12\x44\n\x12maintenance_window\x18\x10 \x01(\x0b\x32(.yandex.cloud.trino.v1.MaintenanceWindow\x12\x46\n\x11planned_operation\x18\x11 \x01(\x0b\x32+.yandex.cloud.trino.v1.MaintenanceOperation\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"y\n\x06Status\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12\x0c\n\x08STOPPING\x10\x04\x12\x0b\n\x07STOPPED\x10\x05\x12\x0c\n\x08STARTING\x10\x06\x12\x0c\n\x08UPDATING\x10\x07\"=\n\nMonitoring\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0c\n\x04link\x18\x03 \x01(\t\"\xe2\x01\n\rLoggingConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x38\n\tfolder_id\x18\x02 \x01(\tB#\xf2\xc7\x31\x1f([a-zA-Z][-a-zA-Z0-9_.]{0,63})?H\x00\x12;\n\x0clog_group_id\x18\x03 \x01(\tB#\xf2\xc7\x31\x1f([a-zA-Z][-a-zA-Z0-9_.]{0,63})?H\x00\x12:\n\tmin_level\x18\x04 \x01(\x0e\x32\'.yandex.cloud.logging.v1.LogLevel.LevelB\r\n\x0b\x64\x65stination\"?\n\rNetworkConfig\x12\x12\n\nsubnet_ids\x18\x01 \x03(\t\x12\x1a\n\x12security_group_ids\x18\x02 \x03(\t\"\
|
|
32
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#yandex/cloud/trino/v1/cluster.proto\x12\x15yandex.cloud.trino.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\'yandex/cloud/logging/v1/log_entry.proto\x1a*yandex/cloud/trino/v1/access_control.proto\x1a\'yandex/cloud/trino/v1/maintenance.proto\x1a\x1dyandex/cloud/validation.proto\"\x89\x07\n\x07\x43luster\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12:\n\x06labels\x18\x06 \x03(\x0b\x32*.yandex.cloud.trino.v1.Cluster.LabelsEntry\x12\x35\n\nmonitoring\x18\x07 \x03(\x0b\x32!.yandex.cloud.trino.v1.Monitoring\x12\x31\n\x05trino\x18\x08 \x01(\x0b\x32\".yandex.cloud.trino.v1.TrinoConfig\x12-\n\x06health\x18\t \x01(\x0e\x32\x1d.yandex.cloud.trino.v1.Health\x12\x35\n\x06status\x18\n \x01(\x0e\x32%.yandex.cloud.trino.v1.Cluster.Status\x12\x35\n\x07network\x18\x0b \x01(\x0b\x32$.yandex.cloud.trino.v1.NetworkConfig\x12\x1b\n\x13\x64\x65letion_protection\x18\x0c \x01(\x08\x12$\n\x12service_account_id\x18\r \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x35\n\x07logging\x18\x0e \x01(\x0b\x32$.yandex.cloud.trino.v1.LoggingConfig\x12\x17\n\x0f\x63oordinator_url\x18\x0f \x01(\t\x12\x44\n\x12maintenance_window\x18\x10 \x01(\x0b\x32(.yandex.cloud.trino.v1.MaintenanceWindow\x12\x46\n\x11planned_operation\x18\x11 \x01(\x0b\x32+.yandex.cloud.trino.v1.MaintenanceOperation\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"y\n\x06Status\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12\x0c\n\x08STOPPING\x10\x04\x12\x0b\n\x07STOPPED\x10\x05\x12\x0c\n\x08STARTING\x10\x06\x12\x0c\n\x08UPDATING\x10\x07\"=\n\nMonitoring\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0c\n\x04link\x18\x03 \x01(\t\"\xe2\x01\n\rLoggingConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x38\n\tfolder_id\x18\x02 \x01(\tB#\xf2\xc7\x31\x1f([a-zA-Z][-a-zA-Z0-9_.]{0,63})?H\x00\x12;\n\x0clog_group_id\x18\x03 \x01(\tB#\xf2\xc7\x31\x1f([a-zA-Z][-a-zA-Z0-9_.]{0,63})?H\x00\x12:\n\tmin_level\x18\x04 \x01(\x0e\x32\'.yandex.cloud.logging.v1.LogLevel.LevelB\r\n\x0b\x64\x65stination\"?\n\rNetworkConfig\x12\x12\n\nsubnet_ids\x18\x01 \x03(\t\x12\x1a\n\x12security_group_ids\x18\x02 \x03(\t\"\xe5\x02\n\x0bTrinoConfig\x12J\n\x12\x63oordinator_config\x18\x01 \x01(\x0b\x32(.yandex.cloud.trino.v1.CoordinatorConfigB\x04\xe8\xc7\x31\x01\x12@\n\rworker_config\x18\x02 \x01(\x0b\x32#.yandex.cloud.trino.v1.WorkerConfigB\x04\xe8\xc7\x31\x01\x12\x0f\n\x07version\x18\x03 \x01(\t\x12>\n\x0cretry_policy\x18\x04 \x01(\x0b\x32(.yandex.cloud.trino.v1.RetryPolicyConfig\x12\x42\n\x0e\x61\x63\x63\x65ss_control\x18\x05 \x01(\x0b\x32*.yandex.cloud.trino.v1.AccessControlConfig\x12-\n\x03tls\x18\x07 \x01(\x0b\x32 .yandex.cloud.trino.v1.TLSConfigJ\x04\x08\x06\x10\x07\"N\n\x11\x43oordinatorConfig\x12\x39\n\tresources\x18\x01 \x01(\x0b\x32 .yandex.cloud.trino.v1.ResourcesB\x04\xe8\xc7\x31\x01\"\xc4\x02\n\x0cWorkerConfig\x12\x39\n\tresources\x18\x01 \x01(\x0b\x32 .yandex.cloud.trino.v1.ResourcesB\x04\xe8\xc7\x31\x01\x12Q\n\x0cscale_policy\x18\x02 \x01(\x0b\x32\x35.yandex.cloud.trino.v1.WorkerConfig.WorkerScalePolicyB\x04\xe8\xc7\x31\x01\x1a\xa5\x01\n\x11WorkerScalePolicy\x12>\n\x0b\x66ixed_scale\x18\x01 \x01(\x0b\x32\'.yandex.cloud.trino.v1.FixedScalePolicyH\x00\x12<\n\nauto_scale\x18\x02 \x01(\x0b\x32&.yandex.cloud.trino.v1.AutoScalePolicyH\x00\x42\x12\n\nscale_type\x12\x04\xc0\xc1\x31\x01\"\xcf\x03\n\x11RetryPolicyConfig\x12\x44\n\x06policy\x18\x01 \x01(\x0e\x32\x34.yandex.cloud.trino.v1.RetryPolicyConfig.RetryPolicy\x12\x46\n\x10\x65xchange_manager\x18\x02 \x01(\x0b\x32,.yandex.cloud.trino.v1.ExchangeManagerConfig\x12\xac\x01\n\x15\x61\x64\x64itional_properties\x18\x03 \x03(\x0b\x32\x42.yandex.cloud.trino.v1.RetryPolicyConfig.AdditionalPropertiesEntryBI\xf2\xc7\x31\x15[-_0-9a-zA-Z.,:\\/_ ]*\x82\xc8\x31\x05<=256\x8a\xc8\x31\x05<=128\xb2\xc8\x31\x1a\x12\x11[a-z][-_0-9a-z.]*\x1a\x05\x31-128\x1a;\n\x19\x41\x64\x64itionalPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"@\n\x0bRetryPolicy\x12\x1c\n\x18RETRY_POLICY_UNSPECIFIED\x10\x00\x12\t\n\x05QUERY\x10\x01\x12\x08\n\x04TASK\x10\x02\"@\n\tTLSConfig\x12\x33\n\x14trusted_certificates\x18\x01 \x03(\tB\x15\x82\xc8\x31\x03<=8\x8a\xc8\x31\x06<=8192\x90\xc8\x31\x01\"\x82\x01\n\x16\x45xchangeManagerStorage\x12M\n\nservice_s3\x18\x01 \x01(\x0b\x32\x37.yandex.cloud.trino.v1.ExchangeManagerStorage.ServiceS3H\x00\x1a\x0b\n\tServiceS3B\x0c\n\x04type\x12\x04\xc0\xc1\x31\x01\"\xc7\x02\n\x15\x45xchangeManagerConfig\x12\xb0\x01\n\x15\x61\x64\x64itional_properties\x18\x01 \x03(\x0b\x32\x46.yandex.cloud.trino.v1.ExchangeManagerConfig.AdditionalPropertiesEntryBI\xf2\xc7\x31\x15[-_0-9a-zA-Z.,:\\/_ ]*\x82\xc8\x31\x05<=256\x8a\xc8\x31\x05<=128\xb2\xc8\x31\x1a\x12\x11[a-z][-_0-9a-z.]*\x1a\x05\x31-128\x12>\n\x07storage\x18\x02 \x01(\x0b\x32-.yandex.cloud.trino.v1.ExchangeManagerStorage\x1a;\n\x19\x41\x64\x64itionalPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"5\n\tResources\x12(\n\x12resource_preset_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\",\n\x10\x46ixedScalePolicy\x12\x18\n\x05\x63ount\x18\x01 \x01(\x03\x42\t\xfa\xc7\x31\x05\x31-512\"M\n\x0f\x41utoScalePolicy\x12\x1c\n\tmin_count\x18\x01 \x01(\x03\x42\t\xfa\xc7\x31\x05\x30-512\x12\x1c\n\tmax_count\x18\x02 \x01(\x03\x42\t\xfa\xc7\x31\x05\x31-512*?\n\x06Health\x12\x12\n\x0eHEALTH_UNKNOWN\x10\x00\x12\t\n\x05\x41LIVE\x10\x01\x12\x08\n\x04\x44\x45\x41\x44\x10\x02\x12\x0c\n\x08\x44\x45GRADED\x10\x03\x42\\\n\x19yandex.cloud.api.trino.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/trino/v1;trinob\x06proto3')
|
|
33
33
|
|
|
34
34
|
_globals = globals()
|
|
35
35
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -61,6 +61,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
61
61
|
_globals['_RETRYPOLICYCONFIG_ADDITIONALPROPERTIESENTRY']._serialized_options = b'8\001'
|
|
62
62
|
_globals['_RETRYPOLICYCONFIG'].fields_by_name['additional_properties']._loaded_options = None
|
|
63
63
|
_globals['_RETRYPOLICYCONFIG'].fields_by_name['additional_properties']._serialized_options = b'\362\3071\025[-_0-9a-zA-Z.,:\\/_ ]*\202\3101\005<=256\212\3101\005<=128\262\3101\032\022\021[a-z][-_0-9a-z.]*\032\0051-128'
|
|
64
|
+
_globals['_TLSCONFIG'].fields_by_name['trusted_certificates']._loaded_options = None
|
|
65
|
+
_globals['_TLSCONFIG'].fields_by_name['trusted_certificates']._serialized_options = b'\202\3101\003<=8\212\3101\006<=8192\220\3101\001'
|
|
64
66
|
_globals['_EXCHANGEMANAGERSTORAGE'].oneofs_by_name['type']._loaded_options = None
|
|
65
67
|
_globals['_EXCHANGEMANAGERSTORAGE'].oneofs_by_name['type']._serialized_options = b'\300\3011\001'
|
|
66
68
|
_globals['_EXCHANGEMANAGERCONFIG_ADDITIONALPROPERTIESENTRY']._loaded_options = None
|
|
@@ -75,8 +77,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
75
77
|
_globals['_AUTOSCALEPOLICY'].fields_by_name['min_count']._serialized_options = b'\372\3071\0050-512'
|
|
76
78
|
_globals['_AUTOSCALEPOLICY'].fields_by_name['max_count']._loaded_options = None
|
|
77
79
|
_globals['_AUTOSCALEPOLICY'].fields_by_name['max_count']._serialized_options = b'\372\3071\0051-512'
|
|
78
|
-
_globals['_HEALTH']._serialized_start=
|
|
79
|
-
_globals['_HEALTH']._serialized_end=
|
|
80
|
+
_globals['_HEALTH']._serialized_start=3459
|
|
81
|
+
_globals['_HEALTH']._serialized_end=3522
|
|
80
82
|
_globals['_CLUSTER']._serialized_start=253
|
|
81
83
|
_globals['_CLUSTER']._serialized_end=1158
|
|
82
84
|
_globals['_CLUSTER_LABELSENTRY']._serialized_start=990
|
|
@@ -90,31 +92,33 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
90
92
|
_globals['_NETWORKCONFIG']._serialized_start=1452
|
|
91
93
|
_globals['_NETWORKCONFIG']._serialized_end=1515
|
|
92
94
|
_globals['_TRINOCONFIG']._serialized_start=1518
|
|
93
|
-
_globals['_TRINOCONFIG']._serialized_end=
|
|
94
|
-
_globals['_COORDINATORCONFIG']._serialized_start=
|
|
95
|
-
_globals['_COORDINATORCONFIG']._serialized_end=
|
|
96
|
-
_globals['_WORKERCONFIG']._serialized_start=
|
|
97
|
-
_globals['_WORKERCONFIG']._serialized_end=
|
|
98
|
-
_globals['_WORKERCONFIG_WORKERSCALEPOLICY']._serialized_start=
|
|
99
|
-
_globals['_WORKERCONFIG_WORKERSCALEPOLICY']._serialized_end=
|
|
100
|
-
_globals['_RETRYPOLICYCONFIG']._serialized_start=
|
|
101
|
-
_globals['_RETRYPOLICYCONFIG']._serialized_end=
|
|
102
|
-
_globals['_RETRYPOLICYCONFIG_ADDITIONALPROPERTIESENTRY']._serialized_start=
|
|
103
|
-
_globals['_RETRYPOLICYCONFIG_ADDITIONALPROPERTIESENTRY']._serialized_end=
|
|
104
|
-
_globals['_RETRYPOLICYCONFIG_RETRYPOLICY']._serialized_start=
|
|
105
|
-
_globals['_RETRYPOLICYCONFIG_RETRYPOLICY']._serialized_end=
|
|
106
|
-
_globals['
|
|
107
|
-
_globals['
|
|
108
|
-
_globals['
|
|
109
|
-
_globals['
|
|
110
|
-
_globals['
|
|
111
|
-
_globals['
|
|
112
|
-
_globals['
|
|
113
|
-
_globals['
|
|
114
|
-
_globals['
|
|
115
|
-
_globals['
|
|
116
|
-
_globals['
|
|
117
|
-
_globals['
|
|
118
|
-
_globals['
|
|
119
|
-
_globals['
|
|
95
|
+
_globals['_TRINOCONFIG']._serialized_end=1875
|
|
96
|
+
_globals['_COORDINATORCONFIG']._serialized_start=1877
|
|
97
|
+
_globals['_COORDINATORCONFIG']._serialized_end=1955
|
|
98
|
+
_globals['_WORKERCONFIG']._serialized_start=1958
|
|
99
|
+
_globals['_WORKERCONFIG']._serialized_end=2282
|
|
100
|
+
_globals['_WORKERCONFIG_WORKERSCALEPOLICY']._serialized_start=2117
|
|
101
|
+
_globals['_WORKERCONFIG_WORKERSCALEPOLICY']._serialized_end=2282
|
|
102
|
+
_globals['_RETRYPOLICYCONFIG']._serialized_start=2285
|
|
103
|
+
_globals['_RETRYPOLICYCONFIG']._serialized_end=2748
|
|
104
|
+
_globals['_RETRYPOLICYCONFIG_ADDITIONALPROPERTIESENTRY']._serialized_start=2623
|
|
105
|
+
_globals['_RETRYPOLICYCONFIG_ADDITIONALPROPERTIESENTRY']._serialized_end=2682
|
|
106
|
+
_globals['_RETRYPOLICYCONFIG_RETRYPOLICY']._serialized_start=2684
|
|
107
|
+
_globals['_RETRYPOLICYCONFIG_RETRYPOLICY']._serialized_end=2748
|
|
108
|
+
_globals['_TLSCONFIG']._serialized_start=2750
|
|
109
|
+
_globals['_TLSCONFIG']._serialized_end=2814
|
|
110
|
+
_globals['_EXCHANGEMANAGERSTORAGE']._serialized_start=2817
|
|
111
|
+
_globals['_EXCHANGEMANAGERSTORAGE']._serialized_end=2947
|
|
112
|
+
_globals['_EXCHANGEMANAGERSTORAGE_SERVICES3']._serialized_start=2922
|
|
113
|
+
_globals['_EXCHANGEMANAGERSTORAGE_SERVICES3']._serialized_end=2933
|
|
114
|
+
_globals['_EXCHANGEMANAGERCONFIG']._serialized_start=2950
|
|
115
|
+
_globals['_EXCHANGEMANAGERCONFIG']._serialized_end=3277
|
|
116
|
+
_globals['_EXCHANGEMANAGERCONFIG_ADDITIONALPROPERTIESENTRY']._serialized_start=2623
|
|
117
|
+
_globals['_EXCHANGEMANAGERCONFIG_ADDITIONALPROPERTIESENTRY']._serialized_end=2682
|
|
118
|
+
_globals['_RESOURCES']._serialized_start=3279
|
|
119
|
+
_globals['_RESOURCES']._serialized_end=3332
|
|
120
|
+
_globals['_FIXEDSCALEPOLICY']._serialized_start=3334
|
|
121
|
+
_globals['_FIXEDSCALEPOLICY']._serialized_end=3378
|
|
122
|
+
_globals['_AUTOSCALEPOLICY']._serialized_start=3380
|
|
123
|
+
_globals['_AUTOSCALEPOLICY']._serialized_end=3457
|
|
120
124
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -302,6 +302,7 @@ class TrinoConfig(google.protobuf.message.Message):
|
|
|
302
302
|
VERSION_FIELD_NUMBER: builtins.int
|
|
303
303
|
RETRY_POLICY_FIELD_NUMBER: builtins.int
|
|
304
304
|
ACCESS_CONTROL_FIELD_NUMBER: builtins.int
|
|
305
|
+
TLS_FIELD_NUMBER: builtins.int
|
|
305
306
|
version: builtins.str
|
|
306
307
|
"""Version of Trino."""
|
|
307
308
|
@property
|
|
@@ -320,6 +321,10 @@ class TrinoConfig(google.protobuf.message.Message):
|
|
|
320
321
|
def access_control(self) -> yandex.cloud.trino.v1.access_control_pb2.AccessControlConfig:
|
|
321
322
|
"""Configuration for access control, specifying the fine-grained rules of accesses."""
|
|
322
323
|
|
|
324
|
+
@property
|
|
325
|
+
def tls(self) -> global___TLSConfig:
|
|
326
|
+
"""Configuration for TLS."""
|
|
327
|
+
|
|
323
328
|
def __init__(
|
|
324
329
|
self,
|
|
325
330
|
*,
|
|
@@ -328,9 +333,10 @@ class TrinoConfig(google.protobuf.message.Message):
|
|
|
328
333
|
version: builtins.str = ...,
|
|
329
334
|
retry_policy: global___RetryPolicyConfig | None = ...,
|
|
330
335
|
access_control: yandex.cloud.trino.v1.access_control_pb2.AccessControlConfig | None = ...,
|
|
336
|
+
tls: global___TLSConfig | None = ...,
|
|
331
337
|
) -> None: ...
|
|
332
|
-
def HasField(self, field_name: typing.Literal["access_control", b"access_control", "coordinator_config", b"coordinator_config", "retry_policy", b"retry_policy", "worker_config", b"worker_config"]) -> builtins.bool: ...
|
|
333
|
-
def ClearField(self, field_name: typing.Literal["access_control", b"access_control", "coordinator_config", b"coordinator_config", "retry_policy", b"retry_policy", "version", b"version", "worker_config", b"worker_config"]) -> None: ...
|
|
338
|
+
def HasField(self, field_name: typing.Literal["access_control", b"access_control", "coordinator_config", b"coordinator_config", "retry_policy", b"retry_policy", "tls", b"tls", "worker_config", b"worker_config"]) -> builtins.bool: ...
|
|
339
|
+
def ClearField(self, field_name: typing.Literal["access_control", b"access_control", "coordinator_config", b"coordinator_config", "retry_policy", b"retry_policy", "tls", b"tls", "version", b"version", "worker_config", b"worker_config"]) -> None: ...
|
|
334
340
|
|
|
335
341
|
global___TrinoConfig = TrinoConfig
|
|
336
342
|
|
|
@@ -465,6 +471,26 @@ class RetryPolicyConfig(google.protobuf.message.Message):
|
|
|
465
471
|
|
|
466
472
|
global___RetryPolicyConfig = RetryPolicyConfig
|
|
467
473
|
|
|
474
|
+
@typing.final
|
|
475
|
+
class TLSConfig(google.protobuf.message.Message):
|
|
476
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
477
|
+
|
|
478
|
+
TRUSTED_CERTIFICATES_FIELD_NUMBER: builtins.int
|
|
479
|
+
@property
|
|
480
|
+
def trusted_certificates(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
481
|
+
"""Trusted CA-certificates. Each element should contain single self-signed CA-certificate or
|
|
482
|
+
chain of CA-certificates where first certificate is the leaf and last certificate is the self-signed root.
|
|
483
|
+
"""
|
|
484
|
+
|
|
485
|
+
def __init__(
|
|
486
|
+
self,
|
|
487
|
+
*,
|
|
488
|
+
trusted_certificates: collections.abc.Iterable[builtins.str] | None = ...,
|
|
489
|
+
) -> None: ...
|
|
490
|
+
def ClearField(self, field_name: typing.Literal["trusted_certificates", b"trusted_certificates"]) -> None: ...
|
|
491
|
+
|
|
492
|
+
global___TLSConfig = TLSConfig
|
|
493
|
+
|
|
468
494
|
@typing.final
|
|
469
495
|
class ExchangeManagerStorage(google.protobuf.message.Message):
|
|
470
496
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -33,7 +33,7 @@ from yandex.cloud.trino.v1 import maintenance_pb2 as yandex_dot_cloud_dot_trino_
|
|
|
33
33
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/trino/v1/cluster_service.proto\x12\x15yandex.cloud.trino.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a*yandex/cloud/trino/v1/access_control.proto\x1a#yandex/cloud/trino/v1/catalog.proto\x1a#yandex/cloud/trino/v1/cluster.proto\x1a\'yandex/cloud/trino/v1/maintenance.proto\x1a\x1dyandex/cloud/validation.proto\"5\n\x11GetClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\x90\x01\n\x13ListClustersRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"a\n\x14ListClustersResponse\x12\x30\n\x08\x63lusters\x18\x01 \x03(\x0b\x32\x1e.yandex.cloud.trino.v1.Cluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xf9\x04\n\x14\x43reateClusterRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12,\n\x04name\x18\x02 \x01(\tB\x1e\xe8\xc7\x31\x01\xf2\xc7\x31\x0e[a-zA-Z0-9_-]*\x8a\xc8\x31\x04<=63\x12\x1e\n\x0b\x64\x65scription\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x84\x01\n\x06labels\x18\x04 \x03(\x0b\x32\x37.yandex.cloud.trino.v1.CreateClusterRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04\x31-63\x12;\n\x05trino\x18\x05 \x01(\x0b\x32&.yandex.cloud.trino.v1.TrinoConfigSpecB\x04\xe8\xc7\x31\x01\x12;\n\x07network\x18\x06 \x01(\x0b\x32$.yandex.cloud.trino.v1.NetworkConfigB\x04\xe8\xc7\x31\x01\x12\x1b\n\x13\x64\x65letion_protection\x18\x07 \x01(\x08\x12(\n\x12service_account_id\x18\x08 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x35\n\x07logging\x18\t \x01(\x0b\x32$.yandex.cloud.trino.v1.LoggingConfig\x12\x44\n\x12maintenance_window\x18\n \x01(\x0b\x32(.yandex.cloud.trino.v1.MaintenanceWindow\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\
|
|
36
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/trino/v1/cluster_service.proto\x12\x15yandex.cloud.trino.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a*yandex/cloud/trino/v1/access_control.proto\x1a#yandex/cloud/trino/v1/catalog.proto\x1a#yandex/cloud/trino/v1/cluster.proto\x1a\'yandex/cloud/trino/v1/maintenance.proto\x1a\x1dyandex/cloud/validation.proto\"5\n\x11GetClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\x90\x01\n\x13ListClustersRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"a\n\x14ListClustersResponse\x12\x30\n\x08\x63lusters\x18\x01 \x03(\x0b\x32\x1e.yandex.cloud.trino.v1.Cluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xf9\x04\n\x14\x43reateClusterRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12,\n\x04name\x18\x02 \x01(\tB\x1e\xe8\xc7\x31\x01\xf2\xc7\x31\x0e[a-zA-Z0-9_-]*\x8a\xc8\x31\x04<=63\x12\x1e\n\x0b\x64\x65scription\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x84\x01\n\x06labels\x18\x04 \x03(\x0b\x32\x37.yandex.cloud.trino.v1.CreateClusterRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04\x31-63\x12;\n\x05trino\x18\x05 \x01(\x0b\x32&.yandex.cloud.trino.v1.TrinoConfigSpecB\x04\xe8\xc7\x31\x01\x12;\n\x07network\x18\x06 \x01(\x0b\x32$.yandex.cloud.trino.v1.NetworkConfigB\x04\xe8\xc7\x31\x01\x12\x1b\n\x13\x64\x65letion_protection\x18\x07 \x01(\x08\x12(\n\x12service_account_id\x18\x08 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x35\n\x07logging\x18\t \x01(\x0b\x32$.yandex.cloud.trino.v1.LoggingConfig\x12\x44\n\x12maintenance_window\x18\n \x01(\x0b\x32(.yandex.cloud.trino.v1.MaintenanceWindow\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa5\x03\n\x0fTrinoConfigSpec\x12\x34\n\x08\x63\x61talogs\x18\x01 \x03(\x0b\x32\".yandex.cloud.trino.v1.CatalogSpec\x12J\n\x12\x63oordinator_config\x18\x02 \x01(\x0b\x32(.yandex.cloud.trino.v1.CoordinatorConfigB\x04\xe8\xc7\x31\x01\x12@\n\rworker_config\x18\x03 \x01(\x0b\x32#.yandex.cloud.trino.v1.WorkerConfigB\x04\xe8\xc7\x31\x01\x12>\n\x0cretry_policy\x18\x04 \x01(\x0b\x32(.yandex.cloud.trino.v1.RetryPolicyConfig\x12\x0f\n\x07version\x18\x06 \x01(\t\x12\x42\n\x0e\x61\x63\x63\x65ss_control\x18\x07 \x01(\x0b\x32*.yandex.cloud.trino.v1.AccessControlConfig\x12-\n\x03tls\x18\t \x01(\x0b\x32 .yandex.cloud.trino.v1.TLSConfigJ\x04\x08\x05\x10\x06J\x04\x08\x08\x10\t\"+\n\x15\x43reateClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"N\n\x17UpdateCoordinatorConfig\x12\x33\n\tresources\x18\x01 \x01(\x0b\x32 .yandex.cloud.trino.v1.Resources\"\xc4\x02\n\x12UpdateWorkerConfig\x12\x33\n\tresources\x18\x01 \x01(\x0b\x32 .yandex.cloud.trino.v1.Resources\x12Q\n\x0cscale_policy\x18\x02 \x01(\x0b\x32;.yandex.cloud.trino.v1.UpdateWorkerConfig.WorkerScalePolicy\x1a\xa5\x01\n\x11WorkerScalePolicy\x12>\n\x0b\x66ixed_scale\x18\x01 \x01(\x0b\x32\'.yandex.cloud.trino.v1.FixedScalePolicyH\x00\x12<\n\nauto_scale\x18\x02 \x01(\x0b\x32&.yandex.cloud.trino.v1.AutoScalePolicyH\x00\x42\x12\n\nscale_type\x12\x04\xc0\xc1\x31\x01\"\xef\x02\n\x15UpdateTrinoConfigSpec\x12J\n\x12\x63oordinator_config\x18\x01 \x01(\x0b\x32..yandex.cloud.trino.v1.UpdateCoordinatorConfig\x12@\n\rworker_config\x18\x02 \x01(\x0b\x32).yandex.cloud.trino.v1.UpdateWorkerConfig\x12\x0f\n\x07version\x18\x03 \x01(\t\x12>\n\x0cretry_policy\x18\x04 \x01(\x0b\x32(.yandex.cloud.trino.v1.RetryPolicyConfig\x12\x42\n\x0e\x61\x63\x63\x65ss_control\x18\x05 \x01(\x0b\x32*.yandex.cloud.trino.v1.AccessControlConfig\x12-\n\x03tls\x18\x07 \x01(\x0b\x32 .yandex.cloud.trino.v1.TLSConfigJ\x04\x08\x06\x10\x07\"5\n\x17UpdateNetworkConfigSpec\x12\x1a\n\x12security_group_ids\x18\x01 \x03(\t\"\xac\x05\n\x14UpdateClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12(\n\x04name\x18\x03 \x01(\tB\x1a\xf2\xc7\x31\x0e[a-zA-Z0-9_-]*\x8a\xc8\x31\x04<=63\x12\x1e\n\x0b\x64\x65scription\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x84\x01\n\x06labels\x18\x05 \x03(\x0b\x32\x37.yandex.cloud.trino.v1.UpdateClusterRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04\x31-63\x12\x1b\n\x13\x64\x65letion_protection\x18\x06 \x01(\x08\x12;\n\x05trino\x18\x07 \x01(\x0b\x32,.yandex.cloud.trino.v1.UpdateTrinoConfigSpec\x12\x44\n\x0cnetwork_spec\x18\x08 \x01(\x0b\x32..yandex.cloud.trino.v1.UpdateNetworkConfigSpec\x12$\n\x12service_account_id\x18\t \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x35\n\x07logging\x18\n \x01(\x0b\x32$.yandex.cloud.trino.v1.LoggingConfig\x12\x44\n\x12maintenance_window\x18\x0b \x01(\x0b\x32(.yandex.cloud.trino.v1.MaintenanceWindow\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"+\n\x15UpdateClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"8\n\x14\x44\x65leteClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"+\n\x15\x44\x65leteClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"7\n\x13StartClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"*\n\x14StartClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"6\n\x12StopClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\")\n\x13StopClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"~\n\x1cListClusterOperationsRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"o\n\x1dListClusterOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xcc\n\n\x0e\x43lusterService\x12\x80\x01\n\x03Get\x12(.yandex.cloud.trino.v1.GetClusterRequest\x1a\x1e.yandex.cloud.trino.v1.Cluster\"/\x82\xd3\xe4\x93\x02)\x12\'/managed-trino/v1/clusters/{cluster_id}\x12\x83\x01\n\x04List\x12*.yandex.cloud.trino.v1.ListClustersRequest\x1a+.yandex.cloud.trino.v1.ListClustersResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/managed-trino/v1/clusters\x12\xa3\x01\n\x06\x43reate\x12+.yandex.cloud.trino.v1.CreateClusterRequest\x1a!.yandex.cloud.operation.Operation\"I\xb2\xd2* \n\x15\x43reateClusterMetadata\x12\x07\x43luster\x82\xd3\xe4\x93\x02\x1f\"\x1a/managed-trino/v1/clusters:\x01*\x12\xb0\x01\n\x06Update\x12+.yandex.cloud.trino.v1.UpdateClusterRequest\x1a!.yandex.cloud.operation.Operation\"V\xb2\xd2* \n\x15UpdateClusterMetadata\x12\x07\x43luster\x82\xd3\xe4\x93\x02,2\'/managed-trino/v1/clusters/{cluster_id}:\x01*\x12\xbb\x01\n\x06\x44\x65lete\x12+.yandex.cloud.trino.v1.DeleteClusterRequest\x1a!.yandex.cloud.operation.Operation\"a\xb2\xd2*.\n\x15\x44\x65leteClusterMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02)*\'/managed-trino/v1/clusters/{cluster_id}\x12\xb0\x01\n\x05Start\x12*.yandex.cloud.trino.v1.StartClusterRequest\x1a!.yandex.cloud.operation.Operation\"X\xb2\xd2*\x1f\n\x14StartClusterMetadata\x12\x07\x43luster\x82\xd3\xe4\x93\x02/\"-/managed-trino/v1/clusters/{cluster_id}:start\x12\xac\x01\n\x04Stop\x12).yandex.cloud.trino.v1.StopClusterRequest\x1a!.yandex.cloud.operation.Operation\"V\xb2\xd2*\x1e\n\x13StopClusterMetadata\x12\x07\x43luster\x82\xd3\xe4\x93\x02.\",/managed-trino/v1/clusters/{cluster_id}:stop\x12\xb7\x01\n\x0eListOperations\x12\x33.yandex.cloud.trino.v1.ListClusterOperationsRequest\x1a\x34.yandex.cloud.trino.v1.ListClusterOperationsResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/managed-trino/v1/clusters/{cluster_id}/operationsB\\\n\x19yandex.cloud.api.trino.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/trino/v1;trinob\x06proto3')
|
|
37
37
|
|
|
38
38
|
_globals = globals()
|
|
39
39
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -124,41 +124,41 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
124
124
|
_globals['_CREATECLUSTERREQUEST_LABELSENTRY']._serialized_start=1288
|
|
125
125
|
_globals['_CREATECLUSTERREQUEST_LABELSENTRY']._serialized_end=1333
|
|
126
126
|
_globals['_TRINOCONFIGSPEC']._serialized_start=1336
|
|
127
|
-
_globals['_TRINOCONFIGSPEC']._serialized_end=
|
|
128
|
-
_globals['_CREATECLUSTERMETADATA']._serialized_start=
|
|
129
|
-
_globals['_CREATECLUSTERMETADATA']._serialized_end=
|
|
130
|
-
_globals['_UPDATECOORDINATORCONFIG']._serialized_start=
|
|
131
|
-
_globals['_UPDATECOORDINATORCONFIG']._serialized_end=
|
|
132
|
-
_globals['_UPDATEWORKERCONFIG']._serialized_start=
|
|
133
|
-
_globals['_UPDATEWORKERCONFIG']._serialized_end=
|
|
134
|
-
_globals['_UPDATEWORKERCONFIG_WORKERSCALEPOLICY']._serialized_start=
|
|
135
|
-
_globals['_UPDATEWORKERCONFIG_WORKERSCALEPOLICY']._serialized_end=
|
|
136
|
-
_globals['_UPDATETRINOCONFIGSPEC']._serialized_start=
|
|
137
|
-
_globals['_UPDATETRINOCONFIGSPEC']._serialized_end=
|
|
138
|
-
_globals['_UPDATENETWORKCONFIGSPEC']._serialized_start=
|
|
139
|
-
_globals['_UPDATENETWORKCONFIGSPEC']._serialized_end=
|
|
140
|
-
_globals['_UPDATECLUSTERREQUEST']._serialized_start=
|
|
141
|
-
_globals['_UPDATECLUSTERREQUEST']._serialized_end=
|
|
127
|
+
_globals['_TRINOCONFIGSPEC']._serialized_end=1757
|
|
128
|
+
_globals['_CREATECLUSTERMETADATA']._serialized_start=1759
|
|
129
|
+
_globals['_CREATECLUSTERMETADATA']._serialized_end=1802
|
|
130
|
+
_globals['_UPDATECOORDINATORCONFIG']._serialized_start=1804
|
|
131
|
+
_globals['_UPDATECOORDINATORCONFIG']._serialized_end=1882
|
|
132
|
+
_globals['_UPDATEWORKERCONFIG']._serialized_start=1885
|
|
133
|
+
_globals['_UPDATEWORKERCONFIG']._serialized_end=2209
|
|
134
|
+
_globals['_UPDATEWORKERCONFIG_WORKERSCALEPOLICY']._serialized_start=2044
|
|
135
|
+
_globals['_UPDATEWORKERCONFIG_WORKERSCALEPOLICY']._serialized_end=2209
|
|
136
|
+
_globals['_UPDATETRINOCONFIGSPEC']._serialized_start=2212
|
|
137
|
+
_globals['_UPDATETRINOCONFIGSPEC']._serialized_end=2579
|
|
138
|
+
_globals['_UPDATENETWORKCONFIGSPEC']._serialized_start=2581
|
|
139
|
+
_globals['_UPDATENETWORKCONFIGSPEC']._serialized_end=2634
|
|
140
|
+
_globals['_UPDATECLUSTERREQUEST']._serialized_start=2637
|
|
141
|
+
_globals['_UPDATECLUSTERREQUEST']._serialized_end=3321
|
|
142
142
|
_globals['_UPDATECLUSTERREQUEST_LABELSENTRY']._serialized_start=1288
|
|
143
143
|
_globals['_UPDATECLUSTERREQUEST_LABELSENTRY']._serialized_end=1333
|
|
144
|
-
_globals['_UPDATECLUSTERMETADATA']._serialized_start=
|
|
145
|
-
_globals['_UPDATECLUSTERMETADATA']._serialized_end=
|
|
146
|
-
_globals['_DELETECLUSTERREQUEST']._serialized_start=
|
|
147
|
-
_globals['_DELETECLUSTERREQUEST']._serialized_end=
|
|
148
|
-
_globals['_DELETECLUSTERMETADATA']._serialized_start=
|
|
149
|
-
_globals['_DELETECLUSTERMETADATA']._serialized_end=
|
|
150
|
-
_globals['_STARTCLUSTERREQUEST']._serialized_start=
|
|
151
|
-
_globals['_STARTCLUSTERREQUEST']._serialized_end=
|
|
152
|
-
_globals['_STARTCLUSTERMETADATA']._serialized_start=
|
|
153
|
-
_globals['_STARTCLUSTERMETADATA']._serialized_end=
|
|
154
|
-
_globals['_STOPCLUSTERREQUEST']._serialized_start=
|
|
155
|
-
_globals['_STOPCLUSTERREQUEST']._serialized_end=
|
|
156
|
-
_globals['_STOPCLUSTERMETADATA']._serialized_start=
|
|
157
|
-
_globals['_STOPCLUSTERMETADATA']._serialized_end=
|
|
158
|
-
_globals['_LISTCLUSTEROPERATIONSREQUEST']._serialized_start=
|
|
159
|
-
_globals['_LISTCLUSTEROPERATIONSREQUEST']._serialized_end=
|
|
160
|
-
_globals['_LISTCLUSTEROPERATIONSRESPONSE']._serialized_start=
|
|
161
|
-
_globals['_LISTCLUSTEROPERATIONSRESPONSE']._serialized_end=
|
|
162
|
-
_globals['_CLUSTERSERVICE']._serialized_start=
|
|
163
|
-
_globals['_CLUSTERSERVICE']._serialized_end=
|
|
144
|
+
_globals['_UPDATECLUSTERMETADATA']._serialized_start=3323
|
|
145
|
+
_globals['_UPDATECLUSTERMETADATA']._serialized_end=3366
|
|
146
|
+
_globals['_DELETECLUSTERREQUEST']._serialized_start=3368
|
|
147
|
+
_globals['_DELETECLUSTERREQUEST']._serialized_end=3424
|
|
148
|
+
_globals['_DELETECLUSTERMETADATA']._serialized_start=3426
|
|
149
|
+
_globals['_DELETECLUSTERMETADATA']._serialized_end=3469
|
|
150
|
+
_globals['_STARTCLUSTERREQUEST']._serialized_start=3471
|
|
151
|
+
_globals['_STARTCLUSTERREQUEST']._serialized_end=3526
|
|
152
|
+
_globals['_STARTCLUSTERMETADATA']._serialized_start=3528
|
|
153
|
+
_globals['_STARTCLUSTERMETADATA']._serialized_end=3570
|
|
154
|
+
_globals['_STOPCLUSTERREQUEST']._serialized_start=3572
|
|
155
|
+
_globals['_STOPCLUSTERREQUEST']._serialized_end=3626
|
|
156
|
+
_globals['_STOPCLUSTERMETADATA']._serialized_start=3628
|
|
157
|
+
_globals['_STOPCLUSTERMETADATA']._serialized_end=3669
|
|
158
|
+
_globals['_LISTCLUSTEROPERATIONSREQUEST']._serialized_start=3671
|
|
159
|
+
_globals['_LISTCLUSTEROPERATIONSREQUEST']._serialized_end=3797
|
|
160
|
+
_globals['_LISTCLUSTEROPERATIONSRESPONSE']._serialized_start=3799
|
|
161
|
+
_globals['_LISTCLUSTEROPERATIONSRESPONSE']._serialized_end=3910
|
|
162
|
+
_globals['_CLUSTERSERVICE']._serialized_start=3913
|
|
163
|
+
_globals['_CLUSTERSERVICE']._serialized_end=5269
|
|
164
164
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -189,6 +189,7 @@ class TrinoConfigSpec(google.protobuf.message.Message):
|
|
|
189
189
|
RETRY_POLICY_FIELD_NUMBER: builtins.int
|
|
190
190
|
VERSION_FIELD_NUMBER: builtins.int
|
|
191
191
|
ACCESS_CONTROL_FIELD_NUMBER: builtins.int
|
|
192
|
+
TLS_FIELD_NUMBER: builtins.int
|
|
192
193
|
version: builtins.str
|
|
193
194
|
"""Trino version.
|
|
194
195
|
Format: "Number".
|
|
@@ -215,6 +216,10 @@ class TrinoConfigSpec(google.protobuf.message.Message):
|
|
|
215
216
|
def access_control(self) -> yandex.cloud.trino.v1.access_control_pb2.AccessControlConfig:
|
|
216
217
|
"""Configuration for access control, specifying the fine-grained access rules."""
|
|
217
218
|
|
|
219
|
+
@property
|
|
220
|
+
def tls(self) -> yandex.cloud.trino.v1.cluster_pb2.TLSConfig:
|
|
221
|
+
"""Configuration for TLS."""
|
|
222
|
+
|
|
218
223
|
def __init__(
|
|
219
224
|
self,
|
|
220
225
|
*,
|
|
@@ -224,9 +229,10 @@ class TrinoConfigSpec(google.protobuf.message.Message):
|
|
|
224
229
|
retry_policy: yandex.cloud.trino.v1.cluster_pb2.RetryPolicyConfig | None = ...,
|
|
225
230
|
version: builtins.str = ...,
|
|
226
231
|
access_control: yandex.cloud.trino.v1.access_control_pb2.AccessControlConfig | None = ...,
|
|
232
|
+
tls: yandex.cloud.trino.v1.cluster_pb2.TLSConfig | None = ...,
|
|
227
233
|
) -> None: ...
|
|
228
|
-
def HasField(self, field_name: typing.Literal["access_control", b"access_control", "coordinator_config", b"coordinator_config", "retry_policy", b"retry_policy", "worker_config", b"worker_config"]) -> builtins.bool: ...
|
|
229
|
-
def ClearField(self, field_name: typing.Literal["access_control", b"access_control", "catalogs", b"catalogs", "coordinator_config", b"coordinator_config", "retry_policy", b"retry_policy", "version", b"version", "worker_config", b"worker_config"]) -> None: ...
|
|
234
|
+
def HasField(self, field_name: typing.Literal["access_control", b"access_control", "coordinator_config", b"coordinator_config", "retry_policy", b"retry_policy", "tls", b"tls", "worker_config", b"worker_config"]) -> builtins.bool: ...
|
|
235
|
+
def ClearField(self, field_name: typing.Literal["access_control", b"access_control", "catalogs", b"catalogs", "coordinator_config", b"coordinator_config", "retry_policy", b"retry_policy", "tls", b"tls", "version", b"version", "worker_config", b"worker_config"]) -> None: ...
|
|
230
236
|
|
|
231
237
|
global___TrinoConfigSpec = TrinoConfigSpec
|
|
232
238
|
|
|
@@ -326,6 +332,7 @@ class UpdateTrinoConfigSpec(google.protobuf.message.Message):
|
|
|
326
332
|
VERSION_FIELD_NUMBER: builtins.int
|
|
327
333
|
RETRY_POLICY_FIELD_NUMBER: builtins.int
|
|
328
334
|
ACCESS_CONTROL_FIELD_NUMBER: builtins.int
|
|
335
|
+
TLS_FIELD_NUMBER: builtins.int
|
|
329
336
|
version: builtins.str
|
|
330
337
|
"""Trino version.
|
|
331
338
|
Format: "Number".
|
|
@@ -346,6 +353,10 @@ class UpdateTrinoConfigSpec(google.protobuf.message.Message):
|
|
|
346
353
|
def access_control(self) -> yandex.cloud.trino.v1.access_control_pb2.AccessControlConfig:
|
|
347
354
|
"""Configuration for access control, specifying the fine-grained access rules."""
|
|
348
355
|
|
|
356
|
+
@property
|
|
357
|
+
def tls(self) -> yandex.cloud.trino.v1.cluster_pb2.TLSConfig:
|
|
358
|
+
"""Configuration for TLS."""
|
|
359
|
+
|
|
349
360
|
def __init__(
|
|
350
361
|
self,
|
|
351
362
|
*,
|
|
@@ -354,9 +365,10 @@ class UpdateTrinoConfigSpec(google.protobuf.message.Message):
|
|
|
354
365
|
version: builtins.str = ...,
|
|
355
366
|
retry_policy: yandex.cloud.trino.v1.cluster_pb2.RetryPolicyConfig | None = ...,
|
|
356
367
|
access_control: yandex.cloud.trino.v1.access_control_pb2.AccessControlConfig | None = ...,
|
|
368
|
+
tls: yandex.cloud.trino.v1.cluster_pb2.TLSConfig | None = ...,
|
|
357
369
|
) -> None: ...
|
|
358
|
-
def HasField(self, field_name: typing.Literal["access_control", b"access_control", "coordinator_config", b"coordinator_config", "retry_policy", b"retry_policy", "worker_config", b"worker_config"]) -> builtins.bool: ...
|
|
359
|
-
def ClearField(self, field_name: typing.Literal["access_control", b"access_control", "coordinator_config", b"coordinator_config", "retry_policy", b"retry_policy", "version", b"version", "worker_config", b"worker_config"]) -> None: ...
|
|
370
|
+
def HasField(self, field_name: typing.Literal["access_control", b"access_control", "coordinator_config", b"coordinator_config", "retry_policy", b"retry_policy", "tls", b"tls", "worker_config", b"worker_config"]) -> builtins.bool: ...
|
|
371
|
+
def ClearField(self, field_name: typing.Literal["access_control", b"access_control", "coordinator_config", b"coordinator_config", "retry_policy", b"retry_policy", "tls", b"tls", "version", b"version", "worker_config", b"worker_config"]) -> None: ...
|
|
360
372
|
|
|
361
373
|
global___UpdateTrinoConfigSpec = UpdateTrinoConfigSpec
|
|
362
374
|
|
|
@@ -27,7 +27,7 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb
|
|
|
27
27
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&yandex/cloud/ytsaurus/v1/cluster.proto\x12\x18yandex.cloud.ytsaurus.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1dyandex/cloud/validation.proto\"\xc6\x07\n\x07\x43luster\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12\x0f\n\x07zone_id\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12=\n\x06labels\x18\x06 \x03(\x0b\x32-.yandex.cloud.ytsaurus.v1.Cluster.LabelsEntry\x12\x11\n\tsubnet_id\x18\x07 \x01(\t\x12\x1a\n\x12security_group_ids\x18\x08 \x03(\t\x12\x33\n\x04spec\x18\t \x01(\x0b\x32%.yandex.cloud.ytsaurus.v1.ClusterSpec\x12.\n\ncreated_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\ncreated_by\x18\x0b \x01(\t\x12.\n\nupdated_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nupdated_by\x18\r \x01(\t\x12\x38\n\x06status\x18\x0e \x01(\x0e\x32(.yandex.cloud.ytsaurus.v1.Cluster.Status\x12\x38\n\x06health\x18\x0f \x01(\x0e\x32(.yandex.cloud.ytsaurus.v1.Cluster.Health\x12>\n\tendpoints\x18\x10 \x01(\x0b\x32+.yandex.cloud.ytsaurus.v1.Cluster.Endpoints\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x8e\x01\n\tEndpoints\x12\n\n\x02ui\x18\x01 \x01(\t\x12$\n\x1c\x65xternal_http_proxy_balancer\x18\x02 \x01(\t\x12!\n\x19internal_http_proxy_alias\x18\x03 \x01(\t\x12 \n\x18internal_rpc_proxy_alias\x18\x04 \x01(\tJ\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07\"\x87\x01\n\x06Status\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12\x0c\n\x08STOPPING\x10\x04\x12\x0b\n\x07STOPPED\x10\x05\x12\x0c\n\x08STARTING\x10\x06\x12\x0c\n\x08UPDATING\x10\x07\x12\x0c\n\x08\x44\x45LETING\x10\x08\"?\n\x06Health\x12\x12\n\x0eHEALTH_UNKNOWN\x10\x00\x12\t\n\x05\x41LIVE\x10\x01\x12\x08\n\x04\x44\x45\x41\x44\x10\x02\x12\x0c\n\x08\x44\x45GRADED\x10\x03\"\xf5\x01\n\x0bStorageSpec\x12:\n\x03hdd\x18\x01 \x01(\x0b\x32-.yandex.cloud.ytsaurus.v1.StorageSpec.HddSpec\x12:\n\x03ssd\x18\x02 \x01(\x0b\x32-.yandex.cloud.ytsaurus.v1.StorageSpec.SsdSpec\x1a/\n\x07HddSpec\x12\x0f\n\x07size_gb\x18\x02 \x01(\x03\x12\r\n\x05\x63ount\x18\x03 \x01(\x03J\x04\x08\x01\x10\x02\x1a=\n\x07SsdSpec\x12\x0f\n\x07size_gb\x18\x02 \x01(\x03\x12\x0c\n\x04type\x18\x03 \x01(\t\x12\r\n\x05\x63ount\x18\x04 \x01(\x03J\x04\x08\x01\x10\x02\"\xfa\x03\n\x0b\x43omputeSpec\x12\x0e\n\x06preset\x18\x01 \x01(\t\x12=\n\x05\x64isks\x18\x02 \x03(\x0b\x32..yandex.cloud.ytsaurus.v1.ComputeSpec.DiskSpec\x12G\n\x0cscale_policy\x18\x03 \x01(\x0b\x32\x31.yandex.cloud.ytsaurus.v1.ComputeSpec.ScalePolicy\x12\x0c\n\x04name\x18\x04 \x01(\t\x1a<\n\x08\x44iskSpec\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0f\n\x07size_gb\x18\x02 \x01(\x03\x12\x11\n\tlocations\x18\x03 \x03(\t\x1a\x86\x02\n\x0bScalePolicy\x12M\n\x05\x66ixed\x18\x01 \x01(\x0b\x32<.yandex.cloud.ytsaurus.v1.ComputeSpec.ScalePolicy.FixedScaleH\x00\x12K\n\x04\x61uto\x18\x02 \x01(\x0b\x32;.yandex.cloud.ytsaurus.v1.ComputeSpec.ScalePolicy.AutoScaleH\x00\x1a\x1a\n\nFixedScale\x12\x0c\n\x04size\x18\x01 \x01(\x03\x1a/\n\tAutoScale\x12\x10\n\x08min_size\x18\x01 \x01(\x03\x12\x10\n\x08max_size\x18\x02 \x01(\x03\x42\x0e\n\x06policy\x12\x04\xc0\xc1\x31\x01\"$\n\rHttpProxySpec\x12\r\n\x05\x63ount\x18\x02 \x01(\x03J\x04\x08\x01\x10\x02\"#\n\x0cRpcProxySpec\x12\r\n\x05\x63ount\x18\x02 \x01(\x03J\x04\x08\x01\x10\x02\"+\n\nTabletSpec\x12\x0e\n\x06preset\x18\x01 \x01(\t\x12\r\n\x05\x63ount\x18\x02 \x01(\x03\"w\n\tProxySpec\x12\x35\n\x04http\x18\x01 \x01(\x0b\x32\'.yandex.cloud.ytsaurus.v1.HttpProxySpec\x12\x33\n\x03rpc\x18\x02 \x01(\x0b\x32&.yandex.cloud.ytsaurus.v1.RpcProxySpec\"9\n\x08OdinSpec\x12-\n\nchecks_ttl\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\"\
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&yandex/cloud/ytsaurus/v1/cluster.proto\x12\x18yandex.cloud.ytsaurus.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1dyandex/cloud/validation.proto\"\xc6\x07\n\x07\x43luster\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12\x0f\n\x07zone_id\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12=\n\x06labels\x18\x06 \x03(\x0b\x32-.yandex.cloud.ytsaurus.v1.Cluster.LabelsEntry\x12\x11\n\tsubnet_id\x18\x07 \x01(\t\x12\x1a\n\x12security_group_ids\x18\x08 \x03(\t\x12\x33\n\x04spec\x18\t \x01(\x0b\x32%.yandex.cloud.ytsaurus.v1.ClusterSpec\x12.\n\ncreated_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\ncreated_by\x18\x0b \x01(\t\x12.\n\nupdated_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nupdated_by\x18\r \x01(\t\x12\x38\n\x06status\x18\x0e \x01(\x0e\x32(.yandex.cloud.ytsaurus.v1.Cluster.Status\x12\x38\n\x06health\x18\x0f \x01(\x0e\x32(.yandex.cloud.ytsaurus.v1.Cluster.Health\x12>\n\tendpoints\x18\x10 \x01(\x0b\x32+.yandex.cloud.ytsaurus.v1.Cluster.Endpoints\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x8e\x01\n\tEndpoints\x12\n\n\x02ui\x18\x01 \x01(\t\x12$\n\x1c\x65xternal_http_proxy_balancer\x18\x02 \x01(\t\x12!\n\x19internal_http_proxy_alias\x18\x03 \x01(\t\x12 \n\x18internal_rpc_proxy_alias\x18\x04 \x01(\tJ\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07\"\x87\x01\n\x06Status\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12\x0c\n\x08STOPPING\x10\x04\x12\x0b\n\x07STOPPED\x10\x05\x12\x0c\n\x08STARTING\x10\x06\x12\x0c\n\x08UPDATING\x10\x07\x12\x0c\n\x08\x44\x45LETING\x10\x08\"?\n\x06Health\x12\x12\n\x0eHEALTH_UNKNOWN\x10\x00\x12\t\n\x05\x41LIVE\x10\x01\x12\x08\n\x04\x44\x45\x41\x44\x10\x02\x12\x0c\n\x08\x44\x45GRADED\x10\x03\"\xf5\x01\n\x0bStorageSpec\x12:\n\x03hdd\x18\x01 \x01(\x0b\x32-.yandex.cloud.ytsaurus.v1.StorageSpec.HddSpec\x12:\n\x03ssd\x18\x02 \x01(\x0b\x32-.yandex.cloud.ytsaurus.v1.StorageSpec.SsdSpec\x1a/\n\x07HddSpec\x12\x0f\n\x07size_gb\x18\x02 \x01(\x03\x12\r\n\x05\x63ount\x18\x03 \x01(\x03J\x04\x08\x01\x10\x02\x1a=\n\x07SsdSpec\x12\x0f\n\x07size_gb\x18\x02 \x01(\x03\x12\x0c\n\x04type\x18\x03 \x01(\t\x12\r\n\x05\x63ount\x18\x04 \x01(\x03J\x04\x08\x01\x10\x02\"\xfa\x03\n\x0b\x43omputeSpec\x12\x0e\n\x06preset\x18\x01 \x01(\t\x12=\n\x05\x64isks\x18\x02 \x03(\x0b\x32..yandex.cloud.ytsaurus.v1.ComputeSpec.DiskSpec\x12G\n\x0cscale_policy\x18\x03 \x01(\x0b\x32\x31.yandex.cloud.ytsaurus.v1.ComputeSpec.ScalePolicy\x12\x0c\n\x04name\x18\x04 \x01(\t\x1a<\n\x08\x44iskSpec\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0f\n\x07size_gb\x18\x02 \x01(\x03\x12\x11\n\tlocations\x18\x03 \x03(\t\x1a\x86\x02\n\x0bScalePolicy\x12M\n\x05\x66ixed\x18\x01 \x01(\x0b\x32<.yandex.cloud.ytsaurus.v1.ComputeSpec.ScalePolicy.FixedScaleH\x00\x12K\n\x04\x61uto\x18\x02 \x01(\x0b\x32;.yandex.cloud.ytsaurus.v1.ComputeSpec.ScalePolicy.AutoScaleH\x00\x1a\x1a\n\nFixedScale\x12\x0c\n\x04size\x18\x01 \x01(\x03\x1a/\n\tAutoScale\x12\x10\n\x08min_size\x18\x01 \x01(\x03\x12\x10\n\x08max_size\x18\x02 \x01(\x03\x42\x0e\n\x06policy\x12\x04\xc0\xc1\x31\x01\"$\n\rHttpProxySpec\x12\r\n\x05\x63ount\x18\x02 \x01(\x03J\x04\x08\x01\x10\x02\"#\n\x0cRpcProxySpec\x12\r\n\x05\x63ount\x18\x02 \x01(\x03J\x04\x08\x01\x10\x02\"+\n\nTabletSpec\x12\x0e\n\x06preset\x18\x01 \x01(\t\x12\r\n\x05\x63ount\x18\x02 \x01(\x03\"w\n\tProxySpec\x12\x35\n\x04http\x18\x01 \x01(\x0b\x32\'.yandex.cloud.ytsaurus.v1.HttpProxySpec\x12\x33\n\x03rpc\x18\x02 \x01(\x0b\x32&.yandex.cloud.ytsaurus.v1.RpcProxySpec\"9\n\x08OdinSpec\x12-\n\nchecks_ttl\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\"\x83\x03\n\x0b\x43lusterSpec\x12\x36\n\x07storage\x18\x01 \x01(\x0b\x32%.yandex.cloud.ytsaurus.v1.StorageSpec\x12\x36\n\x07\x63ompute\x18\x02 \x03(\x0b\x32%.yandex.cloud.ytsaurus.v1.ComputeSpec\x12\x34\n\x06tablet\x18\x03 \x01(\x0b\x32$.yandex.cloud.ytsaurus.v1.TabletSpec\x12\x32\n\x05proxy\x18\x04 \x01(\x0b\x32#.yandex.cloud.ytsaurus.v1.ProxySpec\x12\x30\n\x04odin\x18\x05 \x01(\x0b\x32\".yandex.cloud.ytsaurus.v1.OdinSpec\x12<\n\x06\x66lavor\x18\x06 \x01(\x0e\x32,.yandex.cloud.ytsaurus.v1.ClusterSpec.Flavor\"*\n\x06\x46lavor\x12\x16\n\x12\x46LAVOR_UNSPECIFIED\x10\x00\x12\x08\n\x04\x44\x45MO\x10\x01\x42\x65\n\x1cyandex.cloud.api.ytsaurus.v1ZEgithub.com/yandex-cloud/go-genproto/yandex/cloud/ytsaurus/v1;ytsaurusb\x06proto3')
|
|
31
31
|
|
|
32
32
|
_globals = globals()
|
|
33
33
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -76,5 +76,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
76
76
|
_globals['_ODINSPEC']._serialized_start=2131
|
|
77
77
|
_globals['_ODINSPEC']._serialized_end=2188
|
|
78
78
|
_globals['_CLUSTERSPEC']._serialized_start=2191
|
|
79
|
-
_globals['_CLUSTERSPEC']._serialized_end=
|
|
79
|
+
_globals['_CLUSTERSPEC']._serialized_end=2578
|
|
80
|
+
_globals['_CLUSTERSPEC_FLAVOR']._serialized_start=2536
|
|
81
|
+
_globals['_CLUSTERSPEC_FLAVOR']._serialized_end=2578
|
|
80
82
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -463,11 +463,28 @@ global___OdinSpec = OdinSpec
|
|
|
463
463
|
class ClusterSpec(google.protobuf.message.Message):
|
|
464
464
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
465
465
|
|
|
466
|
+
class _Flavor:
|
|
467
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
468
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
469
|
+
|
|
470
|
+
class _FlavorEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ClusterSpec._Flavor.ValueType], builtins.type):
|
|
471
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
472
|
+
FLAVOR_UNSPECIFIED: ClusterSpec._Flavor.ValueType # 0
|
|
473
|
+
DEMO: ClusterSpec._Flavor.ValueType # 1
|
|
474
|
+
"""Demo cluster configuration with minimal system resources. Not fault-tolerant, not for production use."""
|
|
475
|
+
|
|
476
|
+
class Flavor(_Flavor, metaclass=_FlavorEnumTypeWrapper): ...
|
|
477
|
+
FLAVOR_UNSPECIFIED: ClusterSpec.Flavor.ValueType # 0
|
|
478
|
+
DEMO: ClusterSpec.Flavor.ValueType # 1
|
|
479
|
+
"""Demo cluster configuration with minimal system resources. Not fault-tolerant, not for production use."""
|
|
480
|
+
|
|
466
481
|
STORAGE_FIELD_NUMBER: builtins.int
|
|
467
482
|
COMPUTE_FIELD_NUMBER: builtins.int
|
|
468
483
|
TABLET_FIELD_NUMBER: builtins.int
|
|
469
484
|
PROXY_FIELD_NUMBER: builtins.int
|
|
470
485
|
ODIN_FIELD_NUMBER: builtins.int
|
|
486
|
+
FLAVOR_FIELD_NUMBER: builtins.int
|
|
487
|
+
flavor: global___ClusterSpec.Flavor.ValueType
|
|
471
488
|
@property
|
|
472
489
|
def storage(self) -> global___StorageSpec: ...
|
|
473
490
|
@property
|
|
@@ -486,8 +503,9 @@ class ClusterSpec(google.protobuf.message.Message):
|
|
|
486
503
|
tablet: global___TabletSpec | None = ...,
|
|
487
504
|
proxy: global___ProxySpec | None = ...,
|
|
488
505
|
odin: global___OdinSpec | None = ...,
|
|
506
|
+
flavor: global___ClusterSpec.Flavor.ValueType = ...,
|
|
489
507
|
) -> None: ...
|
|
490
508
|
def HasField(self, field_name: typing.Literal["odin", b"odin", "proxy", b"proxy", "storage", b"storage", "tablet", b"tablet"]) -> builtins.bool: ...
|
|
491
|
-
def ClearField(self, field_name: typing.Literal["compute", b"compute", "odin", b"odin", "proxy", b"proxy", "storage", b"storage", "tablet", b"tablet"]) -> None: ...
|
|
509
|
+
def ClearField(self, field_name: typing.Literal["compute", b"compute", "flavor", b"flavor", "odin", b"odin", "proxy", b"proxy", "storage", b"storage", "tablet", b"tablet"]) -> None: ...
|
|
492
510
|
|
|
493
511
|
global___ClusterSpec = ClusterSpec
|
yandexcloud/__init__.py
CHANGED