azure_sdk 0.43.0 → 0.44.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/LICENSE.txt +20 -20
- data/lib/azure_sdk.rb +9 -9
- data/lib/azure_sdk/version.rb +1 -1
- data/lib/latest/latest_profile_client.rb +0 -0
- data/lib/latest/module_definition.rb +6 -6
- data/lib/latest/modules/adhybridhealthservice_profile_module.rb +481 -481
- data/lib/latest/modules/advisor_profile_module.rb +119 -119
- data/lib/latest/modules/alertsmanagement_profile_module.rb +259 -259
- data/lib/latest/modules/analysisservices_profile_module.rb +159 -159
- data/lib/latest/modules/anomalydetector_profile_module.rb +69 -69
- data/lib/latest/modules/apimanagement_profile_module.rb +1069 -1069
- data/lib/latest/modules/appconfiguration_profile_module.rb +107 -107
- data/lib/latest/modules/attestation_profile_module.rb +95 -95
- data/lib/latest/modules/authorization_profile_module.rb +167 -167
- data/lib/latest/modules/automation_profile_module.rb +663 -663
- data/lib/latest/modules/autosuggest_profile_module.rb +121 -121
- data/lib/latest/modules/azurestack_profile_module.rb +163 -163
- data/lib/latest/modules/batch_profile_module.rb +377 -377
- data/lib/latest/modules/batchai_profile_module.rb +425 -425
- data/lib/latest/modules/billing_profile_module.rb +107 -107
- data/lib/latest/modules/botservice_profile_module.rb +293 -293
- data/lib/latest/modules/cdn_profile_module.rb +325 -325
- data/lib/latest/modules/cognitiveservices_profile_module.rb +207 -207
- data/lib/latest/modules/commerce_profile_module.rb +99 -99
- data/lib/latest/modules/compute_profile_module.rb +1235 -1235
- data/lib/latest/modules/computervision_profile_module.rb +233 -233
- data/lib/latest/modules/consumption_profile_module.rb +255 -255
- data/lib/latest/modules/containerinstance_profile_module.rb +253 -253
- data/lib/latest/modules/containerregistry_profile_module.rb +575 -575
- data/lib/latest/modules/containerservice_profile_module.rb +385 -385
- data/lib/latest/modules/contentmoderator_profile_module.rb +287 -287
- data/lib/latest/modules/cosmosdb_profile_module.rb +559 -559
- data/lib/latest/modules/costmanagement_profile_module.rb +207 -207
- data/lib/latest/modules/customerinsights_profile_module.rb +497 -497
- data/lib/latest/modules/customimagesearch_profile_module.rb +143 -143
- data/lib/latest/modules/customsearch_profile_module.rb +123 -123
- data/lib/latest/modules/customvisionprediction_profile_module.rb +69 -69
- data/lib/latest/modules/customvisiontraining_profile_module.rb +241 -241
- data/lib/latest/modules/databox_profile_module.rb +309 -309
- data/lib/latest/modules/datafactory_profile_module.rb +2159 -2159
- data/lib/latest/modules/datalakeanalytics_profile_module.rb +253 -253
- data/lib/latest/modules/datalakestore_profile_module.rb +247 -247
- data/lib/latest/modules/datamigration_profile_module.rb +1307 -1307
- data/lib/latest/modules/datashare_profile_module.rb +383 -383
- data/lib/latest/modules/devspaces_profile_module.rb +119 -119
- data/lib/latest/modules/devtestlabs_profile_module.rb +849 -849
- data/lib/latest/modules/dns_profile_module.rb +143 -143
- data/lib/latest/modules/edgegateway_profile_module.rb +463 -463
- data/lib/latest/modules/entitysearch_profile_module.rb +231 -231
- data/lib/latest/modules/eventgrid_profile_module.rb +671 -671
- data/lib/latest/modules/eventhub_profile_module.rb +171 -171
- data/lib/latest/modules/face_profile_module.rb +297 -297
- data/lib/latest/modules/features_profile_module.rb +73 -73
- data/lib/latest/modules/formrecognizer_profile_module.rb +169 -169
- data/lib/latest/modules/graphrbac_profile_module.rb +225 -225
- data/lib/latest/modules/hanaonazure_profile_module.rb +137 -137
- data/lib/latest/modules/hdinsight_profile_module.rb +407 -407
- data/lib/latest/modules/imagesearch_profile_module.rb +279 -279
- data/lib/latest/modules/iotcentral_profile_module.rb +103 -103
- data/lib/latest/modules/iothub_profile_module.rb +377 -377
- data/lib/latest/modules/keyvault_profile_module.rb +623 -623
- data/lib/latest/modules/kusto_profile_module.rb +297 -297
- data/lib/latest/modules/labservices_profile_module.rb +357 -357
- data/lib/latest/modules/links_profile_module.rb +83 -83
- data/lib/latest/modules/localsearch_profile_module.rb +151 -151
- data/lib/latest/modules/locks_profile_module.rb +79 -79
- data/lib/latest/modules/logic_profile_module.rb +787 -787
- data/lib/latest/modules/luisauthoring_profile_module.rb +497 -497
- data/lib/latest/modules/luisruntime_profile_module.rb +91 -91
- data/lib/latest/modules/machinelearning_profile_module.rb +211 -211
- data/lib/latest/modules/machinelearningservices_profile_module.rb +293 -293
- data/lib/latest/modules/maintenance_profile_module.rb +0 -0
- data/lib/latest/modules/managedapplications_profile_module.rb +123 -123
- data/lib/latest/modules/managedserviceidentity_profile_module.rb +75 -75
- data/lib/latest/modules/mariadb_profile_module.rb +233 -233
- data/lib/latest/modules/marketplaceordering_profile_module.rb +79 -79
- data/lib/latest/modules/mediaservices_profile_module.rb +859 -859
- data/lib/latest/modules/migrate_profile_module.rb +243 -243
- data/lib/latest/modules/mixedreality_profile_module.rb +125 -125
- data/lib/latest/modules/monitor_profile_module.rb +723 -723
- data/lib/latest/modules/mysql_profile_module.rb +233 -233
- data/lib/latest/modules/netapp_profile_module.rb +0 -0
- data/lib/latest/modules/network_profile_module.rb +2489 -2489
- data/lib/latest/modules/newssearch_profile_module.rb +143 -143
- data/lib/latest/modules/notificationhubs_profile_module.rb +189 -189
- data/lib/latest/modules/operationalinsights_profile_module.rb +259 -259
- data/lib/latest/modules/operationsmanagement_profile_module.rb +123 -123
- data/lib/latest/modules/peering_profile_module.rb +259 -259
- data/lib/latest/modules/personalizer_profile_module.rb +83 -83
- data/lib/latest/modules/policy_profile_module.rb +105 -105
- data/lib/latest/modules/policyinsights_profile_module.rb +193 -193
- data/lib/latest/modules/postgresql_profile_module.rb +233 -233
- data/lib/latest/modules/powerbidedicated_profile_module.rb +123 -123
- data/lib/latest/modules/powerbiembedded_profile_module.rb +127 -127
- data/lib/latest/modules/privatedns_profile_module.rb +137 -137
- data/lib/latest/modules/qnamaker_profile_module.rb +219 -219
- data/lib/latest/modules/qnamakerruntime_profile_module.rb +123 -123
- data/lib/latest/modules/recoveryservices_profile_module.rb +211 -211
- data/lib/latest/modules/recoveryservicesbackup_profile_module.rb +1241 -1241
- data/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb +1465 -1465
- data/lib/latest/modules/redis_profile_module.rb +209 -209
- data/lib/latest/modules/relay_profile_module.rb +163 -163
- data/lib/latest/modules/reservations_profile_module.rb +237 -237
- data/lib/latest/modules/resourcegraph_profile_module.rb +129 -129
- data/lib/latest/modules/resources_profile_module.rb +321 -321
- data/lib/latest/modules/resourcesmanagement_profile_module.rb +163 -163
- data/lib/latest/modules/scheduler_profile_module.rb +227 -227
- data/lib/latest/modules/search_profile_module.rb +127 -127
- data/lib/latest/modules/security_profile_module.rb +733 -733
- data/lib/latest/modules/serialconsole_profile_module.rb +73 -73
- data/lib/latest/modules/servicebus_profile_module.rb +309 -309
- data/lib/latest/modules/servicefabric_profile_module.rb +2711 -2711
- data/lib/latest/modules/signalr_profile_module.rb +161 -161
- data/lib/latest/modules/spellcheck_profile_module.rb +101 -101
- data/lib/latest/modules/sql_profile_module.rb +0 -0
- data/lib/latest/modules/sqlvirtualmachine_profile_module.rb +223 -223
- data/lib/latest/modules/storage_profile_module.rb +525 -525
- data/lib/latest/modules/storagecache_profile_module.rb +173 -173
- data/lib/latest/modules/storagesync_profile_module.rb +249 -249
- data/lib/latest/modules/storsimple8000series_profile_module.rb +715 -715
- data/lib/latest/modules/streamanalytics_profile_module.rb +349 -349
- data/lib/latest/modules/subscriptions_profile_module.rb +207 -207
- data/lib/latest/modules/textanalytics_profile_module.rb +125 -125
- data/lib/latest/modules/trafficmanager_profile_module.rb +173 -173
- data/lib/latest/modules/videosearch_profile_module.rb +175 -175
- data/lib/latest/modules/visualsearch_profile_module.rb +235 -235
- data/lib/latest/modules/vmwarecloudsimple_profile_module.rb +247 -247
- data/lib/latest/modules/web_profile_module.rb +1419 -1419
- data/lib/latest/modules/websearch_profile_module.rb +211 -211
- data/lib/v2017_03_09/module_definition.rb +6 -6
- data/lib/v2017_03_09/modules/authorization_profile_module.rb +141 -141
- data/lib/v2017_03_09/modules/compute_profile_module.rb +469 -469
- data/lib/v2017_03_09/modules/dns_profile_module.rb +139 -139
- data/lib/v2017_03_09/modules/features_profile_module.rb +73 -73
- data/lib/v2017_03_09/modules/keyvault_profile_module.rb +559 -559
- data/lib/v2017_03_09/modules/links_profile_module.rb +83 -83
- data/lib/v2017_03_09/modules/locks_profile_module.rb +61 -61
- data/lib/v2017_03_09/modules/network_profile_module.rb +555 -555
- data/lib/v2017_03_09/modules/policy_profile_module.rb +71 -71
- data/lib/v2017_03_09/modules/resources_profile_module.rb +255 -255
- data/lib/v2017_03_09/modules/storage_profile_module.rb +163 -163
- data/lib/v2017_03_09/modules/subscriptions_profile_module.rb +101 -101
- data/lib/v2017_03_09/v2017_03_09_profile_client.rb +170 -170
- data/lib/v2018_03_01/module_definition.rb +6 -6
- data/lib/v2018_03_01/modules/authorization_profile_module.rb +133 -133
- data/lib/v2018_03_01/modules/compute_profile_module.rb +755 -755
- data/lib/v2018_03_01/modules/dns_profile_module.rb +139 -139
- data/lib/v2018_03_01/modules/keyvault_profile_module.rb +559 -559
- data/lib/v2018_03_01/modules/locks_profile_module.rb +79 -79
- data/lib/v2018_03_01/modules/network_profile_module.rb +1321 -1321
- data/lib/v2018_03_01/modules/policy_profile_module.rb +75 -75
- data/lib/v2018_03_01/modules/resources_profile_module.rb +271 -271
- data/lib/v2018_03_01/modules/storage_profile_module.rb +163 -163
- data/lib/v2018_03_01/modules/subscriptions_profile_module.rb +101 -101
- data/lib/v2018_03_01/modules/web_profile_module.rb +1223 -1223
- data/lib/v2018_03_01/v2018_03_01_profile_client.rb +160 -160
- data/lib/v2019_03_01_hybrid/module_definition.rb +6 -6
- data/lib/v2019_03_01_hybrid/modules/authorization_profile_module.rb +133 -133
- data/lib/v2019_03_01_hybrid/modules/compute_profile_module.rb +855 -855
- data/lib/v2019_03_01_hybrid/modules/dns_profile_module.rb +139 -139
- data/lib/v2019_03_01_hybrid/modules/keyvault_profile_module.rb +559 -559
- data/lib/v2019_03_01_hybrid/modules/locks_profile_module.rb +79 -79
- data/lib/v2019_03_01_hybrid/modules/monitor_profile_module.rb +285 -285
- data/lib/v2019_03_01_hybrid/modules/network_profile_module.rb +1261 -1261
- data/lib/v2019_03_01_hybrid/modules/policy_profile_module.rb +75 -75
- data/lib/v2019_03_01_hybrid/modules/resources_profile_module.rb +289 -289
- data/lib/v2019_03_01_hybrid/modules/storage_profile_module.rb +283 -283
- data/lib/v2019_03_01_hybrid/modules/subscriptions_profile_module.rb +101 -101
- data/lib/v2019_03_01_hybrid/modules/web_profile_module.rb +1457 -1457
- data/lib/v2019_03_01_hybrid/v2019_03_01_hybrid_profile_client.rb +170 -170
- metadata +10 -10
@@ -1,107 +1,107 @@
|
|
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_appconfiguration'
|
6
|
-
|
7
|
-
module Azure::Profiles::Latest
|
8
|
-
module Appconfiguration
|
9
|
-
module Mgmt
|
10
|
-
ConfigurationStores = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::ConfigurationStores
|
11
|
-
Operations = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Operations
|
12
|
-
|
13
|
-
module Models
|
14
|
-
ApiKeyListResult = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::ApiKeyListResult
|
15
|
-
RegenerateKeyParameters = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::RegenerateKeyParameters
|
16
|
-
ConfigurationStoreListResult = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::ConfigurationStoreListResult
|
17
|
-
OperationDefinitionDisplay = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::OperationDefinitionDisplay
|
18
|
-
CheckNameAvailabilityParameters = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::CheckNameAvailabilityParameters
|
19
|
-
OperationDefinition = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::OperationDefinition
|
20
|
-
ApiKey = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::ApiKey
|
21
|
-
OperationDefinitionListResult = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::OperationDefinitionListResult
|
22
|
-
ConfigurationStoreUpdateParameters = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::ConfigurationStoreUpdateParameters
|
23
|
-
Error = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::Error
|
24
|
-
NameAvailabilityStatus = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::NameAvailabilityStatus
|
25
|
-
Resource = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::Resource
|
26
|
-
ConfigurationStore = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::ConfigurationStore
|
27
|
-
ProvisioningState = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::ProvisioningState
|
28
|
-
end
|
29
|
-
|
30
|
-
class AppconfigurationManagementClass
|
31
|
-
attr_reader :configuration_stores, :operations, :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::Appconfiguration::Mgmt::V2019_02_01_preview::AppConfigurationManagementClient.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
|
-
add_telemetry(@client_0)
|
41
|
-
@configuration_stores = @client_0.configuration_stores
|
42
|
-
@operations = @client_0.operations
|
43
|
-
|
44
|
-
@model_classes = ModelClasses.new
|
45
|
-
end
|
46
|
-
|
47
|
-
def add_telemetry(client)
|
48
|
-
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Appconfiguration/Mgmt"
|
49
|
-
client.add_user_agent_information(profile_information)
|
50
|
-
end
|
51
|
-
|
52
|
-
def method_missing(method, *args)
|
53
|
-
if @client_0.respond_to?method
|
54
|
-
@client_0.send(method, *args)
|
55
|
-
else
|
56
|
-
super
|
57
|
-
end
|
58
|
-
end
|
59
|
-
|
60
|
-
class ModelClasses
|
61
|
-
def api_key_list_result
|
62
|
-
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::ApiKeyListResult
|
63
|
-
end
|
64
|
-
def regenerate_key_parameters
|
65
|
-
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::RegenerateKeyParameters
|
66
|
-
end
|
67
|
-
def configuration_store_list_result
|
68
|
-
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::ConfigurationStoreListResult
|
69
|
-
end
|
70
|
-
def operation_definition_display
|
71
|
-
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::OperationDefinitionDisplay
|
72
|
-
end
|
73
|
-
def check_name_availability_parameters
|
74
|
-
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::CheckNameAvailabilityParameters
|
75
|
-
end
|
76
|
-
def operation_definition
|
77
|
-
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::OperationDefinition
|
78
|
-
end
|
79
|
-
def api_key
|
80
|
-
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::ApiKey
|
81
|
-
end
|
82
|
-
def operation_definition_list_result
|
83
|
-
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::OperationDefinitionListResult
|
84
|
-
end
|
85
|
-
def configuration_store_update_parameters
|
86
|
-
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::ConfigurationStoreUpdateParameters
|
87
|
-
end
|
88
|
-
def error
|
89
|
-
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::Error
|
90
|
-
end
|
91
|
-
def name_availability_status
|
92
|
-
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::NameAvailabilityStatus
|
93
|
-
end
|
94
|
-
def resource
|
95
|
-
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::Resource
|
96
|
-
end
|
97
|
-
def configuration_store
|
98
|
-
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::ConfigurationStore
|
99
|
-
end
|
100
|
-
def provisioning_state
|
101
|
-
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::ProvisioningState
|
102
|
-
end
|
103
|
-
end
|
104
|
-
end
|
105
|
-
end
|
106
|
-
end
|
107
|
-
end
|
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_appconfiguration'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module Appconfiguration
|
9
|
+
module Mgmt
|
10
|
+
ConfigurationStores = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::ConfigurationStores
|
11
|
+
Operations = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Operations
|
12
|
+
|
13
|
+
module Models
|
14
|
+
ApiKeyListResult = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::ApiKeyListResult
|
15
|
+
RegenerateKeyParameters = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::RegenerateKeyParameters
|
16
|
+
ConfigurationStoreListResult = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::ConfigurationStoreListResult
|
17
|
+
OperationDefinitionDisplay = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::OperationDefinitionDisplay
|
18
|
+
CheckNameAvailabilityParameters = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::CheckNameAvailabilityParameters
|
19
|
+
OperationDefinition = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::OperationDefinition
|
20
|
+
ApiKey = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::ApiKey
|
21
|
+
OperationDefinitionListResult = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::OperationDefinitionListResult
|
22
|
+
ConfigurationStoreUpdateParameters = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::ConfigurationStoreUpdateParameters
|
23
|
+
Error = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::Error
|
24
|
+
NameAvailabilityStatus = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::NameAvailabilityStatus
|
25
|
+
Resource = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::Resource
|
26
|
+
ConfigurationStore = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::ConfigurationStore
|
27
|
+
ProvisioningState = Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::ProvisioningState
|
28
|
+
end
|
29
|
+
|
30
|
+
class AppconfigurationManagementClass
|
31
|
+
attr_reader :configuration_stores, :operations, :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::Appconfiguration::Mgmt::V2019_02_01_preview::AppConfigurationManagementClient.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
|
+
add_telemetry(@client_0)
|
41
|
+
@configuration_stores = @client_0.configuration_stores
|
42
|
+
@operations = @client_0.operations
|
43
|
+
|
44
|
+
@model_classes = ModelClasses.new
|
45
|
+
end
|
46
|
+
|
47
|
+
def add_telemetry(client)
|
48
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Appconfiguration/Mgmt"
|
49
|
+
client.add_user_agent_information(profile_information)
|
50
|
+
end
|
51
|
+
|
52
|
+
def method_missing(method, *args)
|
53
|
+
if @client_0.respond_to?method
|
54
|
+
@client_0.send(method, *args)
|
55
|
+
else
|
56
|
+
super
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
class ModelClasses
|
61
|
+
def api_key_list_result
|
62
|
+
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::ApiKeyListResult
|
63
|
+
end
|
64
|
+
def regenerate_key_parameters
|
65
|
+
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::RegenerateKeyParameters
|
66
|
+
end
|
67
|
+
def configuration_store_list_result
|
68
|
+
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::ConfigurationStoreListResult
|
69
|
+
end
|
70
|
+
def operation_definition_display
|
71
|
+
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::OperationDefinitionDisplay
|
72
|
+
end
|
73
|
+
def check_name_availability_parameters
|
74
|
+
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::CheckNameAvailabilityParameters
|
75
|
+
end
|
76
|
+
def operation_definition
|
77
|
+
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::OperationDefinition
|
78
|
+
end
|
79
|
+
def api_key
|
80
|
+
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::ApiKey
|
81
|
+
end
|
82
|
+
def operation_definition_list_result
|
83
|
+
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::OperationDefinitionListResult
|
84
|
+
end
|
85
|
+
def configuration_store_update_parameters
|
86
|
+
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::ConfigurationStoreUpdateParameters
|
87
|
+
end
|
88
|
+
def error
|
89
|
+
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::Error
|
90
|
+
end
|
91
|
+
def name_availability_status
|
92
|
+
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::NameAvailabilityStatus
|
93
|
+
end
|
94
|
+
def resource
|
95
|
+
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::Resource
|
96
|
+
end
|
97
|
+
def configuration_store
|
98
|
+
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::ConfigurationStore
|
99
|
+
end
|
100
|
+
def provisioning_state
|
101
|
+
Azure::Appconfiguration::Mgmt::V2019_02_01_preview::Models::ProvisioningState
|
102
|
+
end
|
103
|
+
end
|
104
|
+
end
|
105
|
+
end
|
106
|
+
end
|
107
|
+
end
|
@@ -1,95 +1,95 @@
|
|
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_attestation'
|
6
|
-
|
7
|
-
module Azure::Profiles::Latest
|
8
|
-
module Attestation
|
9
|
-
module Mgmt
|
10
|
-
Operations = Azure::Attestation::Mgmt::V2018_09_01_preview::Operations
|
11
|
-
AttestationProviders = Azure::Attestation::Mgmt::V2018_09_01_preview::AttestationProviders
|
12
|
-
|
13
|
-
module Models
|
14
|
-
AttestationProviderListResult = Azure::Attestation::Mgmt::V2018_09_01_preview::Models::AttestationProviderListResult
|
15
|
-
OperationsDefinition = Azure::Attestation::Mgmt::V2018_09_01_preview::Models::OperationsDefinition
|
16
|
-
AttestationServiceCreationParams = Azure::Attestation::Mgmt::V2018_09_01_preview::Models::AttestationServiceCreationParams
|
17
|
-
OperationsDisplayDefinition = Azure::Attestation::Mgmt::V2018_09_01_preview::Models::OperationsDisplayDefinition
|
18
|
-
OperationList = Azure::Attestation::Mgmt::V2018_09_01_preview::Models::OperationList
|
19
|
-
Resource = Azure::Attestation::Mgmt::V2018_09_01_preview::Models::Resource
|
20
|
-
AttestationProvider = Azure::Attestation::Mgmt::V2018_09_01_preview::Models::AttestationProvider
|
21
|
-
ProxyResource = Azure::Attestation::Mgmt::V2018_09_01_preview::Models::ProxyResource
|
22
|
-
TrackedResource = Azure::Attestation::Mgmt::V2018_09_01_preview::Models::TrackedResource
|
23
|
-
AzureEntityResource = Azure::Attestation::Mgmt::V2018_09_01_preview::Models::AzureEntityResource
|
24
|
-
AttestationServiceStatus = Azure::Attestation::Mgmt::V2018_09_01_preview::Models::AttestationServiceStatus
|
25
|
-
end
|
26
|
-
|
27
|
-
class AttestationManagementClass
|
28
|
-
attr_reader :operations, :attestation_providers, :configurable, :base_url, :options, :model_classes
|
29
|
-
|
30
|
-
def initialize(configurable, base_url=nil, options=nil)
|
31
|
-
@configurable, @base_url, @options = configurable, base_url, options
|
32
|
-
|
33
|
-
@client_0 = Azure::Attestation::Mgmt::V2018_09_01_preview::AttestationManagementClient.new(configurable.credentials, base_url, options)
|
34
|
-
if(@client_0.respond_to?(:subscription_id))
|
35
|
-
@client_0.subscription_id = configurable.subscription_id
|
36
|
-
end
|
37
|
-
add_telemetry(@client_0)
|
38
|
-
@operations = @client_0.operations
|
39
|
-
@attestation_providers = @client_0.attestation_providers
|
40
|
-
|
41
|
-
@model_classes = ModelClasses.new
|
42
|
-
end
|
43
|
-
|
44
|
-
def add_telemetry(client)
|
45
|
-
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Attestation/Mgmt"
|
46
|
-
client.add_user_agent_information(profile_information)
|
47
|
-
end
|
48
|
-
|
49
|
-
def method_missing(method, *args)
|
50
|
-
if @client_0.respond_to?method
|
51
|
-
@client_0.send(method, *args)
|
52
|
-
else
|
53
|
-
super
|
54
|
-
end
|
55
|
-
end
|
56
|
-
|
57
|
-
class ModelClasses
|
58
|
-
def attestation_provider_list_result
|
59
|
-
Azure::Attestation::Mgmt::V2018_09_01_preview::Models::AttestationProviderListResult
|
60
|
-
end
|
61
|
-
def operations_definition
|
62
|
-
Azure::Attestation::Mgmt::V2018_09_01_preview::Models::OperationsDefinition
|
63
|
-
end
|
64
|
-
def attestation_service_creation_params
|
65
|
-
Azure::Attestation::Mgmt::V2018_09_01_preview::Models::AttestationServiceCreationParams
|
66
|
-
end
|
67
|
-
def operations_display_definition
|
68
|
-
Azure::Attestation::Mgmt::V2018_09_01_preview::Models::OperationsDisplayDefinition
|
69
|
-
end
|
70
|
-
def operation_list
|
71
|
-
Azure::Attestation::Mgmt::V2018_09_01_preview::Models::OperationList
|
72
|
-
end
|
73
|
-
def resource
|
74
|
-
Azure::Attestation::Mgmt::V2018_09_01_preview::Models::Resource
|
75
|
-
end
|
76
|
-
def attestation_provider
|
77
|
-
Azure::Attestation::Mgmt::V2018_09_01_preview::Models::AttestationProvider
|
78
|
-
end
|
79
|
-
def proxy_resource
|
80
|
-
Azure::Attestation::Mgmt::V2018_09_01_preview::Models::ProxyResource
|
81
|
-
end
|
82
|
-
def tracked_resource
|
83
|
-
Azure::Attestation::Mgmt::V2018_09_01_preview::Models::TrackedResource
|
84
|
-
end
|
85
|
-
def azure_entity_resource
|
86
|
-
Azure::Attestation::Mgmt::V2018_09_01_preview::Models::AzureEntityResource
|
87
|
-
end
|
88
|
-
def attestation_service_status
|
89
|
-
Azure::Attestation::Mgmt::V2018_09_01_preview::Models::AttestationServiceStatus
|
90
|
-
end
|
91
|
-
end
|
92
|
-
end
|
93
|
-
end
|
94
|
-
end
|
95
|
-
end
|
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_attestation'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module Attestation
|
9
|
+
module Mgmt
|
10
|
+
Operations = Azure::Attestation::Mgmt::V2018_09_01_preview::Operations
|
11
|
+
AttestationProviders = Azure::Attestation::Mgmt::V2018_09_01_preview::AttestationProviders
|
12
|
+
|
13
|
+
module Models
|
14
|
+
AttestationProviderListResult = Azure::Attestation::Mgmt::V2018_09_01_preview::Models::AttestationProviderListResult
|
15
|
+
OperationsDefinition = Azure::Attestation::Mgmt::V2018_09_01_preview::Models::OperationsDefinition
|
16
|
+
AttestationServiceCreationParams = Azure::Attestation::Mgmt::V2018_09_01_preview::Models::AttestationServiceCreationParams
|
17
|
+
OperationsDisplayDefinition = Azure::Attestation::Mgmt::V2018_09_01_preview::Models::OperationsDisplayDefinition
|
18
|
+
OperationList = Azure::Attestation::Mgmt::V2018_09_01_preview::Models::OperationList
|
19
|
+
Resource = Azure::Attestation::Mgmt::V2018_09_01_preview::Models::Resource
|
20
|
+
AttestationProvider = Azure::Attestation::Mgmt::V2018_09_01_preview::Models::AttestationProvider
|
21
|
+
ProxyResource = Azure::Attestation::Mgmt::V2018_09_01_preview::Models::ProxyResource
|
22
|
+
TrackedResource = Azure::Attestation::Mgmt::V2018_09_01_preview::Models::TrackedResource
|
23
|
+
AzureEntityResource = Azure::Attestation::Mgmt::V2018_09_01_preview::Models::AzureEntityResource
|
24
|
+
AttestationServiceStatus = Azure::Attestation::Mgmt::V2018_09_01_preview::Models::AttestationServiceStatus
|
25
|
+
end
|
26
|
+
|
27
|
+
class AttestationManagementClass
|
28
|
+
attr_reader :operations, :attestation_providers, :configurable, :base_url, :options, :model_classes
|
29
|
+
|
30
|
+
def initialize(configurable, base_url=nil, options=nil)
|
31
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
32
|
+
|
33
|
+
@client_0 = Azure::Attestation::Mgmt::V2018_09_01_preview::AttestationManagementClient.new(configurable.credentials, base_url, options)
|
34
|
+
if(@client_0.respond_to?(:subscription_id))
|
35
|
+
@client_0.subscription_id = configurable.subscription_id
|
36
|
+
end
|
37
|
+
add_telemetry(@client_0)
|
38
|
+
@operations = @client_0.operations
|
39
|
+
@attestation_providers = @client_0.attestation_providers
|
40
|
+
|
41
|
+
@model_classes = ModelClasses.new
|
42
|
+
end
|
43
|
+
|
44
|
+
def add_telemetry(client)
|
45
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Attestation/Mgmt"
|
46
|
+
client.add_user_agent_information(profile_information)
|
47
|
+
end
|
48
|
+
|
49
|
+
def method_missing(method, *args)
|
50
|
+
if @client_0.respond_to?method
|
51
|
+
@client_0.send(method, *args)
|
52
|
+
else
|
53
|
+
super
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
class ModelClasses
|
58
|
+
def attestation_provider_list_result
|
59
|
+
Azure::Attestation::Mgmt::V2018_09_01_preview::Models::AttestationProviderListResult
|
60
|
+
end
|
61
|
+
def operations_definition
|
62
|
+
Azure::Attestation::Mgmt::V2018_09_01_preview::Models::OperationsDefinition
|
63
|
+
end
|
64
|
+
def attestation_service_creation_params
|
65
|
+
Azure::Attestation::Mgmt::V2018_09_01_preview::Models::AttestationServiceCreationParams
|
66
|
+
end
|
67
|
+
def operations_display_definition
|
68
|
+
Azure::Attestation::Mgmt::V2018_09_01_preview::Models::OperationsDisplayDefinition
|
69
|
+
end
|
70
|
+
def operation_list
|
71
|
+
Azure::Attestation::Mgmt::V2018_09_01_preview::Models::OperationList
|
72
|
+
end
|
73
|
+
def resource
|
74
|
+
Azure::Attestation::Mgmt::V2018_09_01_preview::Models::Resource
|
75
|
+
end
|
76
|
+
def attestation_provider
|
77
|
+
Azure::Attestation::Mgmt::V2018_09_01_preview::Models::AttestationProvider
|
78
|
+
end
|
79
|
+
def proxy_resource
|
80
|
+
Azure::Attestation::Mgmt::V2018_09_01_preview::Models::ProxyResource
|
81
|
+
end
|
82
|
+
def tracked_resource
|
83
|
+
Azure::Attestation::Mgmt::V2018_09_01_preview::Models::TrackedResource
|
84
|
+
end
|
85
|
+
def azure_entity_resource
|
86
|
+
Azure::Attestation::Mgmt::V2018_09_01_preview::Models::AzureEntityResource
|
87
|
+
end
|
88
|
+
def attestation_service_status
|
89
|
+
Azure::Attestation::Mgmt::V2018_09_01_preview::Models::AttestationServiceStatus
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|
95
|
+
end
|
@@ -1,167 +1,167 @@
|
|
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
|
9
|
-
module Mgmt
|
10
|
-
ClassicAdministrators = Azure::Authorization::Mgmt::V2015_06_01_preview::ClassicAdministrators
|
11
|
-
ProviderOperationsMetadataOperations = Azure::Authorization::Mgmt::V2018_01_01_preview::ProviderOperationsMetadataOperations
|
12
|
-
Permissions = Azure::Authorization::Mgmt::V2018_01_01_preview::Permissions
|
13
|
-
RoleDefinitions = Azure::Authorization::Mgmt::V2018_01_01_preview::RoleDefinitions
|
14
|
-
DenyAssignments = Azure::Authorization::Mgmt::V2018_07_01_preview::DenyAssignments
|
15
|
-
RoleAssignments = Azure::Authorization::Mgmt::V2018_09_01_preview::RoleAssignments
|
16
|
-
|
17
|
-
module Models
|
18
|
-
ClassicAdministratorListResult = Azure::Authorization::Mgmt::V2015_06_01_preview::Models::ClassicAdministratorListResult
|
19
|
-
ClassicAdministrator = Azure::Authorization::Mgmt::V2015_06_01_preview::Models::ClassicAdministrator
|
20
|
-
ResourceType = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ResourceType
|
21
|
-
RoleDefinitionFilter = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinitionFilter
|
22
|
-
ProviderOperationsMetadataListResult = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ProviderOperationsMetadataListResult
|
23
|
-
Permission = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::Permission
|
24
|
-
RoleDefinition = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinition
|
25
|
-
ProviderOperationsMetadata = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ProviderOperationsMetadata
|
26
|
-
RoleDefinitionListResult = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinitionListResult
|
27
|
-
ProviderOperation = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ProviderOperation
|
28
|
-
PermissionGetResult = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::PermissionGetResult
|
29
|
-
Principal = Azure::Authorization::Mgmt::V2018_07_01_preview::Models::Principal
|
30
|
-
DenyAssignment = Azure::Authorization::Mgmt::V2018_07_01_preview::Models::DenyAssignment
|
31
|
-
DenyAssignmentPermission = Azure::Authorization::Mgmt::V2018_07_01_preview::Models::DenyAssignmentPermission
|
32
|
-
DenyAssignmentListResult = Azure::Authorization::Mgmt::V2018_07_01_preview::Models::DenyAssignmentListResult
|
33
|
-
DenyAssignmentFilter = Azure::Authorization::Mgmt::V2018_07_01_preview::Models::DenyAssignmentFilter
|
34
|
-
RoleAssignmentListResult = Azure::Authorization::Mgmt::V2018_09_01_preview::Models::RoleAssignmentListResult
|
35
|
-
RoleAssignmentFilter = Azure::Authorization::Mgmt::V2018_09_01_preview::Models::RoleAssignmentFilter
|
36
|
-
RoleAssignmentCreateParameters = Azure::Authorization::Mgmt::V2018_09_01_preview::Models::RoleAssignmentCreateParameters
|
37
|
-
RoleAssignment = Azure::Authorization::Mgmt::V2018_09_01_preview::Models::RoleAssignment
|
38
|
-
PrincipalType = Azure::Authorization::Mgmt::V2018_09_01_preview::Models::PrincipalType
|
39
|
-
end
|
40
|
-
|
41
|
-
class AuthorizationManagementClass
|
42
|
-
attr_reader :classic_administrators, :provider_operations_metadata_operations, :permissions, :role_definitions, :deny_assignments, :role_assignments, :configurable, :base_url, :options, :model_classes
|
43
|
-
|
44
|
-
def initialize(configurable, base_url=nil, options=nil)
|
45
|
-
@configurable, @base_url, @options = configurable, base_url, options
|
46
|
-
|
47
|
-
@client_0 = Azure::Authorization::Mgmt::V2015_06_01_preview::AuthorizationManagementClient.new(configurable.credentials, base_url, options)
|
48
|
-
if(@client_0.respond_to?(:subscription_id))
|
49
|
-
@client_0.subscription_id = configurable.subscription_id
|
50
|
-
end
|
51
|
-
add_telemetry(@client_0)
|
52
|
-
@classic_administrators = @client_0.classic_administrators
|
53
|
-
|
54
|
-
@client_1 = Azure::Authorization::Mgmt::V2018_01_01_preview::AuthorizationManagementClient.new(configurable.credentials, base_url, options)
|
55
|
-
if(@client_1.respond_to?(:subscription_id))
|
56
|
-
@client_1.subscription_id = configurable.subscription_id
|
57
|
-
end
|
58
|
-
add_telemetry(@client_1)
|
59
|
-
@provider_operations_metadata_operations = @client_1.provider_operations_metadata_operations
|
60
|
-
@permissions = @client_1.permissions
|
61
|
-
@role_definitions = @client_1.role_definitions
|
62
|
-
|
63
|
-
@client_2 = Azure::Authorization::Mgmt::V2018_07_01_preview::AuthorizationManagementClient.new(configurable.credentials, base_url, options)
|
64
|
-
if(@client_2.respond_to?(:subscription_id))
|
65
|
-
@client_2.subscription_id = configurable.subscription_id
|
66
|
-
end
|
67
|
-
add_telemetry(@client_2)
|
68
|
-
@deny_assignments = @client_2.deny_assignments
|
69
|
-
|
70
|
-
@client_3 = Azure::Authorization::Mgmt::V2018_09_01_preview::AuthorizationManagementClient.new(configurable.credentials, base_url, options)
|
71
|
-
if(@client_3.respond_to?(:subscription_id))
|
72
|
-
@client_3.subscription_id = configurable.subscription_id
|
73
|
-
end
|
74
|
-
add_telemetry(@client_3)
|
75
|
-
@role_assignments = @client_3.role_assignments
|
76
|
-
|
77
|
-
@model_classes = ModelClasses.new
|
78
|
-
end
|
79
|
-
|
80
|
-
def add_telemetry(client)
|
81
|
-
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Authorization/Mgmt"
|
82
|
-
client.add_user_agent_information(profile_information)
|
83
|
-
end
|
84
|
-
|
85
|
-
def method_missing(method, *args)
|
86
|
-
if @client_3.respond_to?method
|
87
|
-
@client_3.send(method, *args)
|
88
|
-
elsif @client_2.respond_to?method
|
89
|
-
@client_2.send(method, *args)
|
90
|
-
elsif @client_1.respond_to?method
|
91
|
-
@client_1.send(method, *args)
|
92
|
-
elsif @client_0.respond_to?method
|
93
|
-
@client_0.send(method, *args)
|
94
|
-
else
|
95
|
-
super
|
96
|
-
end
|
97
|
-
end
|
98
|
-
|
99
|
-
class ModelClasses
|
100
|
-
def classic_administrator_list_result
|
101
|
-
Azure::Authorization::Mgmt::V2015_06_01_preview::Models::ClassicAdministratorListResult
|
102
|
-
end
|
103
|
-
def classic_administrator
|
104
|
-
Azure::Authorization::Mgmt::V2015_06_01_preview::Models::ClassicAdministrator
|
105
|
-
end
|
106
|
-
def resource_type
|
107
|
-
Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ResourceType
|
108
|
-
end
|
109
|
-
def role_definition_filter
|
110
|
-
Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinitionFilter
|
111
|
-
end
|
112
|
-
def provider_operations_metadata_list_result
|
113
|
-
Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ProviderOperationsMetadataListResult
|
114
|
-
end
|
115
|
-
def permission
|
116
|
-
Azure::Authorization::Mgmt::V2018_01_01_preview::Models::Permission
|
117
|
-
end
|
118
|
-
def role_definition
|
119
|
-
Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinition
|
120
|
-
end
|
121
|
-
def provider_operations_metadata
|
122
|
-
Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ProviderOperationsMetadata
|
123
|
-
end
|
124
|
-
def role_definition_list_result
|
125
|
-
Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinitionListResult
|
126
|
-
end
|
127
|
-
def provider_operation
|
128
|
-
Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ProviderOperation
|
129
|
-
end
|
130
|
-
def permission_get_result
|
131
|
-
Azure::Authorization::Mgmt::V2018_01_01_preview::Models::PermissionGetResult
|
132
|
-
end
|
133
|
-
def principal
|
134
|
-
Azure::Authorization::Mgmt::V2018_07_01_preview::Models::Principal
|
135
|
-
end
|
136
|
-
def deny_assignment
|
137
|
-
Azure::Authorization::Mgmt::V2018_07_01_preview::Models::DenyAssignment
|
138
|
-
end
|
139
|
-
def deny_assignment_permission
|
140
|
-
Azure::Authorization::Mgmt::V2018_07_01_preview::Models::DenyAssignmentPermission
|
141
|
-
end
|
142
|
-
def deny_assignment_list_result
|
143
|
-
Azure::Authorization::Mgmt::V2018_07_01_preview::Models::DenyAssignmentListResult
|
144
|
-
end
|
145
|
-
def deny_assignment_filter
|
146
|
-
Azure::Authorization::Mgmt::V2018_07_01_preview::Models::DenyAssignmentFilter
|
147
|
-
end
|
148
|
-
def role_assignment_list_result
|
149
|
-
Azure::Authorization::Mgmt::V2018_09_01_preview::Models::RoleAssignmentListResult
|
150
|
-
end
|
151
|
-
def role_assignment_filter
|
152
|
-
Azure::Authorization::Mgmt::V2018_09_01_preview::Models::RoleAssignmentFilter
|
153
|
-
end
|
154
|
-
def role_assignment_create_parameters
|
155
|
-
Azure::Authorization::Mgmt::V2018_09_01_preview::Models::RoleAssignmentCreateParameters
|
156
|
-
end
|
157
|
-
def role_assignment
|
158
|
-
Azure::Authorization::Mgmt::V2018_09_01_preview::Models::RoleAssignment
|
159
|
-
end
|
160
|
-
def principal_type
|
161
|
-
Azure::Authorization::Mgmt::V2018_09_01_preview::Models::PrincipalType
|
162
|
-
end
|
163
|
-
end
|
164
|
-
end
|
165
|
-
end
|
166
|
-
end
|
167
|
-
end
|
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
|
9
|
+
module Mgmt
|
10
|
+
ClassicAdministrators = Azure::Authorization::Mgmt::V2015_06_01_preview::ClassicAdministrators
|
11
|
+
ProviderOperationsMetadataOperations = Azure::Authorization::Mgmt::V2018_01_01_preview::ProviderOperationsMetadataOperations
|
12
|
+
Permissions = Azure::Authorization::Mgmt::V2018_01_01_preview::Permissions
|
13
|
+
RoleDefinitions = Azure::Authorization::Mgmt::V2018_01_01_preview::RoleDefinitions
|
14
|
+
DenyAssignments = Azure::Authorization::Mgmt::V2018_07_01_preview::DenyAssignments
|
15
|
+
RoleAssignments = Azure::Authorization::Mgmt::V2018_09_01_preview::RoleAssignments
|
16
|
+
|
17
|
+
module Models
|
18
|
+
ClassicAdministratorListResult = Azure::Authorization::Mgmt::V2015_06_01_preview::Models::ClassicAdministratorListResult
|
19
|
+
ClassicAdministrator = Azure::Authorization::Mgmt::V2015_06_01_preview::Models::ClassicAdministrator
|
20
|
+
ResourceType = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ResourceType
|
21
|
+
RoleDefinitionFilter = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinitionFilter
|
22
|
+
ProviderOperationsMetadataListResult = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ProviderOperationsMetadataListResult
|
23
|
+
Permission = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::Permission
|
24
|
+
RoleDefinition = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinition
|
25
|
+
ProviderOperationsMetadata = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ProviderOperationsMetadata
|
26
|
+
RoleDefinitionListResult = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinitionListResult
|
27
|
+
ProviderOperation = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ProviderOperation
|
28
|
+
PermissionGetResult = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::PermissionGetResult
|
29
|
+
Principal = Azure::Authorization::Mgmt::V2018_07_01_preview::Models::Principal
|
30
|
+
DenyAssignment = Azure::Authorization::Mgmt::V2018_07_01_preview::Models::DenyAssignment
|
31
|
+
DenyAssignmentPermission = Azure::Authorization::Mgmt::V2018_07_01_preview::Models::DenyAssignmentPermission
|
32
|
+
DenyAssignmentListResult = Azure::Authorization::Mgmt::V2018_07_01_preview::Models::DenyAssignmentListResult
|
33
|
+
DenyAssignmentFilter = Azure::Authorization::Mgmt::V2018_07_01_preview::Models::DenyAssignmentFilter
|
34
|
+
RoleAssignmentListResult = Azure::Authorization::Mgmt::V2018_09_01_preview::Models::RoleAssignmentListResult
|
35
|
+
RoleAssignmentFilter = Azure::Authorization::Mgmt::V2018_09_01_preview::Models::RoleAssignmentFilter
|
36
|
+
RoleAssignmentCreateParameters = Azure::Authorization::Mgmt::V2018_09_01_preview::Models::RoleAssignmentCreateParameters
|
37
|
+
RoleAssignment = Azure::Authorization::Mgmt::V2018_09_01_preview::Models::RoleAssignment
|
38
|
+
PrincipalType = Azure::Authorization::Mgmt::V2018_09_01_preview::Models::PrincipalType
|
39
|
+
end
|
40
|
+
|
41
|
+
class AuthorizationManagementClass
|
42
|
+
attr_reader :classic_administrators, :provider_operations_metadata_operations, :permissions, :role_definitions, :deny_assignments, :role_assignments, :configurable, :base_url, :options, :model_classes
|
43
|
+
|
44
|
+
def initialize(configurable, base_url=nil, options=nil)
|
45
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
46
|
+
|
47
|
+
@client_0 = Azure::Authorization::Mgmt::V2015_06_01_preview::AuthorizationManagementClient.new(configurable.credentials, base_url, options)
|
48
|
+
if(@client_0.respond_to?(:subscription_id))
|
49
|
+
@client_0.subscription_id = configurable.subscription_id
|
50
|
+
end
|
51
|
+
add_telemetry(@client_0)
|
52
|
+
@classic_administrators = @client_0.classic_administrators
|
53
|
+
|
54
|
+
@client_1 = Azure::Authorization::Mgmt::V2018_01_01_preview::AuthorizationManagementClient.new(configurable.credentials, base_url, options)
|
55
|
+
if(@client_1.respond_to?(:subscription_id))
|
56
|
+
@client_1.subscription_id = configurable.subscription_id
|
57
|
+
end
|
58
|
+
add_telemetry(@client_1)
|
59
|
+
@provider_operations_metadata_operations = @client_1.provider_operations_metadata_operations
|
60
|
+
@permissions = @client_1.permissions
|
61
|
+
@role_definitions = @client_1.role_definitions
|
62
|
+
|
63
|
+
@client_2 = Azure::Authorization::Mgmt::V2018_07_01_preview::AuthorizationManagementClient.new(configurable.credentials, base_url, options)
|
64
|
+
if(@client_2.respond_to?(:subscription_id))
|
65
|
+
@client_2.subscription_id = configurable.subscription_id
|
66
|
+
end
|
67
|
+
add_telemetry(@client_2)
|
68
|
+
@deny_assignments = @client_2.deny_assignments
|
69
|
+
|
70
|
+
@client_3 = Azure::Authorization::Mgmt::V2018_09_01_preview::AuthorizationManagementClient.new(configurable.credentials, base_url, options)
|
71
|
+
if(@client_3.respond_to?(:subscription_id))
|
72
|
+
@client_3.subscription_id = configurable.subscription_id
|
73
|
+
end
|
74
|
+
add_telemetry(@client_3)
|
75
|
+
@role_assignments = @client_3.role_assignments
|
76
|
+
|
77
|
+
@model_classes = ModelClasses.new
|
78
|
+
end
|
79
|
+
|
80
|
+
def add_telemetry(client)
|
81
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Authorization/Mgmt"
|
82
|
+
client.add_user_agent_information(profile_information)
|
83
|
+
end
|
84
|
+
|
85
|
+
def method_missing(method, *args)
|
86
|
+
if @client_3.respond_to?method
|
87
|
+
@client_3.send(method, *args)
|
88
|
+
elsif @client_2.respond_to?method
|
89
|
+
@client_2.send(method, *args)
|
90
|
+
elsif @client_1.respond_to?method
|
91
|
+
@client_1.send(method, *args)
|
92
|
+
elsif @client_0.respond_to?method
|
93
|
+
@client_0.send(method, *args)
|
94
|
+
else
|
95
|
+
super
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
class ModelClasses
|
100
|
+
def classic_administrator_list_result
|
101
|
+
Azure::Authorization::Mgmt::V2015_06_01_preview::Models::ClassicAdministratorListResult
|
102
|
+
end
|
103
|
+
def classic_administrator
|
104
|
+
Azure::Authorization::Mgmt::V2015_06_01_preview::Models::ClassicAdministrator
|
105
|
+
end
|
106
|
+
def resource_type
|
107
|
+
Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ResourceType
|
108
|
+
end
|
109
|
+
def role_definition_filter
|
110
|
+
Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinitionFilter
|
111
|
+
end
|
112
|
+
def provider_operations_metadata_list_result
|
113
|
+
Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ProviderOperationsMetadataListResult
|
114
|
+
end
|
115
|
+
def permission
|
116
|
+
Azure::Authorization::Mgmt::V2018_01_01_preview::Models::Permission
|
117
|
+
end
|
118
|
+
def role_definition
|
119
|
+
Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinition
|
120
|
+
end
|
121
|
+
def provider_operations_metadata
|
122
|
+
Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ProviderOperationsMetadata
|
123
|
+
end
|
124
|
+
def role_definition_list_result
|
125
|
+
Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinitionListResult
|
126
|
+
end
|
127
|
+
def provider_operation
|
128
|
+
Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ProviderOperation
|
129
|
+
end
|
130
|
+
def permission_get_result
|
131
|
+
Azure::Authorization::Mgmt::V2018_01_01_preview::Models::PermissionGetResult
|
132
|
+
end
|
133
|
+
def principal
|
134
|
+
Azure::Authorization::Mgmt::V2018_07_01_preview::Models::Principal
|
135
|
+
end
|
136
|
+
def deny_assignment
|
137
|
+
Azure::Authorization::Mgmt::V2018_07_01_preview::Models::DenyAssignment
|
138
|
+
end
|
139
|
+
def deny_assignment_permission
|
140
|
+
Azure::Authorization::Mgmt::V2018_07_01_preview::Models::DenyAssignmentPermission
|
141
|
+
end
|
142
|
+
def deny_assignment_list_result
|
143
|
+
Azure::Authorization::Mgmt::V2018_07_01_preview::Models::DenyAssignmentListResult
|
144
|
+
end
|
145
|
+
def deny_assignment_filter
|
146
|
+
Azure::Authorization::Mgmt::V2018_07_01_preview::Models::DenyAssignmentFilter
|
147
|
+
end
|
148
|
+
def role_assignment_list_result
|
149
|
+
Azure::Authorization::Mgmt::V2018_09_01_preview::Models::RoleAssignmentListResult
|
150
|
+
end
|
151
|
+
def role_assignment_filter
|
152
|
+
Azure::Authorization::Mgmt::V2018_09_01_preview::Models::RoleAssignmentFilter
|
153
|
+
end
|
154
|
+
def role_assignment_create_parameters
|
155
|
+
Azure::Authorization::Mgmt::V2018_09_01_preview::Models::RoleAssignmentCreateParameters
|
156
|
+
end
|
157
|
+
def role_assignment
|
158
|
+
Azure::Authorization::Mgmt::V2018_09_01_preview::Models::RoleAssignment
|
159
|
+
end
|
160
|
+
def principal_type
|
161
|
+
Azure::Authorization::Mgmt::V2018_09_01_preview::Models::PrincipalType
|
162
|
+
end
|
163
|
+
end
|
164
|
+
end
|
165
|
+
end
|
166
|
+
end
|
167
|
+
end
|