azure_sdk 0.15.2 → 0.16.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. checksums.yaml +5 -5
  2. data/lib/azure_sdk/version.rb +1 -1
  3. data/lib/latest/latest_profile_client.rb +645 -61
  4. data/lib/latest/module_definition.rb +1 -118
  5. data/lib/latest/modules/analysisservices_profile_module.rb +139 -84
  6. data/lib/latest/modules/authorization_profile_module.rb +113 -100
  7. data/lib/latest/modules/automation_profile_module.rb +597 -580
  8. data/lib/latest/modules/batch_profile_module.rb +357 -132
  9. data/lib/latest/modules/billing_profile_module.rb +77 -64
  10. data/lib/latest/modules/cdn_profile_module.rb +277 -216
  11. data/lib/latest/modules/cognitiveservices_profile_module.rb +121 -108
  12. data/lib/latest/modules/commerce_profile_module.rb +79 -66
  13. data/lib/latest/modules/compute_profile_module.rb +783 -730
  14. data/lib/latest/modules/computervision_profile_module.rb +189 -0
  15. data/lib/latest/modules/consumption_profile_module.rb +153 -54
  16. data/lib/latest/modules/containerinstance_profile_module.rb +163 -106
  17. data/lib/latest/modules/containerregistry_profile_module.rb +203 -190
  18. data/lib/latest/modules/containerservice_profile_module.rb +93 -80
  19. data/lib/latest/modules/contentmoderator_profile_module.rb +295 -0
  20. data/lib/latest/modules/customerinsights_profile_module.rb +477 -464
  21. data/lib/latest/modules/customsearch_profile_module.rb +123 -0
  22. data/lib/latest/modules/datalakeanalytics_profile_module.rb +233 -152
  23. data/lib/latest/modules/datalakestore_profile_module.rb +201 -128
  24. data/lib/latest/modules/devtestlabs_profile_module.rb +697 -656
  25. data/lib/latest/modules/dns_profile_module.rb +99 -94
  26. data/lib/latest/modules/entitysearch_profile_module.rb +231 -0
  27. data/lib/latest/modules/eventgrid_profile_module.rb +220 -99
  28. data/lib/latest/modules/eventhub_profile_module.rb +165 -152
  29. data/lib/latest/modules/face_profile_module.rb +241 -0
  30. data/lib/latest/modules/features_profile_module.rb +41 -28
  31. data/lib/latest/modules/graphrbac_profile_module.rb +225 -0
  32. data/lib/latest/modules/imagesearch_profile_module.rb +279 -0
  33. data/lib/latest/modules/iothub_profile_module.rb +265 -252
  34. data/lib/latest/modules/keyvault_profile_module.rb +155 -88
  35. data/lib/latest/modules/links_profile_module.rb +49 -36
  36. data/lib/latest/modules/locks_profile_module.rb +45 -32
  37. data/lib/latest/modules/logic_profile_module.rb +593 -580
  38. data/lib/latest/modules/machinelearning_profile_module.rb +177 -164
  39. data/lib/latest/modules/managedapplications_profile_module.rb +103 -90
  40. data/lib/latest/modules/managedserviceidentity_profile_module.rb +55 -42
  41. data/lib/latest/modules/marketplaceordering_profile_module.rb +59 -46
  42. data/lib/latest/modules/mediaservices_profile_module.rb +103 -90
  43. data/lib/latest/modules/mobileengagement_profile_module.rb +397 -384
  44. data/lib/latest/modules/monitor_profile_module.rb +403 -323
  45. data/lib/latest/modules/network_profile_module.rb +1245 -1148
  46. data/lib/latest/modules/newssearch_profile_module.rb +143 -0
  47. data/lib/latest/modules/notificationhubs_profile_module.rb +155 -142
  48. data/lib/latest/modules/operationalinsights_profile_module.rb +218 -188
  49. data/lib/latest/modules/policy_profile_module.rb +84 -68
  50. data/lib/latest/modules/powerbiembedded_profile_module.rb +107 -94
  51. data/lib/latest/modules/recoveryservices_profile_module.rb +176 -188
  52. data/lib/latest/modules/recoveryservicesbackup_profile_module.rb +1133 -728
  53. data/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb +1367 -1354
  54. data/lib/latest/modules/redis_profile_module.rb +165 -152
  55. data/lib/latest/modules/relay_profile_module.rb +143 -130
  56. data/lib/latest/modules/resources_profile_module.rb +227 -214
  57. data/lib/latest/modules/resourcesmanagement_profile_module.rb +81 -74
  58. data/lib/latest/modules/scheduler_profile_module.rb +207 -198
  59. data/lib/latest/modules/search_profile_module.rb +103 -76
  60. data/lib/latest/modules/servermanagement_profile_module.rb +155 -142
  61. data/lib/latest/modules/servicebus_profile_module.rb +247 -234
  62. data/lib/latest/modules/servicefabric_profile_module.rb +269 -120
  63. data/lib/latest/modules/spellcheck_profile_module.rb +101 -0
  64. data/lib/latest/modules/sql_profile_module.rb +1075 -918
  65. data/lib/latest/modules/storage_profile_module.rb +263 -250
  66. data/lib/latest/modules/storsimple8000series_profile_module.rb +695 -682
  67. data/lib/latest/modules/streamanalytics_profile_module.rb +329 -316
  68. data/lib/latest/modules/subscriptions_profile_module.rb +67 -54
  69. data/lib/latest/modules/textanalytics_profile_module.rb +105 -0
  70. data/lib/latest/modules/trafficmanager_profile_module.rb +140 -124
  71. data/lib/latest/modules/videosearch_profile_module.rb +175 -0
  72. data/lib/latest/modules/web_profile_module.rb +1289 -1138
  73. data/lib/latest/modules/websearch_profile_module.rb +211 -0
  74. data/lib/v2017_03_09/module_definition.rb +1 -20
  75. data/lib/v2017_03_09/modules/compute_profile_module.rb +437 -424
  76. data/lib/v2017_03_09/modules/features_profile_module.rb +41 -28
  77. data/lib/v2017_03_09/modules/links_profile_module.rb +49 -36
  78. data/lib/v2017_03_09/modules/locks_profile_module.rb +41 -28
  79. data/lib/v2017_03_09/modules/network_profile_module.rb +535 -522
  80. data/lib/v2017_03_09/modules/policy_profile_module.rb +51 -38
  81. data/lib/v2017_03_09/modules/resources_profile_module.rb +223 -210
  82. data/lib/v2017_03_09/modules/storage_profile_module.rb +143 -130
  83. data/lib/v2017_03_09/modules/subscriptions_profile_module.rb +67 -54
  84. data/lib/v2017_03_09/v2017_03_09_profile_client.rb +103 -10
  85. metadata +312 -133
  86. data/lib/latest/modules/graph_profile_module.rb +0 -202
