{"action":"closed","issue":{"url":"https://api.github.com/repos/yamamoto-febc/docker-machine-sakuracloud/issues/4","labels_url":"https://api.github.com/repos/yamamoto-febc/docker-machine-sakuracloud/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/yamamoto-febc/docker-machine-sakuracloud/issues/4/comments","events_url":"https://api.github.com/repos/yamamoto-febc/docker-machine-sakuracloud/issues/4/events","html_url":"https://github.com/yamamoto-febc/docker-machine-sakuracloud/issues/4","id":116473440,"number":4,"title":"Add CPUs and memory size parameters for --create command ","user":{"login":"yamamoto-febc","id":1644816,"avatar_url":"https://avatars.githubusercontent.com/u/1644816?v=3","gravatar_id":"","url":"https://api.github.com/users/yamamoto-febc","html_url":"https://github.com/yamamoto-febc","followers_url":"https://api.github.com/users/yamamoto-febc/followers","following_url":"https://api.github.com/users/yamamoto-febc/following{/other_user}","gists_url":"https://api.github.com/users/yamamoto-febc/gists{/gist_id}","starred_url":"https://api.github.com/users/yamamoto-febc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yamamoto-febc/subscriptions","organizations_url":"https://api.github.com/users/yamamoto-febc/orgs","repos_url":"https://api.github.com/users/yamamoto-febc/repos","events_url":"https://api.github.com/users/yamamoto-febc/events{/privacy}","received_events_url":"https://api.github.com/users/yamamoto-febc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/yamamoto-febc/docker-machine-sakuracloud/milestones/3","html_url":"https://github.com/yamamoto-febc/docker-machine-sakuracloud/milestones/v0.0.4","labels_url":"https://api.github.com/repos/yamamoto-febc/docker-machine-sakuracloud/milestones/3/labels","id":1411702,"number":3,"title":"v0.0.4","description":"","creator":{"login":"yamamoto-febc","id":1644816,"avatar_url":"https://avatars.githubusercontent.com/u/1644816?v=3","gravatar_id":"","url":"https://api.github.com/users/yamamoto-febc","html_url":"https://github.com/yamamoto-febc","followers_url":"https://api.github.com/users/yamamoto-febc/followers","following_url":"https://api.github.com/users/yamamoto-febc/following{/other_user}","gists_url":"https://api.github.com/users/yamamoto-febc/gists{/gist_id}","starred_url":"https://api.github.com/users/yamamoto-febc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yamamoto-febc/subscriptions","organizations_url":"https://api.github.com/users/yamamoto-febc/orgs","repos_url":"https://api.github.com/users/yamamoto-febc/repos","events_url":"https://api.github.com/users/yamamoto-febc/events{/privacy}","received_events_url":"https://api.github.com/users/yamamoto-febc/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"open","created_at":"2015-11-14T15:55:22Z","updated_at":"2016-01-25T14:35:43Z","due_on":"2015-11-22T15:00:00Z","closed_at":null},"comments":0,"created_at":"2015-11-12T03:45:11Z","updated_at":"2016-01-25T14:35:43Z","closed_at":"2016-01-25T14:35:43Z","body":"現在はコア数+メモリサイズをプランIDとして指定する形になっている。\r\n```sh\r\n$ # As-Is\r\n$ docker-machine create -d sakuracloud --sakuracloud-plan 2002 sakura-dev #2コア2GBメモリ\r\n```\r\nコア数とメモリサイズを個別に指定できるようにしたい。\r\n入力パラメータ処理時にAPI経由で有効なプランであるかのバリデーションも行うようにする。\r\n\r\n```sh\r\n$ # To-Be\r\n$ docker-machine create -d sakuracloud --sakuracloud-core 2 --sakuracloud-memory 2 sakura-dev #2コア2GBメモリ\r\n```"}}