{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-cli-extensions/issues/986","repository_url":"https://api.github.com/repos/Azure/azure-cli-extensions","labels_url":"https://api.github.com/repos/Azure/azure-cli-extensions/issues/986/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-cli-extensions/issues/986/comments","events_url":"https://api.github.com/repos/Azure/azure-cli-extensions/issues/986/events","html_url":"https://github.com/Azure/azure-cli-extensions/issues/986","id":504658908,"node_id":"MDU6SXNzdWU1MDQ2NTg5MDg=","number":986,"title":"Importing Key Values from YAML","user":{"login":"deploymentking","id":3706672,"node_id":"MDQ6VXNlcjM3MDY2NzI=","avatar_url":"https://avatars2.githubusercontent.com/u/3706672?v=4","gravatar_id":"","url":"https://api.github.com/users/deploymentking","html_url":"https://github.com/deploymentking","followers_url":"https://api.github.com/users/deploymentking/followers","following_url":"https://api.github.com/users/deploymentking/following{/other_user}","gists_url":"https://api.github.com/users/deploymentking/gists{/gist_id}","starred_url":"https://api.github.com/users/deploymentking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deploymentking/subscriptions","organizations_url":"https://api.github.com/users/deploymentking/orgs","repos_url":"https://api.github.com/users/deploymentking/repos","events_url":"https://api.github.com/users/deploymentking/events{/privacy}","received_events_url":"https://api.github.com/users/deploymentking/received_events","type":"User","site_admin":false},"labels":[{"id":716956240,"node_id":"MDU6TGFiZWw3MTY5NTYyNDA=","url":"https://api.github.com/repos/Azure/azure-cli-extensions/labels/Question","name":"Question","color":"049496","default":false},{"id":1427997926,"node_id":"MDU6TGFiZWwxNDI3OTk3OTI2","url":"https://api.github.com/repos/Azure/azure-cli-extensions/labels/customer-reported","name":"customer-reported","color":"3800e0","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2019-10-09T13:38:46Z","updated_at":"2019-10-11T02:45:27Z","closed_at":"2019-10-11T02:45:24Z","author_association":"NONE","body":"If I import via JSON with \r\n```az appconfig kv import --name mystore --label mylabel --source file --format json --separator . --path ./import.json --verbose```\r\nI get no errors.\r\nIf I convert the JSON to YAML and run the same import with\r\n```az appconfig kv import --name mystore --label mylabel --source file --format yaml --separator . --path ./import.yml --verbose```\r\nI get the following warning...\r\n```\r\n/usr/local/Cellar/azure-cli/2.0.74/libexec/lib/python3.7/site-packages/azure/cli/command_modules/appconfig/keyvalue.py:512: YAMLLoadWarning: calling yaml.load_all() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.\r\n  for yaml_data in list(yaml.load_all(config_file)):\r\n```\r\n\r\n---\r\n#### Document Details\r\n\r\n⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*\r\n\r\n* ID: bb3ec9f2-e5cd-d79e-ebd7-8d726f3d90df\r\n* Version Independent ID: 287f4d1d-00c5-1686-8aa4-e198ff196a05\r\n* Content: [az appconfig kv](https://docs.microsoft.com/en-us/cli/azure/ext/appconfig/appconfig/kv?view=azure-cli-latest#ext-appconfig-az-appconfig-kv-import)\r\n* Content Source: [latest/docs-ref-autogen/ext/appconfig/appconfig/kv.yml](https://github.com/MicrosoftDocs/azure-docs-cli/blob/live/latest/docs-ref-autogen/ext/appconfig/appconfig/kv.yml)\r\n* GitHub Login: @rloutlaw\r\n* Microsoft Alias: **routlaw**"},"comment":{"url":"https://api.github.com/repos/Azure/azure-cli-extensions/issues/comments/540876668","html_url":"https://github.com/Azure/azure-cli-extensions/issues/986#issuecomment-540876668","issue_url":"https://api.github.com/repos/Azure/azure-cli-extensions/issues/986","id":540876668,"node_id":"MDEyOklzc3VlQ29tbWVudDU0MDg3NjY2OA==","user":{"login":"msftbot[bot]","id":48340428,"node_id":"MDM6Qm90NDgzNDA0Mjg=","avatar_url":"https://avatars2.githubusercontent.com/in/26612?v=4","gravatar_id":"","url":"https://api.github.com/users/msftbot%5Bbot%5D","html_url":"https://github.com/apps/msftbot","followers_url":"https://api.github.com/users/msftbot%5Bbot%5D/followers","following_url":"https://api.github.com/users/msftbot%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/msftbot%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/msftbot%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msftbot%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/msftbot%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/msftbot%5Bbot%5D/repos","events_url":"https://api.github.com/users/msftbot%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/msftbot%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2019-10-11T02:45:27Z","updated_at":"2019-10-11T02:45:27Z","author_association":"NONE","body":"Thanks for working with Microsoft on GitHub! Tell us how you feel about your experience using the reactions on this comment. "}}
{"actor":{"display_login":"msftbot"}}