@@ -5,203 +5,233 @@
5
5
  require 'azure_mgmt_operational_insights'
6
6
 
7
7
  module Azure::Profiles::Latest
8
- module OperationalInsights::Mgmt
9
- StorageInsights = Azure::OperationalInsights::Mgmt::V2015_03_20::StorageInsights
10
- SavedSearches = Azure::OperationalInsights::Mgmt::V2015_03_20::SavedSearches
11
- LinkedServices = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::LinkedServices
12
- DataSources = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::DataSources
13
- Workspaces = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Workspaces
8
+ module OperationalInsights
9
+ module Mgmt
10
+ StorageInsights = Azure::OperationalInsights::Mgmt::V2015_03_20::StorageInsights
11
+ SavedSearches = Azure::OperationalInsights::Mgmt::V2015_03_20::SavedSearches
12
+ LinkedServices = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::LinkedServices
13
+ DataSources = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::DataSources
14
+ Workspaces = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Workspaces
15
+ Operations = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Operations
14
16
 
15
- module Models
16
- SearchSchemaValue = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSchemaValue
17
- LinkTarget = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::LinkTarget
18
- SearchGetSchemaResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchGetSchemaResponse
19
- CoreSummary = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::CoreSummary
20
- SearchHighlight = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchHighlight
21
- SearchMetadataSchema = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadataSchema
22
- SearchParameters = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchParameters
23
- SavedSearch = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearch
24
- StorageAccount = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageAccount
25
- SearchError = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchError
26
- StorageInsightStatus = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightStatus
27
- Tag = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag
28
- SearchSort = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSort
29
- SavedSearchesListResult = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearchesListResult
30
- StorageInsightListResult = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightListResult
31
- SearchMetadata = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadata
32
- SearchResultsResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchResultsResponse
33
- StorageInsight = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsight
34
- SearchSortEnum = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSortEnum
35
- StorageInsightState = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightState
36
- UsageMetric = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::UsageMetric
37
- WorkspaceListUsagesResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListUsagesResult
38
- LinkedServiceListResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::LinkedServiceListResult
39
- ManagementGroup = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ManagementGroup
40
- DataSourceFilter = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceFilter
41
- WorkspaceListManagementGroupsResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListManagementGroupsResult
42
- IntelligencePack = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::IntelligencePack
43
- Sku = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Sku
44
- MetricName = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::MetricName
45
- SharedKeys = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SharedKeys
46
- Resource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Resource
47
- DataSourceListResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceListResult
48
- ProxyResource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ProxyResource
49
- WorkspaceListResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListResult
50
- LinkedService = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::LinkedService
51
- DataSource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSource
52
- Workspace = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Workspace
53
- DataSourceKind = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceKind
54
- SkuNameEnum = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SkuNameEnum
55
- EntityStatus = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::EntityStatus
56
- end
57
-
58
- #
59
- # OperationalInsights
60
- #
61
- class OperationalInsightsClass
62
- attr_reader :storage_insights, :saved_searches, :linked_services, :data_sources, :workspaces, :configurable, :base_url, :options, :model_classes
17
+ module Models
18
+ SearchError = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchError
19
+ SearchResultsResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchResultsResponse
20
+ SearchSchemaValue = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSchemaValue
21
+ LinkTarget = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::LinkTarget
22
+ SearchGetSchemaResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchGetSchemaResponse
23
+ CoreSummary = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::CoreSummary
24
+ SearchHighlight = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchHighlight
25
+ SearchMetadataSchema = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadataSchema
26
+ SearchParameters = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchParameters
27
+ SavedSearch = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearch
28
+ StorageAccount = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageAccount
29
+ StorageInsightStatus = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightStatus
30
+ Tag = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag
31
+ SearchSort = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSort
32
+ SavedSearchesListResult = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearchesListResult
33
+ StorageInsightListResult = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightListResult
34
+ SearchMetadata = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadata
35
+ StorageInsight = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsight
36
+ SearchSortEnum = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSortEnum
37
+ StorageInsightState = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightState
38
+ MetricName = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::MetricName
39
+ OperationDisplay = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::OperationDisplay
40
+ UsageMetric = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::UsageMetric
41
+ OperationListResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::OperationListResult
42
+ WorkspaceListUsagesResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListUsagesResult
43
+ LinkedServiceListResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::LinkedServiceListResult
44
+ ManagementGroup = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ManagementGroup
45
+ DataSourceFilter = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceFilter
46
+ WorkspaceListManagementGroupsResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListManagementGroupsResult
47
+ IntelligencePack = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::IntelligencePack
48
+ Sku = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Sku
49
+ Operation = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Operation
50
+ SharedKeys = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SharedKeys
51
+ Resource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Resource
52
+ DataSourceListResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceListResult
53
+ ProxyResource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ProxyResource
54
+ WorkspaceListResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListResult
55
+ LinkedService = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::LinkedService
56
+ DataSource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSource
57
+ Workspace = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Workspace
58
+ DataSourceKind = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceKind
59
+ SkuNameEnum = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SkuNameEnum
60
+ EntityStatus = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::EntityStatus
61
+ end
63
62
 
