POST /api/smart_proxies/:id/import_puppetclasses
puppet プロキシから puppet クラスをインポートします.

POST /api/smart_proxies/:smart_proxy_id/environments/:id/import_puppetclasses
環境について Puppet プロキシーから Puppet クラスをインポート

POST /api/environments/:environment_id/smart_proxies/:id/import_puppetclasses
環境について Puppet プロキシーから Puppet クラスをインポート

Params

Param Name Description
id
Required

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

smart_proxy_id
Optional

Validations:

  • Must be String

environment_id
Optional

Validations:

  • Must be String

dryrun
Optional

Validations:

  • Must be ‘true’ or ‘false’ or ‘1’ or ‘0’

except
Optional

インポートされた Puppe クラスを制限するために使用される ‘新規’、‘更新済み’、または ‘旧版’ のいずれかが含まれる、オプションのコンマ区切りの文字列 

Validations:

  • Must be String


GET /api/environments
環境一覧

GET /api/puppetclasses/:puppetclass_id/environments
Puppet クラスごとの環境の一覧

GET /api/locations/:location_id/environments
ロケーションごとの環境の一覧

GET /api/organizations/:organization_id/environments
組織ごとの環境の一覧

Params

Param Name Description
puppetclass_id
Optional

Puppet クラスの ID

Validations:

  • Must be String

search
Optional

結果をフィルタ

Validations:

  • Must be String

order
Optional

結果をソート

Validations:

  • Must be String

page
Optional

結果をページ分割

Validations:

  • Must be String

per_page
Optional

リクエストあたりのエントリ数

Validations:

  • Must be String


GET /api/environments/:id
環境の表示

Params

Param Name Description
id
Required

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.


POST /api/environments
環境の作成

Params

Param Name Description
environment
Required

Validations:

  • Must be a Hash

environment[name]
Required

Validations:

  • Must be String


PUT /api/environments/:id
環境の更新

Params

Param Name Description
id
Required

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

environment
Required

Validations:

  • Must be a Hash

environment[name]
Optional

Validations:

  • Must be String


DELETE /api/environments/:id
環境の削除

Params

Param Name Description
id
Required

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.