namespaces#

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

Create a K8S Namespace Create a K8S Namespace Performs POST /cmx/api/resources/k8s/namespaces

Parameters:
  • authCredentialsLink (string) – (optional in body)

  • clusterId (string) – (optional in body)

  • createdMillis (integer) – (optional in body)

  • customProperties (object) – (optional in body)

  • description (string) – (optional in body)

  • id (string) – (optional in body)

  • installerId (string) – (optional in body)

  • name (string) – (optional in body)

  • orgId (string) – (optional in body)

  • owner (string) – (optional in body)

  • projectId (string) – (optional in body)

  • registered (boolean) – (optional in body)

  • shared (boolean) – (optional in body)

  • status (string) – (optional in body)

  • updatedMillis (integer) – (optional in body)

  • zoneProjectAssignmentId (string) – (optional in body)

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

Delete a K8S Namespace Delete a K8S Namespace by id Performs DELETE /cmx/api/resources/k8s/namespaces/{id}

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

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

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

Get KubeConfig for a K8S Namespace Get KubeConfig for a K8S Namespace by providing a K8S Namespace id Performs GET /cmx/api/resources/k8s/namespaces/{id}/kube-config

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

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

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

Get a K8S Namespace by id Get a K8S Namespace by id Performs GET /cmx/api/resources/k8s/namespaces/{id}

Parameters:

p_id (string) – (required in path) id

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

Get All K8S Namespaces Get a list of all K8S Namespaces Performs GET /cmx/api/resources/k8s/namespaces

Parameters:
  • id (string) – (optional in query)

  • localAddress.address.MCGlobal (boolean) – (optional in query)

  • localAddress.address.MCLinkLocal (boolean) – (optional in query)

  • localAddress.address.MCNodeLocal (boolean) – (optional in query)

  • localAddress.address.MCOrgLocal (boolean) – (optional in query)

  • localAddress.address.MCSiteLocal (boolean) – (optional in query)

  • localAddress.address.address (string) – (optional in query)

  • localAddress.address.anyLocalAddress (boolean) – (optional in query)

  • localAddress.address.canonicalHostName (string) – (optional in query)

  • localAddress.address.hostAddress (string) – (optional in query)

  • localAddress.address.hostName (string) – (optional in query)

  • localAddress.address.linkLocalAddress (boolean) – (optional in query)

  • localAddress.address.loopbackAddress (boolean) – (optional in query)

  • localAddress.address.multicastAddress (boolean) – (optional in query)

  • localAddress.address.siteLocalAddress (boolean) – (optional in query)

  • localAddress.hostName (string) – (optional in query)

  • localAddress.hostString (string) – (optional in query)

  • localAddress.port (integer) – (optional in query)

  • localAddress.unresolved (boolean) – (optional in query)

  • offset (integer) – (optional in query)

  • pageNumber (integer) – (optional in query)

  • pageSize (integer) – (optional in query)

  • paged (boolean) – (optional in query)

  • remoteAddress.address.MCGlobal (boolean) – (optional in query)

  • remoteAddress.address.MCLinkLocal (boolean) – (optional in query)

  • remoteAddress.address.MCNodeLocal (boolean) – (optional in query)

  • remoteAddress.address.MCOrgLocal (boolean) – (optional in query)

  • remoteAddress.address.MCSiteLocal (boolean) – (optional in query)

  • remoteAddress.address.address (string) – (optional in query)

  • remoteAddress.address.anyLocalAddress (boolean) – (optional in query)

  • remoteAddress.address.canonicalHostName (string) – (optional in query)

  • remoteAddress.address.hostAddress (string) – (optional in query)

  • remoteAddress.address.hostName (string) – (optional in query)

  • remoteAddress.address.linkLocalAddress (boolean) – (optional in query)

  • remoteAddress.address.loopbackAddress (boolean) – (optional in query)

  • remoteAddress.address.multicastAddress (boolean) – (optional in query)

  • remoteAddress.address.siteLocalAddress (boolean) – (optional in query)

  • remoteAddress.hostName (string) – (optional in query)

  • remoteAddress.hostString (string) – (optional in query)

  • remoteAddress.port (integer) – (optional in query)

  • remoteAddress.unresolved (boolean) – (optional in query)

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

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

  • sslInfo.peerCertificates[0].TBSCertificate (string) – (optional in query)

  • sslInfo.peerCertificates[0].basicConstraints (integer) – (optional in query)

  • sslInfo.peerCertificates[0].encoded (string) – (optional in query)

  • sslInfo.peerCertificates[0].extendedKeyUsage (array) – (optional in query)

  • sslInfo.peerCertificates[0].issuerDN.name (string) – (optional in query)

  • sslInfo.peerCertificates[0].issuerUniqueID (array) – (optional in query)

  • sslInfo.peerCertificates[0].issuerX500Principal.encoded (string) – (optional in query)

  • sslInfo.peerCertificates[0].issuerX500Principal.name (string) – (optional in query)

  • sslInfo.peerCertificates[0].keyUsage (array) – (optional in query)

  • sslInfo.peerCertificates[0].notAfter (string) – (optional in query)

  • sslInfo.peerCertificates[0].notBefore (string) – (optional in query)

  • sslInfo.peerCertificates[0].serialNumber (integer) – (optional in query)

  • sslInfo.peerCertificates[0].sigAlgName (string) – (optional in query)

  • sslInfo.peerCertificates[0].sigAlgOID (string) – (optional in query)

  • sslInfo.peerCertificates[0].sigAlgParams (string) – (optional in query)

  • sslInfo.peerCertificates[0].signature (string) – (optional in query)

  • sslInfo.peerCertificates[0].subjectDN.name (string) – (optional in query)

  • sslInfo.peerCertificates[0].subjectUniqueID (array) – (optional in query)

  • sslInfo.peerCertificates[0].subjectX500Principal.encoded (string) – (optional in query)

  • sslInfo.peerCertificates[0].subjectX500Principal.name (string) – (optional in query)

  • sslInfo.peerCertificates[0].type (string) – (optional in query)

  • sslInfo.peerCertificates[0].version (integer) – (optional in query)

  • sslInfo.sessionId (string) – (optional in query)

  • unpaged (boolean) – (optional in query)

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

