variables#

async idem_vra.states.vra.pipeline.variables.present(hub, ctx, name: str, type: Any, value: Any, **kwargs)[source]#
Parameters:
  • name (string) – (required in body) A human-friendly name used as an identifier in APIs that support this option

  • type (string) – (required in body) The type of this Variable. Ex: REGULAR / SECRET / RESTRICTED

  • value (string) – (required in body) The value for this Variable.

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

  • Authorization (string) – (optional in header) Bearer token

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

  • isMultiLine (boolean) – (optional in body) Check box that indicates if the value of the Variable should be saved in a multi line format.

  • project (string) – (optional in body) The project this entity belongs to.

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

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

  • Authorization (string) – (optional in header) Bearer token

async idem_vra.states.vra.pipeline.variables.describe(hub, ctx)[source]#
idem_vra.states.vra.pipeline.variables.is_pending(hub, ret: dict, state: str = None, **pending_kwargs)[source]#
class idem_vra.states.vra.pipeline.variables.VariablesState(hub, ctx)[source]#

Bases: object

async present(hub, ctx, name: str, type: Any, value: 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]#
class idem_vra.states.vra.pipeline.variables.VariablesStateImpl(hub, ctx)[source]#

Bases: VariablesState

async present(hub, ctx, name: str, type: Any, value: Any, **kwargs)[source]#
async absent(hub, ctx, name: str, **kwargs)[source]#
async describe(hub, ctx)[source]#