listing APIResources of GroupVersion extensions/v1beta1
功能介绍
This API is used to list APIGroups.
URI
GET /apis/extensions/v1beta1
请求消息
N/A.
响应消息
响应参数:
表1 describes the response parameters.
参数 |
参数类型 |
描述 |
---|---|---|
kind |
String |
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. |
groupVersion |
String |
groupVersion specifies the API group and version in the form "group/version" |
resources |
resources object |
Standard list resource |
参数 |
参数类型 |
描述 |
---|---|---|
categories |
Array of strings |
categories is a list of the grouped resources this resource belongs to (e.g. 'all') |
kind |
String |
kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo') |
name |
String |
name is the plural name of the resource. |
namespaced |
Boolean |
namespaced indicates if a resource is namespaced or not. |
shortNames |
Array of strings |
shortNames is a list of suggested short names of the resource. |
singularName |
String |
singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface. |
verbs |
Array of strings |
verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy) |
响应示例:
{ "kind": "APIResourceList", "groupVersion": "extensions/v1beta1", "resources": [ { "name": "daemonsets", "singularName": "", "namespaced": true, "kind": "DaemonSet", "verbs": [ "create", "delete", "deletecollection", "get", "list", "patch", "update", "watch" ], "shortNames": [ "ds" ] }, { "name": "daemonsets/status", "singularName": "", "namespaced": true, "kind": "DaemonSet", "verbs": [ "get", "patch", "update" ] }, { "name": "deployments", "singularName": "", "namespaced": true, "kind": "Deployment", "verbs": [ "create", "delete", "deletecollection", "get", "list", "patch", "update", "watch" ], "shortNames": [ "deploy" ], "categories": [ "all" ] }, { "name": "deployments/rollback", "singularName": "", "namespaced": true, "kind": "DeploymentRollback", "verbs": [ "create" ] }, { "name": "deployments/scale", "singularName": "", "namespaced": true, "kind": "Scale", "verbs": [ "get", "patch", "update" ] }, { "name": "deployments/status", "singularName": "", "namespaced": true, "kind": "Deployment", "verbs": [ "get", "patch", "update" ] }, { "name": "ingresses", "singularName": "", "namespaced": true, "kind": "Ingress", "verbs": [ "create", "delete", "deletecollection", "get", "list", "patch", "update", "watch" ], "shortNames": [ "ing" ] }, { "name": "ingresses/status", "singularName": "", "namespaced": true, "kind": "Ingress", "verbs": [ "get", "patch", "update" ] }, { "name": "networkpolicies", "singularName": "", "namespaced": true, "kind": "NetworkPolicy", "verbs": [ "create", "delete", "deletecollection", "get", "list", "patch", "update", "watch" ] }, { "name": "podsecuritypolicies", "singularName": "", "namespaced": false, "kind": "PodSecurityPolicy", "verbs": [ "create", "delete", "deletecollection", "get", "list", "patch", "update", "watch" ], "shortNames": [ "psp" ] }, { "name": "replicasets", "singularName": "", "namespaced": true, "kind": "ReplicaSet", "verbs": [ "create", "delete", "deletecollection", "get", "list", "patch", "update", "watch" ], "shortNames": [ "rs" ], "categories": [ "all" ] }, { "name": "replicasets/scale", "singularName": "", "namespaced": true, "kind": "Scale", "verbs": [ "get", "patch", "update" ] }, { "name": "replicasets/status", "singularName": "", "namespaced": true, "kind": "ReplicaSet", "verbs": [ "get", "patch", "update" ] }, { "name": "replicationcontrollers", "singularName": "", "namespaced": true, "kind": "ReplicationControllerDummy", "verbs": [] }, { "name": "replicationcontrollers/scale", "singularName": "", "namespaced": true, "kind": "Scale", "verbs": [ "get", "patch", "update" ] }, { "name": "thirdpartyresources", "singularName": "", "namespaced": false, "kind": "ThirdPartyResource", "verbs": [ "create", "delete", "deletecollection", "get", "list", "patch", "update", "watch" ] } ] }
