blueprint#

async idem_vra.states.vra.blueprint.blueprint.present(hub, ctx, name: str, projectId: Any, **kwargs)[source]#
Parameters:
  • name (string) – (required in body) Blueprint name

  • projectId (string) – (required in body) Project ID

  • apiVersion (string) – (optional in query) The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /blueprint/api/about

  • content (string) – (optional in body) Blueprint YAML content

  • contentSourceId (string) – (optional in body) Content source id

  • contentSourcePath (string) – (optional in body) Content source path

  • contentSourceSyncAt (string) – (optional in body) Content source last sync time

  • contentSourceSyncMessages (array) – (optional in body) Content source last sync messages

  • contentSourceSyncStatus (string) – (optional in body) Content source last sync status

  • contentSourceType (string) – (optional in body) Content source type

  • createdAt (string) – (optional in body) Created time

  • createdBy (string) – (optional in body) Created by

  • description (string) – (optional in body) Blueprint description

  • id (string) – (optional in body) Object ID

  • orgId (string) – (optional in body) Org ID

  • projectName (string) – (optional in body) Project Name

  • requestScopeOrg (boolean) – (optional in body) Flag to indicate blueprint can be requested from any project in org

  • selfLink (string) – (optional in body) Blueprint self link

  • status (string) – (optional in body) Blueprint status

  • totalReleasedVersions (integer) – (optional in body) Total released versions

  • totalVersions (integer) – (optional in body) Total versions

  • updatedAt (string) – (optional in body) Updated time

  • updatedBy (string) – (optional in body) Updated by

  • valid (boolean) – (optional in body) Validation result on update

  • validationMessages (array) – (optional in body) Validation messages

async idem_vra.states.vra.blueprint.blueprint.absent(hub, ctx, name: str, **kwargs)[source]#
Parameters:
  • p_blueprintId (string) – (required in path) blueprintId

  • apiVersion (string) – (optional in query) The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /blueprint/api/about

async idem_vra.states.vra.blueprint.blueprint.describe(hub, ctx)[source]#
idem_vra.states.vra.blueprint.blueprint.is_pending(hub, ret: dict, state: str = None, **pending_kwargs)[source]#
class idem_vra.states.vra.blueprint.blueprint.BlueprintState(hub, ctx)[source]#

Bases: object

async present(hub, ctx, name: str, projectId: Any, **kwargs)[source]#
async absent(hub, ctx, name: str, **kwargs)[source]#
async describe(hub, ctx)[source]#
async paginate_find(hub, ctx, **kwargs)[source]#

Paginate through all resources using their ‘find’ method.

is_pending(hub, ret: dict, state: str = None, **pending_kwargs)[source]#

State reconciliation

async remap_resource_structure(hub, ctx, obj: dict) dict[source]#