Module: NIFTY::Cloud

Defined in:
lib/NIFTY/Cloud.rb,
lib/NIFTY/config.rb,
lib/NIFTY/Cloud/images.rb,
lib/NIFTY/Cloud/volumes.rb,
lib/NIFTY/Cloud/keypairs.rb,
lib/NIFTY/Cloud/instances.rb,
lib/NIFTY/Cloud/certificates.rb,
lib/NIFTY/Cloud/load_balancers.rb,
lib/NIFTY/Cloud/security_groups.rb,
lib/NIFTY/Cloud/availability_zones.rb

Defined Under Namespace

Classes: Base

Constant Summary collapse

ACCESS_KEY =

公開キー

ENV['NIFTY_CLOUD_ACCESS_KEY']                  || '<default access key>'
SECRET_KEY =

秘密キー

ENV['NIFTY_CLOUD_SECRET_KEY']                  || '<default secret key>'
ENDPOINT_URL =

APIのエンドポイント

@example 
'https://example.com/test/'
ENV['NIFTY_CLOUD_ENDPOINT_URL']             || 'https://cp.cloud.nifty.com/api/1.7/'
PROXY_SERVER =

プロキシサーバーのURL(デフォルト: nil)

形式: //<username>:<password>@<hostname>:<port>
@example 
 '//user:[email protected]:8080'
ENV['NIFTY_CLOUD_PROXY_SERVER']
USER_AGENT =

ユーザーエージェント

ENV['NIFTY_CLOUD_USER_AGENT']         || 'NIFTY Cloud API Ruby SDK'
MAX_RETRY =

最大リトライ回数

ENV['NIFTY_CLOUD_MAX_RETRY']          || 3
CONNECTION_TIMEOUT =

接続タイムアウト(秒)

ENV['NIFTY_CLOUD_CONNECTION_TIMEOUT'] || 30
SOCKET_TIMEOUT =

ソケットタイムアウト(秒)

ENV['NIFTY_CLOUD_SOCKET_TIMEOUT']     || 30
SIGNATURE_VERSION =

認証バージョン

0 | 1 | 2
ENV['NIFTY_CLOUD_SIGNATURE_VERSION']    || '2'
SIGNATURE_METHOD =

APIの認証ロジック

HmacSHA1 | HmacSHA256
ENV['NIFTY_CLOUD_SIGNATURE_METHOD']     || 'HmacSHA256'