64
- def initialize(configurable, base_url=nil, options=nil)
65
- @configurable, @base_url, @options = configurable, base_url, options
63
+ class OperationalInsightsManagementClass
64
+ attr_reader :storage_insights, :saved_searches, :linked_services, :data_sources, :workspaces, :operations, :configurable, :base_url, :options, :model_classes
66
65
 
67
- client_0 = Azure::OperationalInsights::Mgmt::V2015_03_20::OperationalInsightsManagementClient.new(configurable.credentials, base_url, options)
68
- if(client_0.respond_to?(:subscription_id))
69
- client_0.subscription_id = configurable.subscription_id
70
- end
71
- @storage_insights = client_0.storage_insights
72
- @saved_searches = client_0.saved_searches
66
+ def initialize(configurable, base_url=nil, options=nil)
67
+ @configurable, @base_url, @options = configurable, base_url, options
73
68
 
74
- client_1 = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::AzureLogAnalytics.new(configurable.credentials, base_url, options)
75
- if(client_1.respond_to?(:subscription_id))
76
- client_1.subscription_id = configurable.subscription_id
77
- end
78
- @linked_services = client_1.linked_services
79
- @data_sources = client_1.data_sources
80
- @workspaces = client_1.workspaces
69
+ @client_0 = Azure::OperationalInsights::Mgmt::V2015_03_20::OperationalInsightsManagementClient.new(configurable.credentials, base_url, options)
70
+ if(@client_0.respond_to?(:subscription_id))
71
+ @client_0.subscription_id = configurable.subscription_id
72
+ end
73
+ add_telemetry(@client_0)
74
+ @storage_insights = @client_0.storage_insights
75
+ @saved_searches = @client_0.saved_searches
81
76
 
