anyscale 0.26.70__py3-none-any.whl → 0.26.71__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 (78) hide show
  1. anyscale/_private/anyscale_client/anyscale_client.py +63 -6
  2. anyscale/_private/anyscale_client/common.py +33 -3
  3. anyscale/_private/anyscale_client/fake_anyscale_client.py +27 -2
  4. anyscale/client/README.md +29 -0
  5. anyscale/client/openapi_client/__init__.py +19 -0
  6. anyscale/client/openapi_client/api/default_api.py +1307 -4
  7. anyscale/client/openapi_client/models/__init__.py +19 -0
  8. anyscale/client/openapi_client/models/apply_multi_version_update_weights_update_model.py +152 -0
  9. anyscale/client/openapi_client/models/apply_version_weight_update_model.py +181 -0
  10. anyscale/client/openapi_client/models/backend_server_api_product_models_catalog_client_models_table_metadata.py +546 -0
  11. anyscale/client/openapi_client/models/backend_server_api_product_models_data_catalogs_table_metadata.py +178 -0
  12. anyscale/client/openapi_client/models/baseimagesenum.py +70 -1
  13. anyscale/client/openapi_client/models/catalog_metadata.py +150 -0
  14. anyscale/client/openapi_client/models/column_info.py +265 -0
  15. anyscale/client/openapi_client/models/compute_node_type.py +29 -1
  16. anyscale/client/openapi_client/models/connection_metadata.py +206 -0
  17. anyscale/client/openapi_client/models/create_workspace_template_version.py +31 -3
  18. anyscale/client/openapi_client/models/data_catalog.py +45 -31
  19. anyscale/client/openapi_client/models/data_catalog_connection.py +74 -58
  20. anyscale/client/openapi_client/models/data_catalog_object_type.py +100 -0
  21. anyscale/client/openapi_client/models/data_catalog_schema.py +324 -0
  22. anyscale/client/openapi_client/models/data_catalog_table.py +437 -0
  23. anyscale/client/openapi_client/models/data_catalog_volume.py +437 -0
  24. anyscale/client/openapi_client/models/datacatalogschema_list_response.py +147 -0
  25. anyscale/client/openapi_client/models/datacatalogtable_list_response.py +147 -0
  26. anyscale/client/openapi_client/models/datacatalogvolume_list_response.py +147 -0
  27. anyscale/client/openapi_client/models/decorated_serve_deployment.py +27 -1
  28. anyscale/client/openapi_client/models/decoratedproductionservicev2_versionapimodel_response.py +121 -0
  29. anyscale/client/openapi_client/models/describe_machine_pool_machines_filters.py +2 -2
  30. anyscale/client/openapi_client/models/describe_machine_pool_requests_filters.py +33 -5
  31. anyscale/client/openapi_client/models/describe_machine_pool_workloads_filters.py +2 -2
  32. anyscale/client/openapi_client/models/physical_resources.py +178 -0
  33. anyscale/client/openapi_client/models/schema_metadata.py +150 -0
  34. anyscale/client/openapi_client/models/sso_config.py +18 -18
  35. anyscale/client/openapi_client/models/supportedbaseimagesenum.py +70 -1
  36. anyscale/client/openapi_client/models/table_data_preview.py +209 -0
  37. anyscale/client/openapi_client/models/volume_metadata.py +150 -0
  38. anyscale/client/openapi_client/models/worker_node_type.py +29 -1
  39. anyscale/client/openapi_client/models/workspace_template_version.py +29 -1
  40. anyscale/client/openapi_client/models/workspace_template_version_data_object.py +29 -1
  41. anyscale/commands/job_commands.py +120 -0
  42. anyscale/commands/job_queue_commands.py +99 -2
  43. anyscale/commands/service_commands.py +139 -2
  44. anyscale/commands/util.py +104 -1
  45. anyscale/commands/workspace_commands.py +123 -5
  46. anyscale/commands/workspace_commands_v2.py +17 -1
  47. anyscale/compute_config/_private/compute_config_sdk.py +25 -12
  48. anyscale/compute_config/models.py +15 -0
  49. anyscale/controllers/job_controller.py +12 -0
  50. anyscale/controllers/workspace_controller.py +67 -5
  51. anyscale/job/_private/job_sdk.py +3 -1
  52. anyscale/job/models.py +16 -0
  53. anyscale/job_queue/__init__.py +37 -1
  54. anyscale/job_queue/_private/job_queue_sdk.py +28 -1
  55. anyscale/job_queue/commands.py +61 -1
  56. anyscale/sdk/anyscale_client/__init__.py +1 -0
  57. anyscale/sdk/anyscale_client/api/default_api.py +12 -2
  58. anyscale/sdk/anyscale_client/models/__init__.py +1 -0
  59. anyscale/sdk/anyscale_client/models/baseimagesenum.py +70 -1
  60. anyscale/sdk/anyscale_client/models/compute_node_type.py +29 -1
  61. anyscale/sdk/anyscale_client/models/physical_resources.py +178 -0
  62. anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +70 -1
  63. anyscale/sdk/anyscale_client/models/worker_node_type.py +29 -1
  64. anyscale/service/__init__.py +40 -0
  65. anyscale/service/_private/service_sdk.py +121 -24
  66. anyscale/service/commands.py +75 -1
  67. anyscale/service/models.py +46 -2
  68. anyscale/shared_anyscale_utils/latest_ray_version.py +1 -1
  69. anyscale/version.py +1 -1
  70. anyscale/workspace/_private/workspace_sdk.py +1 -0
  71. anyscale/workspace/models.py +19 -0
  72. {anyscale-0.26.70.dist-info → anyscale-0.26.71.dist-info}/METADATA +1 -1
  73. {anyscale-0.26.70.dist-info → anyscale-0.26.71.dist-info}/RECORD +78 -58
  74. {anyscale-0.26.70.dist-info → anyscale-0.26.71.dist-info}/WHEEL +0 -0
  75. {anyscale-0.26.70.dist-info → anyscale-0.26.71.dist-info}/entry_points.txt +0 -0
  76. {anyscale-0.26.70.dist-info → anyscale-0.26.71.dist-info}/licenses/LICENSE +0 -0
  77. {anyscale-0.26.70.dist-info → anyscale-0.26.71.dist-info}/licenses/NOTICE +0 -0
  78. {anyscale-0.26.70.dist-info → anyscale-0.26.71.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,147 @@
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 DatacatalogtableListResponse(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
+ 'results': 'list[DataCatalogTable]',
37
+ 'metadata': 'ListResponseMetadata'
38
+ }
39
+
40
+ attribute_map = {
41
+ 'results': 'results',
42
+ 'metadata': 'metadata'
43
+ }
44
+
45
+ def __init__(self, results=None, metadata=None, local_vars_configuration=None): # noqa: E501
46
+ """DatacatalogtableListResponse - 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._results = None
52
+ self._metadata = None
53
+ self.discriminator = None
54
+
55
+ self.results = results
56
+ if metadata is not None:
57
+ self.metadata = metadata
58
+
59
+ @property
60
+ def results(self):
61
+ """Gets the results of this DatacatalogtableListResponse. # noqa: E501
62
+
63
+
64
+ :return: The results of this DatacatalogtableListResponse. # noqa: E501
65
+ :rtype: list[DataCatalogTable]
66
+ """
67
+ return self._results
68
+
69
+ @results.setter
70
+ def results(self, results):
71
+ """Sets the results of this DatacatalogtableListResponse.
72
+
73
+
74
+ :param results: The results of this DatacatalogtableListResponse. # noqa: E501
75
+ :type: list[DataCatalogTable]
76
+ """
77
+ if self.local_vars_configuration.client_side_validation and results is None: # noqa: E501
78
+ raise ValueError("Invalid value for `results`, must not be `None`") # noqa: E501
79
+
80
+ self._results = results
81
+
82
+ @property
83
+ def metadata(self):
84
+ """Gets the metadata of this DatacatalogtableListResponse. # noqa: E501
85
+
86
+
87
+ :return: The metadata of this DatacatalogtableListResponse. # noqa: E501
88
+ :rtype: ListResponseMetadata
89
+ """
90
+ return self._metadata
91
+
92
+ @metadata.setter
93
+ def metadata(self, metadata):
94
+ """Sets the metadata of this DatacatalogtableListResponse.
95
+
96
+
97
+ :param metadata: The metadata of this DatacatalogtableListResponse. # noqa: E501
98
+ :type: ListResponseMetadata
99
+ """
100
+
101
+ self._metadata = metadata
102
+
103
+ def to_dict(self):
104
+ """Returns the model properties as a dict"""
105
+ result = {}
106
+
107
+ for attr, _ in six.iteritems(self.openapi_types):
108
+ value = getattr(self, attr)
109
+ if isinstance(value, list):
110
+ result[attr] = list(map(
111
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
112
+ value
113
+ ))
114
+ elif hasattr(value, "to_dict"):
115
+ result[attr] = value.to_dict()
116
+ elif isinstance(value, dict):
117
+ result[attr] = dict(map(
118
+ lambda item: (item[0], item[1].to_dict())
119
+ if hasattr(item[1], "to_dict") else item,
120
+ value.items()
121
+ ))
122
+ else:
123
+ result[attr] = value
124
+
125
+ return result
126
+
127
+ def to_str(self):
128
+ """Returns the string representation of the model"""
129
+ return pprint.pformat(self.to_dict())
130
+
131
+ def __repr__(self):
132
+ """For `print` and `pprint`"""
133
+ return self.to_str()
134
+
135
+ def __eq__(self, other):
136
+ """Returns true if both objects are equal"""
137
+ if not isinstance(other, DatacatalogtableListResponse):
138
+ return False
139
+
140
+ return self.to_dict() == other.to_dict()
141
+
142
+ def __ne__(self, other):
143
+ """Returns true if both objects are not equal"""
144
+ if not isinstance(other, DatacatalogtableListResponse):
145
+ return True
146
+
147
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,147 @@
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 DatacatalogvolumeListResponse(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
+ 'results': 'list[DataCatalogVolume]',
37
+ 'metadata': 'ListResponseMetadata'
38
+ }
39
+
40
+ attribute_map = {
41
+ 'results': 'results',
42
+ 'metadata': 'metadata'
43
+ }
44
+
45
+ def __init__(self, results=None, metadata=None, local_vars_configuration=None): # noqa: E501
46
+ """DatacatalogvolumeListResponse - 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._results = None
52
+ self._metadata = None
53
+ self.discriminator = None
54
+
55
+ self.results = results
56
+ if metadata is not None:
57
+ self.metadata = metadata
58
+
59
+ @property
60
+ def results(self):
61
+ """Gets the results of this DatacatalogvolumeListResponse. # noqa: E501
62
+
63
+
64
+ :return: The results of this DatacatalogvolumeListResponse. # noqa: E501
65
+ :rtype: list[DataCatalogVolume]
66
+ """
67
+ return self._results
68
+
69
+ @results.setter
70
+ def results(self, results):
71
+ """Sets the results of this DatacatalogvolumeListResponse.
72
+
73
+
74
+ :param results: The results of this DatacatalogvolumeListResponse. # noqa: E501
75
+ :type: list[DataCatalogVolume]
76
+ """
77
+ if self.local_vars_configuration.client_side_validation and results is None: # noqa: E501
78
+ raise ValueError("Invalid value for `results`, must not be `None`") # noqa: E501
79
+
80
+ self._results = results
81
+
82
+ @property
83
+ def metadata(self):
84
+ """Gets the metadata of this DatacatalogvolumeListResponse. # noqa: E501
85
+
86
+
87
+ :return: The metadata of this DatacatalogvolumeListResponse. # noqa: E501
88
+ :rtype: ListResponseMetadata
89
+ """
90
+ return self._metadata
91
+
92
+ @metadata.setter
93
+ def metadata(self, metadata):
94
+ """Sets the metadata of this DatacatalogvolumeListResponse.
95
+
96
+
97
+ :param metadata: The metadata of this DatacatalogvolumeListResponse. # noqa: E501
98
+ :type: ListResponseMetadata
99
+ """
100
+
101
+ self._metadata = metadata
102
+
103
+ def to_dict(self):
104
+ """Returns the model properties as a dict"""
105
+ result = {}
106
+
107
+ for attr, _ in six.iteritems(self.openapi_types):
108
+ value = getattr(self, attr)
109
+ if isinstance(value, list):
110
+ result[attr] = list(map(
111
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
112
+ value
113
+ ))
114
+ elif hasattr(value, "to_dict"):
115
+ result[attr] = value.to_dict()
116
+ elif isinstance(value, dict):
117
+ result[attr] = dict(map(
118
+ lambda item: (item[0], item[1].to_dict())
119
+ if hasattr(item[1], "to_dict") else item,
120
+ value.items()
121
+ ))
122
+ else:
123
+ result[attr] = value
124
+
125
+ return result
126
+
127
+ def to_str(self):
128
+ """Returns the string representation of the model"""
129
+ return pprint.pformat(self.to_dict())
130
+
131
+ def __repr__(self):
132
+ """For `print` and `pprint`"""
133
+ return self.to_str()
134
+
135
+ def __eq__(self, other):
136
+ """Returns true if both objects are equal"""
137
+ if not isinstance(other, DatacatalogvolumeListResponse):
138
+ return False
139
+
140
+ return self.to_dict() == other.to_dict()
141
+
142
+ def __ne__(self, other):
143
+ """Returns true if both objects are not equal"""
144
+ if not isinstance(other, DatacatalogvolumeListResponse):
145
+ return True
146
+
147
+ return self.to_dict() != other.to_dict()
@@ -51,6 +51,7 @@ class DecoratedServeDeployment(object):
51
51
  'message': 'str',
52
52
  'replica_details': 'list[ReplicaDetails]',
53
53
  'required_resources': 'dict(str, float)',
54
+ 'deployment_config': 'object',
54
55
  'cluster': 'MiniCluster',
55
56
  'creator': 'MiniUser',
56
57
  'namespace': 'MiniNamespace',
@@ -77,6 +78,7 @@ class DecoratedServeDeployment(object):
77
78
  'message': 'message',
78
79
  'replica_details': 'replica_details',
79
80
  'required_resources': 'required_resources',
81
+ 'deployment_config': 'deployment_config',
80
82
  'cluster': 'cluster',
81
83
  'creator': 'creator',
82
84
  'namespace': 'namespace',
@@ -84,7 +86,7 @@ class DecoratedServeDeployment(object):
84
86
  'fast_api_docs_url': 'fast_api_docs_url'
85
87
  }
