import_asset#

Autogenerated API

argus_api.lib.assets.v2.import.import_asset.import_asset(assetName: str = None, dataSource: str = None, customer: str = None, assetIdentification: dict = None, components: dict = None, observations: dict = None, ttl: int = None, json: bool = True, verify: Optional[bool] = None, proxies: Optional[dict] = None, apiKey: Optional[str] = None, authentication: Optional[dict] = None, server_url: Optional[str] = None, body: Optional[dict] = None, api_session: Optional[ArgusAPISession] = None) dict#

Imports Assets (DEV)

Parameters
  • assetName (str) – Display name of the Asset. Used if new asset. If not set a random UUID will be generated

  • dataSource (str) – Required ID or short name of the data source

  • customer (str) – ID or short name of the asset’s customer

  • assetIdentification (dict) – Request to identify an Asset

  • components (list) – Specify components to import

  • observations (list) – Observations to be added to the asset

  • ttl (int) – Time to live duration of this asset since last seen, 0 means won’t expire.

  • json – return the response’s body as a dict parsed from json. True by default. If set to false, the raw requests.Response object will be returned.

  • verify – path to a certificate bundle or boolean indicating whether SSL verification should be performed.

  • apiKey – Argus API key.

  • authentication – authentication override

  • server_url – API base URL override

  • body – body of the request. other parameters will override keys defined in the body.

  • api_session – session to use for this request. If not set, the global session will be used.

Raises
Returns

dictionary translated from JSON