Onboard existing K8S Namespace Onboard existing K8S Namespace by providing namespace id and entity Performs PUT /cmx/api/resources/k8s/namespaces/{id}/register

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

  • authCredentialsLink (string) – (optional in body)

  • clusterId (string) – (optional in body)

  • createdMillis (integer) – (optional in body)

  • customProperties (object) – (optional in body)

  • description (string) – (optional in body)

  • id (string) – (optional in body)

  • installerId (string) – (optional in body)

  • name (string) – (optional in body)

  • orgId (string) – (optional in body)

  • owner (string) – (optional in body)

  • projectId (string) – (optional in body)

  • registered (boolean) – (optional in body)

  • shared (boolean) – (optional in body)

  • status (string) – (optional in body)

  • updatedMillis (integer) – (optional in body)

  • zoneProjectAssignmentId (string) – (optional in body)

async idem_vra.exec.vra.cmx.namespaces.update_using_put2(hub, ctx, p_id, **kwargs)[source]#
Update a K8S Namespace description or project Update a K8S Namespace description or project by providing namespace id and

Namespace entity Performs PUT /cmx/api/resources/k8s/namespaces/{id}

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

  • authCredentialsLink (string) – (optional in body)

  • clusterId (string) – (optional in body)

  • createdMillis (integer) – (optional in body)

  • customProperties (object) – (optional in body)

  • description (string) – (optional in body)

  • id (string) – (optional in body)

  • installerId (string) – (optional in body)

  • name (string) – (optional in body)

  • orgId (string) – (optional in body)

  • owner (string) – (optional in body)

  • projectId (string) – (optional in body)

  • registered (boolean) – (optional in body)

  • shared (boolean) – (optional in body)

  • status (string) – (optional in body)

  • updatedMillis (integer) – (optional in body)

  • zoneProjectAssignmentId (string) – (optional in body)