catalogsources#
- async idem_vra.states.vra.catalog.catalogsources.present(hub, ctx, name: str, config: Any, id: Any, typeId: Any, **kwargs)[source]#
- Parameters:
config (object) – (required in body) Source custom configuration
id (string) – (required in body) Catalog Source id
name (string) – (required in body) Catalog Source name
typeId (string) – (required in body) Type of source, e.g. blueprint, CFT… etc
apiVersion (string) – (optional in query) The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.
validationOnly (boolean) – (optional in query) If true, the source will not be created. It returns the number of items belonging to the source. The request will still return an error code if the source is invalid.
createdAt (string) – (optional in body) Creation time
createdBy (string) – (optional in body) Created By
description (string) – (optional in body) Catalog Source description
global (boolean) – (optional in body) Global flag indicating that all the items can be requested across all projects.
iconId (string) – (optional in body) Default Icon Id
itemsFound (integer) – (optional in body) Number of items found
itemsImported (integer) – (optional in body) Number of items imported.
lastImportCompletedAt (string) – (optional in body) Last import completion time
lastImportErrors (array) – (optional in body) Last import error(s)
lastImportStartedAt (string) – (optional in body) Last import start time
lastUpdatedAt (string) – (optional in body) Update time
lastUpdatedBy (string) – (optional in body) Updated By
projectId (string) – (optional in body) Project id where the source belongs
- async idem_vra.states.vra.catalog.catalogsources.absent(hub, ctx, name: str, **kwargs)[source]#
- Parameters:
p_sourceId (string) – (required in path) Catalog source ID
apiVersion (string) – (optional in query) The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.
- idem_vra.states.vra.catalog.catalogsources.is_pending(hub, ret: dict, state: str = None, **pending_kwargs)[source]#