storageprofile#

async idem_vra.states.vra.iaas.storageprofile.present(hub, ctx, name: str, regionId: Any, defaultItem: Any, **kwargs)[source]#
Parameters:
  • regionId (string) – (required in body) The Id of the region that is associated with the storage profile.

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

  • defaultItem (boolean) – (required in body) Indicates if a storage profile is a default profile.

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

  • diskProperties (object) – (optional in body) Map of storage properties that are to be applied on disk while provisioning.

  • supportsEncryption (boolean) – (optional in body) Indicates whether this storage profile supports encryption or not.

  • diskTargetProperties (object) – (optional in body) Map of storage placements to know where the disk is provisioned.

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

  • tags (array) – (optional in body) A list of tags that represent the capabilities of this storage profile

async idem_vra.states.vra.iaas.storageprofile.absent(hub, ctx, name: str, **kwargs)[source]#
Parameters:
  • p_id (string) – (required in path) The ID of the storage profile.

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

Bases: object

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