82
- @model_classes = ModelClasses.new
83
- end
77
+ @client_1 = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::OperationalInsightsManagementClient.new(configurable.credentials, base_url, options)
78
+ if(@client_1.respond_to?(:subscription_id))
79
+ @client_1.subscription_id = configurable.subscription_id
80
+ end
81
+ add_telemetry(@client_1)
82
+ @linked_services = @client_1.linked_services
83
+ @data_sources = @client_1.data_sources
84
+ @workspaces = @client_1.workspaces
85
+ @operations = @client_1.operations
84
86
 
85
- class ModelClasses
86
- def search_schema_value
87
- Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSchemaValue
88
- end
89
- def link_target
90
- Azure::OperationalInsights::Mgmt::V2015_03_20::Models::LinkTarget
91
- end
92
- def search_get_schema_response
93
- Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchGetSchemaResponse
94
- end
95
- def core_summary
96
- Azure::OperationalInsights::Mgmt::V2015_03_20::Models::CoreSummary
97
- end
98
- def search_highlight
99
- Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchHighlight
100
- end
101
- def search_metadata_schema
102
- Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadataSchema
103
- end
104
- def search_parameters
105
- Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchParameters
106
- end
107
- def saved_search
108
- Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearch
109
- end
110
- def storage_account
111
- Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageAccount
112
- end
113
- def search_error
114
- Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchError
115
- end
116
- def storage_insight_status
117
- Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightStatus
118
- end
119
- def tag
120
- Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag
121
- end
122
- def search_sort
123
- Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSort
124
- end
125
- def saved_searches_list_result
126
- Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearchesListResult
127
- end
128
- def storage_insight_list_result
129
- Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightListResult
130
- end
131
- def search_metadata
132
- Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadata
133
- end
134
- def search_results_response
135
- Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchResultsResponse
136
- end
137
- def storage_insight
138
- Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsight
87
+ @model_classes = ModelClasses.new
139
88
  end
