{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-cli/issues/681","repository_url":"https://api.github.com/repos/Azure/azure-cli","labels_url":"https://api.github.com/repos/Azure/azure-cli/issues/681/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-cli/issues/681/comments","events_url":"https://api.github.com/repos/Azure/azure-cli/issues/681/events","html_url":"https://github.com/Azure/azure-cli/pull/681","id":170536715,"number":681,"title":"Storage Module Updated Part 2: Table and Queue","user":{"login":"tjprescott","id":5723682,"avatar_url":"https://avatars.githubusercontent.com/u/5723682?v=3","gravatar_id":"","url":"https://api.github.com/users/tjprescott","html_url":"https://github.com/tjprescott","followers_url":"https://api.github.com/users/tjprescott/followers","following_url":"https://api.github.com/users/tjprescott/following{/other_user}","gists_url":"https://api.github.com/users/tjprescott/gists{/gist_id}","starred_url":"https://api.github.com/users/tjprescott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjprescott/subscriptions","organizations_url":"https://api.github.com/users/tjprescott/orgs","repos_url":"https://api.github.com/users/tjprescott/repos","events_url":"https://api.github.com/users/tjprescott/events{/privacy}","received_events_url":"https://api.github.com/users/tjprescott/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Azure/azure-cli/labels/cla-not-required","name":"cla-not-required","color":"009800"},{"url":"https://api.github.com/repos/Azure/azure-cli/labels/New%20Command%20(PR)","name":"New Command (PR)","color":"c2e0c6"},{"url":"https://api.github.com/repos/Azure/azure-cli/labels/Storage","name":"Storage","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"derekbekoe","id":16448634,"avatar_url":"https://avatars.githubusercontent.com/u/16448634?v=3","gravatar_id":"","url":"https://api.github.com/users/derekbekoe","html_url":"https://github.com/derekbekoe","followers_url":"https://api.github.com/users/derekbekoe/followers","following_url":"https://api.github.com/users/derekbekoe/following{/other_user}","gists_url":"https://api.github.com/users/derekbekoe/gists{/gist_id}","starred_url":"https://api.github.com/users/derekbekoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekbekoe/subscriptions","organizations_url":"https://api.github.com/users/derekbekoe/orgs","repos_url":"https://api.github.com/users/derekbekoe/repos","events_url":"https://api.github.com/users/derekbekoe/events{/privacy}","received_events_url":"https://api.github.com/users/derekbekoe/received_events","type":"User","site_admin":false},"assignees":[{"login":"derekbekoe","id":16448634,"avatar_url":"https://avatars.githubusercontent.com/u/16448634?v=3","gravatar_id":"","url":"https://api.github.com/users/derekbekoe","html_url":"https://github.com/derekbekoe","followers_url":"https://api.github.com/users/derekbekoe/followers","following_url":"https://api.github.com/users/derekbekoe/following{/other_user}","gists_url":"https://api.github.com/users/derekbekoe/gists{/gist_id}","starred_url":"https://api.github.com/users/derekbekoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekbekoe/subscriptions","organizations_url":"https://api.github.com/users/derekbekoe/orgs","repos_url":"https://api.github.com/users/derekbekoe/repos","events_url":"https://api.github.com/users/derekbekoe/events{/privacy}","received_events_url":"https://api.github.com/users/derekbekoe/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Azure/azure-cli/milestones/1","html_url":"https://github.com/Azure/azure-cli/milestones/Sprint%201","labels_url":"https://api.github.com/repos/Azure/azure-cli/milestones/1/labels","id":1921448,"number":1,"title":"Sprint 1","description":"","creator":{"login":"JasonRShaver","id":10146011,"avatar_url":"https://avatars.githubusercontent.com/u/10146011?v=3","gravatar_id":"","url":"https://api.github.com/users/JasonRShaver","html_url":"https://github.com/JasonRShaver","followers_url":"https://api.github.com/users/JasonRShaver/followers","following_url":"https://api.github.com/users/JasonRShaver/following{/other_user}","gists_url":"https://api.github.com/users/JasonRShaver/gists{/gist_id}","starred_url":"https://api.github.com/users/JasonRShaver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JasonRShaver/subscriptions","organizations_url":"https://api.github.com/users/JasonRShaver/orgs","repos_url":"https://api.github.com/users/JasonRShaver/repos","events_url":"https://api.github.com/users/JasonRShaver/events{/privacy}","received_events_url":"https://api.github.com/users/JasonRShaver/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":13,"state":"open","created_at":"2016-08-03T17:03:48Z","updated_at":"2016-08-10T22:47:11Z","due_on":"2016-08-19T07:00:00Z","closed_at":null},"comments":1,"created_at":"2016-08-10T22:47:11Z","updated_at":"2016-08-10T22:50:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Azure/azure-cli/pulls/681","html_url":"https://github.com/Azure/azure-cli/pull/681","diff_url":"https://github.com/Azure/azure-cli/pull/681.diff","patch_url":"https://github.com/Azure/azure-cli/pull/681.patch"},"body":"This PR adds the bulk of the commands required by issue #641 and #642. There will be a third PR that puts the finishing touches on certain commands across all four services. Known issues:\r\n\r\n- `table batch` commands currently do not work\r\n- `queue/table stats` commands require no parameters, but throw exceptions (possible service issue)\r\n- `entity query` currently uses an OData filter. This may or may not be acceptable.\r\n- `blob/file/table/queue generate-sas` commands will be addressed in the next PR.\r\n- `blob/file/table/queue service-properties update` will be addressed, if possible, in the next PR.\r\n"},"comment":{"url":"https://api.github.com/repos/Azure/azure-cli/issues/comments/239028812","html_url":"https://github.com/Azure/azure-cli/pull/681#issuecomment-239028812","issue_url":"https://api.github.com/repos/Azure/azure-cli/issues/681","id":239028812,"user":{"login":"tjprescott","id":5723682,"avatar_url":"https://avatars.githubusercontent.com/u/5723682?v=3","gravatar_id":"","url":"https://api.github.com/users/tjprescott","html_url":"https://github.com/tjprescott","followers_url":"https://api.github.com/users/tjprescott/followers","following_url":"https://api.github.com/users/tjprescott/following{/other_user}","gists_url":"https://api.github.com/users/tjprescott/gists{/gist_id}","starred_url":"https://api.github.com/users/tjprescott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjprescott/subscriptions","organizations_url":"https://api.github.com/users/tjprescott/orgs","repos_url":"https://api.github.com/users/tjprescott/repos","events_url":"https://api.github.com/users/tjprescott/events{/privacy}","received_events_url":"https://api.github.com/users/tjprescott/received_events","type":"User","site_admin":false},"created_at":"2016-08-10T22:50:51Z","updated_at":"2016-08-10T22:50:51Z","body":"**Table Create**\r\n```\r\nCommand\r\n    az storage table create\r\n\r\nArguments\r\n    --name -n [Required]: The name of the table to create. The table name may contain only\r\n                          alphanumeric characters and cannot begin with a numeric character. It is\r\n                          case-insensitive and must be from 3 to 63 characters long.\r\n    --account-key\r\n    --account-name\r\n    --connection-string\r\n    --fail-on-exist     : Throw an exception if the table already exists.\r\n    --sas-token\r\n    --timeout           : Request timeout in seconds. Applies to each call to the service.\r\n```\r\n**Table Entity Insert**\r\n```\r\nCommand\r\n    az storage entity insert: Insert a new entity into the table.\r\n        Inserts a new entity into the table. When inserting an entity into a table, you must specify\r\n        values for the PartitionKey and RowKey system properties. Together, these properties form\r\n        the primary key and must be unique within the table. Both the PartitionKey and RowKey values\r\n        may be up to 64 KB in size. If you are using an integer value as a key, you should convert\r\n        the integer to a fixed-width string, because they are canonically sorted. For example, you\r\n        should convert the value 1 to 0000001 to ensure proper sorting.\r\n\r\nArguments\r\n    --entity -e     [Required]: A space-separated list of key=value pairs. Must contain a\r\n                                PartitionKey and a RowKey.\r\n    --table-name -t [Required]: The name of the table to insert the entity into.\r\n    --account-key\r\n    --account-name\r\n    --connection-string\r\n    --if-exists               : Specify what should happen if an entity already exists for the\r\n                                specified PartitionKey and RowKey.  Allowed values: fail, merge,\r\n                                replace.  Default: fail.\r\n    --sas-token\r\n    --timeout                 : The server timeout, expressed in seconds.\r\n```\r\n**Queue Create**\r\n```\r\nCommand\r\n    az storage queue create\r\n\r\nArguments\r\n    --name -n [Required]: The queue name.\r\n    --account-key\r\n    --account-name\r\n    --connection-string\r\n    --fail-on-exist     : Specifies whether to throw an exception if the queue already exists.\r\n    --metadata          : Metadata in space-separated key=value pairs.\r\n    --sas-token\r\n    --timeout           : Request timeout in seconds. Applies to each call to the service.\r\n```\r\n**Queue Message Put**\r\n```\r\nCommand\r\n    az storage message put\r\n\r\nArguments\r\n    --content       [Required]: Message content. Allowed type is determined by the encode_function\r\n                                set on the service. Default is str. The encoded message can be up to\r\n                                64KB in size.\r\n    --queue-name -q [Required]: The queue name.\r\n    --account-key\r\n    --account-name\r\n    --connection-string\r\n    --sas-token\r\n    --time-to-live            : Specifies the time-to-live interval for the message, in seconds. The\r\n                                maximum time-to-live allowed is 7 days. If this parameter is\r\n                                omitted, the default time-to-live is 7 days.\r\n    --timeout                 : Request timeout in seconds. Applies to each call to the service.\r\n    --visibility-timeout      : If not specified, the default value is 0. Specifies the new\r\n                                visibility timeout value, in seconds, relative to server time. The\r\n                                value must be larger than or equal to 0, and cannot be larger than 7\r\n                                days. The visibility timeout of a message cannot be set to a value\r\n                                later than the expiry time. visibility_timeout should be set to a\r\n                                value smaller than the time-to-live value.\r\n```\r\nThese are the most complex (the create) commands. #ByDesign"}}
{"actor":{"display_login":"tjprescott"}}