86
88
 
87
- def __init__(self, id=None, status=None, name=None, application_name=None, cluster_id=None, job_id=None, creator_id=None, namespace_id='DEPRECATED_NAMESPACE_ID', created_at=None, finished_at=None, http_route=None, grafana_dashboard_url=None, class_name=None, grafana_dashboard_state=None, version=None, message=None, replica_details=None, required_resources=None, cluster=None, creator=None, namespace=None, num_actors=0, fast_api_docs_url=None, local_vars_configuration=None): # noqa: E501
89
+ def __init__(self, id=None, status=None, name=None, application_name=None, cluster_id=None, job_id=None, creator_id=None, namespace_id='DEPRECATED_NAMESPACE_ID', created_at=None, finished_at=None, http_route=None, grafana_dashboard_url=None, class_name=None, grafana_dashboard_state=None, version=None, message=None, replica_details=None, required_resources=None, deployment_config=None, cluster=None, creator=None, namespace=None, num_actors=0, fast_api_docs_url=None, local_vars_configuration=None): # noqa: E501
88
90
  """DecoratedServeDeployment - a model defined in OpenAPI""" # noqa: E501
89
91
  if local_vars_configuration is None:
90
92
  local_vars_configuration = Configuration()
@@ -108,6 +110,7 @@ class DecoratedServeDeployment(object):
108
110
  self._message = None