140
- def search_sort_enum
141
- Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSortEnum
142
- end
143
- def storage_insight_state
144
- Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightState
145
- end
146
- def usage_metric
147
- Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::UsageMetric
148
- end
149
- def workspace_list_usages_result
150
- Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListUsagesResult
151
- end
152
- def linked_service_list_result
153
- Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::LinkedServiceListResult
154
- end
155
- def management_group
156
- Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ManagementGroup
157
- end
158
- def data_source_filter
159
- Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceFilter
160
- end
161
- def workspace_list_management_groups_result
162
- Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListManagementGroupsResult
163
- end
164
- def intelligence_pack
165
- Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::IntelligencePack
166
- end
167
- def sku
168
- Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Sku
169
- end
170
- def metric_name
171
- Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::MetricName
172
- end
173
- def shared_keys
174
- Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SharedKeys
175
- end
176
- def resource
177
- Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Resource
178
- end
179
- def data_source_list_result
180
- Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceListResult
181
- end
182
- def proxy_resource
183
- Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ProxyResource
184
- end
185
- def workspace_list_result
186
- Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListResult
187
- end
188
- def linked_service
189
- Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::LinkedService
190
- end
191
- def data_source
192
- Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSource
193
- end
194
- def workspace
195
- Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Workspace
196
- end
197
- def data_source_kind
198
- Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceKind
89
+
90
+ def add_telemetry(client)
91
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/OperationalInsights/Mgmt"
92
+ client.add_user_agent_information(profile_information)
199
93
  end
200
- def sku_name_enum
201
- Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SkuNameEnum
94
+
95
+ def method_missing(method, *args)
96
+ if @client_1.respond_to?method
97
+ @client_1.send(method, *args)
98
+ elsif @client_0.respond_to?method
99
+ @client_0.send(method, *args)
100
+ else
101
+ super
102
+ end
202
103
  end
203
- def entity_status
204
- Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::EntityStatus
104
+
105
+ class ModelClasses
106
+ def search_error
107
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchError
108
+ end
109
+ def search_results_response
110
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchResultsResponse
111
+ end
112
+ def search_schema_value
113
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSchemaValue
114
+ end
115
+ def link_target
116
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::LinkTarget
117
+ end
118
+ def search_get_schema_response
119
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchGetSchemaResponse
120
+ end
121
+ def core_summary
122
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::CoreSummary
123
+ end
124
+ def search_highlight
125
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchHighlight
126
+ end
127
+ def search_metadata_schema
128
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadataSchema
129
+ end
130
+ def search_parameters
131
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchParameters
132
+ end
133
+ def saved_search
134
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearch
135
+ end
136
+ def storage_account
137
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageAccount
138
+ end
139
+ def storage_insight_status
140
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightStatus
141
+ end
142
+ def tag
143
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag
144
+ end
145
+ def search_sort
146
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSort
147
+ end
148
+ def saved_searches_list_result
149
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearchesListResult
150
+ end
151
+ def storage_insight_list_result
152
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightListResult
153
+ end
154
+ def search_metadata
155
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadata
156
+ end
157
+ def storage_insight
158
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsight
159
+ end
160
+ def search_sort_enum
161
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSortEnum
162
+ end
163
+ def storage_insight_state
164
+ Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightState
165
+ end
166
+ def metric_name
167
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::MetricName
168
+ end
169
+ def operation_display
170
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::OperationDisplay
171
+ end
172
+ def usage_metric
173
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::UsageMetric
174
+ end
175
+ def operation_list_result
176
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::OperationListResult
177
+ end
178
+ def workspace_list_usages_result
179
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListUsagesResult
180
+ end
181
+ def linked_service_list_result
182
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::LinkedServiceListResult
183
+ end
184
+ def management_group
185
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ManagementGroup
186
+ end
187
+ def data_source_filter
188
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceFilter
189
+ end
190
+ def workspace_list_management_groups_result
191
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListManagementGroupsResult
192
+ end
193
+ def intelligence_pack
194
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::IntelligencePack
195
+ end
196
+ def sku
197
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Sku
198
+ end
199
+ def operation
200
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Operation
201
+ end
202
+ def shared_keys
203
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SharedKeys
204
+ end
205
+ def resource
206
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Resource
207
+ end
208
+ def data_source_list_result
209
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceListResult
210
+ end
211
+ def proxy_resource
212
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ProxyResource
213
+ end
214
+ def workspace_list_result
215
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListResult
216
+ end
217
+ def linked_service
218
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::LinkedService
219
+ end
220
+ def data_source
221
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSource
222
+ end
223
+ def workspace
224
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Workspace
225
+ end
226
+ def data_source_kind
227
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceKind
228
+ end
229
+ def sku_name_enum
230
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SkuNameEnum
231
+ end
232
+ def entity_status
233
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::EntityStatus
234
+ end
205
235
  end
