computegateway#
- async idem_vra.exec.vra.iaas.computegateway.create_compute_gateway(hub, ctx, name, networks, natRules, projectId, **kwargs)[source]#
Create a compute gateway Create a new compute gateway. Performs POST /iaas/api/compute-gateways
- Parameters:
name (string) – (required in body) A human-friendly name used as an identifier in APIs that support this option.
networks (array) – (required in body) List of networks
natRules (array) – (required in body) List of NAT Rules
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
customProperties (object) – (optional in body) Additional custom properties that may be used to extend this resource.
deploymentId (string) – (optional in body) The id of the deployment that is associated with this resource
- async idem_vra.exec.vra.iaas.computegateway.delete_compute_gateway(hub, ctx, p_id, **kwargs)[source]#
Delete a compute gateway Delete compute gateway with a given id Performs DELETE /iaas/api/compute-gateways/{id}
- Parameters:
p_id (string) – (required in path) The ID of the compute gateway.
forceDelete (boolean) – (optional in query) Controls whether this is a force delete operation. If true, best effort is made for deleting this compute gateway. Use with caution as force deleting may cause inconsistencies between the cloud provider and vRA.
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.computegateway.get_compute_gateway(hub, ctx, p_id, **kwargs)[source]#
Get a compute gateway Get compute gateway with a given id Performs GET /iaas/api/compute-gateways/{id}
- Parameters:
p_id (string) – (required in path) The ID of the gateway.
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.computegateway.get_compute_gateways(hub, ctx, **kwargs)[source]#
Get compute gateways Get all compute gateways Performs GET /iaas/api/compute-gateways
- 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