azure_sdk 0.17.10 → 0.17.11
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/version.rb +1 -1
- data/lib/latest/latest_profile_client.rb +33 -2
- data/lib/latest/modules/devspaces_profile_module.rb +119 -0
- data/lib/latest/modules/iotcentral_profile_module.rb +103 -0
- data/lib/latest/modules/keyvault_profile_module.rb +384 -0
- data/lib/latest/modules/security_profile_module.rb +121 -0
- metadata +62 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce94a7586910de53ceea87808fd2cbb92d8fd524
|
4
|
+
data.tar.gz: 85984cd71b91c2f48dd9e767ed557626dcc3d7fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f1d237743cfdd3fa449185c1af989d604e147d01a9fdf58c25e4860f7f7f796c7def8005a7a91a9e0a6d837d3cdf29565e527d66fcf2248450d3e1a7392d936
|
7
|
+
data.tar.gz: 1954d0ad26719c58b05b929550a71efcc2f07c521d17d75799960100fdd0e9bba8821286d10d45e11b47987028dda18c722db2338d85acaef7bb7e18dbcb1433
|
data/lib/azure_sdk/version.rb
CHANGED
@@ -20,12 +20,14 @@ require 'latest/modules/containerservice_profile_module'
|
|
20
20
|
require 'latest/modules/customerinsights_profile_module'
|
21
21
|
require 'latest/modules/datalakeanalytics_profile_module'
|
22
22
|
require 'latest/modules/datalakestore_profile_module'
|
23
|
+
require 'latest/modules/devspaces_profile_module'
|
23
24
|
require 'latest/modules/devtestlabs_profile_module'
|
24
25
|
require 'latest/modules/dns_profile_module'
|
25
26
|
require 'latest/modules/eventgrid_profile_module'
|
26
27
|
require 'latest/modules/eventhub_profile_module'
|
27
28
|
require 'latest/modules/features_profile_module'
|
28
29
|
require 'latest/modules/graphrbac_profile_module'
|
30
|
+
require 'latest/modules/iotcentral_profile_module'
|
29
31
|
require 'latest/modules/iothub_profile_module'
|
30
32
|
require 'latest/modules/keyvault_profile_module'
|
31
33
|
require 'latest/modules/links_profile_module'
|
@@ -53,6 +55,7 @@ require 'latest/modules/resources_profile_module'
|
|
53
55
|
require 'latest/modules/resourcesmanagement_profile_module'
|
54
56
|
require 'latest/modules/scheduler_profile_module'
|
55
57
|
require 'latest/modules/search_profile_module'
|
58
|
+
require 'latest/modules/security_profile_module'
|
56
59
|
require 'latest/modules/servermanagement_profile_module'
|
57
60
|
require 'latest/modules/servicebus_profile_module'
|
58
61
|
require 'latest/modules/servicefabric_profile_module'
|
@@ -83,7 +86,7 @@ module Azure::Profiles::Latest
|
|
83
86
|
class Client
|
84
87
|
include MsRestAzure::Common::Configurable
|
85
88
|
|
86
|
-
attr_reader :analysis_services, :api_management, :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_rbac, :iot_hub, :key_vault, :links, :locks, :logic, :machine_learning, :managed_applications, :marketplace_ordering, :media_services, :mobile_engagement, :monitor, :managed_service_identity, :network, :notification_hubs, :operational_insights, :policy, :policy_insights, :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, :signalr, :sql, :stor_simple8000_series, :storage, :stream_analytics, :subscriptions, :traffic_manager, :web, :computer_vision, :content_moderator, :custom_search, :entity_search, :face, :image_search, :news_search, :spell_check, :text_analytics, :video_search, :web_search
|
89
|
+
attr_reader :analysis_services, :api_management, :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_spaces, :dev_test_labs, :dns, :event_grid, :event_hub, :features, :graph_rbac, :iot_central, :iot_hub, :key_vault, :links, :locks, :logic, :machine_learning, :managed_applications, :marketplace_ordering, :media_services, :mobile_engagement, :monitor, :managed_service_identity, :network, :notification_hubs, :operational_insights, :policy, :policy_insights, :power_bi_embedded, :recovery_services, :recovery_services_backup, :recovery_services_site_recovery, :redis, :relay, :resources, :resources_management, :scheduler, :search, :security, :server_management, :service_bus, :service_fabric, :signalr, :sql, :stor_simple8000_series, :storage, :stream_analytics, :subscriptions, :traffic_manager, :web, :computer_vision, :content_moderator, :custom_search, :entity_search, :face, :image_search, :news_search, :spell_check, :text_analytics, :video_search, :web_search
|
87
90
|
|
88
91
|
#
|
89
92
|
# Initializes a new instance of the Client class.
|
@@ -132,12 +135,14 @@ module Azure::Profiles::Latest
|
|
132
135
|
@customer_insights = CustomerInsightsAdapter.new(self, base_url, sdk_options)
|
133
136
|
@data_lake_analytics = DataLakeAnalyticsAdapter.new(self, base_url, sdk_options)
|
134
137
|
@data_lake_store = DataLakeStoreAdapter.new(self, base_url, sdk_options)
|
138
|
+
@dev_spaces = DevSpacesAdapter.new(self, base_url, sdk_options)
|
135
139
|
@dev_test_labs = DevTestLabsAdapter.new(self, base_url, sdk_options)
|
136
140
|
@dns = DnsAdapter.new(self, base_url, sdk_options)
|
137
141
|
@event_grid = EventGridAdapter.new(self, base_url, sdk_options)
|
138
142
|
@event_hub = EventHubAdapter.new(self, base_url, sdk_options)
|
139
143
|
@features = FeaturesAdapter.new(self, base_url, sdk_options)
|
140
144
|
@graph_rbac = GraphRbacAdapter.new(self, base_url, sdk_options)
|
145
|
+
@iot_central = IotCentralAdapter.new(self, base_url, sdk_options)
|
141
146
|
@iot_hub = IotHubAdapter.new(self, base_url, sdk_options)
|
142
147
|
@key_vault = KeyVaultAdapter.new(self, base_url, sdk_options)
|
143
148
|
@links = LinksAdapter.new(self, base_url, sdk_options)
|
@@ -165,6 +170,7 @@ module Azure::Profiles::Latest
|
|
165
170
|
@resources_management = ResourcesManagementAdapter.new(self, base_url, sdk_options)
|
166
171
|
@scheduler = SchedulerAdapter.new(self, base_url, sdk_options)
|
167
172
|
@search = SearchAdapter.new(self, base_url, sdk_options)
|
173
|
+
@security = SecurityAdapter.new(self, base_url, sdk_options)
|
168
174
|
@server_management = ServerManagementAdapter.new(self, base_url, sdk_options)
|
169
175
|
@service_bus = ServiceBusAdapter.new(self, base_url, sdk_options)
|
170
176
|
@service_fabric = ServiceFabricAdapter.new(self, base_url, sdk_options)
|
@@ -325,6 +331,14 @@ module Azure::Profiles::Latest
|
|
325
331
|
end
|
326
332
|
end
|
327
333
|
|
334
|
+
class DevSpacesAdapter
|
335
|
+
attr_accessor :mgmt
|
336
|
+
|
337
|
+
def initialize(context, base_url, options)
|
338
|
+
@mgmt = Azure::Profiles::Latest::DevSpaces::Mgmt::DevSpacesManagementClass.new(context, base_url, options)
|
339
|
+
end
|
340
|
+
end
|
341
|
+
|
328
342
|
class DevTestLabsAdapter
|
329
343
|
attr_accessor :mgmt
|
330
344
|
|
@@ -373,6 +387,14 @@ module Azure::Profiles::Latest
|
|
373
387
|
end
|
374
388
|
end
|
375
389
|
|
390
|
+
class IotCentralAdapter
|
391
|
+
attr_accessor :mgmt
|
392
|
+
|
393
|
+
def initialize(context, base_url, options)
|
394
|
+
@mgmt = Azure::Profiles::Latest::IotCentral::Mgmt::IotCentralManagementClass.new(context, base_url, options)
|
395
|
+
end
|
396
|
+
end
|
397
|
+
|
376
398
|
class IotHubAdapter
|
377
399
|
attr_accessor :mgmt
|
378
400
|
|
@@ -381,10 +403,11 @@ module Azure::Profiles::Latest
|
|
381
403
|
end
|
382
404
|
end
|
383
405
|
|
384
|
-
class KeyVaultAdapter
|
406
|
+
class KeyVaultAdapter < Azure::Profiles::Latest::KeyVault::KeyVaultDataClass
|
385
407
|
attr_accessor :mgmt
|
386
408
|
|
387
409
|
def initialize(context, base_url, options)
|
410
|
+
super(context)
|
388
411
|
@mgmt = Azure::Profiles::Latest::KeyVault::Mgmt::KeyVaultManagementClass.new(context, base_url, options)
|
389
412
|
end
|
390
413
|
end
|
@@ -589,6 +612,14 @@ module Azure::Profiles::Latest
|
|
589
612
|
end
|
590
613
|
end
|
591
614
|
|
615
|
+
class SecurityAdapter
|
616
|
+
attr_accessor :mgmt
|
617
|
+
|
618
|
+
def initialize(context, base_url, options)
|
619
|
+
@mgmt = Azure::Profiles::Latest::Security::Mgmt::SecurityManagementClass.new(context, base_url, options)
|
620
|
+
end
|
621
|
+
end
|
622
|
+
|
592
623
|
class ServerManagementAdapter
|
593
624
|
attr_accessor :mgmt
|
594
625
|
|
@@ -0,0 +1,119 @@
|
|
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_dev_spaces'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module DevSpaces
|
9
|
+
module Mgmt
|
10
|
+
Controllers = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Controllers
|
11
|
+
Operations = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Operations
|
12
|
+
|
13
|
+
module Models
|
14
|
+
ControllerConnectionDetailsList = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerConnectionDetailsList
|
15
|
+
Sku = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::Sku
|
16
|
+
ErrorResponse = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ErrorResponse
|
17
|
+
ControllerUpdateParameters = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerUpdateParameters
|
18
|
+
ResourceProviderOperationDisplay = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ResourceProviderOperationDisplay
|
19
|
+
OrchestratorSpecificConnectionDetails = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::OrchestratorSpecificConnectionDetails
|
20
|
+
ResourceProviderOperationDefinition = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ResourceProviderOperationDefinition
|
21
|
+
ResourceProviderOperationList = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ResourceProviderOperationList
|
22
|
+
ControllerConnectionDetails = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerConnectionDetails
|
23
|
+
Resource = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::Resource
|
24
|
+
ControllerList = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerList
|
25
|
+
ErrorDetails = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ErrorDetails
|
26
|
+
TrackedResource = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::TrackedResource
|
27
|
+
Controller = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::Controller
|
28
|
+
KubernetesConnectionDetails = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::KubernetesConnectionDetails
|
29
|
+
ProvisioningState = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ProvisioningState
|
30
|
+
SkuTier = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::SkuTier
|
31
|
+
end
|
32
|
+
|
33
|
+
class DevSpacesManagementClass
|
34
|
+
attr_reader :controllers, :operations, :configurable, :base_url, :options, :model_classes
|
35
|
+
|
36
|
+
def initialize(configurable, base_url=nil, options=nil)
|
37
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
38
|
+
|
39
|
+
@client_0 = Azure::DevSpaces::Mgmt::V2018_06_01_preview::DevSpacesManagementClient.new(configurable.credentials, base_url, options)
|
40
|
+
if(@client_0.respond_to?(:subscription_id))
|
41
|
+
@client_0.subscription_id = configurable.subscription_id
|
42
|
+
end
|
43
|
+
add_telemetry(@client_0)
|
44
|
+
@controllers = @client_0.controllers
|
45
|
+
@operations = @client_0.operations
|
46
|
+
|
47
|
+
@model_classes = ModelClasses.new
|
48
|
+
end
|
49
|
+
|
50
|
+
def add_telemetry(client)
|
51
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/DevSpaces/Mgmt"
|
52
|
+
client.add_user_agent_information(profile_information)
|
53
|
+
end
|
54
|
+
|
55
|
+
def method_missing(method, *args)
|
56
|
+
if @client_0.respond_to?method
|
57
|
+
@client_0.send(method, *args)
|
58
|
+
else
|
59
|
+
super
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
class ModelClasses
|
64
|
+
def controller_connection_details_list
|
65
|
+
Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerConnectionDetailsList
|
66
|
+
end
|
67
|
+
def sku
|
68
|
+
Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::Sku
|
69
|
+
end
|
70
|
+
def error_response
|
71
|
+
Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ErrorResponse
|
72
|
+
end
|
73
|
+
def controller_update_parameters
|
74
|
+
Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerUpdateParameters
|
75
|
+
end
|
76
|
+
def resource_provider_operation_display
|
77
|
+
Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ResourceProviderOperationDisplay
|
78
|
+
end
|
79
|
+
def orchestrator_specific_connection_details
|
80
|
+
Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::OrchestratorSpecificConnectionDetails
|
81
|
+
end
|
82
|
+
def resource_provider_operation_definition
|
83
|
+
Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ResourceProviderOperationDefinition
|
84
|
+
end
|
85
|
+
def resource_provider_operation_list
|
86
|
+
Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ResourceProviderOperationList
|
87
|
+
end
|
88
|
+
def controller_connection_details
|
89
|
+
Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerConnectionDetails
|
90
|
+
end
|
91
|
+
def resource
|
92
|
+
Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::Resource
|
93
|
+
end
|
94
|
+
def controller_list
|
95
|
+
Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerList
|
96
|
+
end
|
97
|
+
def error_details
|
98
|
+
Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ErrorDetails
|
99
|
+
end
|
100
|
+
def tracked_resource
|
101
|
+
Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::TrackedResource
|
102
|
+
end
|
103
|
+
def controller
|
104
|
+
Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::Controller
|
105
|
+
end
|
106
|
+
def kubernetes_connection_details
|
107
|
+
Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::KubernetesConnectionDetails
|
108
|
+
end
|
109
|
+
def provisioning_state
|
110
|
+
Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ProvisioningState
|
111
|
+
end
|
112
|
+
def sku_tier
|
113
|
+
Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::SkuTier
|
114
|
+
end
|
115
|
+
end
|
116
|
+
end
|
117
|
+
end
|
118
|
+
end
|
119
|
+
end
|
@@ -0,0 +1,103 @@
|
|
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_iot_central'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module IotCentral
|
9
|
+
module Mgmt
|
10
|
+
Apps = Azure::IotCentral::Mgmt::V2017_07_01_privatepreview::Apps
|
11
|
+
Operations = Azure::IotCentral::Mgmt::V2017_07_01_privatepreview::Operations
|
12
|
+
|
13
|
+
module Models
|
14
|
+
AppListResult = Azure::IotCentral::Mgmt::V2017_07_01_privatepreview::Models::AppListResult
|
15
|
+
OperationDisplay = Azure::IotCentral::Mgmt::V2017_07_01_privatepreview::Models::OperationDisplay
|
16
|
+
AppPatch = Azure::IotCentral::Mgmt::V2017_07_01_privatepreview::Models::AppPatch
|
17
|
+
Operation = Azure::IotCentral::Mgmt::V2017_07_01_privatepreview::Models::Operation
|
18
|
+
ErrorDetails = Azure::IotCentral::Mgmt::V2017_07_01_privatepreview::Models::ErrorDetails
|
19
|
+
OperationListResult = Azure::IotCentral::Mgmt::V2017_07_01_privatepreview::Models::OperationListResult
|
20
|
+
Resource = Azure::IotCentral::Mgmt::V2017_07_01_privatepreview::Models::Resource
|
21
|
+
OperationInputs = Azure::IotCentral::Mgmt::V2017_07_01_privatepreview::Models::OperationInputs
|
22
|
+
AppSkuInfo = Azure::IotCentral::Mgmt::V2017_07_01_privatepreview::Models::AppSkuInfo
|
23
|
+
AppNameAvailabilityInfo = Azure::IotCentral::Mgmt::V2017_07_01_privatepreview::Models::AppNameAvailabilityInfo
|
24
|
+
App = Azure::IotCentral::Mgmt::V2017_07_01_privatepreview::Models::App
|
25
|
+
AppSku = Azure::IotCentral::Mgmt::V2017_07_01_privatepreview::Models::AppSku
|
26
|
+
AppNameUnavailabilityReason = Azure::IotCentral::Mgmt::V2017_07_01_privatepreview::Models::AppNameUnavailabilityReason
|
27
|
+
end
|
28
|
+
|
29
|
+
class IotCentralManagementClass
|
30
|
+
attr_reader :apps, :operations, :configurable, :base_url, :options, :model_classes
|
31
|
+
|
32
|
+
def initialize(configurable, base_url=nil, options=nil)
|
33
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
34
|
+
|
35
|
+
@client_0 = Azure::IotCentral::Mgmt::V2017_07_01_privatepreview::IotCentralClient.new(configurable.credentials, base_url, options)
|
36
|
+
if(@client_0.respond_to?(:subscription_id))
|
37
|
+
@client_0.subscription_id = configurable.subscription_id
|
38
|
+
end
|
39
|
+
add_telemetry(@client_0)
|
40
|
+
@apps = @client_0.apps
|
41
|
+
@operations = @client_0.operations
|
42
|
+
|
43
|
+
@model_classes = ModelClasses.new
|
44
|
+
end
|
45
|
+
|
46
|
+
def add_telemetry(client)
|
47
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/IotCentral/Mgmt"
|
48
|
+
client.add_user_agent_information(profile_information)
|
49
|
+
end
|
50
|
+
|
51
|
+
def method_missing(method, *args)
|
52
|
+
if @client_0.respond_to?method
|
53
|
+
@client_0.send(method, *args)
|
54
|
+
else
|
55
|
+
super
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
class ModelClasses
|
60
|
+
def app_list_result
|
61
|
+
Azure::IotCentral::Mgmt::V2017_07_01_privatepreview::Models::AppListResult
|
62
|
+
end
|
63
|
+
def operation_display
|
64
|
+
Azure::IotCentral::Mgmt::V2017_07_01_privatepreview::Models::OperationDisplay
|
65
|
+
end
|
66
|
+
def app_patch
|
67
|
+
Azure::IotCentral::Mgmt::V2017_07_01_privatepreview::Models::AppPatch
|
68
|
+
end
|
69
|
+
def operation
|
70
|
+
Azure::IotCentral::Mgmt::V2017_07_01_privatepreview::Models::Operation
|
71
|
+
end
|
72
|
+
def error_details
|
73
|
+
Azure::IotCentral::Mgmt::V2017_07_01_privatepreview::Models::ErrorDetails
|
74
|
+
end
|
75
|
+
def operation_list_result
|
76
|
+
Azure::IotCentral::Mgmt::V2017_07_01_privatepreview::Models::OperationListResult
|
77
|
+
end
|
78
|
+
def resource
|
79
|
+
Azure::IotCentral::Mgmt::V2017_07_01_privatepreview::Models::Resource
|
80
|
+
end
|
81
|
+
def operation_inputs
|
82
|
+
Azure::IotCentral::Mgmt::V2017_07_01_privatepreview::Models::OperationInputs
|
83
|
+
end
|
84
|
+
def app_sku_info
|
85
|
+
Azure::IotCentral::Mgmt::V2017_07_01_privatepreview::Models::AppSkuInfo
|
86
|
+
end
|
87
|
+
def app_name_availability_info
|
88
|
+
Azure::IotCentral::Mgmt::V2017_07_01_privatepreview::Models::AppNameAvailabilityInfo
|
89
|
+
end
|
90
|
+
def app
|
91
|
+
Azure::IotCentral::Mgmt::V2017_07_01_privatepreview::Models::App
|
92
|
+
end
|
93
|
+
def app_sku
|
94
|
+
Azure::IotCentral::Mgmt::V2017_07_01_privatepreview::Models::AppSku
|
95
|
+
end
|
96
|
+
def app_name_unavailability_reason
|
97
|
+
Azure::IotCentral::Mgmt::V2017_07_01_privatepreview::Models::AppNameUnavailabilityReason
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
@@ -3,9 +3,393 @@
|
|
3
3
|
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
4
|
|
5
5
|
require 'azure_mgmt_key_vault'
|
6
|
+
require 'azure_key_vault'
|
6
7
|
|
7
8
|
module Azure::Profiles::Latest
|
8
9
|
module KeyVault
|
10
|
+
|
11
|
+
module Models
|
12
|
+
KeyOperationsParameters = Azure::KeyVault::V2016_10_01::Models::KeyOperationsParameters
|
13
|
+
KeySignParameters = Azure::KeyVault::V2016_10_01::Models::KeySignParameters
|
14
|
+
JsonWebKey = Azure::KeyVault::V2016_10_01::Models::JsonWebKey
|
15
|
+
KeyVerifyParameters = Azure::KeyVault::V2016_10_01::Models::KeyVerifyParameters
|
16
|
+
KeyBundle = Azure::KeyVault::V2016_10_01::Models::KeyBundle
|
17
|
+
KeyUpdateParameters = Azure::KeyVault::V2016_10_01::Models::KeyUpdateParameters
|
18
|
+
KeyImportParameters = Azure::KeyVault::V2016_10_01::Models::KeyImportParameters
|
19
|
+
Attributes = Azure::KeyVault::V2016_10_01::Models::Attributes
|
20
|
+
KeyVaultError = Azure::KeyVault::V2016_10_01::Models::KeyVaultError
|
21
|
+
SecretBundle = Azure::KeyVault::V2016_10_01::Models::SecretBundle
|
22
|
+
StorageListResult = Azure::KeyVault::V2016_10_01::Models::StorageListResult
|
23
|
+
SasDefinitionUpdateParameters = Azure::KeyVault::V2016_10_01::Models::SasDefinitionUpdateParameters
|
24
|
+
KeyItem = Azure::KeyVault::V2016_10_01::Models::KeyItem
|
25
|
+
SecretRestoreParameters = Azure::KeyVault::V2016_10_01::Models::SecretRestoreParameters
|
26
|
+
SasDefinitionAttributes = Azure::KeyVault::V2016_10_01::Models::SasDefinitionAttributes
|
27
|
+
CertificateItem = Azure::KeyVault::V2016_10_01::Models::CertificateItem
|
28
|
+
KeyRestoreParameters = Azure::KeyVault::V2016_10_01::Models::KeyRestoreParameters
|
29
|
+
KeyProperties = Azure::KeyVault::V2016_10_01::Models::KeyProperties
|
30
|
+
SecretSetParameters = Azure::KeyVault::V2016_10_01::Models::SecretSetParameters
|
31
|
+
SubjectAlternativeNames = Azure::KeyVault::V2016_10_01::Models::SubjectAlternativeNames
|
32
|
+
SecretUpdateParameters = Azure::KeyVault::V2016_10_01::Models::SecretUpdateParameters
|
33
|
+
Trigger = Azure::KeyVault::V2016_10_01::Models::Trigger
|
34
|
+
CertificateCreateParameters = Azure::KeyVault::V2016_10_01::Models::CertificateCreateParameters
|
35
|
+
LifetimeAction = Azure::KeyVault::V2016_10_01::Models::LifetimeAction
|
36
|
+
CertificateImportParameters = Azure::KeyVault::V2016_10_01::Models::CertificateImportParameters
|
37
|
+
CertificatePolicy = Azure::KeyVault::V2016_10_01::Models::CertificatePolicy
|
38
|
+
CertificateUpdateParameters = Azure::KeyVault::V2016_10_01::Models::CertificateUpdateParameters
|
39
|
+
SasDefinitionItem = Azure::KeyVault::V2016_10_01::Models::SasDefinitionItem
|
40
|
+
CertificateMergeParameters = Azure::KeyVault::V2016_10_01::Models::CertificateMergeParameters
|
41
|
+
Error = Azure::KeyVault::V2016_10_01::Models::Error
|
42
|
+
CertificateIssuerSetParameters = Azure::KeyVault::V2016_10_01::Models::CertificateIssuerSetParameters
|
43
|
+
IssuerCredentials = Azure::KeyVault::V2016_10_01::Models::IssuerCredentials
|
44
|
+
CertificateIssuerUpdateParameters = Azure::KeyVault::V2016_10_01::Models::CertificateIssuerUpdateParameters
|
45
|
+
OrganizationDetails = Azure::KeyVault::V2016_10_01::Models::OrganizationDetails
|
46
|
+
CertificateOperationUpdateParameter = Azure::KeyVault::V2016_10_01::Models::CertificateOperationUpdateParameter
|
47
|
+
IssuerBundle = Azure::KeyVault::V2016_10_01::Models::IssuerBundle
|
48
|
+
KeyOperationResult = Azure::KeyVault::V2016_10_01::Models::KeyOperationResult
|
49
|
+
Contacts = Azure::KeyVault::V2016_10_01::Models::Contacts
|
50
|
+
KeyVerifyResult = Azure::KeyVault::V2016_10_01::Models::KeyVerifyResult
|
51
|
+
KeyListResult = Azure::KeyVault::V2016_10_01::Models::KeyListResult
|
52
|
+
SasDefinitionCreateParameters = Azure::KeyVault::V2016_10_01::Models::SasDefinitionCreateParameters
|
53
|
+
DeletedKeyListResult = Azure::KeyVault::V2016_10_01::Models::DeletedKeyListResult
|
54
|
+
CertificateIssuerItem = Azure::KeyVault::V2016_10_01::Models::CertificateIssuerItem
|
55
|
+
SecretListResult = Azure::KeyVault::V2016_10_01::Models::SecretListResult
|
56
|
+
X509CertificateProperties = Azure::KeyVault::V2016_10_01::Models::X509CertificateProperties
|
57
|
+
DeletedSecretListResult = Azure::KeyVault::V2016_10_01::Models::DeletedSecretListResult
|
58
|
+
IssuerParameters = Azure::KeyVault::V2016_10_01::Models::IssuerParameters
|
59
|
+
CertificateListResult = Azure::KeyVault::V2016_10_01::Models::CertificateListResult
|
60
|
+
SasDefinitionBundle = Azure::KeyVault::V2016_10_01::Models::SasDefinitionBundle
|
61
|
+
DeletedCertificateListResult = Azure::KeyVault::V2016_10_01::Models::DeletedCertificateListResult
|
62
|
+
AdministratorDetails = Azure::KeyVault::V2016_10_01::Models::AdministratorDetails
|
63
|
+
CertificateIssuerListResult = Azure::KeyVault::V2016_10_01::Models::CertificateIssuerListResult
|
64
|
+
Contact = Azure::KeyVault::V2016_10_01::Models::Contact
|
65
|
+
BackupKeyResult = Azure::KeyVault::V2016_10_01::Models::BackupKeyResult
|
66
|
+
SecretItem = Azure::KeyVault::V2016_10_01::Models::SecretItem
|
67
|
+
BackupSecretResult = Azure::KeyVault::V2016_10_01::Models::BackupSecretResult
|
68
|
+
SecretProperties = Azure::KeyVault::V2016_10_01::Models::SecretProperties
|
69
|
+
PendingCertificateSigningRequestResult = Azure::KeyVault::V2016_10_01::Models::PendingCertificateSigningRequestResult
|
70
|
+
CertificateBundle = Azure::KeyVault::V2016_10_01::Models::CertificateBundle
|
71
|
+
StorageAccountAttributes = Azure::KeyVault::V2016_10_01::Models::StorageAccountAttributes
|
72
|
+
IssuerAttributes = Azure::KeyVault::V2016_10_01::Models::IssuerAttributes
|
73
|
+
StorageBundle = Azure::KeyVault::V2016_10_01::Models::StorageBundle
|
74
|
+
SasDefinitionListResult = Azure::KeyVault::V2016_10_01::Models::SasDefinitionListResult
|
75
|
+
StorageAccountCreateParameters = Azure::KeyVault::V2016_10_01::Models::StorageAccountCreateParameters
|
76
|
+
CertificateOperation = Azure::KeyVault::V2016_10_01::Models::CertificateOperation
|
77
|
+
StorageAccountUpdateParameters = Azure::KeyVault::V2016_10_01::Models::StorageAccountUpdateParameters
|
78
|
+
Action = Azure::KeyVault::V2016_10_01::Models::Action
|
79
|
+
StorageAccountRegenerteKeyParameters = Azure::KeyVault::V2016_10_01::Models::StorageAccountRegenerteKeyParameters
|
80
|
+
KeyCreateParameters = Azure::KeyVault::V2016_10_01::Models::KeyCreateParameters
|
81
|
+
StorageAccountItem = Azure::KeyVault::V2016_10_01::Models::StorageAccountItem
|
82
|
+
KeyAttributes = Azure::KeyVault::V2016_10_01::Models::KeyAttributes
|
83
|
+
DeletedKeyBundle = Azure::KeyVault::V2016_10_01::Models::DeletedKeyBundle
|
84
|
+
DeletedKeyItem = Azure::KeyVault::V2016_10_01::Models::DeletedKeyItem
|
85
|
+
SecretAttributes = Azure::KeyVault::V2016_10_01::Models::SecretAttributes
|
86
|
+
DeletedSecretBundle = Azure::KeyVault::V2016_10_01::Models::DeletedSecretBundle
|
87
|
+
DeletedSecretItem = Azure::KeyVault::V2016_10_01::Models::DeletedSecretItem
|
88
|
+
CertificateAttributes = Azure::KeyVault::V2016_10_01::Models::CertificateAttributes
|
89
|
+
DeletedCertificateBundle = Azure::KeyVault::V2016_10_01::Models::DeletedCertificateBundle
|
90
|
+
DeletedCertificateItem = Azure::KeyVault::V2016_10_01::Models::DeletedCertificateItem
|
91
|
+
JsonWebKeyType = Azure::KeyVault::V2016_10_01::Models::JsonWebKeyType
|
92
|
+
JsonWebKeyCurveName = Azure::KeyVault::V2016_10_01::Models::JsonWebKeyCurveName
|
93
|
+
DeletionRecoveryLevel = Azure::KeyVault::V2016_10_01::Models::DeletionRecoveryLevel
|
94
|
+
KeyUsageType = Azure::KeyVault::V2016_10_01::Models::KeyUsageType
|
95
|
+
ActionType = Azure::KeyVault::V2016_10_01::Models::ActionType
|
96
|
+
JsonWebKeyOperation = Azure::KeyVault::V2016_10_01::Models::JsonWebKeyOperation
|
97
|
+
JsonWebKeyEncryptionAlgorithm = Azure::KeyVault::V2016_10_01::Models::JsonWebKeyEncryptionAlgorithm
|
98
|
+
JsonWebKeySignatureAlgorithm = Azure::KeyVault::V2016_10_01::Models::JsonWebKeySignatureAlgorithm
|
99
|
+
end
|
100
|
+
|
101
|
+
class KeyVaultDataClass
|
102
|
+
attr_reader :configurable, :base_url, :options, :model_classes
|
103
|
+
|
104
|
+
def initialize(configurable, base_url=nil, options=nil)
|
105
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
106
|
+
|
107
|
+
@client_0 = Azure::KeyVault::V2016_10_01::KeyVaultClient.new(configurable.credentials, options)
|
108
|
+
if(@client_0.respond_to?(:subscription_id))
|
109
|
+
@client_0.subscription_id = configurable.subscription_id
|
110
|
+
end
|
111
|
+
add_telemetry(@client_0)
|
112
|
+
|
113
|
+
@model_classes = ModelClasses.new
|
114
|
+
end
|
115
|
+
|
116
|
+
def add_telemetry(client)
|
117
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/KeyVault"
|
118
|
+
client.add_user_agent_information(profile_information)
|
119
|
+
end
|
120
|
+
|
121
|
+
def method_missing(method, *args)
|
122
|
+
if @client_0.respond_to?method
|
123
|
+
@client_0.send(method, *args)
|
124
|
+
else
|
125
|
+
super
|
126
|
+
end
|
127
|
+
end
|
128
|
+
|
129
|
+
class ModelClasses
|
130
|
+
def key_operations_parameters
|
131
|
+
Azure::KeyVault::V2016_10_01::Models::KeyOperationsParameters
|
132
|
+
end
|
133
|
+
def key_sign_parameters
|
134
|
+
Azure::KeyVault::V2016_10_01::Models::KeySignParameters
|
135
|
+
end
|
136
|
+
def json_web_key
|
137
|
+
Azure::KeyVault::V2016_10_01::Models::JsonWebKey
|
138
|
+
end
|
139
|
+
def key_verify_parameters
|
140
|
+
Azure::KeyVault::V2016_10_01::Models::KeyVerifyParameters
|
141
|
+
end
|
142
|
+
def key_bundle
|
143
|
+
Azure::KeyVault::V2016_10_01::Models::KeyBundle
|
144
|
+
end
|
145
|
+
def key_update_parameters
|
146
|
+
Azure::KeyVault::V2016_10_01::Models::KeyUpdateParameters
|
147
|
+
end
|
148
|
+
def key_import_parameters
|
149
|
+
Azure::KeyVault::V2016_10_01::Models::KeyImportParameters
|
150
|
+
end
|
151
|
+
def attributes
|
152
|
+
Azure::KeyVault::V2016_10_01::Models::Attributes
|
153
|
+
end
|
154
|
+
def key_vault_error
|
155
|
+
Azure::KeyVault::V2016_10_01::Models::KeyVaultError
|
156
|
+
end
|
157
|
+
def secret_bundle
|
158
|
+
Azure::KeyVault::V2016_10_01::Models::SecretBundle
|
159
|
+
end
|
160
|
+
def storage_list_result
|
161
|
+
Azure::KeyVault::V2016_10_01::Models::StorageListResult
|
162
|
+
end
|
163
|
+
def sas_definition_update_parameters
|
164
|
+
Azure::KeyVault::V2016_10_01::Models::SasDefinitionUpdateParameters
|
165
|
+
end
|
166
|
+
def key_item
|
167
|
+
Azure::KeyVault::V2016_10_01::Models::KeyItem
|
168
|
+
end
|
169
|
+
def secret_restore_parameters
|
170
|
+
Azure::KeyVault::V2016_10_01::Models::SecretRestoreParameters
|
171
|
+
end
|
172
|
+
def sas_definition_attributes
|
173
|
+
Azure::KeyVault::V2016_10_01::Models::SasDefinitionAttributes
|
174
|
+
end
|
175
|
+
def certificate_item
|
176
|
+
Azure::KeyVault::V2016_10_01::Models::CertificateItem
|
177
|
+
end
|
178
|
+
def key_restore_parameters
|
179
|
+
Azure::KeyVault::V2016_10_01::Models::KeyRestoreParameters
|
180
|
+
end
|
181
|
+
def key_properties
|
182
|
+
Azure::KeyVault::V2016_10_01::Models::KeyProperties
|
183
|
+
end
|
184
|
+
def secret_set_parameters
|
185
|
+
Azure::KeyVault::V2016_10_01::Models::SecretSetParameters
|
186
|
+
end
|
187
|
+
def subject_alternative_names
|
188
|
+
Azure::KeyVault::V2016_10_01::Models::SubjectAlternativeNames
|
189
|
+
end
|
190
|
+
def secret_update_parameters
|
191
|
+
Azure::KeyVault::V2016_10_01::Models::SecretUpdateParameters
|
192
|
+
end
|
193
|
+
def trigger
|
194
|
+
Azure::KeyVault::V2016_10_01::Models::Trigger
|
195
|
+
end
|
196
|
+
def certificate_create_parameters
|
197
|
+
Azure::KeyVault::V2016_10_01::Models::CertificateCreateParameters
|
198
|
+
end
|
199
|
+
def lifetime_action
|
200
|
+
Azure::KeyVault::V2016_10_01::Models::LifetimeAction
|
201
|
+
end
|
202
|
+
def certificate_import_parameters
|
203
|
+
Azure::KeyVault::V2016_10_01::Models::CertificateImportParameters
|
204
|
+
end
|
205
|
+
def certificate_policy
|
206
|
+
Azure::KeyVault::V2016_10_01::Models::CertificatePolicy
|
207
|
+
end
|
208
|
+
def certificate_update_parameters
|
209
|
+
Azure::KeyVault::V2016_10_01::Models::CertificateUpdateParameters
|
210
|
+
end
|
211
|
+
def sas_definition_item
|
212
|
+
Azure::KeyVault::V2016_10_01::Models::SasDefinitionItem
|
213
|
+
end
|
214
|
+
def certificate_merge_parameters
|
215
|
+
Azure::KeyVault::V2016_10_01::Models::CertificateMergeParameters
|
216
|
+
end
|
217
|
+
def error
|
218
|
+
Azure::KeyVault::V2016_10_01::Models::Error
|
219
|
+
end
|
220
|
+
def certificate_issuer_set_parameters
|
221
|
+
Azure::KeyVault::V2016_10_01::Models::CertificateIssuerSetParameters
|
222
|
+
end
|
223
|
+
def issuer_credentials
|
224
|
+
Azure::KeyVault::V2016_10_01::Models::IssuerCredentials
|
225
|
+
end
|
226
|
+
def certificate_issuer_update_parameters
|
227
|
+
Azure::KeyVault::V2016_10_01::Models::CertificateIssuerUpdateParameters
|
228
|
+
end
|
229
|
+
def organization_details
|
230
|
+
Azure::KeyVault::V2016_10_01::Models::OrganizationDetails
|
231
|
+
end
|
232
|
+
def certificate_operation_update_parameter
|
233
|
+
Azure::KeyVault::V2016_10_01::Models::CertificateOperationUpdateParameter
|
234
|
+
end
|
235
|
+
def issuer_bundle
|
236
|
+
Azure::KeyVault::V2016_10_01::Models::IssuerBundle
|
237
|
+
end
|
238
|
+
def key_operation_result
|
239
|
+
Azure::KeyVault::V2016_10_01::Models::KeyOperationResult
|
240
|
+
end
|
241
|
+
def contacts
|
242
|
+
Azure::KeyVault::V2016_10_01::Models::Contacts
|
243
|
+
end
|
244
|
+
def key_verify_result
|
245
|
+
Azure::KeyVault::V2016_10_01::Models::KeyVerifyResult
|
246
|
+
end
|
247
|
+
def key_list_result
|
248
|
+
Azure::KeyVault::V2016_10_01::Models::KeyListResult
|
249
|
+
end
|
250
|
+
def sas_definition_create_parameters
|
251
|
+
Azure::KeyVault::V2016_10_01::Models::SasDefinitionCreateParameters
|
252
|
+
end
|
253
|
+
def deleted_key_list_result
|
254
|
+
Azure::KeyVault::V2016_10_01::Models::DeletedKeyListResult
|
255
|
+
end
|
256
|
+
def certificate_issuer_item
|
257
|
+
Azure::KeyVault::V2016_10_01::Models::CertificateIssuerItem
|
258
|
+
end
|
259
|
+
def secret_list_result
|
260
|
+
Azure::KeyVault::V2016_10_01::Models::SecretListResult
|
261
|
+
end
|
262
|
+
def x509_certificate_properties
|
263
|
+
Azure::KeyVault::V2016_10_01::Models::X509CertificateProperties
|
264
|
+
end
|
265
|
+
def deleted_secret_list_result
|
266
|
+
Azure::KeyVault::V2016_10_01::Models::DeletedSecretListResult
|
267
|
+
end
|
268
|
+
def issuer_parameters
|
269
|
+
Azure::KeyVault::V2016_10_01::Models::IssuerParameters
|
270
|
+
end
|
271
|
+
def certificate_list_result
|
272
|
+
Azure::KeyVault::V2016_10_01::Models::CertificateListResult
|
273
|
+
end
|
274
|
+
def sas_definition_bundle
|
275
|
+
Azure::KeyVault::V2016_10_01::Models::SasDefinitionBundle
|
276
|
+
end
|
277
|
+
def deleted_certificate_list_result
|
278
|
+
Azure::KeyVault::V2016_10_01::Models::DeletedCertificateListResult
|
279
|
+
end
|
280
|
+
def administrator_details
|
281
|
+
Azure::KeyVault::V2016_10_01::Models::AdministratorDetails
|
282
|
+
end
|
283
|
+
def certificate_issuer_list_result
|
284
|
+
Azure::KeyVault::V2016_10_01::Models::CertificateIssuerListResult
|
285
|
+
end
|
286
|
+
def contact
|
287
|
+
Azure::KeyVault::V2016_10_01::Models::Contact
|
288
|
+
end
|
289
|
+
def backup_key_result
|
290
|
+
Azure::KeyVault::V2016_10_01::Models::BackupKeyResult
|
291
|
+
end
|
292
|
+
def secret_item
|
293
|
+
Azure::KeyVault::V2016_10_01::Models::SecretItem
|
294
|
+
end
|
295
|
+
def backup_secret_result
|
296
|
+
Azure::KeyVault::V2016_10_01::Models::BackupSecretResult
|
297
|
+
end
|
298
|
+
def secret_properties
|
299
|
+
Azure::KeyVault::V2016_10_01::Models::SecretProperties
|
300
|
+
end
|
301
|
+
def pending_certificate_signing_request_result
|
302
|
+
Azure::KeyVault::V2016_10_01::Models::PendingCertificateSigningRequestResult
|
303
|
+
end
|
304
|
+
def certificate_bundle
|
305
|
+
Azure::KeyVault::V2016_10_01::Models::CertificateBundle
|
306
|
+
end
|
307
|
+
def storage_account_attributes
|
308
|
+
Azure::KeyVault::V2016_10_01::Models::StorageAccountAttributes
|
309
|
+
end
|
310
|
+
def issuer_attributes
|
311
|
+
Azure::KeyVault::V2016_10_01::Models::IssuerAttributes
|
312
|
+
end
|
313
|
+
def storage_bundle
|
314
|
+
Azure::KeyVault::V2016_10_01::Models::StorageBundle
|
315
|
+
end
|
316
|
+
def sas_definition_list_result
|
317
|
+
Azure::KeyVault::V2016_10_01::Models::SasDefinitionListResult
|
318
|
+
end
|
319
|
+
def storage_account_create_parameters
|
320
|
+
Azure::KeyVault::V2016_10_01::Models::StorageAccountCreateParameters
|
321
|
+
end
|
322
|
+
def certificate_operation
|
323
|
+
Azure::KeyVault::V2016_10_01::Models::CertificateOperation
|
324
|
+
end
|
325
|
+
def storage_account_update_parameters
|
326
|
+
Azure::KeyVault::V2016_10_01::Models::StorageAccountUpdateParameters
|
327
|
+
end
|
328
|
+
def action
|
329
|
+
Azure::KeyVault::V2016_10_01::Models::Action
|
330
|
+
end
|
331
|
+
def storage_account_regenerte_key_parameters
|
332
|
+
Azure::KeyVault::V2016_10_01::Models::StorageAccountRegenerteKeyParameters
|
333
|
+
end
|
334
|
+
def key_create_parameters
|
335
|
+
Azure::KeyVault::V2016_10_01::Models::KeyCreateParameters
|
336
|
+
end
|
337
|
+
def storage_account_item
|
338
|
+
Azure::KeyVault::V2016_10_01::Models::StorageAccountItem
|
339
|
+
end
|
340
|
+
def key_attributes
|
341
|
+
Azure::KeyVault::V2016_10_01::Models::KeyAttributes
|
342
|
+
end
|
343
|
+
def deleted_key_bundle
|
344
|
+
Azure::KeyVault::V2016_10_01::Models::DeletedKeyBundle
|
345
|
+
end
|
346
|
+
def deleted_key_item
|
347
|
+
Azure::KeyVault::V2016_10_01::Models::DeletedKeyItem
|
348
|
+
end
|
349
|
+
def secret_attributes
|
350
|
+
Azure::KeyVault::V2016_10_01::Models::SecretAttributes
|
351
|
+
end
|
352
|
+
def deleted_secret_bundle
|
353
|
+
Azure::KeyVault::V2016_10_01::Models::DeletedSecretBundle
|
354
|
+
end
|
355
|
+
def deleted_secret_item
|
356
|
+
Azure::KeyVault::V2016_10_01::Models::DeletedSecretItem
|
357
|
+
end
|
358
|
+
def certificate_attributes
|
359
|
+
Azure::KeyVault::V2016_10_01::Models::CertificateAttributes
|
360
|
+
end
|
361
|
+
def deleted_certificate_bundle
|
362
|
+
Azure::KeyVault::V2016_10_01::Models::DeletedCertificateBundle
|
363
|
+
end
|
364
|
+
def deleted_certificate_item
|
365
|
+
Azure::KeyVault::V2016_10_01::Models::DeletedCertificateItem
|
366
|
+
end
|
367
|
+
def json_web_key_type
|
368
|
+
Azure::KeyVault::V2016_10_01::Models::JsonWebKeyType
|
369
|
+
end
|
370
|
+
def json_web_key_curve_name
|
371
|
+
Azure::KeyVault::V2016_10_01::Models::JsonWebKeyCurveName
|
372
|
+
end
|
373
|
+
def deletion_recovery_level
|
374
|
+
Azure::KeyVault::V2016_10_01::Models::DeletionRecoveryLevel
|
375
|
+
end
|
376
|
+
def key_usage_type
|
377
|
+
Azure::KeyVault::V2016_10_01::Models::KeyUsageType
|
378
|
+
end
|
379
|
+
def action_type
|
380
|
+
Azure::KeyVault::V2016_10_01::Models::ActionType
|
381
|
+
end
|
382
|
+
def json_web_key_operation
|
383
|
+
Azure::KeyVault::V2016_10_01::Models::JsonWebKeyOperation
|
384
|
+
end
|
385
|
+
def json_web_key_encryption_algorithm
|
386
|
+
Azure::KeyVault::V2016_10_01::Models::JsonWebKeyEncryptionAlgorithm
|
387
|
+
end
|
388
|
+
def json_web_key_signature_algorithm
|
389
|
+
Azure::KeyVault::V2016_10_01::Models::JsonWebKeySignatureAlgorithm
|
390
|
+
end
|
391
|
+
end
|
392
|
+
end
|
9
393
|
module Mgmt
|
10
394
|
Vaults = Azure::KeyVault::Mgmt::V2016_10_01::Vaults
|
11
395
|
Operations = Azure::KeyVault::Mgmt::V2016_10_01::Operations
|
@@ -0,0 +1,121 @@
|
|
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_security'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module Security
|
9
|
+
module Mgmt
|
10
|
+
Pricings = Azure::Security::Mgmt::V2017_08_01_preview::Pricings
|
11
|
+
SecurityContacts = Azure::Security::Mgmt::V2017_08_01_preview::SecurityContacts
|
12
|
+
WorkspaceSettings = Azure::Security::Mgmt::V2017_08_01_preview::WorkspaceSettings
|
13
|
+
AutoProvisioningSettings = Azure::Security::Mgmt::V2017_08_01_preview::AutoProvisioningSettings
|
14
|
+
Compliances = Azure::Security::Mgmt::V2017_08_01_preview::Compliances
|
15
|
+
|
16
|
+
module Models
|
17
|
+
AutoProvisioningSettingList = Azure::Security::Mgmt::V2017_08_01_preview::Models::AutoProvisioningSettingList
|
18
|
+
PricingList = Azure::Security::Mgmt::V2017_08_01_preview::Models::PricingList
|
19
|
+
ComplianceSegment = Azure::Security::Mgmt::V2017_08_01_preview::Models::ComplianceSegment
|
20
|
+
SecurityContactList = Azure::Security::Mgmt::V2017_08_01_preview::Models::SecurityContactList
|
21
|
+
ComplianceList = Azure::Security::Mgmt::V2017_08_01_preview::Models::ComplianceList
|
22
|
+
Resource = Azure::Security::Mgmt::V2017_08_01_preview::Models::Resource
|
23
|
+
WorkspaceSettingList = Azure::Security::Mgmt::V2017_08_01_preview::Models::WorkspaceSettingList
|
24
|
+
SecurityContact = Azure::Security::Mgmt::V2017_08_01_preview::Models::SecurityContact
|
25
|
+
Pricing = Azure::Security::Mgmt::V2017_08_01_preview::Models::Pricing
|
26
|
+
WorkspaceSetting = Azure::Security::Mgmt::V2017_08_01_preview::Models::WorkspaceSetting
|
27
|
+
AutoProvisioningSetting = Azure::Security::Mgmt::V2017_08_01_preview::Models::AutoProvisioningSetting
|
28
|
+
Compliance = Azure::Security::Mgmt::V2017_08_01_preview::Models::Compliance
|
29
|
+
AlertNotifications = Azure::Security::Mgmt::V2017_08_01_preview::Models::AlertNotifications
|
30
|
+
AlertsToAdmins = Azure::Security::Mgmt::V2017_08_01_preview::Models::AlertsToAdmins
|
31
|
+
PricingTier = Azure::Security::Mgmt::V2017_08_01_preview::Models::PricingTier
|
32
|
+
ProvisioningSetting = Azure::Security::Mgmt::V2017_08_01_preview::Models::ProvisioningSetting
|
33
|
+
end
|
34
|
+
|
35
|
+
class SecurityManagementClass
|
36
|
+
attr_reader :pricings, :security_contacts, :workspace_settings, :auto_provisioning_settings, :compliances, :configurable, :base_url, :options, :model_classes
|
37
|
+
|
38
|
+
def initialize(configurable, base_url=nil, options=nil)
|
39
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
40
|
+
|
41
|
+
@client_0 = Azure::Security::Mgmt::V2017_08_01_preview::SecurityManagementClient.new(configurable.credentials, base_url, options)
|
42
|
+
if(@client_0.respond_to?(:subscription_id))
|
43
|
+
@client_0.subscription_id = configurable.subscription_id
|
44
|
+
end
|
45
|
+
add_telemetry(@client_0)
|
46
|
+
@pricings = @client_0.pricings
|
47
|
+
@security_contacts = @client_0.security_contacts
|
48
|
+
@workspace_settings = @client_0.workspace_settings
|
49
|
+
@auto_provisioning_settings = @client_0.auto_provisioning_settings
|
50
|
+
@compliances = @client_0.compliances
|
51
|
+
|
52
|
+
@model_classes = ModelClasses.new
|
53
|
+
end
|
54
|
+
|
55
|
+
def add_telemetry(client)
|
56
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Security/Mgmt"
|
57
|
+
client.add_user_agent_information(profile_information)
|
58
|
+
end
|
59
|
+
|
60
|
+
def method_missing(method, *args)
|
61
|
+
if @client_0.respond_to?method
|
62
|
+
@client_0.send(method, *args)
|
63
|
+
else
|
64
|
+
super
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
class ModelClasses
|
69
|
+
def auto_provisioning_setting_list
|
70
|
+
Azure::Security::Mgmt::V2017_08_01_preview::Models::AutoProvisioningSettingList
|
71
|
+
end
|
72
|
+
def pricing_list
|
73
|
+
Azure::Security::Mgmt::V2017_08_01_preview::Models::PricingList
|
74
|
+
end
|
75
|
+
def compliance_segment
|
76
|
+
Azure::Security::Mgmt::V2017_08_01_preview::Models::ComplianceSegment
|
77
|
+
end
|
78
|
+
def security_contact_list
|
79
|
+
Azure::Security::Mgmt::V2017_08_01_preview::Models::SecurityContactList
|
80
|
+
end
|
81
|
+
def compliance_list
|
82
|
+
Azure::Security::Mgmt::V2017_08_01_preview::Models::ComplianceList
|
83
|
+
end
|
84
|
+
def resource
|
85
|
+
Azure::Security::Mgmt::V2017_08_01_preview::Models::Resource
|
86
|
+
end
|
87
|
+
def workspace_setting_list
|
88
|
+
Azure::Security::Mgmt::V2017_08_01_preview::Models::WorkspaceSettingList
|
89
|
+
end
|
90
|
+
def security_contact
|
91
|
+
Azure::Security::Mgmt::V2017_08_01_preview::Models::SecurityContact
|
92
|
+
end
|
93
|
+
def pricing
|
94
|
+
Azure::Security::Mgmt::V2017_08_01_preview::Models::Pricing
|
95
|
+
end
|
96
|
+
def workspace_setting
|
97
|
+
Azure::Security::Mgmt::V2017_08_01_preview::Models::WorkspaceSetting
|
98
|
+
end
|
99
|
+
def auto_provisioning_setting
|
100
|
+
Azure::Security::Mgmt::V2017_08_01_preview::Models::AutoProvisioningSetting
|
101
|
+
end
|
102
|
+
def compliance
|
103
|
+
Azure::Security::Mgmt::V2017_08_01_preview::Models::Compliance
|
104
|
+
end
|
105
|
+
def alert_notifications
|
106
|
+
Azure::Security::Mgmt::V2017_08_01_preview::Models::AlertNotifications
|
107
|
+
end
|
108
|
+
def alerts_to_admins
|
109
|
+
Azure::Security::Mgmt::V2017_08_01_preview::Models::AlertsToAdmins
|
110
|
+
end
|
111
|
+
def pricing_tier
|
112
|
+
Azure::Security::Mgmt::V2017_08_01_preview::Models::PricingTier
|
113
|
+
end
|
114
|
+
def provisioning_setting
|
115
|
+
Azure::Security::Mgmt::V2017_08_01_preview::Models::ProvisioningSetting
|
116
|
+
end
|
117
|
+
end
|
118
|
+
end
|
119
|
+
end
|
120
|
+
end
|
121
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.17.
|
4
|
+
version: 0.17.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-06-
|
11
|
+
date: 2018-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -304,6 +304,20 @@ dependencies:
|
|
304
304
|
- - "~>"
|
305
305
|
- !ruby/object:Gem::Version
|
306
306
|
version: 0.16.0
|
307
|
+
- !ruby/object:Gem::Dependency
|
308
|
+
name: azure_mgmt_dev_spaces
|
309
|
+
requirement: !ruby/object:Gem::Requirement
|
310
|
+
requirements:
|
311
|
+
- - "~>"
|
312
|
+
- !ruby/object:Gem::Version
|
313
|
+
version: 0.16.0
|
314
|
+
type: :runtime
|
315
|
+
prerelease: false
|
316
|
+
version_requirements: !ruby/object:Gem::Requirement
|
317
|
+
requirements:
|
318
|
+
- - "~>"
|
319
|
+
- !ruby/object:Gem::Version
|
320
|
+
version: 0.16.0
|
307
321
|
- !ruby/object:Gem::Dependency
|
308
322
|
name: azure_mgmt_devtestlabs
|
309
323
|
requirement: !ruby/object:Gem::Requirement
|
@@ -374,6 +388,20 @@ dependencies:
|
|
374
388
|
- - "~>"
|
375
389
|
- !ruby/object:Gem::Version
|
376
390
|
version: 0.16.0
|
391
|
+
- !ruby/object:Gem::Dependency
|
392
|
+
name: azure_mgmt_iot_central
|
393
|
+
requirement: !ruby/object:Gem::Requirement
|
394
|
+
requirements:
|
395
|
+
- - "~>"
|
396
|
+
- !ruby/object:Gem::Version
|
397
|
+
version: 0.16.0
|
398
|
+
type: :runtime
|
399
|
+
prerelease: false
|
400
|
+
version_requirements: !ruby/object:Gem::Requirement
|
401
|
+
requirements:
|
402
|
+
- - "~>"
|
403
|
+
- !ruby/object:Gem::Version
|
404
|
+
version: 0.16.0
|
377
405
|
- !ruby/object:Gem::Dependency
|
378
406
|
name: azure_mgmt_iot_hub
|
379
407
|
requirement: !ruby/object:Gem::Requirement
|
@@ -752,6 +780,20 @@ dependencies:
|
|
752
780
|
- - "~>"
|
753
781
|
- !ruby/object:Gem::Version
|
754
782
|
version: 0.16.0
|
783
|
+
- !ruby/object:Gem::Dependency
|
784
|
+
name: azure_mgmt_security
|
785
|
+
requirement: !ruby/object:Gem::Requirement
|
786
|
+
requirements:
|
787
|
+
- - "~>"
|
788
|
+
- !ruby/object:Gem::Version
|
789
|
+
version: 0.16.0
|
790
|
+
type: :runtime
|
791
|
+
prerelease: false
|
792
|
+
version_requirements: !ruby/object:Gem::Requirement
|
793
|
+
requirements:
|
794
|
+
- - "~>"
|
795
|
+
- !ruby/object:Gem::Version
|
796
|
+
version: 0.16.0
|
755
797
|
- !ruby/object:Gem::Dependency
|
756
798
|
name: azure_mgmt_server_management
|
757
799
|
requirement: !ruby/object:Gem::Requirement
|
@@ -1074,6 +1116,20 @@ dependencies:
|
|
1074
1116
|
- - "~>"
|
1075
1117
|
- !ruby/object:Gem::Version
|
1076
1118
|
version: 0.16.0
|
1119
|
+
- !ruby/object:Gem::Dependency
|
1120
|
+
name: azure_key_vault
|
1121
|
+
requirement: !ruby/object:Gem::Requirement
|
1122
|
+
requirements:
|
1123
|
+
- - "~>"
|
1124
|
+
- !ruby/object:Gem::Version
|
1125
|
+
version: 0.16.0
|
1126
|
+
type: :runtime
|
1127
|
+
prerelease: false
|
1128
|
+
version_requirements: !ruby/object:Gem::Requirement
|
1129
|
+
requirements:
|
1130
|
+
- - "~>"
|
1131
|
+
- !ruby/object:Gem::Version
|
1132
|
+
version: 0.16.0
|
1077
1133
|
- !ruby/object:Gem::Dependency
|
1078
1134
|
name: azure-storage
|
1079
1135
|
requirement: !ruby/object:Gem::Requirement
|
@@ -1119,6 +1175,7 @@ files:
|
|
1119
1175
|
- lib/latest/modules/customsearch_profile_module.rb
|
1120
1176
|
- lib/latest/modules/datalakeanalytics_profile_module.rb
|
1121
1177
|
- lib/latest/modules/datalakestore_profile_module.rb
|
1178
|
+
- lib/latest/modules/devspaces_profile_module.rb
|
1122
1179
|
- lib/latest/modules/devtestlabs_profile_module.rb
|
1123
1180
|
- lib/latest/modules/dns_profile_module.rb
|
1124
1181
|
- lib/latest/modules/entitysearch_profile_module.rb
|
@@ -1128,6 +1185,7 @@ files:
|
|
1128
1185
|
- lib/latest/modules/features_profile_module.rb
|
1129
1186
|
- lib/latest/modules/graphrbac_profile_module.rb
|
1130
1187
|
- lib/latest/modules/imagesearch_profile_module.rb
|
1188
|
+
- lib/latest/modules/iotcentral_profile_module.rb
|
1131
1189
|
- lib/latest/modules/iothub_profile_module.rb
|
1132
1190
|
- lib/latest/modules/keyvault_profile_module.rb
|
1133
1191
|
- lib/latest/modules/links_profile_module.rb
|
@@ -1156,6 +1214,7 @@ files:
|
|
1156
1214
|
- lib/latest/modules/resourcesmanagement_profile_module.rb
|
1157
1215
|
- lib/latest/modules/scheduler_profile_module.rb
|
1158
1216
|
- lib/latest/modules/search_profile_module.rb
|
1217
|
+
- lib/latest/modules/security_profile_module.rb
|
1159
1218
|
- lib/latest/modules/servermanagement_profile_module.rb
|
1160
1219
|
- lib/latest/modules/servicebus_profile_module.rb
|
1161
1220
|
- lib/latest/modules/servicefabric_profile_module.rb
|
@@ -1190,7 +1249,7 @@ metadata:
|
|
1190
1249
|
changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
|
1191
1250
|
documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
|
1192
1251
|
homepage_uri: https://aka.ms/azure-sdk-for-ruby
|
1193
|
-
source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/ARM-0.17.
|
1252
|
+
source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/ARM-0.17.11
|
1194
1253
|
wiki_uri: https://github.com/Azure/azure-sdk-for-ruby/wiki
|
1195
1254
|
post_install_message:
|
1196
1255
|
rdoc_options: []
|