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.
- checksums.yaml +5 -5
- data/lib/azure_sdk/version.rb +1 -1
- data/lib/latest/latest_profile_client.rb +645 -61
- data/lib/latest/module_definition.rb +1 -118
- data/lib/latest/modules/analysisservices_profile_module.rb +139 -84
- data/lib/latest/modules/authorization_profile_module.rb +113 -100
- data/lib/latest/modules/automation_profile_module.rb +597 -580
- data/lib/latest/modules/batch_profile_module.rb +357 -132
- data/lib/latest/modules/billing_profile_module.rb +77 -64
- data/lib/latest/modules/cdn_profile_module.rb +277 -216
- data/lib/latest/modules/cognitiveservices_profile_module.rb +121 -108
- data/lib/latest/modules/commerce_profile_module.rb +79 -66
- data/lib/latest/modules/compute_profile_module.rb +783 -730
- data/lib/latest/modules/computervision_profile_module.rb +189 -0
- data/lib/latest/modules/consumption_profile_module.rb +153 -54
- data/lib/latest/modules/containerinstance_profile_module.rb +163 -106
- data/lib/latest/modules/containerregistry_profile_module.rb +203 -190
- data/lib/latest/modules/containerservice_profile_module.rb +93 -80
- data/lib/latest/modules/contentmoderator_profile_module.rb +295 -0
- data/lib/latest/modules/customerinsights_profile_module.rb +477 -464
- data/lib/latest/modules/customsearch_profile_module.rb +123 -0
- data/lib/latest/modules/datalakeanalytics_profile_module.rb +233 -152
- data/lib/latest/modules/datalakestore_profile_module.rb +201 -128
- data/lib/latest/modules/devtestlabs_profile_module.rb +697 -656
- data/lib/latest/modules/dns_profile_module.rb +99 -94
- data/lib/latest/modules/entitysearch_profile_module.rb +231 -0
- data/lib/latest/modules/eventgrid_profile_module.rb +220 -99
- data/lib/latest/modules/eventhub_profile_module.rb +165 -152
- data/lib/latest/modules/face_profile_module.rb +241 -0
- data/lib/latest/modules/features_profile_module.rb +41 -28
- data/lib/latest/modules/graphrbac_profile_module.rb +225 -0
- data/lib/latest/modules/imagesearch_profile_module.rb +279 -0
- data/lib/latest/modules/iothub_profile_module.rb +265 -252
- data/lib/latest/modules/keyvault_profile_module.rb +155 -88
- data/lib/latest/modules/links_profile_module.rb +49 -36
- data/lib/latest/modules/locks_profile_module.rb +45 -32
- data/lib/latest/modules/logic_profile_module.rb +593 -580
- data/lib/latest/modules/machinelearning_profile_module.rb +177 -164
- data/lib/latest/modules/managedapplications_profile_module.rb +103 -90
- data/lib/latest/modules/managedserviceidentity_profile_module.rb +55 -42
- data/lib/latest/modules/marketplaceordering_profile_module.rb +59 -46
- data/lib/latest/modules/mediaservices_profile_module.rb +103 -90
- data/lib/latest/modules/mobileengagement_profile_module.rb +397 -384
- data/lib/latest/modules/monitor_profile_module.rb +403 -323
- data/lib/latest/modules/network_profile_module.rb +1245 -1148
- data/lib/latest/modules/newssearch_profile_module.rb +143 -0
- data/lib/latest/modules/notificationhubs_profile_module.rb +155 -142
- data/lib/latest/modules/operationalinsights_profile_module.rb +218 -188
- data/lib/latest/modules/policy_profile_module.rb +84 -68
- data/lib/latest/modules/powerbiembedded_profile_module.rb +107 -94
- data/lib/latest/modules/recoveryservices_profile_module.rb +176 -188
- data/lib/latest/modules/recoveryservicesbackup_profile_module.rb +1133 -728
- data/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb +1367 -1354
- data/lib/latest/modules/redis_profile_module.rb +165 -152
- data/lib/latest/modules/relay_profile_module.rb +143 -130
- data/lib/latest/modules/resources_profile_module.rb +227 -214
- data/lib/latest/modules/resourcesmanagement_profile_module.rb +81 -74
- data/lib/latest/modules/scheduler_profile_module.rb +207 -198
- data/lib/latest/modules/search_profile_module.rb +103 -76
- data/lib/latest/modules/servermanagement_profile_module.rb +155 -142
- data/lib/latest/modules/servicebus_profile_module.rb +247 -234
- data/lib/latest/modules/servicefabric_profile_module.rb +269 -120
- data/lib/latest/modules/spellcheck_profile_module.rb +101 -0
- data/lib/latest/modules/sql_profile_module.rb +1075 -918
- data/lib/latest/modules/storage_profile_module.rb +263 -250
- data/lib/latest/modules/storsimple8000series_profile_module.rb +695 -682
- data/lib/latest/modules/streamanalytics_profile_module.rb +329 -316
- data/lib/latest/modules/subscriptions_profile_module.rb +67 -54
- data/lib/latest/modules/textanalytics_profile_module.rb +105 -0
- data/lib/latest/modules/trafficmanager_profile_module.rb +140 -124
- data/lib/latest/modules/videosearch_profile_module.rb +175 -0
- data/lib/latest/modules/web_profile_module.rb +1289 -1138
- data/lib/latest/modules/websearch_profile_module.rb +211 -0
- data/lib/v2017_03_09/module_definition.rb +1 -20
- data/lib/v2017_03_09/modules/compute_profile_module.rb +437 -424
- data/lib/v2017_03_09/modules/features_profile_module.rb +41 -28
- data/lib/v2017_03_09/modules/links_profile_module.rb +49 -36
- data/lib/v2017_03_09/modules/locks_profile_module.rb +41 -28
- data/lib/v2017_03_09/modules/network_profile_module.rb +535 -522
- data/lib/v2017_03_09/modules/policy_profile_module.rb +51 -38
- data/lib/v2017_03_09/modules/resources_profile_module.rb +223 -210
- data/lib/v2017_03_09/modules/storage_profile_module.rb +143 -130
- data/lib/v2017_03_09/modules/subscriptions_profile_module.rb +67 -54
- data/lib/v2017_03_09/v2017_03_09_profile_client.rb +103 -10
- metadata +312 -133
- 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
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
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
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
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
|
-
|
65
|
-
|
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
|
-
|
68
|
-
|
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
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
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
|
-
|
83
|
-
|
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
|
-
|
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
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
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
|
-
|
201
|
-
|
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
|
-
|
204
|
-
|
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
|
9
|
-
|
10
|
-
|
11
|
-
|
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
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
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
|
-
|
34
|
-
|
28
|
+
class PolicyManagementClass
|
29
|
+
attr_reader :policy_definitions, :policy_assignments, :policy_set_definitions, :configurable, :base_url, :options, :model_classes
|
35
30
|
|
36
|
-
|
37
|
-
|
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
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
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
|
-
|
50
|
-
|
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
|
-
|
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
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
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
|
-
|
81
|
-
|
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
|
-
|
84
|
-
|
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
|