pksendpoints#
- async idem_vra.exec.vra.cmx.pksendpoints.create_cluster_using_post(hub, ctx, p_id, **kwargs)[source]#
Create a K8S cluster Create a K8S cluster on PKS endpoint specified by endpoint id Performs POST /cmx/api/resources/pks/endpoints/{id}/clusters
- Parameters:
p_id (string) – (required in path) id
hostnameAddress (string) – (optional in body)
ipAddress (string) – (optional in body)
kubernetes_master_ips (array) – (optional in body)
last_action (string) – (optional in body)
last_action_description (string) – (optional in body)
last_action_state (string) – (optional in body)
name (string) – (optional in body)
parameters (object) – (optional in body)
plan_name (string) – (optional in body)
uuid (string) – (optional in body)
- async idem_vra.exec.vra.cmx.pksendpoints.destroy_cluster_using_delete1(hub, ctx, p_clusterId, p_id, **kwargs)[source]#
Destroy a K8S cluster on a specific PKS endpoint Destroy and unregister a K8S cluster on PKS endpoint Performs DELETE /cmx/api/resources/pks/endpoints/{id}/clusters/{clusterId}
- Parameters:
p_clusterId (string) – (required in path) clusterId
p_id (string) – (required in path) id
- async idem_vra.exec.vra.cmx.pksendpoints.get_clusters_using_get(hub, ctx, p_id, **kwargs)[source]#
Get all K8S clusters for a PKS endpoint Get all K8S clusters for a PKS endpoint by provided PKS endpoint id Performs GET /cmx/api/resources/pks/endpoints/{id}/clusters
- Parameters:
p_id (string) – (required in path) id
- async idem_vra.exec.vra.cmx.pksendpoints.get_plans_using_get(hub, ctx, p_id, **kwargs)[source]#
Get supported plans for a PKS endpoint Get supported plans by providing PKS endpoint id Performs GET /cmx/api/resources/pks/endpoints/{id}/plans
- Parameters:
p_id (string) – (required in path) id
- async idem_vra.exec.vra.cmx.pksendpoints.update_cluster_using_put(hub, ctx, p_clusterId, p_id, **kwargs)[source]#
Update a K8S cluster on a specific endpoint id Update a K8S cluster on a PKS endpoint identified by id Performs PUT /cmx/api/resources/pks/endpoints/{id}/clusters/{clusterId}
- Parameters:
p_clusterId (string) – (required in path) clusterId
p_id (string) – (required in path) id
hostnameAddress (string) – (optional in body)
ipAddress (string) – (optional in body)
kubernetes_master_ips (array) – (optional in body)
last_action (string) – (optional in body)
last_action_description (string) – (optional in body)
last_action_state (string) – (optional in body)
name (string) – (optional in body)
parameters (object) – (optional in body)
plan_name (string) – (optional in body)
uuid (string) – (optional in body)