deployment#

async idem_vra.exec.vra.iaas.deployment.create_deployment(hub, ctx, name, projectId, **kwargs)[source]#

Create deployment Create a new Deployment. Performs POST /iaas/api/deployments

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

  • projectId (string) – (required in body) The id of the project the current user belongs to.

  • 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.exec.vra.iaas.deployment.delete_deployment(hub, ctx, p_id, **kwargs)[source]#

Delete a deployment Delete a deployment. Performs DELETE /iaas/api/deployments/{id}

Parameters:
  • p_id (string) – (required in path) The id of the deployment.

  • forceDelete (boolean) – (optional in query) If true, best effort is made for deleting this deployment and all related resources. In some situations, this may leave provisioned infrastructure resources behind. Please ensure you remove them manually. If false, a standard delete action will be executed.

  • 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.exec.vra.iaas.deployment.get_deployments(hub, ctx, **kwargs)[source]#

Get Deployments Get all deployments. Performs GET /iaas/api/deployments

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

  • top (integer) – (optional in query) Number of records you want to get.

  • skip (integer) – (optional in query) Number of records you want to skip.

  • count (boolean) – (optional in query) Flag which when specified, regardless of the assigned value, shows the total number of records. If the collection has a filter it shows the number of records matching the filter.

  • filter (string) – (optional in query) Filter the results by a specified predicate expression. Operators: eq, ne, and, or.

async idem_vra.exec.vra.iaas.deployment.get_single_deployment(hub, ctx, p_id, **kwargs)[source]#

Get a single deployment Get a single deployment. Performs GET /iaas/api/deployments/{id}

Parameters:
  • p_id (string) – (required in path) The id of the deployment.

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