POST /api/smart_proxies/:id/import_puppetclasses
Import puppet classes from puppet proxy.

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 クラスをインポート

パラメーター

パラメーター名 記述
id
必須

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
任意

Validations:

  • Must be a String

environment_id
任意

Validations:

  • Must be a String

dryrun
任意

Validations:

  • Must be one of: true, false, 1, 0

except
任意

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

Validations:

  • Must be a String


GET /api/environments
List all environments.

パラメーター

パラメーター名 記述
search
任意

Filter results

Validations:

  • Must be a String

order
任意

Sort results

Validations:

  • Must be a String

page
任意

結果のページネーション

Validations:

  • Must be a String

per_page
任意

要求ごとのエントリー数

Validations:

  • Must be a String


GET /api/environments/:id
Show an environment.

パラメーター

パラメーター名 記述
id
必須

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
Create an environment.

パラメーター

パラメーター名 記述
environment
必須

Validations:

  • Must be a Hash

environment[name]
必須

Validations:

  • Must be a String


PUT /api/environments/:id
Update an environment.

パラメーター

パラメーター名 記述
id
必須

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
必須

Validations:

  • Must be a Hash

environment[name]
任意

Validations:

  • Must be a String


DELETE /api/environments/:id
Delete an environment.

パラメーター

パラメーター名 記述
id
必須

Validations:

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