206
236
  end
207
237
  end
@@ -5,83 +5,99 @@
5
5
  require 'azure_mgmt_policy'
6
6
 
7
7
  module Azure::Profiles::Latest
8
- module Policy::Mgmt
9
- PolicyDefinitions = Azure::Policy::Mgmt::V2016_12_01::PolicyDefinitions
10
- PolicyAssignments = Azure::Policy::Mgmt::V2017_06_01_preview::PolicyAssignments
11
- PolicySetDefinitions = Azure::Policy::Mgmt::V2017_06_01_preview::PolicySetDefinitions
8
+ module Policy
9
+ module Mgmt
10
+ PolicyDefinitions = Azure::Policy::Mgmt::V2016_12_01::PolicyDefinitions
11
+ PolicyAssignments = Azure::Policy::Mgmt::V2017_06_01_preview::PolicyAssignments
12
+ PolicySetDefinitions = Azure::Policy::Mgmt::V2017_06_01_preview::PolicySetDefinitions
12
13
 
13
- module Models
14
- PolicyDefinition = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyDefinition
15
- PolicyDefinitionListResult = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyDefinitionListResult
16
- PolicyMode = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyMode
17
- ErrorResponse = Azure::Policy::Mgmt::V2017_06_01_preview::Models::ErrorResponse
18
- PolicyDefinitionReference = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyDefinitionReference
19
- PolicyAssignment = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyAssignment
20
- PolicySetDefinition = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicySetDefinition
21
- PolicySku = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicySku
22
- PolicySetDefinitionListResult = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicySetDefinitionListResult
23
- PolicyAssignmentListResult = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyAssignmentListResult
24
- PolicyType = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyType
25
- end
26
-
27
- #
28
- # Policy
29
- #
30
- class PolicyClass
31
- attr_reader :policy_definitions, :policy_assignments, :policy_set_definitions, :configurable, :base_url, :options, :model_classes
14
+ module Models
15
+ PolicyDefinition = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyDefinition
16
+ PolicyDefinitionListResult = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyDefinitionListResult
17
+ PolicyMode = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyMode
18
+ ErrorResponse = Azure::Policy::Mgmt::V2017_06_01_preview::Models::ErrorResponse
19
+ PolicyDefinitionReference = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyDefinitionReference
20
+ PolicyAssignment = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyAssignment
21
+ PolicySetDefinition = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicySetDefinition
22
+ PolicySku = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicySku
23
+ PolicySetDefinitionListResult = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicySetDefinitionListResult
24
+ PolicyAssignmentListResult = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyAssignmentListResult
25
+ PolicyType = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyType
26
+ end
32
27
 
33
- def initialize(configurable, base_url=nil, options=nil)
34
- @configurable, @base_url, @options = configurable, base_url, options
28
+ class PolicyManagementClass
29
+ attr_reader :policy_definitions, :policy_assignments, :policy_set_definitions, :configurable, :base_url, :options, :model_classes
35
30
 
36
- client_0 = Azure::Policy::Mgmt::V2016_12_01::PolicyClient.new(configurable.credentials, base_url, options)
37
- if(client_0.respond_to?(:subscription_id))
38
- client_0.subscription_id = configurable.subscription_id
39
- end
40
- @policy_definitions = client_0.policy_definitions
31
+ def initialize(configurable, base_url=nil, options=nil)
32
+ @configurable, @base_url, @options = configurable, base_url, options
41
33
 
