anyscale 0.26.43__py3-none-any.whl → 0.26.45__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.
Files changed (41) hide show
  1. anyscale/_private/anyscale_client/common.py +1 -1
  2. anyscale/_private/docgen/__main__.py +2 -0
  3. anyscale/_private/docgen/models.md +2 -2
  4. anyscale/_private/workload/workload_sdk.py +6 -0
  5. anyscale/client/README.md +9 -0
  6. anyscale/client/openapi_client/__init__.py +7 -0
  7. anyscale/client/openapi_client/api/default_api.py +238 -5
  8. anyscale/client/openapi_client/models/__init__.py +7 -0
  9. anyscale/client/openapi_client/models/baseimagesenum.py +68 -1
  10. anyscale/client/openapi_client/models/describe_machine_pool_machines_filters.py +31 -3
  11. anyscale/client/openapi_client/models/describe_machine_pool_requests_filters.py +150 -0
  12. anyscale/client/openapi_client/models/describe_machine_pool_requests_request.py +19 -19
  13. anyscale/client/openapi_client/models/describe_machine_pool_workloads_filters.py +150 -0
  14. anyscale/client/openapi_client/models/describe_machine_pool_workloads_request.py +151 -0
  15. anyscale/client/openapi_client/models/file_storage.py +33 -5
  16. anyscale/client/openapi_client/models/plan_status.py +123 -0
  17. anyscale/client/openapi_client/models/supportedbaseimagesenum.py +68 -1
  18. anyscale/client/openapi_client/models/workload_machine_info.py +210 -0
  19. anyscale/client/openapi_client/models/workload_state_info.py +295 -0
  20. anyscale/client/openapi_client/models/workloadstateinfo_list_response.py +147 -0
  21. anyscale/commands/cloud_commands.py +1 -0
  22. anyscale/commands/compute_config_commands.py +10 -3
  23. anyscale/compute_config/__init__.py +16 -0
  24. anyscale/compute_config/_private/compute_config_sdk.py +172 -60
  25. anyscale/compute_config/commands.py +66 -1
  26. anyscale/compute_config/models.py +160 -3
  27. anyscale/conf.py +1 -1
  28. anyscale/controllers/cloud_controller.py +141 -3
  29. anyscale/job/_private/job_sdk.py +22 -0
  30. anyscale/sdk/anyscale_client/models/baseimagesenum.py +68 -1
  31. anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +68 -1
  32. anyscale/shared_anyscale_utils/latest_ray_version.py +1 -1
  33. anyscale/telemetry.py +36 -44
  34. anyscale/version.py +1 -1
  35. {anyscale-0.26.43.dist-info → anyscale-0.26.45.dist-info}/METADATA +4 -3
  36. {anyscale-0.26.43.dist-info → anyscale-0.26.45.dist-info}/RECORD +41 -34
  37. {anyscale-0.26.43.dist-info → anyscale-0.26.45.dist-info}/LICENSE +0 -0
  38. {anyscale-0.26.43.dist-info → anyscale-0.26.45.dist-info}/NOTICE +0 -0
  39. {anyscale-0.26.43.dist-info → anyscale-0.26.45.dist-info}/WHEEL +0 -0
  40. {anyscale-0.26.43.dist-info → anyscale-0.26.45.dist-info}/entry_points.txt +0 -0
  41. {anyscale-0.26.43.dist-info → anyscale-0.26.45.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,150 @@
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 DescribeMachinePoolRequestsFilters(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
+ 'partitions': 'list[str]',
37
+ 'workload_name': 'TextQuery'
38
+ }
39
+
40
+ attribute_map = {
41
+ 'partitions': 'partitions',
42
+ 'workload_name': 'workload_name'
43
+ }
44
+
45
+ def __init__(self, partitions=None, workload_name=None, local_vars_configuration=None): # noqa: E501
46
+ """DescribeMachinePoolRequestsFilters - a model defined in OpenAPI""" # noqa: E501
47
+ if local_vars_configuration is None:
48
+ local_vars_configuration = Configuration()
49
+ self.local_vars_configuration = local_vars_configuration
50
+
51
+ self._partitions = None
52
+ self._workload_name = None
53
+ self.discriminator = None
54
+
55
+ if partitions is not None:
56
+ self.partitions = partitions
57
+ if workload_name is not None:
58
+ self.workload_name = workload_name
59
+
60
+ @property
61
+ def partitions(self):
62
+ """Gets the partitions of this DescribeMachinePoolRequestsFilters. # noqa: E501
63
+
64
+ The partitions to filter by. # noqa: E501
65
+
66
+ :return: The partitions of this DescribeMachinePoolRequestsFilters. # noqa: E501
67
+ :rtype: list[str]
68
+ """
69
+ return self._partitions
70
+
71
+ @partitions.setter
72
+ def partitions(self, partitions):
73
+ """Sets the partitions of this DescribeMachinePoolRequestsFilters.
74
+
75
+ The partitions to filter by. # noqa: E501
76
+
77
+ :param partitions: The partitions of this DescribeMachinePoolRequestsFilters. # noqa: E501
78
+ :type: list[str]
79
+ """
80
+
81
+ self._partitions = partitions
82
+
83
+ @property
84
+ def workload_name(self):
85
+ """Gets the workload_name of this DescribeMachinePoolRequestsFilters. # noqa: E501
86
+
87
+ Filters requests by workload name. If this field is absent, no filtering is done. # noqa: E501
88
+
89
+ :return: The workload_name of this DescribeMachinePoolRequestsFilters. # noqa: E501
90
+ :rtype: TextQuery
91
+ """
92
+ return self._workload_name
93
+
94
+ @workload_name.setter
95
+ def workload_name(self, workload_name):
96
+ """Sets the workload_name of this DescribeMachinePoolRequestsFilters.
97
+
98
+ Filters requests by workload name. If this field is absent, no filtering is done. # noqa: E501
99
+
100
+ :param workload_name: The workload_name of this DescribeMachinePoolRequestsFilters. # noqa: E501
101
+ :type: TextQuery
102
+ """
103
+
104
+ self._workload_name = workload_name
105
+
106
+ def to_dict(self):
107
+ """Returns the model properties as a dict"""
108
+ result = {}
109
+
110
+ for attr, _ in six.iteritems(self.openapi_types):
111
+ value = getattr(self, attr)
112
+ if isinstance(value, list):
113
+ result[attr] = list(map(
114
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
115
+ value
116
+ ))
117
+ elif hasattr(value, "to_dict"):
118
+ result[attr] = value.to_dict()
119
+ elif isinstance(value, dict):
120
+ result[attr] = dict(map(
121
+ lambda item: (item[0], item[1].to_dict())
122
+ if hasattr(item[1], "to_dict") else item,
123
+ value.items()
124
+ ))
125
+ else:
126
+ result[attr] = value
127
+
128
+ return result
129
+
130
+ def to_str(self):
131
+ """Returns the string representation of the model"""
132
+ return pprint.pformat(self.to_dict())
133
+
134
+ def __repr__(self):
135
+ """For `print` and `pprint`"""
136
+ return self.to_str()
137
+
138
+ def __eq__(self, other):
139
+ """Returns true if both objects are equal"""
140
+ if not isinstance(other, DescribeMachinePoolRequestsFilters):
141
+ return False
142
+
143
+ return self.to_dict() == other.to_dict()
144
+
145
+ def __ne__(self, other):
146
+ """Returns true if both objects are not equal"""
147
+ if not isinstance(other, DescribeMachinePoolRequestsFilters):
148
+ return True
149
+
150
+ return self.to_dict() != other.to_dict()
@@ -34,27 +34,27 @@ class DescribeMachinePoolRequestsRequest(object):
34
34
  """
35
35
  openapi_types = {
36
36
  'machine_pool_name': 'str',
37
- 'workload_name': 'TextQuery'
37
+ 'filters': 'DescribeMachinePoolRequestsFilters'
38
38
  }
39
39
 
40
40
  attribute_map = {
41
41
  'machine_pool_name': 'machine_pool_name',
42
- 'workload_name': 'workload_name'
42
+ 'filters': 'filters'
43
43
  }
44
44
 
45
- def __init__(self, machine_pool_name=None, workload_name=None, local_vars_configuration=None): # noqa: E501
45
+ def __init__(self, machine_pool_name=None, filters=None, local_vars_configuration=None): # noqa: E501
46
46
  """DescribeMachinePoolRequestsRequest - a model defined in OpenAPI""" # noqa: E501
47
47
  if local_vars_configuration is None:
48
48
  local_vars_configuration = Configuration()
49
49
  self.local_vars_configuration = local_vars_configuration
50
50
 
51
51
  self._machine_pool_name = None
52
- self._workload_name = None
52
+ self._filters = None
53
53
  self.discriminator = None
54
54
 
55
55
  self.machine_pool_name = machine_pool_name
56
- if workload_name is not None:
57
- self.workload_name = workload_name
56
+ if filters is not None:
57
+ self.filters = filters
58
58
 
59
59
  @property
60
60
  def machine_pool_name(self):
@@ -82,27 +82,27 @@ class DescribeMachinePoolRequestsRequest(object):
82
82
  self._machine_pool_name = machine_pool_name
83
83
 
84
84
  @property
85
- def workload_name(self):
86
- """Gets the workload_name of this DescribeMachinePoolRequestsRequest. # noqa: E501
85
+ def filters(self):
86
+ """Gets the filters of this DescribeMachinePoolRequestsRequest. # noqa: E501
87
87
 
88
- Filters requests by workload name. If this field is absent, no filtering is done. # noqa: E501
88
+ Filters to apply to the requests. # noqa: E501
89
89
 
90
- :return: The workload_name of this DescribeMachinePoolRequestsRequest. # noqa: E501
91
- :rtype: TextQuery
90
+ :return: The filters of this DescribeMachinePoolRequestsRequest. # noqa: E501
91
+ :rtype: DescribeMachinePoolRequestsFilters
92
92
  """
93
- return self._workload_name
93
+ return self._filters
94
94
 
95
- @workload_name.setter
96
- def workload_name(self, workload_name):
97
- """Sets the workload_name of this DescribeMachinePoolRequestsRequest.
95
+ @filters.setter
96
+ def filters(self, filters):
97
+ """Sets the filters of this DescribeMachinePoolRequestsRequest.
98
98
 
99
- Filters requests by workload name. If this field is absent, no filtering is done. # noqa: E501
99
+ Filters to apply to the requests. # noqa: E501
100
100
 
101
- :param workload_name: The workload_name of this DescribeMachinePoolRequestsRequest. # noqa: E501
102
- :type: TextQuery
101
+ :param filters: The filters of this DescribeMachinePoolRequestsRequest. # noqa: E501
102
+ :type: DescribeMachinePoolRequestsFilters
103
103
  """
104
104
 
105
- self._workload_name = workload_name
105
+ self._filters = filters
106
106
 
107
107
  def to_dict(self):
108
108
  """Returns the model properties as a dict"""
@@ -0,0 +1,150 @@
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 DescribeMachinePoolWorkloadsFilters(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
+ 'workload_name': 'TextQuery',
37
+ 'partitions': 'list[str]'
38
+ }
39
+
40
+ attribute_map = {
41
+ 'workload_name': 'workload_name',
42
+ 'partitions': 'partitions'
43
+ }
44
+
45
+ def __init__(self, workload_name=None, partitions=None, local_vars_configuration=None): # noqa: E501
46
+ """DescribeMachinePoolWorkloadsFilters - a model defined in OpenAPI""" # noqa: E501
47
+ if local_vars_configuration is None:
48
+ local_vars_configuration = Configuration()
49
+ self.local_vars_configuration = local_vars_configuration
50
+
51
+ self._workload_name = None
52
+ self._partitions = None
53
+ self.discriminator = None
54
+
55
+ if workload_name is not None:
56
+ self.workload_name = workload_name
57
+ if partitions is not None:
58
+ self.partitions = partitions
59
+
60
+ @property
61
+ def workload_name(self):
62
+ """Gets the workload_name of this DescribeMachinePoolWorkloadsFilters. # noqa: E501
63
+
64
+ The name to filter workloads by. If not provided, no filtering is performed. # noqa: E501
65
+
66
+ :return: The workload_name of this DescribeMachinePoolWorkloadsFilters. # noqa: E501
67
+ :rtype: TextQuery
68
+ """
69
+ return self._workload_name
70
+
71
+ @workload_name.setter
72
+ def workload_name(self, workload_name):
73
+ """Sets the workload_name of this DescribeMachinePoolWorkloadsFilters.
74
+
75
+ The name to filter workloads by. If not provided, no filtering is performed. # noqa: E501
76
+
77
+ :param workload_name: The workload_name of this DescribeMachinePoolWorkloadsFilters. # noqa: E501
78
+ :type: TextQuery
79
+ """
80
+
81
+ self._workload_name = workload_name
82
+
83
+ @property
84
+ def partitions(self):
85
+ """Gets the partitions of this DescribeMachinePoolWorkloadsFilters. # noqa: E501
86
+
87
+ The partitions to filter workload machines by. If not provided, no filtering is performed. # noqa: E501
88
+
89
+ :return: The partitions of this DescribeMachinePoolWorkloadsFilters. # noqa: E501
90
+ :rtype: list[str]
91
+ """
92
+ return self._partitions
93
+
94
+ @partitions.setter
95
+ def partitions(self, partitions):
96
+ """Sets the partitions of this DescribeMachinePoolWorkloadsFilters.
97
+
98
+ The partitions to filter workload machines by. If not provided, no filtering is performed. # noqa: E501
99
+
100
+ :param partitions: The partitions of this DescribeMachinePoolWorkloadsFilters. # noqa: E501
101
+ :type: list[str]
102
+ """
103
+
104
+ self._partitions = partitions
105
+
106
+ def to_dict(self):
107
+ """Returns the model properties as a dict"""
108
+ result = {}
109
+
110
+ for attr, _ in six.iteritems(self.openapi_types):
111
+ value = getattr(self, attr)
112
+ if isinstance(value, list):
113
+ result[attr] = list(map(
114
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
115
+ value
116
+ ))
117
+ elif hasattr(value, "to_dict"):
118
+ result[attr] = value.to_dict()
119
+ elif isinstance(value, dict):
120
+ result[attr] = dict(map(
121
+ lambda item: (item[0], item[1].to_dict())
122
+ if hasattr(item[1], "to_dict") else item,
123
+ value.items()
124
+ ))
125
+ else:
126
+ result[attr] = value
127
+
128
+ return result
129
+
130
+ def to_str(self):
131
+ """Returns the string representation of the model"""
132
+ return pprint.pformat(self.to_dict())
133
+
134
+ def __repr__(self):
135
+ """For `print` and `pprint`"""
136
+ return self.to_str()
137
+
138
+ def __eq__(self, other):
139
+ """Returns true if both objects are equal"""
140
+ if not isinstance(other, DescribeMachinePoolWorkloadsFilters):
141
+ return False
142
+
143
+ return self.to_dict() == other.to_dict()
144
+
145
+ def __ne__(self, other):
146
+ """Returns true if both objects are not equal"""
147
+ if not isinstance(other, DescribeMachinePoolWorkloadsFilters):
148
+ return True
149
+
150
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,151 @@
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 DescribeMachinePoolWorkloadsRequest(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
+ 'machine_pool_name': 'str',
37
+ 'filters': 'DescribeMachinePoolWorkloadsFilters'
38
+ }
39
+
40
+ attribute_map = {
41
+ 'machine_pool_name': 'machine_pool_name',
42
+ 'filters': 'filters'
43
+ }
44
+
45
+ def __init__(self, machine_pool_name=None, filters=None, local_vars_configuration=None): # noqa: E501
46
+ """DescribeMachinePoolWorkloadsRequest - a model defined in OpenAPI""" # noqa: E501
47
+ if local_vars_configuration is None:
48
+ local_vars_configuration = Configuration()
49
+ self.local_vars_configuration = local_vars_configuration
50
+
51
+ self._machine_pool_name = None
52
+ self._filters = None
53
+ self.discriminator = None
54
+
55
+ self.machine_pool_name = machine_pool_name
56
+ if filters is not None:
57
+ self.filters = filters
58
+
59
+ @property
60
+ def machine_pool_name(self):
61
+ """Gets the machine_pool_name of this DescribeMachinePoolWorkloadsRequest. # noqa: E501
62
+
63
+ The name of the machine pool to describe. # noqa: E501
64
+
65
+ :return: The machine_pool_name of this DescribeMachinePoolWorkloadsRequest. # noqa: E501
66
+ :rtype: str
67
+ """
68
+ return self._machine_pool_name
69
+
70
+ @machine_pool_name.setter
71
+ def machine_pool_name(self, machine_pool_name):
72
+ """Sets the machine_pool_name of this DescribeMachinePoolWorkloadsRequest.
73
+
74
+ The name of the machine pool to describe. # noqa: E501
75
+
76
+ :param machine_pool_name: The machine_pool_name of this DescribeMachinePoolWorkloadsRequest. # noqa: E501
77
+ :type: str
78
+ """
79
+ if self.local_vars_configuration.client_side_validation and machine_pool_name is None: # noqa: E501
80
+ raise ValueError("Invalid value for `machine_pool_name`, must not be `None`") # noqa: E501
81
+
82
+ self._machine_pool_name = machine_pool_name
83
+
84
+ @property
85
+ def filters(self):
86
+ """Gets the filters of this DescribeMachinePoolWorkloadsRequest. # noqa: E501
87
+
88
+ Filters to apply to the workloads. # noqa: E501
89
+
90
+ :return: The filters of this DescribeMachinePoolWorkloadsRequest. # noqa: E501
91
+ :rtype: DescribeMachinePoolWorkloadsFilters
92
+ """
93
+ return self._filters
94
+
95
+ @filters.setter
96
+ def filters(self, filters):
97
+ """Sets the filters of this DescribeMachinePoolWorkloadsRequest.
98
+
99
+ Filters to apply to the workloads. # noqa: E501
100
+
101
+ :param filters: The filters of this DescribeMachinePoolWorkloadsRequest. # noqa: E501
102
+ :type: DescribeMachinePoolWorkloadsFilters
103
+ """
104
+
105
+ self._filters = filters
106
+
107
+ def to_dict(self):
108
+ """Returns the model properties as a dict"""
109
+ result = {}
110
+
111
+ for attr, _ in six.iteritems(self.openapi_types):
112
+ value = getattr(self, attr)
113
+ if isinstance(value, list):
114
+ result[attr] = list(map(
115
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
116
+ value
117
+ ))
118
+ elif hasattr(value, "to_dict"):
119
+ result[attr] = value.to_dict()
120
+ elif isinstance(value, dict):
121
+ result[attr] = dict(map(
122
+ lambda item: (item[0], item[1].to_dict())
123
+ if hasattr(item[1], "to_dict") else item,
124
+ value.items()
125
+ ))
126
+ else:
127
+ result[attr] = value
128
+
129
+ return result
130
+
131
+ def to_str(self):
132
+ """Returns the string representation of the model"""
133
+ return pprint.pformat(self.to_dict())
134
+
135
+ def __repr__(self):
136
+ """For `print` and `pprint`"""
137
+ return self.to_str()
138
+
139
+ def __eq__(self, other):
140
+ """Returns true if both objects are equal"""
141
+ if not isinstance(other, DescribeMachinePoolWorkloadsRequest):
142
+ return False
143
+
144
+ return self.to_dict() == other.to_dict()
145
+
146
+ def __ne__(self, other):
147
+ """Returns true if both objects are not equal"""
148
+ if not isinstance(other, DescribeMachinePoolWorkloadsRequest):
149
+ return True
150
+
151
+ return self.to_dict() != other.to_dict()
@@ -36,17 +36,19 @@ class FileStorage(object):
36
36
  'file_storage_id': 'str',
37
37
  'mount_targets': 'list[NFSMountTarget]',
38
38
  'mount_path': 'str',
39
- 'persistent_volume_claim': 'str'
39
+ 'persistent_volume_claim': 'str',
40
+ 'csi_ephemeral_volume_driver': 'str'
40
41
  }
41
42
 
42
43
  attribute_map = {
43
44
  'file_storage_id': 'file_storage_id',
44
45
  'mount_targets': 'mount_targets',
45
46
  'mount_path': 'mount_path',
46
- 'persistent_volume_claim': 'persistent_volume_claim'
47
+ 'persistent_volume_claim': 'persistent_volume_claim',
48
+ 'csi_ephemeral_volume_driver': 'csi_ephemeral_volume_driver'
47
49
  }
48
50
 
49
- def __init__(self, file_storage_id=None, mount_targets=None, mount_path=None, persistent_volume_claim=None, local_vars_configuration=None): # noqa: E501
51
+ def __init__(self, file_storage_id=None, mount_targets=None, mount_path=None, persistent_volume_claim=None, csi_ephemeral_volume_driver=None, local_vars_configuration=None): # noqa: E501
50
52
  """FileStorage - a model defined in OpenAPI""" # noqa: E501
51
53
  if local_vars_configuration is None:
52
54
  local_vars_configuration = Configuration()
@@ -56,6 +58,7 @@ class FileStorage(object):
56
58
  self._mount_targets = None
57
59
  self._mount_path = None
58
60
  self._persistent_volume_claim = None
61
+ self._csi_ephemeral_volume_driver = None
59
62
  self.discriminator = None
60
63
 
61
64
  if file_storage_id is not None:
@@ -66,6 +69,8 @@ class FileStorage(object):
66
69
  self.mount_path = mount_path
67
70
  if persistent_volume_claim is not None:
68
71
  self.persistent_volume_claim = persistent_volume_claim
72
+ if csi_ephemeral_volume_driver is not None:
73
+ self.csi_ephemeral_volume_driver = csi_ephemeral_volume_driver
69
74
 
70
75
  @property
71
76
  def file_storage_id(self):
@@ -140,7 +145,7 @@ class FileStorage(object):
140
145
  def persistent_volume_claim(self):
141
146
  """Gets the persistent_volume_claim of this FileStorage. # noqa: E501
142
147
 
143
- For Kubernetes deployments, the name of the persistent volume claim used to mount NFS into pods. # noqa: E501
148
+ For Kubernetes deployments, the name of the persistent volume claim used to mount shared storage into pods. # noqa: E501
144
149
 
145
150
  :return: The persistent_volume_claim of this FileStorage. # noqa: E501
146
151
  :rtype: str
@@ -151,7 +156,7 @@ class FileStorage(object):
151
156
  def persistent_volume_claim(self, persistent_volume_claim):
152
157
  """Sets the persistent_volume_claim of this FileStorage.
153
158
 
154
- For Kubernetes deployments, the name of the persistent volume claim used to mount NFS into pods. # noqa: E501
159
+ For Kubernetes deployments, the name of the persistent volume claim used to mount shared storage into pods. # noqa: E501
155
160
 
156
161
  :param persistent_volume_claim: The persistent_volume_claim of this FileStorage. # noqa: E501
157
162
  :type: str
@@ -159,6 +164,29 @@ class FileStorage(object):
159
164
 
160
165
  self._persistent_volume_claim = persistent_volume_claim
161
166
 
167
+ @property
168
+ def csi_ephemeral_volume_driver(self):
169
+ """Gets the csi_ephemeral_volume_driver of this FileStorage. # noqa: E501
170
+
171
+ For Kubernetes deployments, the CSI ephemeral volume driver used to mount shared storage into pods. # noqa: E501
172
+
173
+ :return: The csi_ephemeral_volume_driver of this FileStorage. # noqa: E501
174
+ :rtype: str
175
+ """
176
+ return self._csi_ephemeral_volume_driver
177
+
178
+ @csi_ephemeral_volume_driver.setter
179
+ def csi_ephemeral_volume_driver(self, csi_ephemeral_volume_driver):
180
+ """Sets the csi_ephemeral_volume_driver of this FileStorage.
181
+
182
+ For Kubernetes deployments, the CSI ephemeral volume driver used to mount shared storage into pods. # noqa: E501
183
+
184
+ :param csi_ephemeral_volume_driver: The csi_ephemeral_volume_driver of this FileStorage. # noqa: E501
185
+ :type: str
186
+ """
187
+
188
+ self._csi_ephemeral_volume_driver = csi_ephemeral_volume_driver
189
+
162
190
  def to_dict(self):
163
191
  """Returns the model properties as a dict"""
164
192
  result = {}