JavaScript is required to for searching.
탐색 링크 건너뛰기
인쇄 보기 종료
Oracle® ZFS Storage Appliance RESTful API 설명서, 릴리스 2013.1.3.0
Oracle Technology Network
라이브러리
PDF
인쇄 보기
피드백
search filter icon
search icon

문서 정보

Oracle ZFS Storage Appliance RESTful API 시작하기

RESTful API 작업

RESTful API 경보 서비스

경보 서비스 명령

경보 임계값

경보 임계값 나열

경보 임계값 가져오기

경보 임계값 만들기

경보 임계값 수정

경보 임계값 삭제

경보 조치

경보 조치 나열

경보 조치 가져오기

경보 조치 만들기

경보 조치 수정

경보 조치 삭제

경보 조치 항목

경보 항목 만들기

경보 조치 수정

경보 조치 항목 삭제

Analytics Services

하드웨어 서비스

로그 명령

네트워크 명령

RESTful API 문제 서비스

RESTful API 역할 서비스

RESTful API SAN 서비스

서비스 명령

RESTful API 스토리지 서비스

시스템 명령

RESTful API 사용자 서비스

워크플로우 명령

RESTful 클라이언트

경보 조치 항목

각 경보 조치 목록에 개별 조치 항목이 추가됩니다.

경보 항목 만들기

이렇게 하면 기존 경보 조치 그룹에 경보 조치가 추가됩니다.

요청 예:

POST /api/alert/v1/actions/actions-001 HTTP/1.1
Host: zfssa.example.com:215
X-Auth-Session: uerqghq84vbdv
Content-Type: application/json
Content-Length: 68

{"address": "Joe.Admin@acme.com", "handler": "email", "subject":"CPU Busy"}

응답 예:

HTTP/1.1 201 Created
X-Zfssa-Appliance-Api: 1.0
Content-Type: application/json
Content-Length: 177
Location: /api/alert/v1/actions/actions-001/action-001

{
    "action": {
        "href": "/api/alert/v1/actions/actions-001
                 /action-001",
        "handler": "email",
        "address": "Joe.Admin@acme.com",
        "subject": "CPU Busy"
    }
}

경보 조치 수정

이렇게 하면 기존 경보 조치가 수정됩니다.

요청 예:

PUT /api/alert/v1/actions/actions-001/action-000 HTTP/1.1
Host: zfssa.example.com:215
X-Auth-Session: uerqghq84vbdv
Content-Type: application/json
Content-Length: 28

{"address": "Joseph.Admin@acme.com"}

응답 예:

HTTP/1.1 202 Accepted
X-Zfssa-Appliance-Api: 1.0
Content-Type: application/json
Content-Length: 176
X-Zfssa-Version: jkremer/generic@2013.06.08,1-0

{
    "action": {
        "href": "/api/alert/v1/actions/actions-001
                 /action-000",
        "handler": "email",
        "address": "Joseph.Admin@acme.com",
        "subject": "CPU Busy"
    }
}

경보 조치 항목 삭제

지정된 경보 조치의 경우 단일 조치가 삭제될 수 있습니다. 조치를 삭제하려면 DELETE 요청을 조치 href 등록 정보에 전송합니다.

조치를 삭제하는 요청의 예:

DELETE /api/alert/v1/actions/actions-001/action-000 HTTP/1.1
Host: zfssa.example.com:215
X-Auth-Session: uerqghq84vbdv

HTTP/1.1 204 No Content