azure_sdk 0.14.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/lib/azure_sdk.rb +2 -27
  3. data/lib/azure_sdk/version.rb +1 -1
  4. data/lib/{azure_sdk → common}/configurable.rb +0 -0
  5. data/lib/{azure_sdk → common}/default.rb +0 -0
  6. data/lib/latest/latest_profile_client.rb +154 -0
  7. data/lib/latest/module_definition.rb +122 -0
  8. data/lib/latest/modules/analysisservices_profile_module.rb +104 -0
  9. data/lib/latest/modules/authorization_profile_module.rb +120 -0
  10. data/lib/latest/modules/automation_profile_module.rb +600 -0
  11. data/lib/latest/modules/batch_profile_module.rb +152 -0
  12. data/lib/latest/modules/billing_profile_module.rb +84 -0
  13. data/lib/latest/modules/cdn_profile_module.rb +236 -0
  14. data/lib/latest/modules/cognitiveservices_profile_module.rb +128 -0
  15. data/lib/latest/modules/commerce_profile_module.rb +86 -0
  16. data/lib/latest/modules/compute_profile_module.rb +734 -0
  17. data/lib/latest/modules/consumption_profile_module.rb +74 -0
  18. data/lib/latest/modules/containerinstance_profile_module.rb +126 -0
  19. data/lib/latest/modules/containerregistry_profile_module.rb +210 -0
  20. data/lib/latest/modules/containerservice_profile_module.rb +100 -0
  21. data/lib/latest/modules/customerinsights_profile_module.rb +484 -0
  22. data/lib/latest/modules/datalakeanalytics_profile_module.rb +172 -0
  23. data/lib/latest/modules/datalakestore_profile_module.rb +148 -0
  24. data/lib/latest/modules/devtestlabs_profile_module.rb +676 -0
  25. data/lib/latest/modules/dns_profile_module.rb +114 -0
  26. data/lib/latest/modules/eventgrid_profile_module.rb +146 -0
  27. data/lib/latest/modules/eventhub_profile_module.rb +172 -0
  28. data/lib/latest/modules/features_profile_module.rb +48 -0
  29. data/lib/latest/modules/graph_profile_module.rb +202 -0
  30. data/lib/latest/modules/iothub_profile_module.rb +272 -0
  31. data/lib/latest/modules/keyvault_profile_module.rb +108 -0
  32. data/lib/latest/modules/links_profile_module.rb +56 -0
  33. data/lib/latest/modules/locks_profile_module.rb +52 -0
  34. data/lib/latest/modules/logic_profile_module.rb +600 -0
  35. data/lib/latest/modules/machinelearning_profile_module.rb +184 -0
  36. data/lib/latest/modules/managedapplications_profile_module.rb +110 -0
  37. data/lib/latest/modules/marketplaceordering_profile_module.rb +66 -0
  38. data/lib/latest/modules/mediaservices_profile_module.rb +110 -0
  39. data/lib/latest/modules/mobileengagement_profile_module.rb +404 -0
  40. data/lib/latest/modules/monitor_profile_module.rb +347 -0
  41. data/lib/latest/modules/network_profile_module.rb +1168 -0
  42. data/lib/latest/modules/notificationhubs_profile_module.rb +162 -0
  43. data/lib/latest/modules/operationalinsights_profile_module.rb +209 -0
  44. data/lib/latest/modules/policy_profile_module.rb +89 -0
  45. data/lib/latest/modules/powerbiembedded_profile_module.rb +114 -0
  46. data/lib/latest/modules/recoveryservices_profile_module.rb +209 -0
  47. data/lib/latest/modules/recoveryservicesbackup_profile_module.rb +750 -0
  48. data/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb +1374 -0
  49. data/lib/latest/modules/redis_profile_module.rb +172 -0
  50. data/lib/latest/modules/relay_profile_module.rb +150 -0
  51. data/lib/latest/modules/resources_profile_module.rb +234 -0
  52. data/lib/latest/modules/resourcesmanagement_profile_module.rb +94 -0
  53. data/lib/latest/modules/scheduler_profile_module.rb +218 -0
  54. data/lib/latest/modules/search_profile_module.rb +96 -0
  55. data/lib/latest/modules/servermanagement_profile_module.rb +162 -0
  56. data/lib/latest/modules/servicebus_profile_module.rb +254 -0
  57. data/lib/latest/modules/servicefabric_profile_module.rb +140 -0
  58. data/lib/latest/modules/sql_profile_module.rb +940 -0
  59. data/lib/latest/modules/storage_profile_module.rb +270 -0
  60. data/lib/latest/modules/storsimple8000series_profile_module.rb +702 -0
  61. data/lib/latest/modules/streamanalytics_profile_module.rb +336 -0
  62. data/lib/latest/modules/subscriptions_profile_module.rb +74 -0
  63. data/lib/latest/modules/trafficmanager_profile_module.rb +145 -0
  64. data/lib/latest/modules/web_profile_module.rb +1162 -0
  65. data/lib/v2017_03_09/module_definition.rb +26 -0
  66. data/lib/v2017_03_09/modules/compute_profile_module.rb +444 -0
  67. data/lib/v2017_03_09/modules/features_profile_module.rb +48 -0
  68. data/lib/v2017_03_09/modules/links_profile_module.rb +56 -0
  69. data/lib/v2017_03_09/modules/locks_profile_module.rb +48 -0
  70. data/lib/v2017_03_09/modules/network_profile_module.rb +542 -0
  71. data/lib/v2017_03_09/modules/policy_profile_module.rb +58 -0
  72. data/lib/v2017_03_09/modules/resources_profile_module.rb +230 -0
  73. data/lib/v2017_03_09/modules/storage_profile_module.rb +114 -0
  74. data/lib/v2017_03_09/modules/subscriptions_profile_module.rb +74 -0
  75. data/lib/v2017_03_09/v2017_03_09_profile_client.rb +58 -0
  76. metadata +210 -127
  77. data/lib/azure_sdk/client.rb +0 -207