109
111
  self._replica_details = None
110
112
  self._required_resources = None
113
+ self._deployment_config = None
111
114
  self._cluster = None
112
115
  self._creator = None
113
116
  self._namespace = None
@@ -145,6 +148,8 @@ class DecoratedServeDeployment(object):
145
148
  self.replica_details = replica_details
146
149
  if required_resources is not None:
147
150
  self.required_resources = required_resources
151
+ if deployment_config is not None:
152
+ self.deployment_config = deployment_config
148
153
  self.cluster = cluster
149
154
  if creator is not None:
150
155
  self.creator = creator
@@ -581,6 +586,27 @@ class DecoratedServeDeployment(object):
581
586
 
582
587
  self._required_resources = required_resources
583
588
 
589
+ @property
590
+ def deployment_config(self):
591
+ """Gets the deployment_config of this DecoratedServeDeployment. # noqa: E501
592
+
593
+
594
+ :return: The deployment_config of this DecoratedServeDeployment. # noqa: E501
595
+ :rtype: object
596
+ """
597
+ return self._deployment_config
598
+
599
+ @deployment_config.setter
600
+ def deployment_config(self, deployment_config):
601
+ """Sets the deployment_config of this DecoratedServeDeployment.
602
+
603
+
604
+ :param deployment_config: The deployment_config of this DecoratedServeDeployment. # noqa: E501
605
+ :type: object
606
+ """
607
+
608
+ self._deployment_config = deployment_config
609
+
584
610
  @property
