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.
- checksums.yaml +4 -4
- data/lib/azure_sdk.rb +2 -27
- data/lib/azure_sdk/version.rb +1 -1
- data/lib/{azure_sdk → common}/configurable.rb +0 -0
- data/lib/{azure_sdk → common}/default.rb +0 -0
- data/lib/latest/latest_profile_client.rb +154 -0
- data/lib/latest/module_definition.rb +122 -0
- data/lib/latest/modules/analysisservices_profile_module.rb +104 -0
- data/lib/latest/modules/authorization_profile_module.rb +120 -0
- data/lib/latest/modules/automation_profile_module.rb +600 -0
- data/lib/latest/modules/batch_profile_module.rb +152 -0
- data/lib/latest/modules/billing_profile_module.rb +84 -0
- data/lib/latest/modules/cdn_profile_module.rb +236 -0
- data/lib/latest/modules/cognitiveservices_profile_module.rb +128 -0
- data/lib/latest/modules/commerce_profile_module.rb +86 -0
- data/lib/latest/modules/compute_profile_module.rb +734 -0
- data/lib/latest/modules/consumption_profile_module.rb +74 -0
- data/lib/latest/modules/containerinstance_profile_module.rb +126 -0
- data/lib/latest/modules/containerregistry_profile_module.rb +210 -0
- data/lib/latest/modules/containerservice_profile_module.rb +100 -0
- data/lib/latest/modules/customerinsights_profile_module.rb +484 -0
- data/lib/latest/modules/datalakeanalytics_profile_module.rb +172 -0
- data/lib/latest/modules/datalakestore_profile_module.rb +148 -0
- data/lib/latest/modules/devtestlabs_profile_module.rb +676 -0
- data/lib/latest/modules/dns_profile_module.rb +114 -0
- data/lib/latest/modules/eventgrid_profile_module.rb +146 -0
- data/lib/latest/modules/eventhub_profile_module.rb +172 -0
- data/lib/latest/modules/features_profile_module.rb +48 -0
- data/lib/latest/modules/graph_profile_module.rb +202 -0
- data/lib/latest/modules/iothub_profile_module.rb +272 -0
- data/lib/latest/modules/keyvault_profile_module.rb +108 -0
- data/lib/latest/modules/links_profile_module.rb +56 -0
- data/lib/latest/modules/locks_profile_module.rb +52 -0
- data/lib/latest/modules/logic_profile_module.rb +600 -0
- data/lib/latest/modules/machinelearning_profile_module.rb +184 -0
- data/lib/latest/modules/managedapplications_profile_module.rb +110 -0
- data/lib/latest/modules/marketplaceordering_profile_module.rb +66 -0
- data/lib/latest/modules/mediaservices_profile_module.rb +110 -0
- data/lib/latest/modules/mobileengagement_profile_module.rb +404 -0
- data/lib/latest/modules/monitor_profile_module.rb +347 -0
- data/lib/latest/modules/network_profile_module.rb +1168 -0
- data/lib/latest/modules/notificationhubs_profile_module.rb +162 -0
- data/lib/latest/modules/operationalinsights_profile_module.rb +209 -0
- data/lib/latest/modules/policy_profile_module.rb +89 -0
- data/lib/latest/modules/powerbiembedded_profile_module.rb +114 -0
- data/lib/latest/modules/recoveryservices_profile_module.rb +209 -0
- data/lib/latest/modules/recoveryservicesbackup_profile_module.rb +750 -0
- data/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb +1374 -0
- data/lib/latest/modules/redis_profile_module.rb +172 -0
- data/lib/latest/modules/relay_profile_module.rb +150 -0
- data/lib/latest/modules/resources_profile_module.rb +234 -0
- data/lib/latest/modules/resourcesmanagement_profile_module.rb +94 -0
- data/lib/latest/modules/scheduler_profile_module.rb +218 -0
- data/lib/latest/modules/search_profile_module.rb +96 -0
- data/lib/latest/modules/servermanagement_profile_module.rb +162 -0
- data/lib/latest/modules/servicebus_profile_module.rb +254 -0
- data/lib/latest/modules/servicefabric_profile_module.rb +140 -0
- data/lib/latest/modules/sql_profile_module.rb +940 -0
- data/lib/latest/modules/storage_profile_module.rb +270 -0
- data/lib/latest/modules/storsimple8000series_profile_module.rb +702 -0
- data/lib/latest/modules/streamanalytics_profile_module.rb +336 -0
- data/lib/latest/modules/subscriptions_profile_module.rb +74 -0
- data/lib/latest/modules/trafficmanager_profile_module.rb +145 -0
- data/lib/latest/modules/web_profile_module.rb +1162 -0
- data/lib/v2017_03_09/module_definition.rb +26 -0
- data/lib/v2017_03_09/modules/compute_profile_module.rb +444 -0
- data/lib/v2017_03_09/modules/features_profile_module.rb +48 -0
- data/lib/v2017_03_09/modules/links_profile_module.rb +56 -0
- data/lib/v2017_03_09/modules/locks_profile_module.rb +48 -0
- data/lib/v2017_03_09/modules/network_profile_module.rb +542 -0
- data/lib/v2017_03_09/modules/policy_profile_module.rb +58 -0
- data/lib/v2017_03_09/modules/resources_profile_module.rb +230 -0
- data/lib/v2017_03_09/modules/storage_profile_module.rb +114 -0
- data/lib/v2017_03_09/modules/subscriptions_profile_module.rb +74 -0
- data/lib/v2017_03_09/v2017_03_09_profile_client.rb +58 -0
- metadata +210 -127
- data/lib/azure_sdk/client.rb +0 -207
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7fda59a3a902c4e771487035218bbed109e51bff
|
4
|
+
data.tar.gz: 8c2e7e59d178cf1243efd1eaa5df33c365765315
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5232f5ea4d9c6a9119b2247fb8597a094547747d8a481a10fb37b54e38929b654657299427a754998e8b87b231e346717e4be78c652c193fb1a742b86aae6609
|
7
|
+
data.tar.gz: 25f2a974dcb42c467c470d2319c845bdafb7ab35cd12dec5e44d21bc883bdeda7f4c9c816d6b52ac1a28040736861f74ac0e714b6c68db46e82479d69cb0ad1a
|
data/lib/azure_sdk.rb
CHANGED
@@ -2,30 +2,5 @@
|
|
2
2
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
3
|
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
4
|
|
5
|
-
require '
|
6
|
-
require '
|
7
|
-
|
8
|
-
module Azure::ARM
|
9
|
-
autoload :Client, 'azure_sdk/client'
|
10
|
-
autoload :Configurable, 'azure_sdk/configurable'
|
11
|
-
autoload :Default, 'azure_sdk/default'
|
12
|
-
|
13
|
-
class << self
|
14
|
-
include Azure::ARM::Configurable
|
15
|
-
|
16
|
-
# API client based on configured options {Configurable}
|
17
|
-
#
|
18
|
-
# @return [Azure::Client] API wrapper
|
19
|
-
def client(options = {})
|
20
|
-
@client = Azure::ARM::Client.new(options) unless defined?(@client) && @client.same_options?(options)
|
21
|
-
@client
|
22
|
-
end
|
23
|
-
|
24
|
-
private
|
25
|
-
|
26
|
-
def method_missing(method_name, *args, &block)
|
27
|
-
return super unless client.respond_to?(method_name)
|
28
|
-
client.send(method_name, *args, &block)
|
29
|
-
end
|
30
|
-
end
|
31
|
-
end
|
5
|
+
require 'latest/latest_profile_client'
|
6
|
+
require 'v2017_03_09/v2017_03_09_profile_client'
|
data/lib/azure_sdk/version.rb
CHANGED
File without changes
|
File without changes
|
@@ -0,0 +1,154 @@
|
|
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 'latest/module_definition'
|
6
|
+
require 'latest/modules/analysisservices_profile_module'
|
7
|
+
require 'latest/modules/authorization_profile_module'
|
8
|
+
require 'latest/modules/automation_profile_module'
|
9
|
+
require 'latest/modules/batch_profile_module'
|
10
|
+
require 'latest/modules/billing_profile_module'
|
11
|
+
require 'latest/modules/cdn_profile_module'
|
12
|
+
require 'latest/modules/cognitiveservices_profile_module'
|
13
|
+
require 'latest/modules/commerce_profile_module'
|
14
|
+
require 'latest/modules/compute_profile_module'
|
15
|
+
require 'latest/modules/consumption_profile_module'
|
16
|
+
require 'latest/modules/containerinstance_profile_module'
|
17
|
+
require 'latest/modules/containerregistry_profile_module'
|
18
|
+
require 'latest/modules/containerservice_profile_module'
|
19
|
+
require 'latest/modules/customerinsights_profile_module'
|
20
|
+
require 'latest/modules/datalakeanalytics_profile_module'
|
21
|
+
require 'latest/modules/datalakestore_profile_module'
|
22
|
+
require 'latest/modules/devtestlabs_profile_module'
|
23
|
+
require 'latest/modules/dns_profile_module'
|
24
|
+
require 'latest/modules/eventgrid_profile_module'
|
25
|
+
require 'latest/modules/eventhub_profile_module'
|
26
|
+
require 'latest/modules/features_profile_module'
|
27
|
+
require 'latest/modules/graph_profile_module'
|
28
|
+
require 'latest/modules/iothub_profile_module'
|
29
|
+
require 'latest/modules/keyvault_profile_module'
|
30
|
+
require 'latest/modules/links_profile_module'
|
31
|
+
require 'latest/modules/locks_profile_module'
|
32
|
+
require 'latest/modules/logic_profile_module'
|
33
|
+
require 'latest/modules/machinelearning_profile_module'
|
34
|
+
require 'latest/modules/managedapplications_profile_module'
|
35
|
+
require 'latest/modules/marketplaceordering_profile_module'
|
36
|
+
require 'latest/modules/mediaservices_profile_module'
|
37
|
+
require 'latest/modules/mobileengagement_profile_module'
|
38
|
+
require 'latest/modules/monitor_profile_module'
|
39
|
+
require 'latest/modules/network_profile_module'
|
40
|
+
require 'latest/modules/notificationhubs_profile_module'
|
41
|
+
require 'latest/modules/operationalinsights_profile_module'
|
42
|
+
require 'latest/modules/policy_profile_module'
|
43
|
+
require 'latest/modules/powerbiembedded_profile_module'
|
44
|
+
require 'latest/modules/recoveryservices_profile_module'
|
45
|
+
require 'latest/modules/recoveryservicesbackup_profile_module'
|
46
|
+
require 'latest/modules/recoveryservicessiterecovery_profile_module'
|
47
|
+
require 'latest/modules/redis_profile_module'
|
48
|
+
require 'latest/modules/relay_profile_module'
|
49
|
+
require 'latest/modules/resources_profile_module'
|
50
|
+
require 'latest/modules/resourcesmanagement_profile_module'
|
51
|
+
require 'latest/modules/scheduler_profile_module'
|
52
|
+
require 'latest/modules/search_profile_module'
|
53
|
+
require 'latest/modules/servermanagement_profile_module'
|
54
|
+
require 'latest/modules/servicebus_profile_module'
|
55
|
+
require 'latest/modules/servicefabric_profile_module'
|
56
|
+
require 'latest/modules/sql_profile_module'
|
57
|
+
require 'latest/modules/storsimple8000series_profile_module'
|
58
|
+
require 'latest/modules/storage_profile_module'
|
59
|
+
require 'latest/modules/streamanalytics_profile_module'
|
60
|
+
require 'latest/modules/subscriptions_profile_module'
|
61
|
+
require 'latest/modules/trafficmanager_profile_module'
|
62
|
+
require 'latest/modules/web_profile_module'
|
63
|
+
require 'common/configurable'
|
64
|
+
require 'common/default'
|
65
|
+
|
66
|
+
module Azure::Profiles::Latest::Mgmt
|
67
|
+
#
|
68
|
+
# Client class for the Latest profile SDK.
|
69
|
+
#
|
70
|
+
class Client
|
71
|
+
include Azure::ARM::Configurable
|
72
|
+
|
73
|
+
attr_reader :analysis_services, :authorization, :automation, :batch, :billing, :cdn, :cognitive_services, :commerce, :compute, :consumption, :container_instance, :container_registry, :container_service, :customer_insights, :data_lake_analytics, :data_lake_store, :dev_test_labs, :dns, :event_grid, :event_hub, :features, :graph, :iot_hub, :key_vault, :links, :locks, :logic, :machine_learning, :managed_applications, :marketplace_ordering, :media_services, :mobile_engagement, :monitor, :network, :notification_hubs, :operational_insights, :policy, :power_bi_embedded, :recovery_services, :recovery_services_backup, :recovery_services_site_recovery, :redis, :relay, :resources, :resources_management, :scheduler, :search, :server_management, :service_bus, :service_fabric, :sql, :stor_simple8000_series, :storage, :stream_analytics, :subscriptions, :traffic_manager, :web
|
74
|
+
|
75
|
+
def initialize(options = {})
|
76
|
+
if options.is_a?(Hash) && options.length == 0
|
77
|
+
@options = setup_options
|
78
|
+
else
|
79
|
+
@options = options
|
80
|
+
end
|
81
|
+
|
82
|
+
reset!(options)
|
83
|
+
|
84
|
+
@analysis_services = Azure::Profiles::Latest::AnalysisServices::Mgmt::AnalysisServicesClass.new(self)
|
85
|
+
@authorization = Azure::Profiles::Latest::Authorization::Mgmt::AuthorizationClass.new(self)
|
86
|
+
@automation = Azure::Profiles::Latest::Automation::Mgmt::AutomationClass.new(self)
|
87
|
+
@batch = Azure::Profiles::Latest::Batch::Mgmt::BatchClass.new(self)
|
88
|
+
@billing = Azure::Profiles::Latest::Billing::Mgmt::BillingClass.new(self)
|
89
|
+
@cdn = Azure::Profiles::Latest::CDN::Mgmt::CDNClass.new(self)
|
90
|
+
@cognitive_services = Azure::Profiles::Latest::CognitiveServices::Mgmt::CognitiveServicesClass.new(self)
|
91
|
+
@commerce = Azure::Profiles::Latest::Commerce::Mgmt::CommerceClass.new(self)
|
92
|
+
@compute = Azure::Profiles::Latest::Compute::Mgmt::ComputeClass.new(self)
|
93
|
+
@consumption = Azure::Profiles::Latest::Consumption::Mgmt::ConsumptionClass.new(self)
|
94
|
+
@container_instance = Azure::Profiles::Latest::ContainerInstance::Mgmt::ContainerInstanceClass.new(self)
|
95
|
+
@container_registry = Azure::Profiles::Latest::ContainerRegistry::Mgmt::ContainerRegistryClass.new(self)
|
96
|
+
@container_service = Azure::Profiles::Latest::ContainerService::Mgmt::ContainerServiceClass.new(self)
|
97
|
+
@customer_insights = Azure::Profiles::Latest::CustomerInsights::Mgmt::CustomerInsightsClass.new(self)
|
98
|
+
@data_lake_analytics = Azure::Profiles::Latest::DataLakeAnalytics::Mgmt::DataLakeAnalyticsClass.new(self)
|
99
|
+
@data_lake_store = Azure::Profiles::Latest::DataLakeStore::Mgmt::DataLakeStoreClass.new(self)
|
100
|
+
@dev_test_labs = Azure::Profiles::Latest::DevTestLabs::Mgmt::DevTestLabsClass.new(self)
|
101
|
+
@dns = Azure::Profiles::Latest::Dns::Mgmt::DnsClass.new(self)
|
102
|
+
@event_grid = Azure::Profiles::Latest::EventGrid::Mgmt::EventGridClass.new(self)
|
103
|
+
@event_hub = Azure::Profiles::Latest::EventHub::Mgmt::EventHubClass.new(self)
|
104
|
+
@features = Azure::Profiles::Latest::Features::Mgmt::FeaturesClass.new(self)
|
105
|
+
@graph = Azure::Profiles::Latest::Graph::Mgmt::GraphClass.new(self)
|
106
|
+
@iot_hub = Azure::Profiles::Latest::IotHub::Mgmt::IotHubClass.new(self)
|
107
|
+
@key_vault = Azure::Profiles::Latest::KeyVault::Mgmt::KeyVaultClass.new(self)
|
108
|
+
@links = Azure::Profiles::Latest::Links::Mgmt::LinksClass.new(self)
|
109
|
+
@locks = Azure::Profiles::Latest::Locks::Mgmt::LocksClass.new(self)
|
110
|
+
@logic = Azure::Profiles::Latest::Logic::Mgmt::LogicClass.new(self)
|
111
|
+
@machine_learning = Azure::Profiles::Latest::MachineLearning::Mgmt::MachineLearningClass.new(self)
|
112
|
+
@managed_applications = Azure::Profiles::Latest::ManagedApplications::Mgmt::ManagedApplicationsClass.new(self)
|
113
|
+
@marketplace_ordering = Azure::Profiles::Latest::MarketplaceOrdering::Mgmt::MarketplaceOrderingClass.new(self)
|
114
|
+
@media_services = Azure::Profiles::Latest::MediaServices::Mgmt::MediaServicesClass.new(self)
|
115
|
+
@mobile_engagement = Azure::Profiles::Latest::MobileEngagement::Mgmt::MobileEngagementClass.new(self)
|
116
|
+
@monitor = Azure::Profiles::Latest::Monitor::Mgmt::MonitorClass.new(self)
|
117
|
+
@network = Azure::Profiles::Latest::Network::Mgmt::NetworkClass.new(self)
|
118
|
+
@notification_hubs = Azure::Profiles::Latest::NotificationHubs::Mgmt::NotificationHubsClass.new(self)
|
119
|
+
@operational_insights = Azure::Profiles::Latest::OperationalInsights::Mgmt::OperationalInsightsClass.new(self)
|
120
|
+
@policy = Azure::Profiles::Latest::Policy::Mgmt::PolicyClass.new(self)
|
121
|
+
@power_bi_embedded = Azure::Profiles::Latest::PowerBiEmbedded::Mgmt::PowerBiEmbeddedClass.new(self)
|
122
|
+
@recovery_services = Azure::Profiles::Latest::RecoveryServices::Mgmt::RecoveryServicesClass.new(self)
|
123
|
+
@recovery_services_backup = Azure::Profiles::Latest::RecoveryServicesBackup::Mgmt::RecoveryServicesBackupClass.new(self)
|
124
|
+
@recovery_services_site_recovery = Azure::Profiles::Latest::RecoveryServicesSiteRecovery::Mgmt::RecoveryServicesSiteRecoveryClass.new(self)
|
125
|
+
@redis = Azure::Profiles::Latest::Redis::Mgmt::RedisClass.new(self)
|
126
|
+
@relay = Azure::Profiles::Latest::Relay::Mgmt::RelayClass.new(self)
|
127
|
+
@resources = Azure::Profiles::Latest::Resources::Mgmt::ResourcesClass.new(self)
|
128
|
+
@resources_management = Azure::Profiles::Latest::ResourcesManagement::Mgmt::ResourcesManagementClass.new(self)
|
129
|
+
@scheduler = Azure::Profiles::Latest::Scheduler::Mgmt::SchedulerClass.new(self)
|
130
|
+
@search = Azure::Profiles::Latest::Search::Mgmt::SearchClass.new(self)
|
131
|
+
@server_management = Azure::Profiles::Latest::ServerManagement::Mgmt::ServerManagementClass.new(self)
|
132
|
+
@service_bus = Azure::Profiles::Latest::ServiceBus::Mgmt::ServiceBusClass.new(self)
|
133
|
+
@service_fabric = Azure::Profiles::Latest::ServiceFabric::Mgmt::ServiceFabricClass.new(self)
|
134
|
+
@sql = Azure::Profiles::Latest::SQL::Mgmt::SQLClass.new(self)
|
135
|
+
@stor_simple8000_series = Azure::Profiles::Latest::StorSimple8000Series::Mgmt::StorSimple8000SeriesClass.new(self)
|
136
|
+
@storage = Azure::Profiles::Latest::Storage::Mgmt::StorageClass.new(self)
|
137
|
+
@stream_analytics = Azure::Profiles::Latest::StreamAnalytics::Mgmt::StreamAnalyticsClass.new(self)
|
138
|
+
@subscriptions = Azure::Profiles::Latest::Subscriptions::Mgmt::SubscriptionsClass.new(self)
|
139
|
+
@traffic_manager = Azure::Profiles::Latest::TrafficManager::Mgmt::TrafficManagerClass.new(self)
|
140
|
+
@web = Azure::Profiles::Latest::Web::Mgmt::WebClass.new(self)
|
141
|
+
end
|
142
|
+
|
143
|
+
def credentials
|
144
|
+
if @credentials.nil?
|
145
|
+
self.active_directory_settings ||= Azure::ARM::Default.active_directory_settings
|
146
|
+
|
147
|
+
@credentials = MsRest::TokenCredentials.new(
|
148
|
+
MsRestAzure::ApplicationTokenProvider.new(
|
149
|
+
self.tenant_id, self.client_id, self.client_secret, self.active_directory_settings))
|
150
|
+
end
|
151
|
+
@credentials
|
152
|
+
end
|
153
|
+
end
|
154
|
+
end
|
@@ -0,0 +1,122 @@
|
|
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
|
+
module Azure end
|
6
|
+
module Azure::Profiles end
|
7
|
+
module Azure::Profiles::Latest end
|
8
|
+
module Azure::Profiles::Latest::Mgmt end
|
9
|
+
module Azure::Profiles::Latest::AnalysisServices end
|
10
|
+
module Azure::Profiles::Latest::AnalysisServices::Mgmt end
|
11
|
+
module Azure::Profiles::Latest::Authorization end
|
12
|
+
module Azure::Profiles::Latest::Authorization::Mgmt end
|
13
|
+
module Azure::Profiles::Latest::Automation end
|
14
|
+
module Azure::Profiles::Latest::Automation::Mgmt end
|
15
|
+
module Azure::Profiles::Latest::Batch end
|
16
|
+
module Azure::Profiles::Latest::Batch::Mgmt end
|
17
|
+
module Azure::Profiles::Latest::Billing end
|
18
|
+
module Azure::Profiles::Latest::Billing::Mgmt end
|
19
|
+
module Azure::Profiles::Latest::CDN end
|
20
|
+
module Azure::Profiles::Latest::CDN::Mgmt end
|
21
|
+
module Azure::Profiles::Latest::CognitiveServices end
|
22
|
+
module Azure::Profiles::Latest::CognitiveServices::Mgmt end
|
23
|
+
module Azure::Profiles::Latest::Commerce end
|
24
|
+
module Azure::Profiles::Latest::Commerce::Mgmt end
|
25
|
+
module Azure::Profiles::Latest::Compute end
|
26
|
+
module Azure::Profiles::Latest::Compute::Mgmt end
|
27
|
+
module Azure::Profiles::Latest::Consumption end
|
28
|
+
module Azure::Profiles::Latest::Consumption::Mgmt end
|
29
|
+
module Azure::Profiles::Latest::ContainerInstance end
|
30
|
+
module Azure::Profiles::Latest::ContainerInstance::Mgmt end
|
31
|
+
module Azure::Profiles::Latest::ContainerRegistry end
|
32
|
+
module Azure::Profiles::Latest::ContainerRegistry::Mgmt end
|
33
|
+
module Azure::Profiles::Latest::ContainerService end
|
34
|
+
module Azure::Profiles::Latest::ContainerService::Mgmt end
|
35
|
+
module Azure::Profiles::Latest::CustomerInsights end
|
36
|
+
module Azure::Profiles::Latest::CustomerInsights::Mgmt end
|
37
|
+
module Azure::Profiles::Latest::DataLakeAnalytics end
|
38
|
+
module Azure::Profiles::Latest::DataLakeAnalytics::Mgmt end
|
39
|
+
module Azure::Profiles::Latest::DataLakeStore end
|
40
|
+
module Azure::Profiles::Latest::DataLakeStore::Mgmt end
|
41
|
+
module Azure::Profiles::Latest::DevTestLabs end
|
42
|
+
module Azure::Profiles::Latest::DevTestLabs::Mgmt end
|
43
|
+
module Azure::Profiles::Latest::Dns end
|
44
|
+
module Azure::Profiles::Latest::Dns::Mgmt end
|
45
|
+
module Azure::Profiles::Latest::EventGrid end
|
46
|
+
module Azure::Profiles::Latest::EventGrid::Mgmt end
|
47
|
+
module Azure::Profiles::Latest::EventHub end
|
48
|
+
module Azure::Profiles::Latest::EventHub::Mgmt end
|
49
|
+
module Azure::Profiles::Latest::Features end
|
50
|
+
module Azure::Profiles::Latest::Features::Mgmt end
|
51
|
+
module Azure::Profiles::Latest::Graph end
|
52
|
+
module Azure::Profiles::Latest::Graph::Mgmt end
|
53
|
+
module Azure::Profiles::Latest::IotHub end
|
54
|
+
module Azure::Profiles::Latest::IotHub::Mgmt end
|
55
|
+
module Azure::Profiles::Latest::KeyVault end
|
56
|
+
module Azure::Profiles::Latest::KeyVault::Mgmt end
|
57
|
+
module Azure::Profiles::Latest::Links end
|
58
|
+
module Azure::Profiles::Latest::Links::Mgmt end
|
59
|
+
module Azure::Profiles::Latest::Locks end
|
60
|
+
module Azure::Profiles::Latest::Locks::Mgmt end
|
61
|
+
module Azure::Profiles::Latest::Logic end
|
62
|
+
module Azure::Profiles::Latest::Logic::Mgmt end
|
63
|
+
module Azure::Profiles::Latest::MachineLearning end
|
64
|
+
module Azure::Profiles::Latest::MachineLearning::Mgmt end
|
65
|
+
module Azure::Profiles::Latest::ManagedApplications end
|
66
|
+
module Azure::Profiles::Latest::ManagedApplications::Mgmt end
|
67
|
+
module Azure::Profiles::Latest::MarketplaceOrdering end
|
68
|
+
module Azure::Profiles::Latest::MarketplaceOrdering::Mgmt end
|
69
|
+
module Azure::Profiles::Latest::MediaServices end
|
70
|
+
module Azure::Profiles::Latest::MediaServices::Mgmt end
|
71
|
+
module Azure::Profiles::Latest::MobileEngagement end
|
72
|
+
module Azure::Profiles::Latest::MobileEngagement::Mgmt end
|
73
|
+
module Azure::Profiles::Latest::Monitor end
|
74
|
+
module Azure::Profiles::Latest::Monitor::Mgmt end
|
75
|
+
module Azure::Profiles::Latest::Network end
|
76
|
+
module Azure::Profiles::Latest::Network::Mgmt end
|
77
|
+
module Azure::Profiles::Latest::NotificationHubs end
|
78
|
+
module Azure::Profiles::Latest::NotificationHubs::Mgmt end
|
79
|
+
module Azure::Profiles::Latest::OperationalInsights end
|
80
|
+
module Azure::Profiles::Latest::OperationalInsights::Mgmt end
|
81
|
+
module Azure::Profiles::Latest::Policy end
|
82
|
+
module Azure::Profiles::Latest::Policy::Mgmt end
|
83
|
+
module Azure::Profiles::Latest::PowerBiEmbedded end
|
84
|
+
module Azure::Profiles::Latest::PowerBiEmbedded::Mgmt end
|
85
|
+
module Azure::Profiles::Latest::RecoveryServices end
|
86
|
+
module Azure::Profiles::Latest::RecoveryServices::Mgmt end
|
87
|
+
module Azure::Profiles::Latest::RecoveryServicesBackup end
|
88
|
+
module Azure::Profiles::Latest::RecoveryServicesBackup::Mgmt end
|
89
|
+
module Azure::Profiles::Latest::RecoveryServicesSiteRecovery end
|
90
|
+
module Azure::Profiles::Latest::RecoveryServicesSiteRecovery::Mgmt end
|
91
|
+
module Azure::Profiles::Latest::Redis end
|
92
|
+
module Azure::Profiles::Latest::Redis::Mgmt end
|
93
|
+
module Azure::Profiles::Latest::Relay end
|
94
|
+
module Azure::Profiles::Latest::Relay::Mgmt end
|
95
|
+
module Azure::Profiles::Latest::Resources end
|
96
|
+
module Azure::Profiles::Latest::Resources::Mgmt end
|
97
|
+
module Azure::Profiles::Latest::ResourcesManagement end
|
98
|
+
module Azure::Profiles::Latest::ResourcesManagement::Mgmt end
|
99
|
+
module Azure::Profiles::Latest::Scheduler end
|
100
|
+
module Azure::Profiles::Latest::Scheduler::Mgmt end
|
101
|
+
module Azure::Profiles::Latest::Search end
|
102
|
+
module Azure::Profiles::Latest::Search::Mgmt end
|
103
|
+
module Azure::Profiles::Latest::ServerManagement end
|
104
|
+
module Azure::Profiles::Latest::ServerManagement::Mgmt end
|
105
|
+
module Azure::Profiles::Latest::ServiceBus end
|
106
|
+
module Azure::Profiles::Latest::ServiceBus::Mgmt end
|
107
|
+
module Azure::Profiles::Latest::ServiceFabric end
|
108
|
+
module Azure::Profiles::Latest::ServiceFabric::Mgmt end
|
109
|
+
module Azure::Profiles::Latest::SQL end
|
110
|
+
module Azure::Profiles::Latest::SQL::Mgmt end
|
111
|
+
module Azure::Profiles::Latest::StorSimple8000Series end
|
112
|
+
module Azure::Profiles::Latest::StorSimple8000Series::Mgmt end
|
113
|
+
module Azure::Profiles::Latest::Storage end
|
114
|
+
module Azure::Profiles::Latest::Storage::Mgmt end
|
115
|
+
module Azure::Profiles::Latest::StreamAnalytics end
|
116
|
+
module Azure::Profiles::Latest::StreamAnalytics::Mgmt end
|
117
|
+
module Azure::Profiles::Latest::Subscriptions end
|
118
|
+
module Azure::Profiles::Latest::Subscriptions::Mgmt end
|
119
|
+
module Azure::Profiles::Latest::TrafficManager end
|
120
|
+
module Azure::Profiles::Latest::TrafficManager::Mgmt end
|
121
|
+
module Azure::Profiles::Latest::Web end
|
122
|
+
module Azure::Profiles::Latest::Web::Mgmt end
|
@@ -0,0 +1,104 @@
|
|
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_analysis_services'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module AnalysisServices::Mgmt
|
9
|
+
Servers = Azure::AnalysisServices::Mgmt::V2017_07_14::Servers
|
10
|
+
|
11
|
+
module Models
|
12
|
+
AnalysisServicesServerUpdateParameters = Azure::AnalysisServices::Mgmt::V2017_07_14::Models::AnalysisServicesServerUpdateParameters
|
13
|
+
GatewayListStatusLive = Azure::AnalysisServices::Mgmt::V2017_07_14::Models::GatewayListStatusLive
|
14
|
+
Resource = Azure::AnalysisServices::Mgmt::V2017_07_14::Models::Resource
|
15
|
+
GatewayError = Azure::AnalysisServices::Mgmt::V2017_07_14::Models::GatewayError
|
16
|
+
AnalysisServicesServers = Azure::AnalysisServices::Mgmt::V2017_07_14::Models::AnalysisServicesServers
|
17
|
+
GatewayListStatusError = Azure::AnalysisServices::Mgmt::V2017_07_14::Models::GatewayListStatusError
|
18
|
+
GatewayDetails = Azure::AnalysisServices::Mgmt::V2017_07_14::Models::GatewayDetails
|
19
|
+
SkuEnumerationForNewResourceResult = Azure::AnalysisServices::Mgmt::V2017_07_14::Models::SkuEnumerationForNewResourceResult
|
20
|
+
ServerAdministrators = Azure::AnalysisServices::Mgmt::V2017_07_14::Models::ServerAdministrators
|
21
|
+
SkuDetailsForExistingResource = Azure::AnalysisServices::Mgmt::V2017_07_14::Models::SkuDetailsForExistingResource
|
22
|
+
ResourceSku = Azure::AnalysisServices::Mgmt::V2017_07_14::Models::ResourceSku
|
23
|
+
SkuEnumerationForExistingResourceResult = Azure::AnalysisServices::Mgmt::V2017_07_14::Models::SkuEnumerationForExistingResourceResult
|
24
|
+
AnalysisServicesServer = Azure::AnalysisServices::Mgmt::V2017_07_14::Models::AnalysisServicesServer
|
25
|
+
SkuTier = Azure::AnalysisServices::Mgmt::V2017_07_14::Models::SkuTier
|
26
|
+
State = Azure::AnalysisServices::Mgmt::V2017_07_14::Models::State
|
27
|
+
ProvisioningState = Azure::AnalysisServices::Mgmt::V2017_07_14::Models::ProvisioningState
|
28
|
+
Status = Azure::AnalysisServices::Mgmt::V2017_07_14::Models::Status
|
29
|
+
end
|
30
|
+
|
31
|
+
#
|
32
|
+
# AnalysisServices
|
33
|
+
#
|
34
|
+
class AnalysisServicesClass
|
35
|
+
attr_reader :servers, :configurable, :base_url, :options, :model_classes
|
36
|
+
|
37
|
+
def initialize(configurable, base_url=nil, options=nil)
|
38
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
39
|
+
|
40
|
+
client_0 = Azure::AnalysisServices::Mgmt::V2017_07_14::AnalysisServicesManagementClient.new(configurable.credentials, base_url, options)
|
41
|
+
if(client_0.respond_to?(:subscription_id))
|
42
|
+
client_0.subscription_id = configurable.subscription_id
|
43
|
+
end
|
44
|
+
@servers = client_0.servers
|
45
|
+
|
46
|
+
@model_classes = ModelClasses.new
|
47
|
+
end
|
48
|
+
|
49
|
+
class ModelClasses
|
50
|
+
def analysis_services_server_update_parameters
|
51
|
+
Azure::AnalysisServices::Mgmt::V2017_07_14::Models::AnalysisServicesServerUpdateParameters
|
52
|
+
end
|
53
|
+
def gateway_list_status_live
|
54
|
+
Azure::AnalysisServices::Mgmt::V2017_07_14::Models::GatewayListStatusLive
|
55
|
+
end
|
56
|
+
def resource
|
57
|
+
Azure::AnalysisServices::Mgmt::V2017_07_14::Models::Resource
|
58
|
+
end
|
59
|
+
def gateway_error
|
60
|
+
Azure::AnalysisServices::Mgmt::V2017_07_14::Models::GatewayError
|
61
|
+
end
|
62
|
+
def analysis_services_servers
|
63
|
+
Azure::AnalysisServices::Mgmt::V2017_07_14::Models::AnalysisServicesServers
|
64
|
+
end
|
65
|
+
def gateway_list_status_error
|
66
|
+
Azure::AnalysisServices::Mgmt::V2017_07_14::Models::GatewayListStatusError
|
67
|
+
end
|
68
|
+
def gateway_details
|
69
|
+
Azure::AnalysisServices::Mgmt::V2017_07_14::Models::GatewayDetails
|
70
|
+
end
|
71
|
+
def sku_enumeration_for_new_resource_result
|
72
|
+
Azure::AnalysisServices::Mgmt::V2017_07_14::Models::SkuEnumerationForNewResourceResult
|
73
|
+
end
|
74
|
+
def server_administrators
|
75
|
+
Azure::AnalysisServices::Mgmt::V2017_07_14::Models::ServerAdministrators
|
76
|
+
end
|
77
|
+
def sku_details_for_existing_resource
|
78
|
+
Azure::AnalysisServices::Mgmt::V2017_07_14::Models::SkuDetailsForExistingResource
|
79
|
+
end
|
80
|
+
def resource_sku
|
81
|
+
Azure::AnalysisServices::Mgmt::V2017_07_14::Models::ResourceSku
|
82
|
+
end
|
83
|
+
def sku_enumeration_for_existing_resource_result
|
84
|
+
Azure::AnalysisServices::Mgmt::V2017_07_14::Models::SkuEnumerationForExistingResourceResult
|
85
|
+
end
|
86
|
+
def analysis_services_server
|
87
|
+
Azure::AnalysisServices::Mgmt::V2017_07_14::Models::AnalysisServicesServer
|
88
|
+
end
|
89
|
+
def sku_tier
|
90
|
+
Azure::AnalysisServices::Mgmt::V2017_07_14::Models::SkuTier
|
91
|
+
end
|
92
|
+
def state
|
93
|
+
Azure::AnalysisServices::Mgmt::V2017_07_14::Models::State
|
94
|
+
end
|
95
|
+
def provisioning_state
|
96
|
+
Azure::AnalysisServices::Mgmt::V2017_07_14::Models::ProvisioningState
|
97
|
+
end
|
98
|
+
def status
|
99
|
+
Azure::AnalysisServices::Mgmt::V2017_07_14::Models::Status
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
104
|
+
end
|
@@ -0,0 +1,120 @@
|
|
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_authorization'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module Authorization::Mgmt
|
9
|
+
ClassicAdministrators = Azure::Authorization::Mgmt::V2015_07_01::ClassicAdministrators
|
10
|
+
Permissions = Azure::Authorization::Mgmt::V2015_07_01::Permissions
|
11
|
+
ProviderOperationsMetadataOperations = Azure::Authorization::Mgmt::V2015_07_01::ProviderOperationsMetadataOperations
|
12
|
+
RoleAssignments = Azure::Authorization::Mgmt::V2015_07_01::RoleAssignments
|
13
|
+
RoleDefinitions = Azure::Authorization::Mgmt::V2015_07_01::RoleDefinitions
|
14
|
+
|
15
|
+
module Models
|
16
|
+
ProviderOperationsMetadata = Azure::Authorization::Mgmt::V2015_07_01::Models::ProviderOperationsMetadata
|
17
|
+
ProviderOperationsMetadataListResult = Azure::Authorization::Mgmt::V2015_07_01::Models::ProviderOperationsMetadataListResult
|
18
|
+
RoleDefinitionFilter = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinitionFilter
|
19
|
+
RoleAssignmentPropertiesWithScope = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentPropertiesWithScope
|
20
|
+
ClassicAdministrator = Azure::Authorization::Mgmt::V2015_07_01::Models::ClassicAdministrator
|
21
|
+
RoleAssignment = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignment
|
22
|
+
Permission = Azure::Authorization::Mgmt::V2015_07_01::Models::Permission
|
23
|
+
RoleAssignmentListResult = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentListResult
|
24
|
+
ProviderOperation = Azure::Authorization::Mgmt::V2015_07_01::Models::ProviderOperation
|
25
|
+
RoleAssignmentProperties = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentProperties
|
26
|
+
RoleAssignmentFilter = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentFilter
|
27
|
+
RoleAssignmentCreateParameters = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentCreateParameters
|
28
|
+
ClassicAdministratorListResult = Azure::Authorization::Mgmt::V2015_07_01::Models::ClassicAdministratorListResult
|
29
|
+
RoleDefinitionProperties = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinitionProperties
|
30
|
+
ResourceType = Azure::Authorization::Mgmt::V2015_07_01::Models::ResourceType
|
31
|
+
RoleDefinition = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinition
|
32
|
+
PermissionGetResult = Azure::Authorization::Mgmt::V2015_07_01::Models::PermissionGetResult
|
33
|
+
RoleDefinitionListResult = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinitionListResult
|
34
|
+
ClassicAdministratorProperties = Azure::Authorization::Mgmt::V2015_07_01::Models::ClassicAdministratorProperties
|
35
|
+
end
|
36
|
+
|
37
|
+
#
|
38
|
+
# Authorization
|
39
|
+
#
|
40
|
+
class AuthorizationClass
|
41
|
+
attr_reader :classic_administrators, :permissions, :provider_operations_metadata_operations, :role_assignments, :role_definitions, :configurable, :base_url, :options, :model_classes
|
42
|
+
|
43
|
+
def initialize(configurable, base_url=nil, options=nil)
|
44
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
45
|
+
|
46
|
+
client_0 = Azure::Authorization::Mgmt::V2015_07_01::AuthorizationManagementClient.new(configurable.credentials, base_url, options)
|
47
|
+
if(client_0.respond_to?(:subscription_id))
|
48
|
+
client_0.subscription_id = configurable.subscription_id
|
49
|
+
end
|
50
|
+
@classic_administrators = client_0.classic_administrators
|
51
|
+
@permissions = client_0.permissions
|
52
|
+
@provider_operations_metadata_operations = client_0.provider_operations_metadata_operations
|
53
|
+
@role_assignments = client_0.role_assignments
|
54
|
+
@role_definitions = client_0.role_definitions
|
55
|
+
|
56
|
+
@model_classes = ModelClasses.new
|
57
|
+
end
|
58
|
+
|
59
|
+
class ModelClasses
|
60
|
+
def provider_operations_metadata
|
61
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::ProviderOperationsMetadata
|
62
|
+
end
|
63
|
+
def provider_operations_metadata_list_result
|
64
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::ProviderOperationsMetadataListResult
|
65
|
+
end
|
66
|
+
def role_definition_filter
|
67
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinitionFilter
|
68
|
+
end
|
69
|
+
def role_assignment_properties_with_scope
|
70
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentPropertiesWithScope
|
71
|
+
end
|
72
|
+
def classic_administrator
|
73
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::ClassicAdministrator
|
74
|
+
end
|
75
|
+
def role_assignment
|
76
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignment
|
77
|
+
end
|
78
|
+
def permission
|
79
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::Permission
|
80
|
+
end
|
81
|
+
def role_assignment_list_result
|
82
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentListResult
|
83
|
+
end
|
84
|
+
def provider_operation
|
85
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::ProviderOperation
|
86
|
+
end
|
87
|
+
def role_assignment_properties
|
88
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentProperties
|
89
|
+
end
|
90
|
+
def role_assignment_filter
|
91
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentFilter
|
92
|
+
end
|
93
|
+
def role_assignment_create_parameters
|
94
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentCreateParameters
|
95
|
+
end
|
96
|
+
def classic_administrator_list_result
|
97
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::ClassicAdministratorListResult
|
98
|
+
end
|
99
|
+
def role_definition_properties
|
100
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinitionProperties
|
101
|
+
end
|
102
|
+
def resource_type
|
103
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::ResourceType
|
104
|
+
end
|
105
|
+
def role_definition
|
106
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinition
|
107
|
+
end
|
108
|
+
def permission_get_result
|
109
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::PermissionGetResult
|
110
|
+
end
|
111
|
+
def role_definition_list_result
|
112
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinitionListResult
|
113
|
+
end
|
114
|
+
def classic_administrator_properties
|
115
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::ClassicAdministratorProperties
|
116
|
+
end
|
117
|
+
end
|
118
|
+
end
|
119
|
+
end
|
120
|
+
end
|