-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Expose sku and managed identity for GA #11795
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 17 commits
b6db469
341fc00
a3251b7
a764e67
b0bf46d
1ff77a2
249ddfe
9431bf6
3ce80fb
dd24ba7
0a850ea
5e8c32d
40fd252
ad60331
08a473b
1dfc586
f8f5e4e
1d8c382
1585a52
0756703
f7b79fe
4b7e76e
c2f6f01
ddb9c64
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,7 +20,8 @@ | |
| validate_export, validate_import, | ||
| validate_import_depth, validate_query_fields, | ||
| validate_feature_query_fields, validate_filter_parameters, | ||
| validate_separator, validate_secret_identifier) | ||
| validate_separator, validate_secret_identifier, | ||
| validate_identity) | ||
|
|
||
|
|
||
| def load_arguments(self, _): | ||
|
|
@@ -52,6 +53,11 @@ def load_arguments(self, _): | |
| type=int, | ||
| help='Maximum number of items to return. Must be a positive integer. Default to 100.' | ||
| ) | ||
| identities_arg_type = CLIArgumentType( | ||
| nargs='*', | ||
Juliehzl marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| validator=validate_identity, | ||
| help="Accept system or user assigned identities separated by spaces. Use '[system]' to refer system assigned identity or a resource id to refer user assigned identity. Default: '[system]'" | ||
| ) | ||
|
|
||
| with self.argument_context('appconfig') as c: | ||
| c.argument('resource_group_name', arg_type=resource_group_name_type) | ||
|
|
@@ -63,14 +69,21 @@ def load_arguments(self, _): | |
| c.argument('top', arg_type=top_arg_type) | ||
| c.argument('all_', options_list=['--all'], action='store_true', help="List all items.") | ||
| c.argument('fields', arg_type=fields_arg_type) | ||
| c.argument('sku', help='The sku of App Configuration', arg_type=get_enum_type(['free', 'standard'])) | ||
|
|
||
| with self.argument_context('appconfig create') as c: | ||
| c.argument('location', options_list=['--location', '-l'], arg_type=get_location_type(self.cli_ctx), validator=get_default_location_from_resource_group) | ||
| c.ignore('sku') | ||
| c.argument('assign_identity', arg_type=identities_arg_type) | ||
|
|
||
| with self.argument_context('appconfig update') as c: | ||
| c.argument('tags', arg_type=tags_type) | ||
|
|
||
| with self.argument_context('appconfig identity assign') as c: | ||
| c.argument('identities', arg_type=identities_arg_type) | ||
|
|
||
| with self.argument_context('appconfig identity remove') as c: | ||
| c.argument('identities', arg_type=identities_arg_type, help="Accept system or user assigned identities separated by spaces. Use '[system]' to refer system assigned identity, '[all]' for all identities or a resource id to refer user assigned identity. Default: '[system]'") | ||
|
||
|
|
||
| with self.argument_context('appconfig credential regenerate') as c: | ||
| c.argument('id_', options_list=['--id'], help='Id of the key to be regenerated. Can be found using az appconfig credential list command.') | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.