585
611
  def cluster(self):
586
612
  """Gets the cluster of this DecoratedServeDeployment. # noqa: E501
@@ -0,0 +1,121 @@
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 Decoratedproductionservicev2VersionapimodelResponse(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
+ 'result': 'DecoratedProductionServiceV2VersionAPIModel'
37
+ }
38
+
39
+ attribute_map = {
40
+ 'result': 'result'
41
+ }
42
+
43
+ def __init__(self, result=None, local_vars_configuration=None): # noqa: E501
44
+ """Decoratedproductionservicev2VersionapimodelResponse - a model defined in OpenAPI""" # noqa: E501
45
+ if local_vars_configuration is None:
46
+ local_vars_configuration = Configuration()
47
+ self.local_vars_configuration = local_vars_configuration
48
+
49
+ self._result = None
50
+ self.discriminator = None
51
+
52
+ self.result = result
53
+
54
+ @property
55
+ def result(self):
56
+ """Gets the result of this Decoratedproductionservicev2VersionapimodelResponse. # noqa: E501
57
+
58
+
59
+ :return: The result of this Decoratedproductionservicev2VersionapimodelResponse. # noqa: E501
60
+ :rtype: DecoratedProductionServiceV2VersionAPIModel
61
+ """
62
+ return self._result
63
+
64
+ @result.setter
65
+ def result(self, result):
66
+ """Sets the result of this Decoratedproductionservicev2VersionapimodelResponse.
67
+
68
+
69
+ :param result: The result of this Decoratedproductionservicev2VersionapimodelResponse. # noqa: E501
70
+ :type: DecoratedProductionServiceV2VersionAPIModel
71
+ """
72
+ if self.local_vars_configuration.client_side_validation and result is None: # noqa: E501
73
+ raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501
74
+
75
+ self._result = result
76
+
77
+ def to_dict(self):
78
+ """Returns the model properties as a dict"""
79
+ result = {}
80
+
81
+ for attr, _ in six.iteritems(self.openapi_types):
82
+ value = getattr(self, attr)
83
+ if isinstance(value, list):
84
+ result[attr] = list(map(
85
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
86
+ value
87
+ ))
88
+ elif hasattr(value, "to_dict"):
89
+ result[attr] = value.to_dict()
90
+ elif isinstance(value, dict):
91
+ result[attr] = dict(map(
92
+ lambda item: (item[0], item[1].to_dict())
93
+ if hasattr(item[1], "to_dict") else item,
94
+ value.items()
95
+ ))
96
+ else:
97
+ result[attr] = value
98
+
99
+ return result
100
+
101
+ def to_str(self):
102
+ """Returns the string representation of the model"""
103
+ return pprint.pformat(self.to_dict())
104
+
105
+ def __repr__(self):
106
+ """For `print` and `pprint`"""
107
+ return self.to_str()
108
+
109
+ def __eq__(self, other):
110
+ """Returns true if both objects are equal"""
111
+ if not isinstance(other, Decoratedproductionservicev2VersionapimodelResponse):
112
+ return False
113
+
114
+ return self.to_dict() == other.to_dict()
115
+
116
+ def __ne__(self, other):
117
+ """Returns true if both objects are not equal"""
118
+ if not isinstance(other, Decoratedproductionservicev2VersionapimodelResponse):
119
+ return True
120
+
121
+ return self.to_dict() != other.to_dict()
@@ -112,7 +112,7 @@ class DescribeMachinePoolMachinesFilters(object):
112
112
  def machine_type_partition_filters(self):
113
113
  """Gets the machine_type_partition_filters of this DescribeMachinePoolMachinesFilters. # noqa: E501
