14.2. API endpoints


The following API endpoints are available:

  • /apis/snapshot.storage.k8s.io/v1/volumesnapshotclasses

    • DELETE: delete collection of VolumeSnapshotClass
    • GET: list objects of kind VolumeSnapshotClass
    • POST: create a VolumeSnapshotClass
  • /apis/snapshot.storage.k8s.io/v1/volumesnapshotclasses/{name}

    • DELETE: delete a VolumeSnapshotClass
    • GET: read the specified VolumeSnapshotClass
    • PATCH: partially update the specified VolumeSnapshotClass
    • PUT: replace the specified VolumeSnapshotClass

14.2.1. /apis/snapshot.storage.k8s.io/v1/volumesnapshotclasses

HTTP method
DELETE
Description
delete collection of VolumeSnapshotClass
Expand
표 14.1. HTTP responses
HTTP codeReponse body

200 - OK

Status schema

401 - Unauthorized

Empty

HTTP method
GET
Description
list objects of kind VolumeSnapshotClass
Expand
표 14.2. HTTP responses
HTTP codeReponse body

200 - OK

VolumeSnapshotClassList schema

401 - Unauthorized

Empty

HTTP method
POST
Description
create a VolumeSnapshotClass
Expand
표 14.3. Query parameters
ParameterTypeDescription

dryRun

string

When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed

fieldValidation

string

fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.

Expand
표 14.4. Body parameters
ParameterTypeDescription

body

VolumeSnapshotClass schema

 
Expand
표 14.5. HTTP responses
HTTP codeReponse body

200 - OK

VolumeSnapshotClass schema

201 - Created

VolumeSnapshotClass schema

202 - Accepted

VolumeSnapshotClass schema

401 - Unauthorized

Empty

Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 문서 정보

Legal Notice

Theme

© 2026 Red Hat
맨 위로 이동