imageprofile#

async idem_vra.states.vra.iaas.imageprofile.present(hub, ctx, name: str, regionId: Any, imageMapping: Any, **kwargs)[source]#
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.states.vra.iaas.imageprofile.absent(hub, ctx, name: str, **kwargs)[source]#
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.states.vra.iaas.imageprofile.describe(hub, ctx)[source]#
idem_vra.states.vra.iaas.imageprofile.is_pending(hub, ret: dict, state: str = None, **pending_kwargs)[source]#
class idem_vra.states.vra.iaas.imageprofile.ImageprofileState(hub, ctx)[source]#

Bases: object

async present(hub, ctx, name: str, regionId: Any, imageMapping: 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]#