114
114
 
115
- The machine_type, partition pair to filter by. # noqa: E501
115
+ The machine_type, partition pair to filter by. If not provided, no filtering is performed. # noqa: E501
116
116
 
117
117
  :return: The machine_type_partition_filters of this DescribeMachinePoolMachinesFilters. # noqa: E501
118
118
  :rtype: list[MachineTypePartitionFilter]
@@ -123,7 +123,7 @@ class DescribeMachinePoolMachinesFilters(object):
123
123
  def machine_type_partition_filters(self, machine_type_partition_filters):
124
124
  """Sets the machine_type_partition_filters of this DescribeMachinePoolMachinesFilters.
125
125
 
126
- The machine_type, partition pair to filter by. # noqa: E501
126
+ The machine_type, partition pair to filter by. If not provided, no filtering is performed. # noqa: E501
127
127
 
128
128
  :param machine_type_partition_filters: The machine_type_partition_filters of this DescribeMachinePoolMachinesFilters. # noqa: E501
129
129
  :type: list[MachineTypePartitionFilter]
@@ -34,15 +34,17 @@ class DescribeMachinePoolRequestsFilters(object):
34
34
  """
35
35
  openapi_types = {
36
36
  'partitions': 'list[str]',
37
- 'workload_name': 'TextQuery'
37
+ 'workload_name': 'TextQuery',
38
+ 'machine_type_partition_filters': 'list[MachineTypePartitionFilter]'
38
39
  }
