azure_mgmt_key_vault 0.17.3 → 0.17.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2015-06-01/generated/azure_mgmt_key_vault/key_vault_management_client.rb +1 -1
- data/lib/2016-10-01/generated/azure_mgmt_key_vault/key_vault_management_client.rb +1 -1
- data/lib/2018-02-14/generated/azure_mgmt_key_vault/key_vault_management_client.rb +1 -1
- data/lib/azure_mgmt_key_vault.rb +1 -0
- data/lib/profiles/v2019_03_01_hybrid/keyvault_module_definition.rb +8 -0
- data/lib/profiles/v2019_03_01_hybrid/keyvault_v2019_03_01_hybrid_profile_client.rb +40 -0
- data/lib/profiles/v2019_03_01_hybrid/modules/keyvault_profile_module.rb +187 -0
- data/lib/version.rb +1 -1
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a401cedca538b83cc987d4314fc21e6e45bb894c217e1cfb9b9203c27ea9bc0d
|
4
|
+
data.tar.gz: 7a58734b33ca11bad58ff7da27a312b8309896dcd75d9ebb65f39e3516faf07e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5636d6709ae045a4b505b9d2b651fa4e1b8e3f90153bab2a766c0797ad70e01a290c596a6c3a8b3971f3160e0a8bdce2c75a7d1aaa2c06ce08046f798e0ebc69
|
7
|
+
data.tar.gz: 0a36fb1d4f45b70588723a1d2fba31de8de7bc511d6e972d75635e6e69fba75dbe66be7bf99923d2dd5611cd27742c98b0ad81106ca92e7d774f932112a1cc2a
|
@@ -126,7 +126,7 @@ module Azure::KeyVault::Mgmt::V2015_06_01
|
|
126
126
|
#
|
127
127
|
def add_telemetry
|
128
128
|
sdk_information = 'azure_mgmt_key_vault'
|
129
|
-
sdk_information = "#{sdk_information}/0.17.
|
129
|
+
sdk_information = "#{sdk_information}/0.17.4"
|
130
130
|
add_user_agent_information(sdk_information)
|
131
131
|
end
|
132
132
|
end
|
@@ -130,7 +130,7 @@ module Azure::KeyVault::Mgmt::V2016_10_01
|
|
130
130
|
#
|
131
131
|
def add_telemetry
|
132
132
|
sdk_information = 'azure_mgmt_key_vault'
|
133
|
-
sdk_information = "#{sdk_information}/0.17.
|
133
|
+
sdk_information = "#{sdk_information}/0.17.4"
|
134
134
|
add_user_agent_information(sdk_information)
|
135
135
|
end
|
136
136
|
end
|
@@ -130,7 +130,7 @@ module Azure::KeyVault::Mgmt::V2018_02_14
|
|
130
130
|
#
|
131
131
|
def add_telemetry
|
132
132
|
sdk_information = 'azure_mgmt_key_vault'
|
133
|
-
sdk_information = "#{sdk_information}/0.17.
|
133
|
+
sdk_information = "#{sdk_information}/0.17.4"
|
134
134
|
add_user_agent_information(sdk_information)
|
135
135
|
end
|
136
136
|
end
|
data/lib/azure_mgmt_key_vault.rb
CHANGED
@@ -7,4 +7,5 @@ require '2016-10-01/generated/azure_mgmt_key_vault'
|
|
7
7
|
require '2015-06-01/generated/azure_mgmt_key_vault'
|
8
8
|
require 'profiles/v2017_03_09/keyvault_v2017_03_09_profile_client'
|
9
9
|
require 'profiles/latest/keyvault_latest_profile_client'
|
10
|
+
require 'profiles/v2019_03_01_hybrid/keyvault_v2019_03_01_hybrid_profile_client'
|
10
11
|
require 'profiles/v2018_03_01/keyvault_v2018_03_01_profile_client'
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
|
+
|
5
|
+
module Azure end
|
6
|
+
module Azure::KeyVault end
|
7
|
+
module Azure::KeyVault::Profiles end
|
8
|
+
module Azure::KeyVault::Profiles::V2019_03_01_Hybrid end
|
@@ -0,0 +1,40 @@
|
|
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 'profiles/v2019_03_01_hybrid/keyvault_module_definition'
|
6
|
+
require 'profiles/v2019_03_01_hybrid/modules/keyvault_profile_module'
|
7
|
+
|
8
|
+
module Azure::KeyVault::Profiles::V2019_03_01_Hybrid
|
9
|
+
module Mgmt
|
10
|
+
#
|
11
|
+
# Client class for the V2019_03_01_Hybrid profile SDK.
|
12
|
+
#
|
13
|
+
class Client < KeyVaultManagementClass
|
14
|
+
include MsRestAzure::Common::Configurable
|
15
|
+
|
16
|
+
#
|
17
|
+
# Initializes a new instance of the Client class.
|
18
|
+
# @param options [Hash] hash of client options.
|
19
|
+
# options = {
|
20
|
+
# tenant_id: 'YOUR TENANT ID',
|
21
|
+
# client_id: 'YOUR CLIENT ID',
|
22
|
+
# client_secret: 'YOUR CLIENT SECRET',
|
23
|
+
# subscription_id: 'YOUR SUBSCRIPTION ID',
|
24
|
+
# credentials: credentials,
|
25
|
+
# active_directory_settings: active_directory_settings,
|
26
|
+
# base_url: 'YOUR BASE URL',
|
27
|
+
# options: options
|
28
|
+
# }
|
29
|
+
# 'credentials' are optional and if not passed in the hash, will be obtained
|
30
|
+
# from MsRest::TokenCredentials using MsRestAzure::ApplicationTokenProvider.
|
31
|
+
#
|
32
|
+
# Also, base_url, active_directory_settings & options are optional.
|
33
|
+
#
|
34
|
+
def initialize(options = {})
|
35
|
+
super(options)
|
36
|
+
end
|
37
|
+
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,187 @@
|
|
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_key_vault'
|
6
|
+
|
7
|
+
module Azure::KeyVault::Profiles::V2019_03_01_Hybrid
|
8
|
+
module Mgmt
|
9
|
+
Vaults = Azure::KeyVault::Mgmt::V2016_10_01::Vaults
|
10
|
+
Operations = Azure::KeyVault::Mgmt::V2016_10_01::Operations
|
11
|
+
|
12
|
+
module Models
|
13
|
+
DeletedVault = Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVault
|
14
|
+
VaultListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultListResult
|
15
|
+
Permissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::Permissions
|
16
|
+
DeletedVaultListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultListResult
|
17
|
+
VaultProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultProperties
|
18
|
+
Resource = Azure::KeyVault::Mgmt::V2016_10_01::Models::Resource
|
19
|
+
VaultAccessPolicyProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyProperties
|
20
|
+
ResourceListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::ResourceListResult
|
21
|
+
VaultCreateOrUpdateParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultCreateOrUpdateParameters
|
22
|
+
VaultCheckNameAvailabilityParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultCheckNameAvailabilityParameters
|
23
|
+
VaultAccessPolicyParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyParameters
|
24
|
+
CheckNameAvailabilityResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::CheckNameAvailabilityResult
|
25
|
+
Sku = Azure::KeyVault::Mgmt::V2016_10_01::Models::Sku
|
26
|
+
OperationDisplay = Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationDisplay
|
27
|
+
VaultPatchProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchProperties
|
28
|
+
LogSpecification = Azure::KeyVault::Mgmt::V2016_10_01::Models::LogSpecification
|
29
|
+
VaultPatchParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchParameters
|
30
|
+
ServiceSpecification = Azure::KeyVault::Mgmt::V2016_10_01::Models::ServiceSpecification
|
31
|
+
AccessPolicyEntry = Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyEntry
|
32
|
+
Operation = Azure::KeyVault::Mgmt::V2016_10_01::Models::Operation
|
33
|
+
DeletedVaultProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultProperties
|
34
|
+
OperationListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationListResult
|
35
|
+
Vault = Azure::KeyVault::Mgmt::V2016_10_01::Models::Vault
|
36
|
+
SkuName = Azure::KeyVault::Mgmt::V2016_10_01::Models::SkuName
|
37
|
+
KeyPermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::KeyPermissions
|
38
|
+
SecretPermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::SecretPermissions
|
39
|
+
CertificatePermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::CertificatePermissions
|
40
|
+
StoragePermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::StoragePermissions
|
41
|
+
CreateMode = Azure::KeyVault::Mgmt::V2016_10_01::Models::CreateMode
|
42
|
+
Reason = Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason
|
43
|
+
AccessPolicyUpdateKind = Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyUpdateKind
|
44
|
+
end
|
45
|
+
|
46
|
+
#
|
47
|
+
# KeyVaultManagementClass
|
48
|
+
#
|
49
|
+
class KeyVaultManagementClass
|
50
|
+
attr_reader :vaults, :operations, :configurable, :base_url, :options, :model_classes
|
51
|
+
|
52
|
+
def initialize(options = {})
|
53
|
+
if options.is_a?(Hash) && options.length == 0
|
54
|
+
@options = setup_default_options
|
55
|
+
else
|
56
|
+
@options = options
|
57
|
+
end
|
58
|
+
|
59
|
+
reset!(options)
|
60
|
+
|
61
|
+
@configurable = self
|
62
|
+
@base_url = options[:base_url].nil? ? nil:options[:base_url]
|
63
|
+
@options = options[:options].nil? ? nil:options[:options]
|
64
|
+
|
65
|
+
@client_0 = Azure::KeyVault::Mgmt::V2016_10_01::KeyVaultManagementClient.new(configurable.credentials, base_url, options)
|
66
|
+
if(@client_0.respond_to?(:subscription_id))
|
67
|
+
@client_0.subscription_id = configurable.subscription_id
|
68
|
+
end
|
69
|
+
add_telemetry(@client_0)
|
70
|
+
@vaults = @client_0.vaults
|
71
|
+
@operations = @client_0.operations
|
72
|
+
|
73
|
+
@model_classes = ModelClasses.new
|
74
|
+
end
|
75
|
+
|
76
|
+
def add_telemetry(client)
|
77
|
+
profile_information = 'Profiles/V2019_03_01_Hybrid/KeyVault/Mgmt'
|
78
|
+
client.add_user_agent_information(profile_information)
|
79
|
+
end
|
80
|
+
|
81
|
+
def method_missing(method, *args)
|
82
|
+
if @client_0.respond_to?method
|
83
|
+
@client_0.send(method, *args)
|
84
|
+
else
|
85
|
+
super
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
end
|
90
|
+
|
91
|
+
class ModelClasses
|
92
|
+
def deleted_vault
|
93
|
+
Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVault
|
94
|
+
end
|
95
|
+
def vault_list_result
|
96
|
+
Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultListResult
|
97
|
+
end
|
98
|
+
def permissions
|
99
|
+
Azure::KeyVault::Mgmt::V2016_10_01::Models::Permissions
|
100
|
+
end
|
101
|
+
def deleted_vault_list_result
|
102
|
+
Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultListResult
|
103
|
+
end
|
104
|
+
def vault_properties
|
105
|
+
Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultProperties
|
106
|
+
end
|
107
|
+
def resource
|
108
|
+
Azure::KeyVault::Mgmt::V2016_10_01::Models::Resource
|
109
|
+
end
|
110
|
+
def vault_access_policy_properties
|
111
|
+
Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyProperties
|
112
|
+
end
|
113
|
+
def resource_list_result
|
114
|
+
Azure::KeyVault::Mgmt::V2016_10_01::Models::ResourceListResult
|
115
|
+
end
|
116
|
+
def vault_create_or_update_parameters
|
117
|
+
Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultCreateOrUpdateParameters
|
118
|
+
end
|
119
|
+
def vault_check_name_availability_parameters
|
120
|
+
Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultCheckNameAvailabilityParameters
|
121
|
+
end
|
122
|
+
def vault_access_policy_parameters
|
123
|
+
Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyParameters
|
124
|
+
end
|
125
|
+
def check_name_availability_result
|
126
|
+
Azure::KeyVault::Mgmt::V2016_10_01::Models::CheckNameAvailabilityResult
|
127
|
+
end
|
128
|
+
def sku
|
129
|
+
Azure::KeyVault::Mgmt::V2016_10_01::Models::Sku
|
130
|
+
end
|
131
|
+
def operation_display
|
132
|
+
Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationDisplay
|
133
|
+
end
|
134
|
+
def vault_patch_properties
|
135
|
+
Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchProperties
|
136
|
+
end
|
137
|
+
def log_specification
|
138
|
+
Azure::KeyVault::Mgmt::V2016_10_01::Models::LogSpecification
|
139
|
+
end
|
140
|
+
def vault_patch_parameters
|
141
|
+
Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchParameters
|
142
|
+
end
|
143
|
+
def service_specification
|
144
|
+
Azure::KeyVault::Mgmt::V2016_10_01::Models::ServiceSpecification
|
145
|
+
end
|
146
|
+
def access_policy_entry
|
147
|
+
Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyEntry
|
148
|
+
end
|
149
|
+
def operation
|
150
|
+
Azure::KeyVault::Mgmt::V2016_10_01::Models::Operation
|
151
|
+
end
|
152
|
+
def deleted_vault_properties
|
153
|
+
Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultProperties
|
154
|
+
end
|
155
|
+
def operation_list_result
|
156
|
+
Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationListResult
|
157
|
+
end
|
158
|
+
def vault
|
159
|
+
Azure::KeyVault::Mgmt::V2016_10_01::Models::Vault
|
160
|
+
end
|
161
|
+
def sku_name
|
162
|
+
Azure::KeyVault::Mgmt::V2016_10_01::Models::SkuName
|
163
|
+
end
|
164
|
+
def key_permissions
|
165
|
+
Azure::KeyVault::Mgmt::V2016_10_01::Models::KeyPermissions
|
166
|
+
end
|
167
|
+
def secret_permissions
|
168
|
+
Azure::KeyVault::Mgmt::V2016_10_01::Models::SecretPermissions
|
169
|
+
end
|
170
|
+
def certificate_permissions
|
171
|
+
Azure::KeyVault::Mgmt::V2016_10_01::Models::CertificatePermissions
|
172
|
+
end
|
173
|
+
def storage_permissions
|
174
|
+
Azure::KeyVault::Mgmt::V2016_10_01::Models::StoragePermissions
|
175
|
+
end
|
176
|
+
def create_mode
|
177
|
+
Azure::KeyVault::Mgmt::V2016_10_01::Models::CreateMode
|
178
|
+
end
|
179
|
+
def reason
|
180
|
+
Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason
|
181
|
+
end
|
182
|
+
def access_policy_update_kind
|
183
|
+
Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyUpdateKind
|
184
|
+
end
|
185
|
+
end
|
186
|
+
end
|
187
|
+
end
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_mgmt_key_vault
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.17.
|
4
|
+
version: 0.17.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-04-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -192,6 +192,9 @@ files:
|
|
192
192
|
- lib/profiles/v2018_03_01/keyvault_module_definition.rb
|
193
193
|
- lib/profiles/v2018_03_01/keyvault_v2018_03_01_profile_client.rb
|
194
194
|
- lib/profiles/v2018_03_01/modules/keyvault_profile_module.rb
|
195
|
+
- lib/profiles/v2019_03_01_hybrid/keyvault_module_definition.rb
|
196
|
+
- lib/profiles/v2019_03_01_hybrid/keyvault_v2019_03_01_hybrid_profile_client.rb
|
197
|
+
- lib/profiles/v2019_03_01_hybrid/modules/keyvault_profile_module.rb
|
195
198
|
- lib/version.rb
|
196
199
|
homepage: https://aka.ms/azure-sdk-for-ruby
|
197
200
|
licenses:
|