{"action":"created","issue":{"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/11184","repository_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs","labels_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/11184/labels{/name}","comments_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/11184/comments","events_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/11184/events","html_url":"https://github.com/MicrosoftDocs/azure-docs/issues/11184","id":338138702,"node_id":"MDU6SXNzdWUzMzgxMzg3MDI=","number":11184,"title":"Azure CLI command issue","user":{"login":"mukund1980","id":40817725,"node_id":"MDQ6VXNlcjQwODE3NzI1","avatar_url":"https://avatars0.githubusercontent.com/u/40817725?v=4","gravatar_id":"","url":"https://api.github.com/users/mukund1980","html_url":"https://github.com/mukund1980","followers_url":"https://api.github.com/users/mukund1980/followers","following_url":"https://api.github.com/users/mukund1980/following{/other_user}","gists_url":"https://api.github.com/users/mukund1980/gists{/gist_id}","starred_url":"https://api.github.com/users/mukund1980/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mukund1980/subscriptions","organizations_url":"https://api.github.com/users/mukund1980/orgs","repos_url":"https://api.github.com/users/mukund1980/repos","events_url":"https://api.github.com/users/mukund1980/events{/privacy}","received_events_url":"https://api.github.com/users/mukund1980/received_events","type":"User","site_admin":false},"labels":[{"id":836704379,"node_id":"MDU6TGFiZWw4MzY3MDQzNzk=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/awaiting-product-team-response","name":"awaiting-product-team-response","color":"73e567","default":false},{"id":646544716,"node_id":"MDU6TGFiZWw2NDY1NDQ3MTY=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/batch/svc","name":"batch/svc","color":"009000","default":false},{"id":836703193,"node_id":"MDU6TGFiZWw4MzY3MDMxOTM=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/cxp","name":"cxp","color":"bf1394","default":false},{"id":836704904,"node_id":"MDU6TGFiZWw4MzY3MDQ5MDQ=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/doc-bug","name":"doc-bug","color":"84edbc","default":false},{"id":836703308,"node_id":"MDU6TGFiZWw4MzY3MDMzMDg=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/in-progress","name":"in-progress","color":"c1d9ff","default":false},{"id":836702742,"node_id":"MDU6TGFiZWw4MzY3MDI3NDI=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/triaged","name":"triaged","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":{"login":"MicahMcKittrick-MSFT","id":32313503,"node_id":"MDQ6VXNlcjMyMzEzNTAz","avatar_url":"https://avatars1.githubusercontent.com/u/32313503?v=4","gravatar_id":"","url":"https://api.github.com/users/MicahMcKittrick-MSFT","html_url":"https://github.com/MicahMcKittrick-MSFT","followers_url":"https://api.github.com/users/MicahMcKittrick-MSFT/followers","following_url":"https://api.github.com/users/MicahMcKittrick-MSFT/following{/other_user}","gists_url":"https://api.github.com/users/MicahMcKittrick-MSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/MicahMcKittrick-MSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MicahMcKittrick-MSFT/subscriptions","organizations_url":"https://api.github.com/users/MicahMcKittrick-MSFT/orgs","repos_url":"https://api.github.com/users/MicahMcKittrick-MSFT/repos","events_url":"https://api.github.com/users/MicahMcKittrick-MSFT/events{/privacy}","received_events_url":"https://api.github.com/users/MicahMcKittrick-MSFT/received_events","type":"User","site_admin":false},"assignees":[{"login":"MicahMcKittrick-MSFT","id":32313503,"node_id":"MDQ6VXNlcjMyMzEzNTAz","avatar_url":"https://avatars1.githubusercontent.com/u/32313503?v=4","gravatar_id":"","url":"https://api.github.com/users/MicahMcKittrick-MSFT","html_url":"https://github.com/MicahMcKittrick-MSFT","followers_url":"https://api.github.com/users/MicahMcKittrick-MSFT/followers","following_url":"https://api.github.com/users/MicahMcKittrick-MSFT/following{/other_user}","gists_url":"https://api.github.com/users/MicahMcKittrick-MSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/MicahMcKittrick-MSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MicahMcKittrick-MSFT/subscriptions","organizations_url":"https://api.github.com/users/MicahMcKittrick-MSFT/orgs","repos_url":"https://api.github.com/users/MicahMcKittrick-MSFT/repos","events_url":"https://api.github.com/users/MicahMcKittrick-MSFT/events{/privacy}","received_events_url":"https://api.github.com/users/MicahMcKittrick-MSFT/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-07-04T05:54:45Z","updated_at":"2018-07-10T15:05:48Z","closed_at":null,"author_association":"NONE","body":"I see there are two CLI commands mentioned in this article for pool creation az batch pool create –-json-file AppPool.json and az batch pool create --template pool-ffmpeg.json but if I am not wrong --template argument does not work with Azure CLI 2.0 moreover when I use template file it expects values for all parameters mentioned in the file itself. Please suggest if this is correct behavior if not please suggest a way to pass values on command line or in a separate json file.\n\n---\n#### Document Details\n\n⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*\n\n* ID: aa4764ae-47a1-2764-98a1-b34f32c9e17e\n* Version Independent ID: 7e02c746-ab94-6845-936e-95396cf29738\n* Content: [Run Azure Batch jobs end-to-end without writing code (Preview)](https://docs.microsoft.com/en-us/azure/batch/batch-cli-templates)\n* Content Source: [articles/batch/batch-cli-templates.md](https://github.com/Microsoft/azure-docs/blob/master/articles/batch/batch-cli-templates.md)\n* Service: **batch**\n* GitHub Login: @mscurrell\n* Microsoft Alias: **markscu**"},"comment":{"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/comments/403856412","html_url":"https://github.com/MicrosoftDocs/azure-docs/issues/11184#issuecomment-403856412","issue_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/11184","id":403856412,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzg1NjQxMg==","user":{"login":"mscurrell","id":11928119,"node_id":"MDQ6VXNlcjExOTI4MTE5","avatar_url":"https://avatars2.githubusercontent.com/u/11928119?v=4","gravatar_id":"","url":"https://api.github.com/users/mscurrell","html_url":"https://github.com/mscurrell","followers_url":"https://api.github.com/users/mscurrell/followers","following_url":"https://api.github.com/users/mscurrell/following{/other_user}","gists_url":"https://api.github.com/users/mscurrell/gists{/gist_id}","starred_url":"https://api.github.com/users/mscurrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mscurrell/subscriptions","organizations_url":"https://api.github.com/users/mscurrell/orgs","repos_url":"https://api.github.com/users/mscurrell/repos","events_url":"https://api.github.com/users/mscurrell/events{/privacy}","received_events_url":"https://api.github.com/users/mscurrell/received_events","type":"User","site_admin":false},"created_at":"2018-07-10T15:05:48Z","updated_at":"2018-07-10T15:05:48Z","author_association":"CONTRIBUTOR","body":"For the '--template' parameter to be used, then a Batch CLI extension must be installed.  See this page for information about the extension, including how to install, documentation, and samples - https://github.com/Azure/azure-batch-cli-extensions\n\nOnce installed a template file can be created and used that contains parameters.  Just supplying the template will mean the CLI will prompt for the parameter values.  A parameter file can also be created and specified on the command line using the --parameters option.  See the following page for more information - https://github.com/Azure/azure-batch-cli-extensions/blob/master/doc/templates.md\n\nAlso note that Batch template support is now included in the Batch Labs tool - https://azure.github.io/BatchLabs/ - the Gallery section allows you to use templates we have predefined as well as specified your own local templates."}}
{"actor":{"display_login":"mscurrell"}}