39
40
 
40
41
  attribute_map = {
41
42
  'partitions': 'partitions',
42
- 'workload_name': 'workload_name'
43
+ 'workload_name': 'workload_name',
44
+ 'machine_type_partition_filters': 'machine_type_partition_filters'
43
45
  }
44
46
 
45
- def __init__(self, partitions=None, workload_name=None, local_vars_configuration=None): # noqa: E501
47
+ def __init__(self, partitions=None, workload_name=None, machine_type_partition_filters=None, local_vars_configuration=None): # noqa: E501
46
48
  """DescribeMachinePoolRequestsFilters - a model defined in OpenAPI""" # noqa: E501
47
49
  if local_vars_configuration is None:
48
50
  local_vars_configuration = Configuration()
@@ -50,18 +52,21 @@ class DescribeMachinePoolRequestsFilters(object):
50
52
 
51
53
  self._partitions = None
52
54
  self._workload_name = None
55
+ self._machine_type_partition_filters = None
53
56
  self.discriminator = None
54
57
 
55
58
  if partitions is not None:
56
59
  self.partitions = partitions
57
60
  if workload_name is not None:
58
61
  self.workload_name = workload_name
62
+ if machine_type_partition_filters is not None:
63
+ self.machine_type_partition_filters = machine_type_partition_filters
59
64
 
