@@ -17,84 +17,85 @@ def load_command_table(self, _):
1717
1818 from azext_sentinel .generated ._client_factory import cf_alert_rule
1919 sentinel_alert_rule = CliCommandType (
20- operations_tmpl = 'azext_sentinel.vendored_sdks.securityinsight.operations._alert_rule_operations#AlertRuleOperat '
21- 'ions .{}' ,
20+ operations_tmpl = 'azext_sentinel.vendored_sdks.securityinsight.operations._alert_rules_operations#AlertRulesOper '
21+ 'ations .{}' ,
2222 client_factory = cf_alert_rule )
23- with self .command_group ('sentinel alert-rule' , sentinel_alert_rule , client_factory = cf_alert_rule ,
24- is_experimental = True ) as g :
23+ with self .command_group ('sentinel alert-rule' , sentinel_alert_rule , client_factory = cf_alert_rule ) as g :
2524 g .custom_command ('list' , 'sentinel_alert_rule_list' )
2625 g .custom_show_command ('show' , 'sentinel_alert_rule_show' )
2726 g .custom_command ('create' , 'sentinel_alert_rule_create' )
28- g .generic_update_command ('update' , setter_arg_name = 'alert_rule' ,
29- custom_func_name = 'sentinel_alert_rule_update' )
27+ g .custom_command ('update' , 'sentinel_alert_rule_update' )
3028 g .custom_command ('delete' , 'sentinel_alert_rule_delete' , confirmation = True )
31- g .custom_command ('get-action' , 'sentinel_alert_rule_get_action' )
3229
3330 from azext_sentinel .generated ._client_factory import cf_action
3431 sentinel_action = CliCommandType (
35- operations_tmpl = 'azext_sentinel.vendored_sdks.securityinsight.operations._action_operations#ActionOperations.{} '
36- '' ,
32+ operations_tmpl = 'azext_sentinel.vendored_sdks.securityinsight.operations._actions_operations#ActionsOperations. '
33+ '{} ' ,
3734 client_factory = cf_action )
38- with self .command_group ('sentinel action' , sentinel_action , client_factory = cf_action , is_experimental = True ) as g :
35+ with self .command_group ('sentinel action' , sentinel_action , client_factory = cf_action ) as g :
3936 g .custom_command ('list' , 'sentinel_action_list' )
37+ g .custom_show_command ('show' , 'sentinel_action_show' )
38+ g .custom_command ('create' , 'sentinel_action_create' )
39+ g .custom_command ('update' , 'sentinel_action_update' )
40+ g .custom_command ('delete' , 'sentinel_action_delete' , confirmation = True )
4041
4142 from azext_sentinel .generated ._client_factory import cf_alert_rule_template
4243 sentinel_alert_rule_template = CliCommandType (
43- operations_tmpl = 'azext_sentinel.vendored_sdks.securityinsight.operations._alert_rule_template_operations#AlertR '
44- 'uleTemplateOperations .{}' ,
44+ operations_tmpl = 'azext_sentinel.vendored_sdks.securityinsight.operations._alert_rule_templates_operations#Alert '
45+ 'RuleTemplatesOperations .{}' ,
4546 client_factory = cf_alert_rule_template )
4647 with self .command_group ('sentinel alert-rule-template' , sentinel_alert_rule_template ,
47- client_factory = cf_alert_rule_template , is_experimental = True ) as g :
48+ client_factory = cf_alert_rule_template ) as g :
4849 g .custom_command ('list' , 'sentinel_alert_rule_template_list' )
4950 g .custom_show_command ('show' , 'sentinel_alert_rule_template_show' )
5051
5152 from azext_sentinel .generated ._client_factory import cf_bookmark
5253 sentinel_bookmark = CliCommandType (
53- operations_tmpl = 'azext_sentinel.vendored_sdks.securityinsight.operations._bookmark_operations#BookmarkOperation '
54- 's .{}' ,
54+ operations_tmpl = 'azext_sentinel.vendored_sdks.securityinsight.operations._bookmarks_operations#BookmarksOperati '
55+ 'ons .{}' ,
5556 client_factory = cf_bookmark )
56- with self .command_group ('sentinel bookmark' , sentinel_bookmark , client_factory = cf_bookmark ,
57- is_experimental = True ) as g :
57+ with self .command_group ('sentinel bookmark' , sentinel_bookmark , client_factory = cf_bookmark ) as g :
5858 g .custom_command ('list' , 'sentinel_bookmark_list' )
5959 g .custom_show_command ('show' , 'sentinel_bookmark_show' )
6060 g .custom_command ('create' , 'sentinel_bookmark_create' )
61- g .custom_command ('update' , 'sentinel_bookmark_update' )
61+ g .generic_update_command ('update' , setter_arg_name = 'bookmark' , custom_func_name = 'sentinel_bookmark_update' )
6262 g .custom_command ('delete' , 'sentinel_bookmark_delete' , confirmation = True )
6363
6464 from azext_sentinel .generated ._client_factory import cf_data_connector
6565 sentinel_data_connector = CliCommandType (
66- operations_tmpl = 'azext_sentinel.vendored_sdks.securityinsight.operations._data_connector_operations#DataConnect '
67- 'orOperations .{}' ,
66+ operations_tmpl = 'azext_sentinel.vendored_sdks.securityinsight.operations._data_connectors_operations#DataConnec '
67+ 'torsOperations .{}' ,
6868 client_factory = cf_data_connector )
69- with self .command_group ('sentinel data-connector' , sentinel_data_connector , client_factory = cf_data_connector ,
70- is_experimental = True ) as g :
69+ with self .command_group ('sentinel data-connector' , sentinel_data_connector ,
70+ client_factory = cf_data_connector ) as g :
7171 g .custom_command ('list' , 'sentinel_data_connector_list' )
7272 g .custom_show_command ('show' , 'sentinel_data_connector_show' )
7373 g .custom_command ('create' , 'sentinel_data_connector_create' )
74- g .generic_update_command ('update' , setter_arg_name = 'data_connector' , custom_func_name = ''
75- 'sentinel_data_connector_update' )
74+ g .custom_command ('update' , 'sentinel_data_connector_update' )
7675 g .custom_command ('delete' , 'sentinel_data_connector_delete' , confirmation = True )
7776
7877 from azext_sentinel .generated ._client_factory import cf_incident
7978 sentinel_incident = CliCommandType (
80- operations_tmpl = 'azext_sentinel.vendored_sdks.securityinsight.operations._incident_operations#IncidentOperation '
81- 's .{}' ,
79+ operations_tmpl = 'azext_sentinel.vendored_sdks.securityinsight.operations._incidents_operations#IncidentsOperati '
80+ 'ons .{}' ,
8281 client_factory = cf_incident )
83- with self .command_group ('sentinel incident' , sentinel_incident , client_factory = cf_incident ,
84- is_experimental = True ) as g :
82+ with self .command_group ('sentinel incident' , sentinel_incident , client_factory = cf_incident ) as g :
8583 g .custom_command ('list' , 'sentinel_incident_list' )
8684 g .custom_show_command ('show' , 'sentinel_incident_show' )
8785 g .custom_command ('create' , 'sentinel_incident_create' )
88- g .custom_command ('update' , 'sentinel_incident_update' )
86+ g .generic_update_command ('update' , setter_arg_name = 'incident' , custom_func_name = 'sentinel_incident_update' )
8987 g .custom_command ('delete' , 'sentinel_incident_delete' , confirmation = True )
9088
9189 from azext_sentinel .generated ._client_factory import cf_incident_comment
9290 sentinel_incident_comment = CliCommandType (
93- operations_tmpl = 'azext_sentinel.vendored_sdks.securityinsight.operations._incident_comment_operations#IncidentC '
94- 'ommentOperations .{}' ,
91+ operations_tmpl = 'azext_sentinel.vendored_sdks.securityinsight.operations._incident_comments_operations#Incident '
92+ 'CommentsOperations .{}' ,
9593 client_factory = cf_incident_comment )
96- with self .command_group ('sentinel incident-comment' , sentinel_incident_comment , client_factory = cf_incident_comment ,
97- is_experimental = True ) as g :
94+ with self .command_group ('sentinel incident-comment' , sentinel_incident_comment ,
95+ client_factory = cf_incident_comment ) as g :
9896 g .custom_command ('list' , 'sentinel_incident_comment_list' )
9997 g .custom_show_command ('show' , 'sentinel_incident_comment_show' )
10098 g .custom_command ('create' , 'sentinel_incident_comment_create' )
99+
100+ with self .command_group ('sentinel' , is_experimental = True ):
101+ pass
0 commit comments