integration#

async idem_vra.states.vra.iaas.integration.present(hub, ctx, name: str, integrationType: Any, integrationProperties: Any, **kwargs)[source]#
Parameters:
  • integrationType (string) – (required in body) Integration type

  • integrationProperties (object) – (required in body) Integration specific properties supplied in as name value pairs

  • 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

  • validateOnly (string) – (optional in query) Only validate provided Integration Specification. Integration will not be created.

  • privateKey (string) – (optional in body) Secret access key or password to be used to authenticate with the integration

  • associatedCloudAccountIds (array) – (optional in body) Cloud accounts to associate with this integration

  • customProperties (object) – (optional in body) Additional custom properties that may be used to extend the Integration.

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

  • certificateInfo (Any) – (optional in body)

  • privateKeyId (string) – (optional in body) Access key id or username to be used to authenticate with the integration

  • tags (array) – (optional in body) A set of tag keys and optional values to set on the Integration

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

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

Bases: object

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