60
65
  @property
61
66
  def partitions(self):
62
67
  """Gets the partitions of this DescribeMachinePoolRequestsFilters. # noqa: E501
63
68
 
64
- The partitions to filter by. # noqa: E501
69
+ The partitions to filter by (for backward compatibility). # noqa: E501
65
70
 
66
71
  :return: The partitions of this DescribeMachinePoolRequestsFilters. # noqa: E501
67
72
  :rtype: list[str]
@@ -72,7 +77,7 @@ class DescribeMachinePoolRequestsFilters(object):
72
77
  def partitions(self, partitions):
73
78
  """Sets the partitions of this DescribeMachinePoolRequestsFilters.
74
79
 
75
- The partitions to filter by. # noqa: E501
80
+ The partitions to filter by (for backward compatibility). # noqa: E501
76
81
 
77
82
  :param partitions: The partitions of this DescribeMachinePoolRequestsFilters. # noqa: E501
78
83
  :type: list[str]
@@ -103,6 +108,29 @@ class DescribeMachinePoolRequestsFilters(object):
103
108
 
104
109
  self._workload_name = workload_name
105
110
 
111
+ @property
112
+ def machine_type_partition_filters(self):
113
+ """Gets the machine_type_partition_filters of this DescribeMachinePoolRequestsFilters. # noqa: E501
114
+
115
+ The machine_type, partition pair to filter by. If not provided, no filtering is performed. # noqa: E501
116
+
117
+ :return: The machine_type_partition_filters of this DescribeMachinePoolRequestsFilters. # noqa: E501
118
+ :rtype: list[MachineTypePartitionFilter]
119
+ """
120
+ return self._machine_type_partition_filters
121
+
122
+ @machine_type_partition_filters.setter
123
+ def machine_type_partition_filters(self, machine_type_partition_filters):
124
+ """Sets the machine_type_partition_filters of this DescribeMachinePoolRequestsFilters.
125
+
126
+ The machine_type, partition pair to filter by. If not provided, no filtering is performed. # noqa: E501
127
+
128
+ :param machine_type_partition_filters: The machine_type_partition_filters of this DescribeMachinePoolRequestsFilters. # noqa: E501
129
+ :type: list[MachineTypePartitionFilter]
130
+ """
131
+
132
+ self._machine_type_partition_filters = machine_type_partition_filters
133
+
106
134
  def to_dict(self):
107
135
  """Returns the model properties as a dict"""
108
136
  result = {}
@@ -112,7 +112,7 @@ class DescribeMachinePoolWorkloadsFilters(object):
112
112
  def machine_type_partition_filters(self):
113
113
  """Gets the machine_type_partition_filters of this DescribeMachinePoolWorkloadsFilters. # noqa: E501
114
114
 
115
- The machine_type, partition pair to filter by. # noqa: E501
115
+ The machine_type, partition pair to filter by. If not provided, no filtering is performed. # noqa: E501
116
116
 
117
117
  :return: The machine_type_partition_filters of this DescribeMachinePoolWorkloadsFilters. # noqa: E501
118
118
  :rtype: list[MachineTypePartitionFilter]
@@ -123,7 +123,7 @@ class DescribeMachinePoolWorkloadsFilters(object):
123
123
  def machine_type_partition_filters(self, machine_type_partition_filters):
124
124
  """Sets the machine_type_partition_filters of this DescribeMachinePoolWorkloadsFilters.
125
125
 
126
- The machine_type, partition pair to filter by. # noqa: E501
126
+ The machine_type, partition pair to filter by. If not provided, no filtering is performed. # noqa: E501
127
127
 
128
128
  :param machine_type_partition_filters: The machine_type_partition_filters of this DescribeMachinePoolWorkloadsFilters. # noqa: E501
129
129
  :type: list[MachineTypePartitionFilter]