Skip to content

Commit

Permalink
[timeseriesinsights] az tsi: GA (#3134)
Browse files Browse the repository at this point in the history
* timeseriesinsights GA

* update version to 0.2.1
  • Loading branch information
kairu-ms committed Mar 10, 2021
1 parent 446a355 commit 5d5b923
Show file tree
Hide file tree
Showing 5 changed files with 80 additions and 32 deletions.
4 changes: 4 additions & 0 deletions src/timeseriesinsights/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
Release History
===============

0.2.1
++++++
* Command group ``az tsi`` GA

0.2.0
++++++
* [BREAKING CHANGE] ``az timeseriesinsights`` is changed to ``az tsi``
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"azext.isExperimental": true,
"azext.minCliCoreVersion": "2.11.0"
}
10 changes: 4 additions & 6 deletions src/timeseriesinsights/azext_timeseriesinsights/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ def load_command_table(self, _):
operations_tmpl='azext_timeseriesinsights.vendored_sdks.timeseriesinsights.operations._environments_operations#'
'EnvironmentsOperations.{}',
client_factory=cf_environment)
with self.command_group('tsi environment', timeseriesinsights_environment,
client_factory=cf_environment, is_experimental=True) as g:
with self.command_group('tsi environment', timeseriesinsights_environment, client_factory=cf_environment) as g:
g.custom_command('list', 'timeseriesinsights_environment_list')
g.custom_show_command('show', 'timeseriesinsights_environment_show')
g.custom_command('delete', 'timeseriesinsights_environment_delete', confirmation=True)
Expand All @@ -37,8 +36,7 @@ def load_command_table(self, _):
operations_tmpl='azext_timeseriesinsights.vendored_sdks.timeseriesinsights.operations._event_sources_operations'
'#EventSourcesOperations.{}',
client_factory=cf_event_source)
with self.command_group('tsi event-source', timeseriesinsights_event_source,
client_factory=cf_event_source, is_experimental=True) as g:
with self.command_group('tsi event-source', timeseriesinsights_event_source, client_factory=cf_event_source) as g:
g.custom_command('list', 'timeseriesinsights_event_source_list')
g.custom_show_command('show', 'timeseriesinsights_event_source_show')
g.custom_command('delete', 'timeseriesinsights_event_source_delete', confirmation=True)
Expand All @@ -59,7 +57,7 @@ def load_command_table(self, _):
'ations#ReferenceDataSetsOperations.{}',
client_factory=cf_reference_data_set)
with self.command_group('tsi reference-data-set', timeseriesinsights_reference_data_set,
client_factory=cf_reference_data_set, is_experimental=True) as g:
client_factory=cf_reference_data_set) as g:
g.custom_command('list', 'timeseriesinsights_reference_data_set_list')
g.custom_show_command('show', 'timeseriesinsights_reference_data_set_show')
g.custom_command('create', 'timeseriesinsights_reference_data_set_create')
Expand All @@ -72,7 +70,7 @@ def load_command_table(self, _):
'ns#AccessPoliciesOperations.{}',
client_factory=cf_access_policy)
with self.command_group('tsi access-policy', timeseriesinsights_access_policy,
client_factory=cf_access_policy, is_experimental=True) as g:
client_factory=cf_access_policy) as g:
g.custom_command('list', 'timeseriesinsights_access_policy_list')
g.custom_show_command('show', 'timeseriesinsights_access_policy_show')
g.custom_command('create', 'timeseriesinsights_access_policy_create')
Expand Down
Loading

0 comments on commit 5d5b923

Please sign in to comment.