anyscale 0.26.17__py3-none-any.whl → 0.26.19__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.
- anyscale/_private/docgen/models.md +2 -2
- anyscale/anyscale-cloud-setup.yaml +0 -4
- anyscale/client/README.md +12 -37
- anyscale/client/openapi_client/__init__.py +11 -20
- anyscale/client/openapi_client/api/default_api.py +115 -2004
- anyscale/client/openapi_client/models/__init__.py +11 -20
- anyscale/client/openapi_client/models/aws_config.py +402 -0
- anyscale/client/openapi_client/models/baseimagesenum.py +68 -1
- anyscale/client/openapi_client/models/cloud_deployment.py +397 -0
- anyscale/client/openapi_client/models/{webterminal_list_response.py → clouddeployment_list_response.py} +15 -15
- anyscale/client/openapi_client/models/file_storage.py +206 -0
- anyscale/client/openapi_client/models/gcp_config.py +402 -0
- anyscale/client/openapi_client/models/kubernetes_config.py +150 -0
- anyscale/client/openapi_client/models/{monitor_logs_extension.py → networking_mode.py} +7 -7
- anyscale/client/openapi_client/models/object_storage.py +178 -0
- anyscale/client/openapi_client/models/{sessiondetails_response.py → pcp_config.py} +23 -22
- anyscale/client/openapi_client/models/supportedbaseimagesenum.py +68 -1
- anyscale/client/openapi_client/models/workspace_template_readme.py +181 -0
- anyscale/client/openapi_client/models/{archivedlogsinfo_response.py → workspacetemplatereadme_response.py} +11 -11
- anyscale/commands/cloud_commands.py +55 -7
- anyscale/connect_utils/prepare_cluster.py +19 -14
- anyscale/controllers/cloud_controller.py +60 -3
- anyscale/sdk/anyscale_client/models/baseimagesenum.py +68 -1
- anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +68 -1
- anyscale/shared_anyscale_utils/latest_ray_version.py +1 -1
- anyscale/version.py +1 -1
- {anyscale-0.26.17.dist-info → anyscale-0.26.19.dist-info}/METADATA +1 -1
- {anyscale-0.26.17.dist-info → anyscale-0.26.19.dist-info}/RECORD +33 -42
- anyscale/client/openapi_client/models/archived_logs_info.py +0 -164
- anyscale/client/openapi_client/models/create_experimental_workspace_from_job.py +0 -123
- anyscale/client/openapi_client/models/create_session_from_snapshot_options.py +0 -538
- anyscale/client/openapi_client/models/create_session_in_db.py +0 -434
- anyscale/client/openapi_client/models/create_session_response.py +0 -174
- anyscale/client/openapi_client/models/createsessionresponse_response.py +0 -121
- anyscale/client/openapi_client/models/external_service_status.py +0 -147
- anyscale/client/openapi_client/models/external_service_status_response.py +0 -250
- anyscale/client/openapi_client/models/externalservicestatusresponse_response.py +0 -121
- anyscale/client/openapi_client/models/session_describe.py +0 -175
- anyscale/client/openapi_client/models/session_details.py +0 -148
- anyscale/client/openapi_client/models/session_history_item.py +0 -146
- anyscale/client/openapi_client/models/sessiondescribe_response.py +0 -121
- anyscale/client/openapi_client/models/sessionhistoryitem_list_response.py +0 -147
- anyscale/client/openapi_client/models/update_compute_template.py +0 -146
- anyscale/client/openapi_client/models/update_compute_template_config.py +0 -464
- {anyscale-0.26.17.dist-info → anyscale-0.26.19.dist-info}/LICENSE +0 -0
- {anyscale-0.26.17.dist-info → anyscale-0.26.19.dist-info}/NOTICE +0 -0
- {anyscale-0.26.17.dist-info → anyscale-0.26.19.dist-info}/WHEEL +0 -0
- {anyscale-0.26.17.dist-info → anyscale-0.26.19.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.17.dist-info → anyscale-0.26.19.dist-info}/top_level.txt +0 -0
@@ -14,6 +14,7 @@
|
|
14
14
|
from __future__ import absolute_import
|
15
15
|
|
16
16
|
# import models into model package
|
17
|
+
from openapi_client.models.aws_config import AWSConfig
|
17
18
|
from openapi_client.models.aws_memory_db_cluster_config import AWSMemoryDBClusterConfig
|
18
19
|
from openapi_client.models.access_config import AccessConfig
|
19
20
|
from openapi_client.models.actor_status import ActorStatus
|
@@ -43,8 +44,6 @@ from openapi_client.models.application_type import ApplicationType
|
|
43
44
|
from openapi_client.models.applied_snapshot import AppliedSnapshot
|
44
45
|
from openapi_client.models.apply_production_service_v2_model import ApplyProductionServiceV2Model
|
45
46
|
from openapi_client.models.archive_status import ArchiveStatus
|
46
|
-
from openapi_client.models.archived_logs_info import ArchivedLogsInfo
|
47
|
-
from openapi_client.models.archivedlogsinfo_response import ArchivedlogsinfoResponse
|
48
47
|
from openapi_client.models.attach_machine_pool_to_cloud_request import AttachMachinePoolToCloudRequest
|
49
48
|
from openapi_client.models.attachmachinepooltocloudresponse_response import AttachmachinepooltocloudresponseResponse
|
50
49
|
from openapi_client.models.aws_region_and_zones import AwsRegionAndZones
|
@@ -90,6 +89,7 @@ from openapi_client.models.cloud_data_bucket_presigned_url_request import CloudD
|
|
90
89
|
from openapi_client.models.cloud_data_bucket_presigned_url_response import CloudDataBucketPresignedUrlResponse
|
91
90
|
from openapi_client.models.cloud_data_bucket_presigned_url_scheme import CloudDataBucketPresignedUrlScheme
|
92
91
|
from openapi_client.models.cloud_data_bucket_request_scope import CloudDataBucketRequestScope
|
92
|
+
from openapi_client.models.cloud_deployment import CloudDeployment
|
93
93
|
from openapi_client.models.cloud_deployment_config import CloudDeploymentConfig
|
94
94
|
from openapi_client.models.cloud_hosting_type import CloudHostingType
|
95
95
|
from openapi_client.models.cloud_list_response import CloudListResponse
|
@@ -115,6 +115,7 @@ from openapi_client.models.cloud_with_cloud_resource_gcp import CloudWithCloudRe
|
|
115
115
|
from openapi_client.models.cloudcollaborator_list_response import CloudcollaboratorListResponse
|
116
116
|
from openapi_client.models.clouddatabucketpresigneduploadinfo_response import ClouddatabucketpresigneduploadinfoResponse
|
117
117
|
from openapi_client.models.clouddatabucketpresignedurlresponse_response import ClouddatabucketpresignedurlresponseResponse
|
118
|
+
from openapi_client.models.clouddeployment_list_response import ClouddeploymentListResponse
|
118
119
|
from openapi_client.models.clouddeploymentconfig_response import ClouddeploymentconfigResponse
|
119
120
|
from openapi_client.models.cloudoverviewdashboard_response import CloudoverviewdashboardResponse
|
120
121
|
from openapi_client.models.cloudregionandzones_response import CloudregionandzonesResponse
|
@@ -159,7 +160,6 @@ from openapi_client.models.create_compute_template import CreateComputeTemplate
|
|
159
160
|
from openapi_client.models.create_compute_template_config import CreateComputeTemplateConfig
|
160
161
|
from openapi_client.models.create_dataset import CreateDataset
|
161
162
|
from openapi_client.models.create_experimental_workspace import CreateExperimentalWorkspace
|
162
|
-
from openapi_client.models.create_experimental_workspace_from_job import CreateExperimentalWorkspaceFromJob
|
163
163
|
from openapi_client.models.create_instance_usage_budget import CreateInstanceUsageBudget
|
164
164
|
from openapi_client.models.create_internal_production_job import CreateInternalProductionJob
|
165
165
|
from openapi_client.models.create_job_queue_config import CreateJobQueueConfig
|
@@ -177,9 +177,6 @@ from openapi_client.models.create_production_job_config import CreateProductionJ
|
|
177
177
|
from openapi_client.models.create_resource_notification import CreateResourceNotification
|
178
178
|
from openapi_client.models.create_resource_quota import CreateResourceQuota
|
179
179
|
from openapi_client.models.create_schedule import CreateSchedule
|
180
|
-
from openapi_client.models.create_session_from_snapshot_options import CreateSessionFromSnapshotOptions
|
181
|
-
from openapi_client.models.create_session_in_db import CreateSessionInDb
|
182
|
-
from openapi_client.models.create_session_response import CreateSessionResponse
|
183
180
|
from openapi_client.models.create_user import CreateUser
|
184
181
|
from openapi_client.models.create_user_project_collaborator import CreateUserProjectCollaborator
|
185
182
|
from openapi_client.models.create_user_project_collaborator_value import CreateUserProjectCollaboratorValue
|
@@ -189,7 +186,6 @@ from openapi_client.models.createcomputetemplateconfig_response import Createcom
|
|
189
186
|
from openapi_client.models.createmachinepoolresponse_response import CreatemachinepoolresponseResponse
|
190
187
|
from openapi_client.models.createmachineresponse_response import CreatemachineresponseResponse
|
191
188
|
from openapi_client.models.createotpreturnapimodel_response import CreateotpreturnapimodelResponse
|
192
|
-
from openapi_client.models.createsessionresponse_response import CreatesessionresponseResponse
|
193
189
|
from openapi_client.models.credit_card_information import CreditCardInformation
|
194
190
|
from openapi_client.models.customer_alert_status import CustomerAlertStatus
|
195
191
|
from openapi_client.models.dataplane_services import DataplaneServices
|
@@ -271,16 +267,15 @@ from openapi_client.models.experimental_workspace import ExperimentalWorkspace
|
|
271
267
|
from openapi_client.models.experimental_workspaces_sort_field import ExperimentalWorkspacesSortField
|
272
268
|
from openapi_client.models.experimentalworkspace_list_response import ExperimentalworkspaceListResponse
|
273
269
|
from openapi_client.models.experimentalworkspace_response import ExperimentalworkspaceResponse
|
274
|
-
from openapi_client.models.external_service_status import ExternalServiceStatus
|
275
|
-
from openapi_client.models.external_service_status_response import ExternalServiceStatusResponse
|
276
270
|
from openapi_client.models.external_terminal_command import ExternalTerminalCommand
|
277
|
-
from openapi_client.models.externalservicestatusresponse_response import ExternalservicestatusresponseResponse
|
278
271
|
from openapi_client.models.feature_flag_response import FeatureFlagResponse
|
279
272
|
from openapi_client.models.featureflagresponse_response import FeatureflagresponseResponse
|
273
|
+
from openapi_client.models.file_storage import FileStorage
|
280
274
|
from openapi_client.models.fine_tune_type import FineTuneType
|
281
275
|
from openapi_client.models.fine_tuned_model import FineTunedModel
|
282
276
|
from openapi_client.models.finetunedmodel_list_response import FinetunedmodelListResponse
|
283
277
|
from openapi_client.models.finetunedmodel_response import FinetunedmodelResponse
|
278
|
+
from openapi_client.models.gcp_config import GCPConfig
|
284
279
|
from openapi_client.models.gcp_file_store_config import GCPFileStoreConfig
|
285
280
|
from openapi_client.models.gcp_memorystore_instance_config import GCPMemorystoreInstanceConfig
|
286
281
|
from openapi_client.models.grafana_dashboard import GrafanaDashboard
|
@@ -326,6 +321,7 @@ from openapi_client.models.jobqueue_response import JobqueueResponse
|
|
326
321
|
from openapi_client.models.jobs_sort_field import JobsSortField
|
327
322
|
from openapi_client.models.jobwithreport_list_response import JobwithreportListResponse
|
328
323
|
from openapi_client.models.json_patch_operation import JsonPatchOperation
|
324
|
+
from openapi_client.models.kubernetes_config import KubernetesConfig
|
329
325
|
from openapi_client.models.kubernetes_manager_registration_request import KubernetesManagerRegistrationRequest
|
330
326
|
from openapi_client.models.kubernetes_manager_registration_response import KubernetesManagerRegistrationResponse
|
331
327
|
from openapi_client.models.kubernetesmanagerregistrationresponse_response import KubernetesmanagerregistrationresponseResponse
|
@@ -383,8 +379,8 @@ from openapi_client.models.mini_user import MiniUser
|
|
383
379
|
from openapi_client.models.minibuild_list_response import MinibuildListResponse
|
384
380
|
from openapi_client.models.minicomputetemplate_list_response import MinicomputetemplateListResponse
|
385
381
|
from openapi_client.models.miniproject_list_response import MiniprojectListResponse
|
386
|
-
from openapi_client.models.monitor_logs_extension import MonitorLogsExtension
|
387
382
|
from openapi_client.models.nfs_mount_target import NFSMountTarget
|
383
|
+
from openapi_client.models.networking_mode import NetworkingMode
|
388
384
|
from openapi_client.models.node_registration_aws import NodeRegistrationAWS
|
389
385
|
from openapi_client.models.node_registration_gcp import NodeRegistrationGCP
|
390
386
|
from openapi_client.models.node_registration_k8_s import NodeRegistrationK8S
|
@@ -394,6 +390,7 @@ from openapi_client.models.node_type import NodeType
|
|
394
390
|
from openapi_client.models.notification_channel_email_config import NotificationChannelEmailConfig
|
395
391
|
from openapi_client.models.notification_channel_slack_config import NotificationChannelSlackConfig
|
396
392
|
from openapi_client.models.notification_channel_webhook_config import NotificationChannelWebhookConfig
|
393
|
+
from openapi_client.models.object_storage import ObjectStorage
|
397
394
|
from openapi_client.models.operator_branch import OperatorBranch
|
398
395
|
from openapi_client.models.operator_id import OperatorId
|
399
396
|
from openapi_client.models.operator_metrics import OperatorMetrics
|
@@ -421,6 +418,7 @@ from openapi_client.models.organizationinvitationbase_response import Organizati
|
|
421
418
|
from openapi_client.models.organizationprojectcollaborator_list_response import OrganizationprojectcollaboratorListResponse
|
422
419
|
from openapi_client.models.organizationpublicidentifier_response import OrganizationpublicidentifierResponse
|
423
420
|
from openapi_client.models.organizationusagealert_list_response import OrganizationusagealertListResponse
|
421
|
+
from openapi_client.models.pcp_config import PCPConfig
|
424
422
|
from openapi_client.models.page_query import PageQuery
|
425
423
|
from openapi_client.models.pause_schedule import PauseSchedule
|
426
424
|
from openapi_client.models.permission_level import PermissionLevel
|
@@ -505,9 +503,6 @@ from openapi_client.models.session_command import SessionCommand
|
|
505
503
|
from openapi_client.models.session_command_finish_options import SessionCommandFinishOptions
|
506
504
|
from openapi_client.models.session_command_id import SessionCommandId
|
507
505
|
from openapi_client.models.session_command_types import SessionCommandTypes
|
508
|
-
from openapi_client.models.session_describe import SessionDescribe
|
509
|
-
from openapi_client.models.session_details import SessionDetails
|
510
|
-
from openapi_client.models.session_history_item import SessionHistoryItem
|
511
506
|
from openapi_client.models.session_list_response import SessionListResponse
|
512
507
|
from openapi_client.models.session_response import SessionResponse
|
513
508
|
from openapi_client.models.session_ssh_key import SessionSshKey
|
@@ -517,9 +512,6 @@ from openapi_client.models.session_state_data import SessionStateData
|
|
517
512
|
from openapi_client.models.session_stopping_data import SessionStoppingData
|
518
513
|
from openapi_client.models.sessioncommand_list_response import SessioncommandListResponse
|
519
514
|
from openapi_client.models.sessioncommandid_response import SessioncommandidResponse
|
520
|
-
from openapi_client.models.sessiondescribe_response import SessiondescribeResponse
|
521
|
-
from openapi_client.models.sessiondetails_response import SessiondetailsResponse
|
522
|
-
from openapi_client.models.sessionhistoryitem_list_response import SessionhistoryitemListResponse
|
523
515
|
from openapi_client.models.sessions_sort_field import SessionsSortField
|
524
516
|
from openapi_client.models.sessionsshkey_response import SessionsshkeyResponse
|
525
517
|
from openapi_client.models.show_otp_source_return_api_model import ShowOTPSourceReturnApiModel
|
@@ -568,8 +560,6 @@ from openapi_client.models.update_cloud_collaborator import UpdateCloudCollabora
|
|
568
560
|
from openapi_client.models.update_cloud_with_cloud_resource import UpdateCloudWithCloudResource
|
569
561
|
from openapi_client.models.update_cloud_with_cloud_resource_gcp import UpdateCloudWithCloudResourceGCP
|
570
562
|
from openapi_client.models.update_cluster_dns import UpdateClusterDns
|
571
|
-
from openapi_client.models.update_compute_template import UpdateComputeTemplate
|
572
|
-
from openapi_client.models.update_compute_template_config import UpdateComputeTemplateConfig
|
573
563
|
from openapi_client.models.update_machine_pool_request import UpdateMachinePoolRequest
|
574
564
|
from openapi_client.models.update_organization_collaborator import UpdateOrganizationCollaborator
|
575
565
|
from openapi_client.models.update_project_collaborator import UpdateProjectCollaborator
|
@@ -599,7 +589,6 @@ from openapi_client.models.waitlist_status_type import WaitlistStatusType
|
|
599
589
|
from openapi_client.models.waitliststatusresponse_response import WaitliststatusresponseResponse
|
600
590
|
from openapi_client.models.wand_b_run_details import WandBRunDetails
|
601
591
|
from openapi_client.models.web_terminal import WebTerminal
|
602
|
-
from openapi_client.models.webterminal_list_response import WebterminalListResponse
|
603
592
|
from openapi_client.models.webterminal_response import WebterminalResponse
|
604
593
|
from openapi_client.models.worker_node_type import WorkerNodeType
|
605
594
|
from openapi_client.models.workload_info import WorkloadInfo
|
@@ -614,12 +603,14 @@ from openapi_client.models.workspace_readme import WorkspaceReadme
|
|
614
603
|
from openapi_client.models.workspace_snapshot_states import WorkspaceSnapshotStates
|
615
604
|
from openapi_client.models.workspace_template import WorkspaceTemplate
|
616
605
|
from openapi_client.models.workspace_template_cluster_environment_metadata import WorkspaceTemplateClusterEnvironmentMetadata
|
606
|
+
from openapi_client.models.workspace_template_readme import WorkspaceTemplateReadme
|
617
607
|
from openapi_client.models.workspacedataplaneartifacts_response import WorkspacedataplaneartifactsResponse
|
618
608
|
from openapi_client.models.workspacedataplaneproxiedartifacts_response import WorkspacedataplaneproxiedartifactsResponse
|
619
609
|
from openapi_client.models.workspaceevent_list_response import WorkspaceeventListResponse
|
620
610
|
from openapi_client.models.workspacereadme_response import WorkspacereadmeResponse
|
621
611
|
from openapi_client.models.workspacetemplate_list_response import WorkspacetemplateListResponse
|
622
612
|
from openapi_client.models.workspacetemplateclusterenvironmentmetadata_response import WorkspacetemplateclusterenvironmentmetadataResponse
|
613
|
+
from openapi_client.models.workspacetemplatereadme_response import WorkspacetemplatereadmeResponse
|
623
614
|
from openapi_client.models.write_cloud import WriteCloud
|
624
615
|
from openapi_client.models.write_cluster_config import WriteClusterConfig
|
625
616
|
from openapi_client.models.write_project import WriteProject
|
@@ -0,0 +1,402 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
"""
|
4
|
+
Managed Ray API
|
5
|
+
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
|
7
|
+
|
8
|
+
The version of the OpenAPI document: 0.1.0
|
9
|
+
Generated by: https://openapi-generator.tech
|
10
|
+
"""
|
11
|
+
|
12
|
+
|
13
|
+
import pprint
|
14
|
+
import re # noqa: F401
|
15
|
+
|
16
|
+
import six
|
17
|
+
|
18
|
+
from openapi_client.configuration import Configuration
|
19
|
+
|
20
|
+
|
21
|
+
class AWSConfig(object):
|
22
|
+
"""NOTE: This class is auto generated by OpenAPI Generator.
|
23
|
+
Ref: https://openapi-generator.tech
|
24
|
+
|
25
|
+
Do not edit the class manually.
|
26
|
+
"""
|
27
|
+
|
28
|
+
"""
|
29
|
+
Attributes:
|
30
|
+
openapi_types (dict): The key is attribute name
|
31
|
+
and the value is attribute type.
|
32
|
+
attribute_map (dict): The key is attribute name
|
33
|
+
and the value is json key in definition.
|
34
|
+
"""
|
35
|
+
openapi_types = {
|
36
|
+
'vpc_id': 'str',
|
37
|
+
'subnet_ids': 'list[str]',
|
38
|
+
'zones': 'list[str]',
|
39
|
+
'security_group_ids': 'list[str]',
|
40
|
+
'anyscale_iam_role_id': 'str',
|
41
|
+
'external_id': 'str',
|
42
|
+
'cluster_iam_role_id': 'str',
|
43
|
+
'memorydb_cluster_name': 'str',
|
44
|
+
'memorydb_cluster_arn': 'str',
|
45
|
+
'memorydb_cluster_endpoint': 'str',
|
46
|
+
'cloudformation_id': 'str'
|
47
|
+
}
|
48
|
+
|
49
|
+
attribute_map = {
|
50
|
+
'vpc_id': 'vpc_id',
|
51
|
+
'subnet_ids': 'subnet_ids',
|
52
|
+
'zones': 'zones',
|
53
|
+
'security_group_ids': 'security_group_ids',
|
54
|
+
'anyscale_iam_role_id': 'anyscale_iam_role_id',
|
55
|
+
'external_id': 'external_id',
|
56
|
+
'cluster_iam_role_id': 'cluster_iam_role_id',
|
57
|
+
'memorydb_cluster_name': 'memorydb_cluster_name',
|
58
|
+
'memorydb_cluster_arn': 'memorydb_cluster_arn',
|
59
|
+
'memorydb_cluster_endpoint': 'memorydb_cluster_endpoint',
|
60
|
+
'cloudformation_id': 'cloudformation_id'
|
61
|
+
}
|
62
|
+
|
63
|
+
def __init__(self, vpc_id=None, subnet_ids=None, zones=None, security_group_ids=None, anyscale_iam_role_id=None, external_id=None, cluster_iam_role_id=None, memorydb_cluster_name=None, memorydb_cluster_arn=None, memorydb_cluster_endpoint=None, cloudformation_id=None, local_vars_configuration=None): # noqa: E501
|
64
|
+
"""AWSConfig - a model defined in OpenAPI""" # noqa: E501
|
65
|
+
if local_vars_configuration is None:
|
66
|
+
local_vars_configuration = Configuration()
|
67
|
+
self.local_vars_configuration = local_vars_configuration
|
68
|
+
|
69
|
+
self._vpc_id = None
|
70
|
+
self._subnet_ids = None
|
71
|
+
self._zones = None
|
72
|
+
self._security_group_ids = None
|
73
|
+
self._anyscale_iam_role_id = None
|
74
|
+
self._external_id = None
|
75
|
+
self._cluster_iam_role_id = None
|
76
|
+
self._memorydb_cluster_name = None
|
77
|
+
self._memorydb_cluster_arn = None
|
78
|
+
self._memorydb_cluster_endpoint = None
|
79
|
+
self._cloudformation_id = None
|
80
|
+
self.discriminator = None
|
81
|
+
|
82
|
+
if vpc_id is not None:
|
83
|
+
self.vpc_id = vpc_id
|
84
|
+
if subnet_ids is not None:
|
85
|
+
self.subnet_ids = subnet_ids
|
86
|
+
if zones is not None:
|
87
|
+
self.zones = zones
|
88
|
+
if security_group_ids is not None:
|
89
|
+
self.security_group_ids = security_group_ids
|
90
|
+
if anyscale_iam_role_id is not None:
|
91
|
+
self.anyscale_iam_role_id = anyscale_iam_role_id
|
92
|
+
if external_id is not None:
|
93
|
+
self.external_id = external_id
|
94
|
+
if cluster_iam_role_id is not None:
|
95
|
+
self.cluster_iam_role_id = cluster_iam_role_id
|
96
|
+
if memorydb_cluster_name is not None:
|
97
|
+
self.memorydb_cluster_name = memorydb_cluster_name
|
98
|
+
if memorydb_cluster_arn is not None:
|
99
|
+
self.memorydb_cluster_arn = memorydb_cluster_arn
|
100
|
+
if memorydb_cluster_endpoint is not None:
|
101
|
+
self.memorydb_cluster_endpoint = memorydb_cluster_endpoint
|
102
|
+
if cloudformation_id is not None:
|
103
|
+
self.cloudformation_id = cloudformation_id
|
104
|
+
|
105
|
+
@property
|
106
|
+
def vpc_id(self):
|
107
|
+
"""Gets the vpc_id of this AWSConfig. # noqa: E501
|
108
|
+
|
109
|
+
The VPC ID. # noqa: E501
|
110
|
+
|
111
|
+
:return: The vpc_id of this AWSConfig. # noqa: E501
|
112
|
+
:rtype: str
|
113
|
+
"""
|
114
|
+
return self._vpc_id
|
115
|
+
|
116
|
+
@vpc_id.setter
|
117
|
+
def vpc_id(self, vpc_id):
|
118
|
+
"""Sets the vpc_id of this AWSConfig.
|
119
|
+
|
120
|
+
The VPC ID. # noqa: E501
|
121
|
+
|
122
|
+
:param vpc_id: The vpc_id of this AWSConfig. # noqa: E501
|
123
|
+
:type: str
|
124
|
+
"""
|
125
|
+
|
126
|
+
self._vpc_id = vpc_id
|
127
|
+
|
128
|
+
@property
|
129
|
+
def subnet_ids(self):
|
130
|
+
"""Gets the subnet_ids of this AWSConfig. # noqa: E501
|
131
|
+
|
132
|
+
List of subnet IDs. # noqa: E501
|
133
|
+
|
134
|
+
:return: The subnet_ids of this AWSConfig. # noqa: E501
|
135
|
+
:rtype: list[str]
|
136
|
+
"""
|
137
|
+
return self._subnet_ids
|
138
|
+
|
139
|
+
@subnet_ids.setter
|
140
|
+
def subnet_ids(self, subnet_ids):
|
141
|
+
"""Sets the subnet_ids of this AWSConfig.
|
142
|
+
|
143
|
+
List of subnet IDs. # noqa: E501
|
144
|
+
|
145
|
+
:param subnet_ids: The subnet_ids of this AWSConfig. # noqa: E501
|
146
|
+
:type: list[str]
|
147
|
+
"""
|
148
|
+
|
149
|
+
self._subnet_ids = subnet_ids
|
150
|
+
|
151
|
+
@property
|
152
|
+
def zones(self):
|
153
|
+
"""Gets the zones of this AWSConfig. # noqa: E501
|
154
|
+
|
155
|
+
The availability zone corresponding to each subnet ID. # noqa: E501
|
156
|
+
|
157
|
+
:return: The zones of this AWSConfig. # noqa: E501
|
158
|
+
:rtype: list[str]
|
159
|
+
"""
|
160
|
+
return self._zones
|
161
|
+
|
162
|
+
@zones.setter
|
163
|
+
def zones(self, zones):
|
164
|
+
"""Sets the zones of this AWSConfig.
|
165
|
+
|
166
|
+
The availability zone corresponding to each subnet ID. # noqa: E501
|
167
|
+
|
168
|
+
:param zones: The zones of this AWSConfig. # noqa: E501
|
169
|
+
:type: list[str]
|
170
|
+
"""
|
171
|
+
|
172
|
+
self._zones = zones
|
173
|
+
|
174
|
+
@property
|
175
|
+
def security_group_ids(self):
|
176
|
+
"""Gets the security_group_ids of this AWSConfig. # noqa: E501
|
177
|
+
|
178
|
+
List of security group IDs. # noqa: E501
|
179
|
+
|
180
|
+
:return: The security_group_ids of this AWSConfig. # noqa: E501
|
181
|
+
:rtype: list[str]
|
182
|
+
"""
|
183
|
+
return self._security_group_ids
|
184
|
+
|
185
|
+
@security_group_ids.setter
|
186
|
+
def security_group_ids(self, security_group_ids):
|
187
|
+
"""Sets the security_group_ids of this AWSConfig.
|
188
|
+
|
189
|
+
List of security group IDs. # noqa: E501
|
190
|
+
|
191
|
+
:param security_group_ids: The security_group_ids of this AWSConfig. # noqa: E501
|
192
|
+
:type: list[str]
|
193
|
+
"""
|
194
|
+
|
195
|
+
self._security_group_ids = security_group_ids
|
196
|
+
|
197
|
+
@property
|
198
|
+
def anyscale_iam_role_id(self):
|
199
|
+
"""Gets the anyscale_iam_role_id of this AWSConfig. # noqa: E501
|
200
|
+
|
201
|
+
The Anyscale IAM role ARN. # noqa: E501
|
202
|
+
|
203
|
+
:return: The anyscale_iam_role_id of this AWSConfig. # noqa: E501
|
204
|
+
:rtype: str
|
205
|
+
"""
|
206
|
+
return self._anyscale_iam_role_id
|
207
|
+
|
208
|
+
@anyscale_iam_role_id.setter
|
209
|
+
def anyscale_iam_role_id(self, anyscale_iam_role_id):
|
210
|
+
"""Sets the anyscale_iam_role_id of this AWSConfig.
|
211
|
+
|
212
|
+
The Anyscale IAM role ARN. # noqa: E501
|
213
|
+
|
214
|
+
:param anyscale_iam_role_id: The anyscale_iam_role_id of this AWSConfig. # noqa: E501
|
215
|
+
:type: str
|
216
|
+
"""
|
217
|
+
|
218
|
+
self._anyscale_iam_role_id = anyscale_iam_role_id
|
219
|
+
|
220
|
+
@property
|
221
|
+
def external_id(self):
|
222
|
+
"""Gets the external_id of this AWSConfig. # noqa: E501
|
223
|
+
|
224
|
+
The trust policy external ID for the cross-account IAM role # noqa: E501
|
225
|
+
|
226
|
+
:return: The external_id of this AWSConfig. # noqa: E501
|
227
|
+
:rtype: str
|
228
|
+
"""
|
229
|
+
return self._external_id
|
230
|
+
|
231
|
+
@external_id.setter
|
232
|
+
def external_id(self, external_id):
|
233
|
+
"""Sets the external_id of this AWSConfig.
|
234
|
+
|
235
|
+
The trust policy external ID for the cross-account IAM role # noqa: E501
|
236
|
+
|
237
|
+
:param external_id: The external_id of this AWSConfig. # noqa: E501
|
238
|
+
:type: str
|
239
|
+
"""
|
240
|
+
|
241
|
+
self._external_id = external_id
|
242
|
+
|
243
|
+
@property
|
244
|
+
def cluster_iam_role_id(self):
|
245
|
+
"""Gets the cluster_iam_role_id of this AWSConfig. # noqa: E501
|
246
|
+
|
247
|
+
The IAM role ARN used by Ray clusters. # noqa: E501
|
248
|
+
|
249
|
+
:return: The cluster_iam_role_id of this AWSConfig. # noqa: E501
|
250
|
+
:rtype: str
|
251
|
+
"""
|
252
|
+
return self._cluster_iam_role_id
|
253
|
+
|
254
|
+
@cluster_iam_role_id.setter
|
255
|
+
def cluster_iam_role_id(self, cluster_iam_role_id):
|
256
|
+
"""Sets the cluster_iam_role_id of this AWSConfig.
|
257
|
+
|
258
|
+
The IAM role ARN used by Ray clusters. # noqa: E501
|
259
|
+
|
260
|
+
:param cluster_iam_role_id: The cluster_iam_role_id of this AWSConfig. # noqa: E501
|
261
|
+
:type: str
|
262
|
+
"""
|
263
|
+
|
264
|
+
self._cluster_iam_role_id = cluster_iam_role_id
|
265
|
+
|
266
|
+
@property
|
267
|
+
def memorydb_cluster_name(self):
|
268
|
+
"""Gets the memorydb_cluster_name of this AWSConfig. # noqa: E501
|
269
|
+
|
270
|
+
The MemoryDB cluster name. # noqa: E501
|
271
|
+
|
272
|
+
:return: The memorydb_cluster_name of this AWSConfig. # noqa: E501
|
273
|
+
:rtype: str
|
274
|
+
"""
|
275
|
+
return self._memorydb_cluster_name
|
276
|
+
|
277
|
+
@memorydb_cluster_name.setter
|
278
|
+
def memorydb_cluster_name(self, memorydb_cluster_name):
|
279
|
+
"""Sets the memorydb_cluster_name of this AWSConfig.
|
280
|
+
|
281
|
+
The MemoryDB cluster name. # noqa: E501
|
282
|
+
|
283
|
+
:param memorydb_cluster_name: The memorydb_cluster_name of this AWSConfig. # noqa: E501
|
284
|
+
:type: str
|
285
|
+
"""
|
286
|
+
|
287
|
+
self._memorydb_cluster_name = memorydb_cluster_name
|
288
|
+
|
289
|
+
@property
|
290
|
+
def memorydb_cluster_arn(self):
|
291
|
+
"""Gets the memorydb_cluster_arn of this AWSConfig. # noqa: E501
|
292
|
+
|
293
|
+
The MemoryDB cluster ARN. # noqa: E501
|
294
|
+
|
295
|
+
:return: The memorydb_cluster_arn of this AWSConfig. # noqa: E501
|
296
|
+
:rtype: str
|
297
|
+
"""
|
298
|
+
return self._memorydb_cluster_arn
|
299
|
+
|
300
|
+
@memorydb_cluster_arn.setter
|
301
|
+
def memorydb_cluster_arn(self, memorydb_cluster_arn):
|
302
|
+
"""Sets the memorydb_cluster_arn of this AWSConfig.
|
303
|
+
|
304
|
+
The MemoryDB cluster ARN. # noqa: E501
|
305
|
+
|
306
|
+
:param memorydb_cluster_arn: The memorydb_cluster_arn of this AWSConfig. # noqa: E501
|
307
|
+
:type: str
|
308
|
+
"""
|
309
|
+
|
310
|
+
self._memorydb_cluster_arn = memorydb_cluster_arn
|
311
|
+
|
312
|
+
@property
|
313
|
+
def memorydb_cluster_endpoint(self):
|
314
|
+
"""Gets the memorydb_cluster_endpoint of this AWSConfig. # noqa: E501
|
315
|
+
|
316
|
+
The MemoryDB cluster endpoint. # noqa: E501
|
317
|
+
|
318
|
+
:return: The memorydb_cluster_endpoint of this AWSConfig. # noqa: E501
|
319
|
+
:rtype: str
|
320
|
+
"""
|
321
|
+
return self._memorydb_cluster_endpoint
|
322
|
+
|
323
|
+
@memorydb_cluster_endpoint.setter
|
324
|
+
def memorydb_cluster_endpoint(self, memorydb_cluster_endpoint):
|
325
|
+
"""Sets the memorydb_cluster_endpoint of this AWSConfig.
|
326
|
+
|
327
|
+
The MemoryDB cluster endpoint. # noqa: E501
|
328
|
+
|
329
|
+
:param memorydb_cluster_endpoint: The memorydb_cluster_endpoint of this AWSConfig. # noqa: E501
|
330
|
+
:type: str
|
331
|
+
"""
|
332
|
+
|
333
|
+
self._memorydb_cluster_endpoint = memorydb_cluster_endpoint
|
334
|
+
|
335
|
+
@property
|
336
|
+
def cloudformation_id(self):
|
337
|
+
"""Gets the cloudformation_id of this AWSConfig. # noqa: E501
|
338
|
+
|
339
|
+
The CloudFormation stack ID, for deployments with Anyscale-managed resources. # noqa: E501
|
340
|
+
|
341
|
+
:return: The cloudformation_id of this AWSConfig. # noqa: E501
|
342
|
+
:rtype: str
|
343
|
+
"""
|
344
|
+
return self._cloudformation_id
|
345
|
+
|
346
|
+
@cloudformation_id.setter
|
347
|
+
def cloudformation_id(self, cloudformation_id):
|
348
|
+
"""Sets the cloudformation_id of this AWSConfig.
|
349
|
+
|
350
|
+
The CloudFormation stack ID, for deployments with Anyscale-managed resources. # noqa: E501
|
351
|
+
|
352
|
+
:param cloudformation_id: The cloudformation_id of this AWSConfig. # noqa: E501
|
353
|
+
:type: str
|
354
|
+
"""
|
355
|
+
|
356
|
+
self._cloudformation_id = cloudformation_id
|
357
|
+
|
358
|
+
def to_dict(self):
|
359
|
+
"""Returns the model properties as a dict"""
|
360
|
+
result = {}
|
361
|
+
|
362
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
363
|
+
value = getattr(self, attr)
|
364
|
+
if isinstance(value, list):
|
365
|
+
result[attr] = list(map(
|
366
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
367
|
+
value
|
368
|
+
))
|
369
|
+
elif hasattr(value, "to_dict"):
|
370
|
+
result[attr] = value.to_dict()
|
371
|
+
elif isinstance(value, dict):
|
372
|
+
result[attr] = dict(map(
|
373
|
+
lambda item: (item[0], item[1].to_dict())
|
374
|
+
if hasattr(item[1], "to_dict") else item,
|
375
|
+
value.items()
|
376
|
+
))
|
377
|
+
else:
|
378
|
+
result[attr] = value
|
379
|
+
|
380
|
+
return result
|
381
|
+
|
382
|
+
def to_str(self):
|
383
|
+
"""Returns the string representation of the model"""
|
384
|
+
return pprint.pformat(self.to_dict())
|
385
|
+
|
386
|
+
def __repr__(self):
|
387
|
+
"""For `print` and `pprint`"""
|
388
|
+
return self.to_str()
|
389
|
+
|
390
|
+
def __eq__(self, other):
|
391
|
+
"""Returns true if both objects are equal"""
|
392
|
+
if not isinstance(other, AWSConfig):
|
393
|
+
return False
|
394
|
+
|
395
|
+
return self.to_dict() == other.to_dict()
|
396
|
+
|
397
|
+
def __ne__(self, other):
|
398
|
+
"""Returns true if both objects are not equal"""
|
399
|
+
if not isinstance(other, AWSConfig):
|
400
|
+
return True
|
401
|
+
|
402
|
+
return self.to_dict() != other.to_dict()
|