catalogentitlements#
- async idem_vra.exec.vra.catalog.catalogentitlements.create_entitlement_using_post2(hub, ctx, definition, id, projectId, **kwargs)[source]#
Create an entitlement. Creates an entitlement for a given project. Performs POST /catalog/api/admin/entitlements
- Parameters:
definition (Any) – (required in body)
id (string) – (required in body) Entitlement id
projectId (string) – (required in body) Project 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.
migrated (boolean) – (optional in body) Migrated flag for entitlements
- async idem_vra.exec.vra.catalog.catalogentitlements.delete_entitlement_using_delete2(hub, ctx, p_id, **kwargs)[source]#
Delete an entitlement. Deletes the entitlement with the specified id. Performs DELETE /catalog/api/admin/entitlements/{id}
- Parameters:
p_id (string) – (required in path) Entitlement 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.
- async idem_vra.exec.vra.catalog.catalogentitlements.get_entitlements_using_get2(hub, ctx, **kwargs)[source]#
Returns all entitlements filtered by projectId. Returns all entitlements (filtered by projectId). Performs GET /catalog/api/admin/entitlements
- Parameters:
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.
projectId (string) – (optional in query) The project id for which to return .