@@ -0,0 +1,162 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require 'azure_mgmt_notification_hubs'
6
+
7
+ module Azure::Profiles::Latest
8
+ module NotificationHubs::Mgmt
9
+ Namespaces = Azure::NotificationHubs::Mgmt::V2017_04_01::Namespaces
10
+ Name = Azure::NotificationHubs::Mgmt::V2017_04_01::Name
11
+ NotificationHubs = Azure::NotificationHubs::Mgmt::V2017_04_01::NotificationHubs
12
+ Hubs = Azure::NotificationHubs::Mgmt::V2017_04_01::Hubs
13
+
14
+ module Models
15
+ ResourceListKeys = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ResourceListKeys
16
+ PolicykeyResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PolicykeyResource
17
+ CheckNameAvailabilityResponse = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResponse
18
+ ApnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ApnsCredential
19
+ CheckAvailabilityParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters
20
+ WnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::WnsCredential
21
+ CheckNameAvailabilityRequestParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckNameAvailabilityRequestParameters
22
+ NamespacePatchParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespacePatchParameters
23
+ Sku = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Sku
24
+ SharedAccessAuthorizationRuleProperties = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleProperties
25
+ SubResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SubResource
26
+ BaiduCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::BaiduCredential
27
+ NamespaceListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceListResult
28
+ NotificationHubListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubListResult
29
+ GcmCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential
30
+ SharedAccessAuthorizationRuleListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleListResult
31
+ MpnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::MpnsCredential
32
+ Resource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Resource
33
+ AdmCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::AdmCredential
34
+ CheckAvailabilityResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityResult
35
+ NamespaceCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceCreateOrUpdateParameters
36
+ NamespaceResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceResource
37
+ SharedAccessAuthorizationRuleCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters
38
+ SharedAccessAuthorizationRuleResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleResource
39
+ NotificationHubCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubCreateOrUpdateParameters
40
+ NotificationHubResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubResource
41
+ PnsCredentialsResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PnsCredentialsResource
42
+ SkuName = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SkuName
43
+ NamespaceType = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceType
44
+ AccessRights = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::AccessRights
45
+ end
46
+
47
+ #
48
+ # NotificationHubs
49
+ #
50
+ class NotificationHubsClass
51
+ attr_reader :namespaces, :name, :notification_hubs, :hubs, :configurable, :base_url, :options, :model_classes
52
+
53
+ def initialize(configurable, base_url=nil, options=nil)
54
+ @configurable, @base_url, @options = configurable, base_url, options
55
+
56
+ client_0 = Azure::NotificationHubs::Mgmt::V2017_04_01::NotificationHubsManagementClient.new(configurable.credentials, base_url, options)
57
+ if(client_0.respond_to?(:subscription_id))
58
+ client_0.subscription_id = configurable.subscription_id
59
+ end
60
+ @namespaces = client_0.namespaces
61
+ @name = client_0.name
62
+ @notification_hubs = client_0.notification_hubs
63
+ @hubs = client_0.hubs
64
+
65
+ @model_classes = ModelClasses.new
66
+ end
67
+
68
+ class ModelClasses
69
+ def resource_list_keys
70
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ResourceListKeys
71
+ end
72
+ def policykey_resource
73
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PolicykeyResource
74
+ end
75
+ def check_name_availability_response
76
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResponse
77
+ end
78
+ def apns_credential
79
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ApnsCredential
80
+ end
81
+ def check_availability_parameters
82
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters
83
+ end
84
+ def wns_credential
85
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::WnsCredential
86
+ end
87
+ def check_name_availability_request_parameters
88
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckNameAvailabilityRequestParameters
89
+ end
90
+ def namespace_patch_parameters
91
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespacePatchParameters
92
+ end
93
+ def sku
94
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Sku
95
+ end
96
+ def shared_access_authorization_rule_properties
97
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleProperties
98
+ end
99
+ def sub_resource
100
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SubResource
101
+ end
102
+ def baidu_credential
103
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::BaiduCredential
104
+ end
105
+ def namespace_list_result
106
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceListResult
107
+ end
108
+ def notification_hub_list_result
109
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubListResult
110
+ end
111
+ def gcm_credential
112
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential
113
+ end
114
+ def shared_access_authorization_rule_list_result
115
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleListResult
116
+ end
117
+ def mpns_credential
118
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::MpnsCredential
119
+ end
120
+ def resource
121
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Resource
122
+ end
123
+ def adm_credential
124
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::AdmCredential
125
+ end
126
+ def check_availability_result
127
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityResult
128
+ end
129
+ def namespace_create_or_update_parameters
130
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceCreateOrUpdateParameters
131
+ end
132
+ def namespace_resource
133
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceResource
134
+ end
135
+ def shared_access_authorization_rule_create_or_update_parameters
136
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters
137
+ end
138
+ def shared_access_authorization_rule_resource
139
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleResource
140
+ end
141
+ def notification_hub_create_or_update_parameters
142
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubCreateOrUpdateParameters
143
+ end
144
+ def notification_hub_resource
145
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubResource
146
+ end
147
+ def pns_credentials_resource
148
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PnsCredentialsResource
149
+ end
150
+ def sku_name
151
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SkuName
152
+ end
153
+ def namespace_type
154
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceType
155
+ end
156
+ def access_rights
157
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::AccessRights
158
+ end
159
+ end
160
+ end
161
+ end
162
+ end
@@ -0,0 +1,209 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require 'azure_mgmt_operational_insights'
6
+
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
14
+
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
63
+
64
+ def initialize(configurable, base_url=nil, options=nil)
65
+ @configurable, @base_url, @options = configurable, base_url, options
66
+
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
73
+
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
81
+
82
+ @model_classes = ModelClasses.new
83
+ end
84
+
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
139
+ 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
199
+ end
200
+ def sku_name_enum
201
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SkuNameEnum
202
+ end
203
+ def entity_status
204
+ Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::EntityStatus
205
+ end
206
+ end
207
+ end
208
+ end
209
+ end
@@ -0,0 +1,89 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require 'azure_mgmt_policy'
6
+
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
12
+
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
32
+
33
+ def initialize(configurable, base_url=nil, options=nil)
34
+ @configurable, @base_url, @options = configurable, base_url, options
35
+
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
41
+
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
48
+
49
+ @model_classes = ModelClasses.new
50
+ end
51
+
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
61
+ 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
79
+ end
80
+ def policy_assignment_list_result
81
+ Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyAssignmentListResult
82
+ end
83
+ def policy_type
84
+ Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyType
85
+ end
86
+ end
87
+ end
88
+ end
89
+ end