yaml

Get resource YAML

Fetches a MaaSSubscription or MaaSAuthPolicy by name and returns its YAML representation. K8s calls: GET /k8s/v1/maassubscription/:name or GET /k8s/v1/maasauthpolicy/:name

get/api/v1/yaml

Query parameters

namestring required

Kubernetes resource name

type'subscription' | 'authorizationpolicy' required

Resource type to fetch

Response

YAML content for the requested resource

contentstring required

YAML representation of the requested Kubernetes resource.

Changes

Changed in 2 of the 33 revisions of this API.11