kuberneteszones#

async idem_vra.exec.vra.cmx.kuberneteszones.create_zone_using_post(hub, ctx, **kwargs)[source]#

Create a K8S Zone Create a K8S Zone entity Performs POST /cmx/api/resources/k8s-zones

Parameters:
  • clusters (array) – (optional in body)

  • createdMillis (integer) – (optional in body)

  • customProperties (object) – (optional in body)

  • description (string) – (optional in body)

  • id (string) – (optional in body)

  • name (string) – (optional in body)

  • orgId (string) – (optional in body)

  • projects (array) – (optional in body)

  • providerId (string) – (optional in body)

  • providerType (string) – (optional in body)

  • resources (array) – (optional in body)

  • supervisorClusters (array) – (optional in body)

  • supervisorNamespaces (array) – (optional in body)

  • tagLinks (array) – (optional in body)

  • tags (array) – (optional in body)

  • updatedMillis (integer) – (optional in body)

async idem_vra.exec.vra.cmx.kuberneteszones.delete_zone_using_delete(hub, ctx, p_id, **kwargs)[source]#

Delete a K8S Zone Remove a K8S Zone Performs DELETE /cmx/api/resources/k8s-zones/{id}

Parameters:

p_id (string) – (required in path) id

async idem_vra.exec.vra.cmx.kuberneteszones.get_zone_using_get(hub, ctx, p_id, **kwargs)[source]#

Get a K8S Zone Get a K8S Zone by Id Performs GET /cmx/api/resources/k8s-zones/{id}

Parameters:
  • p_id (string) – (required in path) id

  • expandTags (boolean) – (optional in query) expandTags

async idem_vra.exec.vra.cmx.kuberneteszones.list_zones_using_get(hub, ctx, **kwargs)[source]#

Get all K8S Zones List of all K8S Zones Performs GET /cmx/api/resources/k8s-zones

Parameters:
  • offset (integer) – (optional in query)

  • pageNumber (integer) – (optional in query)

  • pageSize (integer) – (optional in query)

  • paged (boolean) – (optional in query)

  • sort.sorted (boolean) – (optional in query)

  • sort.unsorted (boolean) – (optional in query)

  • unpaged (boolean) – (optional in query)

  • expandTags (boolean) – (optional in query) expandTags

  • projectId (string) – (optional in query) projectId

  • providerId (string) – (optional in query) providerId

async idem_vra.exec.vra.cmx.kuberneteszones.update_zone_projects_using_put(hub, ctx, p_id, **kwargs)[source]#

Update a K8S Zone project assignments Assignment of projects to K8S Zone Performs PUT /cmx/api/resources/k8s-zones/{id}/projects

Parameters:

p_id (string) – (required in path) id

async idem_vra.exec.vra.cmx.kuberneteszones.update_zone_using_put(hub, ctx, p_id, **kwargs)[source]#

Update a K8S Zone Modify a K8S Zone Performs PUT /cmx/api/resources/k8s-zones/{id}

Parameters:
  • p_id (string) – (required in path) id

  • clusters (array) – (optional in body)

  • createdMillis (integer) – (optional in body)

  • customProperties (object) – (optional in body)

  • description (string) – (optional in body)

  • id (string) – (optional in body)

  • name (string) – (optional in body)

  • orgId (string) – (optional in body)

  • projects (array) – (optional in body)

  • providerId (string) – (optional in body)

  • providerType (string) – (optional in body)

  • resources (array) – (optional in body)

  • supervisorClusters (array) – (optional in body)

  • supervisorNamespaces (array) – (optional in body)

  • tagLinks (array) – (optional in body)

  • tags (array) – (optional in body)

  • updatedMillis (integer) – (optional in body)