imageprofile#

async idem_vra.exec.vra.iaas.imageprofile.create_image_profile(hub, ctx, regionId, imageMapping, name, **kwargs)[source]#

Create image profile Create image profile Performs POST /iaas/api/image-profiles

Parameters:
  • regionId (string) – (required in body) The id of the region for which this profile is created

  • imageMapping (object) – (required in body) Image mapping defined for the corresponding region.

  • name (string) – (required in body) A human-friendly name used as an identifier in APIs that support this option.

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

  • description (string) – (optional in body) A human-friendly description.

async idem_vra.exec.vra.iaas.imageprofile.delete_image_profile(hub, ctx, p_id, **kwargs)[source]#

Delete image profile Delete image profile with a given id Performs DELETE /iaas/api/image-profiles/{id}

Parameters:
  • p_id (string) – (required in path) The ID of the image.

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

async idem_vra.exec.vra.iaas.imageprofile.get_image_profile(hub, ctx, p_id, **kwargs)[source]#

Get image profile Get image profile with a given id Performs GET /iaas/api/image-profiles/{id}

Parameters:
  • p_id (string) – (required in path) The ID of the image.

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

async idem_vra.exec.vra.iaas.imageprofile.get_image_profiles(hub, ctx, **kwargs)[source]#

Get image profile Get all image profiles Performs GET /iaas/api/image-profiles

Parameters:

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

async idem_vra.exec.vra.iaas.imageprofile.update_image_profile(hub, ctx, p_id, imageMapping, **kwargs)[source]#

Update image profile Update image profile Performs PATCH /iaas/api/image-profiles/{id}

Parameters:
  • p_id (string) – (required in path) The ID of the image.

  • imageMapping (object) – (required in body) Image mapping defined for the corresponding region.

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

  • name (string) – (optional in body) A human-friendly name used as an identifier in APIs that support this option.

  • description (string) – (optional in body) A human-friendly description.