deploymentactions#

async idem_vra.exec.vra.catalog.deploymentactions.get_deployment_action_using_get2(hub, ctx, p_actionId, p_deploymentId, **kwargs)[source]#
Fetch deployment action. Returns an action for the deployment specified by its Deployment ID and Action

ID. Performs GET /deployment/api/deployments/{deploymentId}/actions/{actionId}

Parameters:
  • p_actionId (string) – (required in path) Action ID

  • p_deploymentId (string) – (required in path) Deployment ID

  • apiVersion (string) – (optional in query) The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.

async idem_vra.exec.vra.catalog.deploymentactions.get_deployment_actions_using_get2(hub, ctx, p_deploymentId, **kwargs)[source]#
Fetch deployment available actions. Returns the complete list of available actions that can be performed on a given

deployment. Performs GET /deployment/api/deployments/{deploymentId}/actions

Parameters:
  • p_deploymentId (string) – (required in path) Deployment ID

  • apiVersion (string) – (optional in query) The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.

async idem_vra.exec.vra.catalog.deploymentactions.get_resource_action_using_get4(hub, ctx, p_actionId, p_deploymentId, p_resourceId, **kwargs)[source]#

Fetch resource action. Returns an action for the resource specified by its Resource ID and Action ID. Performs GET /deployment/api/deployments/{deploymentId}/resources/{resourceId}/actions/{actionId}

Parameters:
  • p_actionId (string) – (required in path) Action ID

  • p_deploymentId (string) – (required in path) Deployment ID

  • p_resourceId (string) – (required in path) Resource ID

  • apiVersion (string) – (optional in query) The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.

async idem_vra.exec.vra.catalog.deploymentactions.get_resource_actions_using_get4(hub, ctx, p_deploymentId, p_resourceId, **kwargs)[source]#
Fetch available resource actions. Returns the complete list of available actions that can be performed on a given

resource. Performs GET /deployment/api/deployments/{deploymentId}/resources/{resourceId}/actions

Parameters:
  • p_deploymentId (string) – (required in path) Deployment ID

  • p_resourceId (string) – (required in path) Resource ID

  • apiVersion (string) – (optional in query) The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.

async idem_vra.exec.vra.catalog.deploymentactions.submit_deployment_action_request_using_post2(hub, ctx, p_deploymentId, **kwargs)[source]#

Deployment action request. Submit a deployment action request Performs POST /deployment/api/deployments/{deploymentId}/requests

Parameters:
  • p_deploymentId (string) – (required in path) Deployment ID

  • apiVersion (string) – (optional in query) The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.

  • actionId (string) – (optional in body) The id of the action to perform.

  • inputs (object) – (optional in body) Resource action request inputs

  • reason (string) – (optional in body) Reason for requesting a day2 operation

async idem_vra.exec.vra.catalog.deploymentactions.submit_resource_action_request_using_post4(hub, ctx, p_deploymentId, p_resourceId, **kwargs)[source]#

Resource action request. Submit a resource action request. Performs POST /deployment/api/deployments/{deploymentId}/resources/{resourceId}/requests

Parameters:
  • p_deploymentId (string) – (required in path) Deployment ID

  • p_resourceId (string) – (required in path) Resource ID

  • apiVersion (string) – (optional in query) The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.

  • actionId (string) – (optional in body) The id of the action to perform.

  • inputs (object) – (optional in body) Resource action request inputs

  • reason (string) – (optional in body) Reason for requesting a day2 operation