flavorprofile#

async idem_vra.states.vra.iaas.flavorprofile.present(hub, ctx, name: str, regionId: Any, flavorMapping: Any, **kwargs)[source]#
Parameters:
  • regionId (string) – (required in body) The id of the region for which this profile is created

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

  • flavorMapping (object) – (required in body) Map between global fabric flavor keys <String> and fabric flavor descriptions <FabricFlavorDescription>

  • 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.flavorprofile.absent(hub, ctx, name: str, **kwargs)[source]#
Parameters:
  • p_id (string) – (required in path) The ID of the flavor.

  • 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.flavorprofile.describe(hub, ctx)[source]#
idem_vra.states.vra.iaas.flavorprofile.is_pending(hub, ret: dict, state: str = None, **pending_kwargs)[source]#
class idem_vra.states.vra.iaas.flavorprofile.FlavorprofileState(hub, ctx)[source]#

Bases: object

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