Go to main content
Oracle® ZFS Storage Appliance RESTful API 설명서, 릴리스 OS8.6.x

인쇄 보기 종료

업데이트 날짜: 2016년 9월
 
 

역할 나열

각 역할에는 다음과 같은 요약 등록 정보가 있습니다. 역할 등록 정보의 전체 설명은 CLI 도움말을 참조하십시오.

표 45  역할 등록 정보
유형
등록 정보 이름
설명
string
name
역할 이름(만든 후 변경할 수 없음)
string
description
역할의 설명

요청 예:

GET /api/role/v1/roles HTTP/1.1
Authorization: Basic abcefgMWE=
Host: zfssa.example.com:215
Accept: application/json

응답 예:

{
    "roles": [{
        "description": "Basic administration",
        "href": "/api/role/v1/roles/basic",
        "name": "basic",
        "role": "basic"
    }, {
        "description": "a",
        "href": "/api/role/v1/roles/rola",
        "name": "rola",
        "role": "rola"
    }]
}