42
- client_1 = Azure::Policy::Mgmt::V2017_06_01_preview::PolicyClient.new(configurable.credentials, base_url, options)
43
- if(client_1.respond_to?(:subscription_id))
44
- client_1.subscription_id = configurable.subscription_id
45
- end
46
- @policy_assignments = client_1.policy_assignments
47
- @policy_set_definitions = client_1.policy_set_definitions
34
+ @client_0 = Azure::Policy::Mgmt::V2016_12_01::PolicyClient.new(configurable.credentials, base_url, options)
35
+ if(@client_0.respond_to?(:subscription_id))
36
+ @client_0.subscription_id = configurable.subscription_id
37
+ end
38
+ add_telemetry(@client_0)
39
+ @policy_definitions = @client_0.policy_definitions
48
40
 
49
- @model_classes = ModelClasses.new
50
- end
41
+ @client_1 = Azure::Policy::Mgmt::V2017_06_01_preview::PolicyClient.new(configurable.credentials, base_url, options)
42
+ if(@client_1.respond_to?(:subscription_id))
43
+ @client_1.subscription_id = configurable.subscription_id
44
+ end
45
+ add_telemetry(@client_1)
46
+ @policy_assignments = @client_1.policy_assignments
47
+ @policy_set_definitions = @client_1.policy_set_definitions
51
48
 
52
- class ModelClasses
53
- def policy_definition
54
- Azure::Policy::Mgmt::V2016_12_01::Models::PolicyDefinition
55
- end
56
- def policy_definition_list_result
57
- Azure::Policy::Mgmt::V2016_12_01::Models::PolicyDefinitionListResult
58
- end
59
- def policy_mode
60
- Azure::Policy::Mgmt::V2016_12_01::Models::PolicyMode
49
+ @model_classes = ModelClasses.new
61
50
  end
62
- def error_response
63
- Azure::Policy::Mgmt::V2017_06_01_preview::Models::ErrorResponse
64
- end
65
- def policy_definition_reference
66
- Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyDefinitionReference
67
- end
68
- def policy_assignment
69
- Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyAssignment
70
- end
71
- def policy_set_definition
72
- Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicySetDefinition
73
- end
74
- def policy_sku
75
- Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicySku
76
- end
77
- def policy_set_definition_list_result
78
- Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicySetDefinitionListResult
51
+
52
+ def add_telemetry(client)
53
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Policy/Mgmt"
54
+ client.add_user_agent_information(profile_information)
79
55
  end
80
- def policy_assignment_list_result
81
- Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyAssignmentListResult
56
+
57
+ def method_missing(method, *args)
58
+ if @client_1.respond_to?method
59
+ @client_1.send(method, *args)
60
+ elsif @client_0.respond_to?method
61
+ @client_0.send(method, *args)
62
+ else
63
+ super
64
+ end
82
65
  end
83
- def policy_type
84
- Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyType
66
+
67
+ class ModelClasses
68
+ def policy_definition
69
+ Azure::Policy::Mgmt::V2016_12_01::Models::PolicyDefinition
70
+ end
71
+ def policy_definition_list_result
72
+ Azure::Policy::Mgmt::V2016_12_01::Models::PolicyDefinitionListResult
73
+ end
74
+ def policy_mode
75
+ Azure::Policy::Mgmt::V2016_12_01::Models::PolicyMode
76
+ end
77
+ def error_response
78
+ Azure::Policy::Mgmt::V2017_06_01_preview::Models::ErrorResponse
79
+ end
80
+ def policy_definition_reference
81
+ Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyDefinitionReference
82
+ end
83
+ def policy_assignment
84
+ Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyAssignment
85
+ end
86
+ def policy_set_definition
87
+ Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicySetDefinition
88
+ end
89
+ def policy_sku
90
+ Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicySku
91
+ end
92
+ def policy_set_definition_list_result
93
+ Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicySetDefinitionListResult
94
+ end
95
+ def policy_assignment_list_result
96
+ Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyAssignmentListResult
97
+ end
98
+ def policy_type
99
+ Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyType
100
+ end
85
101
  end
86
102
  end
87
103
  end