Skip to content

Commit 04b721f

Browse files
authored
refreshing sdk for intersight version 4950 (#12)
1 parent 5158e6d commit 04b721f

File tree

6,034 files changed

+31100
-6203
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

6,034 files changed

+31100
-6203
lines changed

intersight/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
66
Cisco Intersight is a management platform delivered as a service with embedded analytics for your Cisco and 3rd party IT infrastructure. This platform offers an intelligent level of management that enables IT organizations to analyze, simplify, and automate their environments in more advanced ways than the prior generations of tools. Cisco Intersight provides an integrated and intuitive management experience for resources in the traditional data center as well as at the edge. With flexible deployment options to address complex security needs, getting started with Intersight is quick and easy. Cisco Intersight has deep integration with Cisco UCS and HyperFlex systems allowing for remote deployment, configuration, and ongoing maintenance. The model-based deployment works for a single system in a remote location or hundreds of systems in a data center and enables rapid, standardized configuration and deployment. It also streamlines maintaining those systems whether you are working with small or very large configurations. The Intersight OpenAPI document defines the complete set of properties that are returned in the HTTP response. From that perspective, a client can expect that no additional properties are returned, unless these properties are explicitly defined in the OpenAPI document. However, when a client uses an older version of the Intersight OpenAPI document, the server may send additional properties because the software is more recent than the client. In that case, the client may receive properties that it does not know about. Some generated SDKs perform a strict validation of the HTTP response body against the OpenAPI document. # noqa: E501
77
8-
The version of the OpenAPI document: 1.0.9-4929
8+
The version of the OpenAPI document: 1.0.9-4950
99
1010
Generated by: https://openapi-generator.tech
1111
"""
1212

1313

14-
__version__ = "1.0.9.4929"
14+
__version__ = "1.0.9.4950"
1515

1616
# import ApiClient
1717
from intersight.api_client import ApiClient

intersight/api/aaa_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
Cisco Intersight is a management platform delivered as a service with embedded analytics for your Cisco and 3rd party IT infrastructure. This platform offers an intelligent level of management that enables IT organizations to analyze, simplify, and automate their environments in more advanced ways than the prior generations of tools. Cisco Intersight provides an integrated and intuitive management experience for resources in the traditional data center as well as at the edge. With flexible deployment options to address complex security needs, getting started with Intersight is quick and easy. Cisco Intersight has deep integration with Cisco UCS and HyperFlex systems allowing for remote deployment, configuration, and ongoing maintenance. The model-based deployment works for a single system in a remote location or hundreds of systems in a data center and enables rapid, standardized configuration and deployment. It also streamlines maintaining those systems whether you are working with small or very large configurations. The Intersight OpenAPI document defines the complete set of properties that are returned in the HTTP response. From that perspective, a client can expect that no additional properties are returned, unless these properties are explicitly defined in the OpenAPI document. However, when a client uses an older version of the Intersight OpenAPI document, the server may send additional properties because the software is more recent than the client. In that case, the client may receive properties that it does not know about. Some generated SDKs perform a strict validation of the HTTP response body against the OpenAPI document. # noqa: E501
55
6-
The version of the OpenAPI document: 1.0.9-4929
6+
The version of the OpenAPI document: 1.0.9-4950
77
88
Generated by: https://openapi-generator.tech
99
"""

intersight/api/access_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
Cisco Intersight is a management platform delivered as a service with embedded analytics for your Cisco and 3rd party IT infrastructure. This platform offers an intelligent level of management that enables IT organizations to analyze, simplify, and automate their environments in more advanced ways than the prior generations of tools. Cisco Intersight provides an integrated and intuitive management experience for resources in the traditional data center as well as at the edge. With flexible deployment options to address complex security needs, getting started with Intersight is quick and easy. Cisco Intersight has deep integration with Cisco UCS and HyperFlex systems allowing for remote deployment, configuration, and ongoing maintenance. The model-based deployment works for a single system in a remote location or hundreds of systems in a data center and enables rapid, standardized configuration and deployment. It also streamlines maintaining those systems whether you are working with small or very large configurations. The Intersight OpenAPI document defines the complete set of properties that are returned in the HTTP response. From that perspective, a client can expect that no additional properties are returned, unless these properties are explicitly defined in the OpenAPI document. However, when a client uses an older version of the Intersight OpenAPI document, the server may send additional properties because the software is more recent than the client. In that case, the client may receive properties that it does not know about. Some generated SDKs perform a strict validation of the HTTP response body against the OpenAPI document. # noqa: E501
55
6-
The version of the OpenAPI document: 1.0.9-4929
6+
The version of the OpenAPI document: 1.0.9-4950
77
88
Generated by: https://openapi-generator.tech
99
"""

intersight/api/adapter_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
Cisco Intersight is a management platform delivered as a service with embedded analytics for your Cisco and 3rd party IT infrastructure. This platform offers an intelligent level of management that enables IT organizations to analyze, simplify, and automate their environments in more advanced ways than the prior generations of tools. Cisco Intersight provides an integrated and intuitive management experience for resources in the traditional data center as well as at the edge. With flexible deployment options to address complex security needs, getting started with Intersight is quick and easy. Cisco Intersight has deep integration with Cisco UCS and HyperFlex systems allowing for remote deployment, configuration, and ongoing maintenance. The model-based deployment works for a single system in a remote location or hundreds of systems in a data center and enables rapid, standardized configuration and deployment. It also streamlines maintaining those systems whether you are working with small or very large configurations. The Intersight OpenAPI document defines the complete set of properties that are returned in the HTTP response. From that perspective, a client can expect that no additional properties are returned, unless these properties are explicitly defined in the OpenAPI document. However, when a client uses an older version of the Intersight OpenAPI document, the server may send additional properties because the software is more recent than the client. In that case, the client may receive properties that it does not know about. Some generated SDKs perform a strict validation of the HTTP response body against the OpenAPI document. # noqa: E501
55
6-
The version of the OpenAPI document: 1.0.9-4929
6+
The version of the OpenAPI document: 1.0.9-4950
77
88
Generated by: https://openapi-generator.tech
99
"""

intersight/api/appliance_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
Cisco Intersight is a management platform delivered as a service with embedded analytics for your Cisco and 3rd party IT infrastructure. This platform offers an intelligent level of management that enables IT organizations to analyze, simplify, and automate their environments in more advanced ways than the prior generations of tools. Cisco Intersight provides an integrated and intuitive management experience for resources in the traditional data center as well as at the edge. With flexible deployment options to address complex security needs, getting started with Intersight is quick and easy. Cisco Intersight has deep integration with Cisco UCS and HyperFlex systems allowing for remote deployment, configuration, and ongoing maintenance. The model-based deployment works for a single system in a remote location or hundreds of systems in a data center and enables rapid, standardized configuration and deployment. It also streamlines maintaining those systems whether you are working with small or very large configurations. The Intersight OpenAPI document defines the complete set of properties that are returned in the HTTP response. From that perspective, a client can expect that no additional properties are returned, unless these properties are explicitly defined in the OpenAPI document. However, when a client uses an older version of the Intersight OpenAPI document, the server may send additional properties because the software is more recent than the client. In that case, the client may receive properties that it does not know about. Some generated SDKs perform a strict validation of the HTTP response body against the OpenAPI document. # noqa: E501
55

6-
The version of the OpenAPI document: 1.0.9-4929
6+
The version of the OpenAPI document: 1.0.9-4950
77
88
Generated by: https://openapi-generator.tech
99
"""

intersight/api/asset_api.py

Lines changed: 136 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
Cisco Intersight is a management platform delivered as a service with embedded analytics for your Cisco and 3rd party IT infrastructure. This platform offers an intelligent level of management that enables IT organizations to analyze, simplify, and automate their environments in more advanced ways than the prior generations of tools. Cisco Intersight provides an integrated and intuitive management experience for resources in the traditional data center as well as at the edge. With flexible deployment options to address complex security needs, getting started with Intersight is quick and easy. Cisco Intersight has deep integration with Cisco UCS and HyperFlex systems allowing for remote deployment, configuration, and ongoing maintenance. The model-based deployment works for a single system in a remote location or hundreds of systems in a data center and enables rapid, standardized configuration and deployment. It also streamlines maintaining those systems whether you are working with small or very large configurations. The Intersight OpenAPI document defines the complete set of properties that are returned in the HTTP response. From that perspective, a client can expect that no additional properties are returned, unless these properties are explicitly defined in the OpenAPI document. However, when a client uses an older version of the Intersight OpenAPI document, the server may send additional properties because the software is more recent than the client. In that case, the client may receive properties that it does not know about. Some generated SDKs perform a strict validation of the HTTP response body against the OpenAPI document. # noqa: E501
55
6-
The version of the OpenAPI document: 1.0.9-4929
6+
The version of the OpenAPI document: 1.0.9-4950
77
88
Generated by: https://openapi-generator.tech
99
"""
@@ -35,6 +35,7 @@
3535
from intersight.model.asset_device_connector_manager_response import AssetDeviceConnectorManagerResponse
3636
from intersight.model.asset_device_contract_information import AssetDeviceContractInformation
3737
from intersight.model.asset_device_contract_information_response import AssetDeviceContractInformationResponse
38+
from intersight.model.asset_device_contract_notification import AssetDeviceContractNotification
3839
from intersight.model.asset_device_registration import AssetDeviceRegistration
3940
from intersight.model.asset_device_registration_response import AssetDeviceRegistrationResponse
4041
from intersight.model.asset_subscription import AssetSubscription
@@ -194,6 +195,140 @@ def __create_asset_device_claim(
194195
callable=__create_asset_device_claim
195196
)
196197

198+
def __create_asset_device_contract_notification(
199+
self,
200+
asset_device_contract_notification,
201+
**kwargs
202+
):
203+
"""Create a 'asset.DeviceContractNotification' resource. # noqa: E501
204+
205+
This method makes a synchronous HTTP request by default. To make an
206+
asynchronous HTTP request, please pass async_req=True
207+
208+
>>> thread = api.create_asset_device_contract_notification(asset_device_contract_notification, async_req=True)
209+
>>> result = thread.get()
210+
211+
Args:
212+
asset_device_contract_notification (AssetDeviceContractNotification): The 'asset.DeviceContractNotification' resource to create.
213+
214+
Keyword Args:
215+
if_match (str): For methods that apply server-side changes, and in particular for PUT, If-Match can be used to prevent the lost update problem. It can check if the modification of a resource that the user wants to upload will not override another change that has been done since the original resource was fetched. If the request cannot be fulfilled, the 412 (Precondition Failed) response is returned. When modifying a resource using POST or PUT, the If-Match header must be set to the value of the resource ModTime property after which no lost update problem should occur. For example, a client send a GET request to obtain a resource, which includes the ModTime property. The ModTime indicates the last time the resource was created or modified. The client then sends a POST or PUT request with the If-Match header set to the ModTime property of the resource as obtained in the GET request.. [optional]
216+
if_none_match (str): For methods that apply server-side changes, If-None-Match used with the * value can be used to create a resource not known to exist, guaranteeing that another resource creation didn't happen before, losing the data of the previous put. The request will be processed only if the eventually existing resource's ETag doesn't match any of the values listed. Otherwise, the status code 412 (Precondition Failed) is used. The asterisk is a special value representing any resource. It is only useful when creating a resource, usually with PUT, to check if another resource with the identity has already been created before. The comparison with the stored ETag uses the weak comparison algorithm, meaning two resources are considered identical if the content is equivalent - they don't have to be identical byte for byte.. [optional]
217+
_return_http_data_only (bool): response data without head status
218+
code and headers. Default is True.
219+
_preload_content (bool): if False, the urllib3.HTTPResponse object
220+
will be returned without reading/decoding response data.
221+
Default is True.
222+
_request_timeout (float/tuple): timeout setting for this request. If one
223+
number provided, it will be total request timeout. It can also
224+
be a pair (tuple) of (connection, read) timeouts.
225+
Default is None.
226+
_check_input_type (bool): specifies if type checking
227+
should be done one the data sent to the server.
228+
Default is True.
229+
_check_return_type (bool): specifies if type checking
230+
should be done one the data received from the server.
231+
Default is True.
232+
_host_index (int/None): specifies the index of the server
233+
that we want to use.
234+
Default is read from the configuration.
235+
async_req (bool): execute request asynchronously
236+
237+
Returns:
238+
AssetDeviceContractNotification
239+
If the method is called asynchronously, returns the request
240+
thread.
241+
"""
242+
kwargs['async_req'] = kwargs.get(
243+
'async_req', False
244+
)
245+
kwargs['_return_http_data_only'] = kwargs.get(
246+
'_return_http_data_only', True
247+
)
248+
kwargs['_preload_content'] = kwargs.get(
249+
'_preload_content', True
250+
)
251+
kwargs['_request_timeout'] = kwargs.get(
252+
'_request_timeout', None
253+
)
254+
kwargs['_check_input_type'] = kwargs.get(
255+
'_check_input_type', True
256+
)
257+
kwargs['_check_return_type'] = kwargs.get(
258+
'_check_return_type', True
259+
)
260+
kwargs['_host_index'] = kwargs.get('_host_index')
261+
kwargs['asset_device_contract_notification'] = \
262+
asset_device_contract_notification
263+
return self.call_with_http_info(**kwargs)
264+
265+
self.create_asset_device_contract_notification = _Endpoint(
266+
settings={
267+
'response_type': (AssetDeviceContractNotification,),
268+
'auth': [
269+
'cookieAuth',
270+
'http_signature',
271+
'oAuth2',
272+
'oAuth2'
273+
],
274+
'endpoint_path': '/api/v1/asset/DeviceContractNotifications',
275+
'operation_id': 'create_asset_device_contract_notification',
276+
'http_method': 'POST',
277+
'servers': None,
278+
},
279+
params_map={
280+
'all': [
281+
'asset_device_contract_notification',
282+
'if_match',
283+
'if_none_match',
284+
],
285+
'required': [
286+
'asset_device_contract_notification',
287+
],
288+
'nullable': [
289+
],
290+
'enum': [
291+
],
292+
'validation': [
293+
]
294+
},
295+
root_map={
296+
'validations': {
297+
},
298+
'allowed_values': {
299+
},
300+
'openapi_types': {
301+
'asset_device_contract_notification':
302+
(AssetDeviceContractNotification,),
303+
'if_match':
304+
(str,),
305+
'if_none_match':
306+
(str,),
307+
},
308+
'attribute_map': {
309+
'if_match': 'If-Match',
310+
'if_none_match': 'If-None-Match',
311+
},
312+
'location_map': {
313+
'asset_device_contract_notification': 'body',
314+
'if_match': 'header',
315+
'if_none_match': 'header',
316+
},
317+
'collection_format_map': {
318+
}
319+
},
320+
headers_map={
321+
'accept': [
322+
'application/json'
323+
],
324+
'content_type': [
325+
'application/json'
326+
]
327+
},
328+
api_client=api_client,
329+
callable=__create_asset_device_contract_notification
330+
)
331+
197332
def __create_asset_target(
198333
self,
199334
asset_target,

0 commit comments

Comments
 (0)