azure_key_vault 0.18.1 → 0.19.0
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_key_vault/key_vault_client.rb +38 -38
- data/lib/2015-06-01/generated/azure_key_vault/models/certificate_import_parameters.rb +1 -1
- data/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb +46 -46
- data/lib/2016-10-01/generated/azure_key_vault/models/certificate_import_parameters.rb +1 -1
- data/lib/7.0-preview/generated/azure_key_vault/key_vault_client.rb +50 -50
- data/lib/7.0-preview/generated/azure_key_vault/models/certificate_import_parameters.rb +1 -1
- data/lib/7.0/generated/azure_key_vault/key_vault_client.rb +49 -49
- data/lib/7.0/generated/azure_key_vault/models/certificate_import_parameters.rb +1 -1
- data/lib/7.1-preview/generated/azure_key_vault/key_vault_client.rb +50 -50
- data/lib/7.1-preview/generated/azure_key_vault/models/certificate_import_parameters.rb +1 -1
- data/lib/7.1/generated/azure_key_vault/key_vault_client.rb +50 -50
- data/lib/7.1/generated/azure_key_vault/models/certificate_import_parameters.rb +1 -1
- data/lib/7.2-preview/generated/azure_key_vault.rb +56 -64
- data/lib/7.2-preview/generated/azure_key_vault/hsmsecurity_domain.rb +206 -49
- data/lib/7.2-preview/generated/azure_key_vault/key_vault_client.rb +68 -218
- data/lib/7.2-preview/generated/azure_key_vault/models/certificate_import_parameters.rb +1 -1
- data/lib/7.2-preview/generated/azure_key_vault/models/certificate_info_object.rb +1 -1
- data/lib/7.2-preview/generated/azure_key_vault/models/data_action.rb +43 -0
- data/lib/7.2-preview/generated/azure_key_vault/models/deleted_key_bundle.rb +0 -9
- data/lib/7.2-preview/generated/azure_key_vault/models/json_web_key_operation.rb +0 -1
- data/lib/7.2-preview/generated/azure_key_vault/models/key_attributes.rb +0 -11
- data/lib/7.2-preview/generated/azure_key_vault/models/key_bundle.rb +0 -13
- data/lib/7.2-preview/generated/azure_key_vault/models/key_create_parameters.rb +0 -13
- data/lib/7.2-preview/generated/azure_key_vault/models/key_import_parameters.rb +0 -13
- data/lib/7.2-preview/generated/azure_key_vault/models/key_operation_result.rb +36 -0
- data/lib/7.2-preview/generated/azure_key_vault/models/key_properties.rb +0 -11
- data/lib/7.2-preview/generated/azure_key_vault/models/key_update_parameters.rb +0 -13
- data/lib/7.2-preview/generated/azure_key_vault/models/permission.rb +10 -6
- data/lib/7.2-preview/generated/azure_key_vault/models/restore_operation_parameters.rb +2 -1
- data/lib/7.2-preview/generated/azure_key_vault/models/role_assignment_properties_with_scope.rb +1 -1
- data/lib/7.2-preview/generated/azure_key_vault/models/role_definition.rb +6 -4
- data/lib/7.2-preview/generated/azure_key_vault/models/{security_domain_upload_object.rb → role_definition_create_parameters.rb} +10 -10
- data/lib/7.2-preview/generated/azure_key_vault/models/role_definition_properties.rb +108 -0
- data/lib/7.2-preview/generated/azure_key_vault/models/role_definition_type.rb +15 -0
- data/lib/7.2-preview/generated/azure_key_vault/models/{key_release_policy_version.rb → role_scope.rb} +4 -3
- data/lib/7.2-preview/generated/azure_key_vault/models/{key_release_condition_condition.rb → role_type.rb} +4 -3
- data/lib/7.2-preview/generated/azure_key_vault/models/security_domain_json_web_key.rb +1 -1
- data/lib/7.2-preview/generated/azure_key_vault/models/security_domain_object.rb +6 -7
- data/lib/7.2-preview/generated/azure_key_vault/models/selective_key_restore_operation_parameters.rb +2 -1
- data/lib/7.2-preview/generated/azure_key_vault/role_definitions.rb +335 -0
- data/lib/azure_key_vault.rb +5 -5
- data/lib/profiles/latest/modules/keyvault_profile_module.rb +180 -212
- data/lib/version.rb +1 -1
- metadata +8 -16
- data/lib/7.2-preview/generated/azure_key_vault/models/enc_data_set.rb +0 -72
- data/lib/7.2-preview/generated/azure_key_vault/models/enc_data_set_item.rb +0 -58
- data/lib/7.2-preview/generated/azure_key_vault/models/key.rb +0 -58
- data/lib/7.2-preview/generated/azure_key_vault/models/key_export_parameters.rb +0 -49
- data/lib/7.2-preview/generated/azure_key_vault/models/key_release_authority.rb +0 -70
- data/lib/7.2-preview/generated/azure_key_vault/models/key_release_condition.rb +0 -76
- data/lib/7.2-preview/generated/azure_key_vault/models/key_release_policy.rb +0 -68
- data/lib/7.2-preview/generated/azure_key_vault/models/security_domain_object_data.rb +0 -71
- data/lib/7.2-preview/generated/azure_key_vault/models/security_domain_object_data_shared_keys.rb +0 -87
- data/lib/7.2-preview/generated/azure_key_vault/models/security_domain_upload_object_value.rb +0 -61
- data/lib/7.2-preview/generated/azure_key_vault/models/security_domain_upload_object_value_wrapped_key.rb +0 -59
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e258f1d1d80765748a05ae2c3bea3021ed458367bb6a3953584b2065db9afbf3
|
4
|
+
data.tar.gz: d277b39343849bc231b905edd80125934f8c3b50385bfd21b82c3b18a7458bdf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14eed79178babfd990b899b0f3ca439015bc7fbc39ec4d453aa3ede7d443e0ed8a1377ca71eb64c67e3c3ad94ef5f9fdbe92efa869de38781d8ce574256b6f2f
|
7
|
+
data.tar.gz: 82fa25eea414ac5195b6b591ee85f548c6e9384bc6ab0e165b65c34846beb8b72d1d2ba9f832685af201ad5ab709487f05b3e2a7898ddf04268ec5d0227471bd
|
@@ -183,12 +183,12 @@ module Azure::KeyVault::V2015_06_01
|
|
183
183
|
fail ArgumentError, 'kty is nil' if kty.nil?
|
184
184
|
fail ArgumentError, "'kty' should satisfy the constraint - 'MinLength': '1'" if !kty.nil? && kty.length < 1
|
185
185
|
|
186
|
-
parameters = KeyCreateParameters.new
|
186
|
+
parameters = Azure::KeyVault::V2015_06_01::Models::KeyCreateParameters.new
|
187
187
|
unless kty.nil? && key_size.nil? && key_ops.nil? && key_attributes.nil? && tags.nil?
|
188
188
|
parameters.kty = kty
|
189
189
|
parameters.key_size = key_size
|
190
190
|
parameters.key_ops = key_ops
|
191
|
-
parameters.
|
191
|
+
parameters.key_attributes = key_attributes
|
192
192
|
parameters.tags = tags
|
193
193
|
end
|
194
194
|
|
@@ -315,11 +315,11 @@ module Azure::KeyVault::V2015_06_01
|
|
315
315
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
316
316
|
fail ArgumentError, 'key is nil' if key.nil?
|
317
317
|
|
318
|
-
parameters = KeyImportParameters.new
|
318
|
+
parameters = Azure::KeyVault::V2015_06_01::Models::KeyImportParameters.new
|
319
319
|
unless hsm.nil? && key.nil? && key_attributes.nil? && tags.nil?
|
320
320
|
parameters.hsm = hsm
|
321
321
|
parameters.key = key
|
322
|
-
parameters.
|
322
|
+
parameters.key_attributes = key_attributes
|
323
323
|
parameters.tags = tags
|
324
324
|
end
|
325
325
|
|
@@ -542,10 +542,10 @@ module Azure::KeyVault::V2015_06_01
|
|
542
542
|
fail ArgumentError, 'key_version is nil' if key_version.nil?
|
543
543
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
544
544
|
|
545
|
-
parameters = KeyUpdateParameters.new
|
545
|
+
parameters = Azure::KeyVault::V2015_06_01::Models::KeyUpdateParameters.new
|
546
546
|
unless key_ops.nil? && key_attributes.nil? && tags.nil?
|
547
547
|
parameters.key_ops = key_ops
|
548
|
-
parameters.
|
548
|
+
parameters.key_attributes = key_attributes
|
549
549
|
parameters.tags = tags
|
550
550
|
end
|
551
551
|
|
@@ -1055,9 +1055,9 @@ module Azure::KeyVault::V2015_06_01
|
|
1055
1055
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
1056
1056
|
fail ArgumentError, 'key_bundle_backup is nil' if key_bundle_backup.nil?
|
1057
1057
|
|
1058
|
-
parameters = KeyRestoreParameters.new
|
1058
|
+
parameters = Azure::KeyVault::V2015_06_01::Models::KeyRestoreParameters.new
|
1059
1059
|
unless key_bundle_backup.nil?
|
1060
|
-
parameters.
|
1060
|
+
parameters.key_bundle_backup = key_bundle_backup
|
1061
1061
|
end
|
1062
1062
|
|
1063
1063
|
request_headers = {}
|
@@ -1181,7 +1181,7 @@ module Azure::KeyVault::V2015_06_01
|
|
1181
1181
|
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
|
1182
1182
|
fail ArgumentError, 'value is nil' if value.nil?
|
1183
1183
|
|
1184
|
-
parameters = KeyOperationsParameters.new
|
1184
|
+
parameters = Azure::KeyVault::V2015_06_01::Models::KeyOperationsParameters.new
|
1185
1185
|
unless algorithm.nil? && value.nil?
|
1186
1186
|
parameters.algorithm = algorithm
|
1187
1187
|
parameters.value = value
|
@@ -1306,7 +1306,7 @@ module Azure::KeyVault::V2015_06_01
|
|
1306
1306
|
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
|
1307
1307
|
fail ArgumentError, 'value is nil' if value.nil?
|
1308
1308
|
|
1309
|
-
parameters = KeyOperationsParameters.new
|
1309
|
+
parameters = Azure::KeyVault::V2015_06_01::Models::KeyOperationsParameters.new
|
1310
1310
|
unless algorithm.nil? && value.nil?
|
1311
1311
|
parameters.algorithm = algorithm
|
1312
1312
|
parameters.value = value
|
@@ -1437,7 +1437,7 @@ module Azure::KeyVault::V2015_06_01
|
|
1437
1437
|
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
|
1438
1438
|
fail ArgumentError, 'value is nil' if value.nil?
|
1439
1439
|
|
1440
|
-
parameters = KeySignParameters.new
|
1440
|
+
parameters = Azure::KeyVault::V2015_06_01::Models::KeySignParameters.new
|
1441
1441
|
unless algorithm.nil? && value.nil?
|
1442
1442
|
parameters.algorithm = algorithm
|
1443
1443
|
parameters.value = value
|
@@ -1572,7 +1572,7 @@ module Azure::KeyVault::V2015_06_01
|
|
1572
1572
|
fail ArgumentError, 'digest is nil' if digest.nil?
|
1573
1573
|
fail ArgumentError, 'signature is nil' if signature.nil?
|
1574
1574
|
|
1575
|
-
parameters = KeyVerifyParameters.new
|
1575
|
+
parameters = Azure::KeyVault::V2015_06_01::Models::KeyVerifyParameters.new
|
1576
1576
|
unless algorithm.nil? && digest.nil? && signature.nil?
|
1577
1577
|
parameters.algorithm = algorithm
|
1578
1578
|
parameters.digest = digest
|
@@ -1698,7 +1698,7 @@ module Azure::KeyVault::V2015_06_01
|
|
1698
1698
|
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
|
1699
1699
|
fail ArgumentError, 'value is nil' if value.nil?
|
1700
1700
|
|
1701
|
-
parameters = KeyOperationsParameters.new
|
1701
|
+
parameters = Azure::KeyVault::V2015_06_01::Models::KeyOperationsParameters.new
|
1702
1702
|
unless algorithm.nil? && value.nil?
|
1703
1703
|
parameters.algorithm = algorithm
|
1704
1704
|
parameters.value = value
|
@@ -1826,7 +1826,7 @@ module Azure::KeyVault::V2015_06_01
|
|
1826
1826
|
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
|
1827
1827
|
fail ArgumentError, 'value is nil' if value.nil?
|
1828
1828
|
|
1829
|
-
parameters = KeyOperationsParameters.new
|
1829
|
+
parameters = Azure::KeyVault::V2015_06_01::Models::KeyOperationsParameters.new
|
1830
1830
|
unless algorithm.nil? && value.nil?
|
1831
1831
|
parameters.algorithm = algorithm
|
1832
1832
|
parameters.value = value
|
@@ -1952,12 +1952,12 @@ module Azure::KeyVault::V2015_06_01
|
|
1952
1952
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
1953
1953
|
fail ArgumentError, 'value is nil' if value.nil?
|
1954
1954
|
|
1955
|
-
parameters = SecretSetParameters.new
|
1955
|
+
parameters = Azure::KeyVault::V2015_06_01::Models::SecretSetParameters.new
|
1956
1956
|
unless value.nil? && tags.nil? && content_type.nil? && secret_attributes.nil?
|
1957
1957
|
parameters.value = value
|
1958
1958
|
parameters.tags = tags
|
1959
1959
|
parameters.content_type = content_type
|
1960
|
-
parameters.
|
1960
|
+
parameters.secret_attributes = secret_attributes
|
1961
1961
|
end
|
1962
1962
|
|
1963
1963
|
request_headers = {}
|
@@ -2176,10 +2176,10 @@ module Azure::KeyVault::V2015_06_01
|
|
2176
2176
|
fail ArgumentError, 'secret_version is nil' if secret_version.nil?
|
2177
2177
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
2178
2178
|
|
2179
|
-
parameters = SecretUpdateParameters.new
|
2179
|
+
parameters = Azure::KeyVault::V2015_06_01::Models::SecretUpdateParameters.new
|
2180
2180
|
unless content_type.nil? && secret_attributes.nil? && tags.nil?
|
2181
2181
|
parameters.content_type = content_type
|
2182
|
-
parameters.
|
2182
|
+
parameters.secret_attributes = secret_attributes
|
2183
2183
|
parameters.tags = tags
|
2184
2184
|
end
|
2185
2185
|
|
@@ -3654,10 +3654,10 @@ module Azure::KeyVault::V2015_06_01
|
|
3654
3654
|
fail ArgumentError, "'certificate_name' should satisfy the constraint - 'Pattern': '^[0-9a-zA-Z-]+$'" if !certificate_name.nil? && certificate_name.match(Regexp.new('^^[0-9a-zA-Z-]+$$')).nil?
|
3655
3655
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
3656
3656
|
|
3657
|
-
parameters = CertificateCreateParameters.new
|
3657
|
+
parameters = Azure::KeyVault::V2015_06_01::Models::CertificateCreateParameters.new
|
3658
3658
|
unless certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
|
3659
|
-
parameters.
|
3660
|
-
parameters.
|
3659
|
+
parameters.certificate_policy = certificate_policy
|
3660
|
+
parameters.certificate_attributes = certificate_attributes
|
3661
3661
|
parameters.tags = tags
|
3662
3662
|
end
|
3663
3663
|
|
@@ -3726,7 +3726,7 @@ module Azure::KeyVault::V2015_06_01
|
|
3726
3726
|
# @param base64encoded_certificate [String] Base64 encoded representation of
|
3727
3727
|
# the certificate object to import. This certificate needs to contain the
|
3728
3728
|
# private key.
|
3729
|
-
# @param password [String] If the private key in
|
3729
|
+
# @param password [String] If the private key in base64encoded_certificate is
|
3730
3730
|
# encrypted, the password used for encryption
|
3731
3731
|
# @param certificate_policy [CertificatePolicy] The management policy for the
|
3732
3732
|
# certificate
|
@@ -3753,7 +3753,7 @@ module Azure::KeyVault::V2015_06_01
|
|
3753
3753
|
# @param base64encoded_certificate [String] Base64 encoded representation of
|
3754
3754
|
# the certificate object to import. This certificate needs to contain the
|
3755
3755
|
# private key.
|
3756
|
-
# @param password [String] If the private key in
|
3756
|
+
# @param password [String] If the private key in base64encoded_certificate is
|
3757
3757
|
# encrypted, the password used for encryption
|
3758
3758
|
# @param certificate_policy [CertificatePolicy] The management policy for the
|
3759
3759
|
# certificate
|
@@ -3779,7 +3779,7 @@ module Azure::KeyVault::V2015_06_01
|
|
3779
3779
|
# @param base64encoded_certificate [String] Base64 encoded representation of
|
3780
3780
|
# the certificate object to import. This certificate needs to contain the
|
3781
3781
|
# private key.
|
3782
|
-
# @param password [String] If the private key in
|
3782
|
+
# @param password [String] If the private key in base64encoded_certificate is
|
3783
3783
|
# encrypted, the password used for encryption
|
3784
3784
|
# @param certificate_policy [CertificatePolicy] The management policy for the
|
3785
3785
|
# certificate
|
@@ -3799,12 +3799,12 @@ module Azure::KeyVault::V2015_06_01
|
|
3799
3799
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
3800
3800
|
fail ArgumentError, 'base64encoded_certificate is nil' if base64encoded_certificate.nil?
|
3801
3801
|
|
3802
|
-
parameters = CertificateImportParameters.new
|
3802
|
+
parameters = Azure::KeyVault::V2015_06_01::Models::CertificateImportParameters.new
|
3803
3803
|
unless base64encoded_certificate.nil? && password.nil? && certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
|
3804
|
-
parameters.
|
3804
|
+
parameters.base64encoded_certificate = base64encoded_certificate
|
3805
3805
|
parameters.password = password
|
3806
|
-
parameters.
|
3807
|
-
parameters.
|
3806
|
+
parameters.certificate_policy = certificate_policy
|
3807
|
+
parameters.certificate_attributes = certificate_attributes
|
3808
3808
|
parameters.tags = tags
|
3809
3809
|
end
|
3810
3810
|
|
@@ -4071,7 +4071,7 @@ module Azure::KeyVault::V2015_06_01
|
|
4071
4071
|
|
4072
4072
|
#
|
4073
4073
|
# Updates the policy for a certificate. Set appropriate members in the
|
4074
|
-
#
|
4074
|
+
# certificate_policy that must be updated. Leave others as null.
|
4075
4075
|
#
|
4076
4076
|
# @param vault_base_url [String] The vault name, e.g.
|
4077
4077
|
# https://myvault.vault.azure.net
|
@@ -4090,7 +4090,7 @@ module Azure::KeyVault::V2015_06_01
|
|
4090
4090
|
|
4091
4091
|
#
|
4092
4092
|
# Updates the policy for a certificate. Set appropriate members in the
|
4093
|
-
#
|
4093
|
+
# certificate_policy that must be updated. Leave others as null.
|
4094
4094
|
#
|
4095
4095
|
# @param vault_base_url [String] The vault name, e.g.
|
4096
4096
|
# https://myvault.vault.azure.net
|
@@ -4108,7 +4108,7 @@ module Azure::KeyVault::V2015_06_01
|
|
4108
4108
|
|
4109
4109
|
#
|
4110
4110
|
# Updates the policy for a certificate. Set appropriate members in the
|
4111
|
-
#
|
4111
|
+
# certificate_policy that must be updated. Leave others as null.
|
4112
4112
|
#
|
4113
4113
|
# @param vault_base_url [String] The vault name, e.g.
|
4114
4114
|
# https://myvault.vault.azure.net
|
@@ -4255,10 +4255,10 @@ module Azure::KeyVault::V2015_06_01
|
|
4255
4255
|
fail ArgumentError, 'certificate_version is nil' if certificate_version.nil?
|
4256
4256
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
4257
4257
|
|
4258
|
-
parameters = CertificateUpdateParameters.new
|
4258
|
+
parameters = Azure::KeyVault::V2015_06_01::Models::CertificateUpdateParameters.new
|
4259
4259
|
unless certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
|
4260
|
-
parameters.
|
4261
|
-
parameters.
|
4260
|
+
parameters.certificate_policy = certificate_policy
|
4261
|
+
parameters.certificate_attributes = certificate_attributes
|
4262
4262
|
parameters.tags = tags
|
4263
4263
|
end
|
4264
4264
|
|
@@ -4800,10 +4800,10 @@ module Azure::KeyVault::V2015_06_01
|
|
4800
4800
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
4801
4801
|
fail ArgumentError, 'x509certificates is nil' if x509certificates.nil?
|
4802
4802
|
|
4803
|
-
parameters = CertificateMergeParameters.new
|
4803
|
+
parameters = Azure::KeyVault::V2015_06_01::Models::CertificateMergeParameters.new
|
4804
4804
|
unless x509certificates.nil? && certificate_attributes.nil? && tags.nil?
|
4805
|
-
parameters.
|
4806
|
-
parameters.
|
4805
|
+
parameters.x509certificates = x509certificates
|
4806
|
+
parameters.certificate_attributes = certificate_attributes
|
4807
4807
|
parameters.tags = tags
|
4808
4808
|
end
|
4809
4809
|
|
@@ -6180,7 +6180,7 @@ module Azure::KeyVault::V2015_06_01
|
|
6180
6180
|
#
|
6181
6181
|
def add_telemetry
|
6182
6182
|
sdk_information = 'azure_key_vault'
|
6183
|
-
sdk_information = "#{sdk_information}/0.
|
6183
|
+
sdk_information = "#{sdk_information}/0.19.0"
|
6184
6184
|
add_user_agent_information(sdk_information)
|
6185
6185
|
end
|
6186
6186
|
end
|
@@ -16,7 +16,7 @@ module Azure::KeyVault::V2015_06_01
|
|
16
16
|
# object to import. This certificate needs to contain the private key.
|
17
17
|
attr_accessor :base64encoded_certificate
|
18
18
|
|
19
|
-
# @return [String] If the private key in
|
19
|
+
# @return [String] If the private key in base64encoded_certificate is
|
20
20
|
# encrypted, the password used for encryption
|
21
21
|
attr_accessor :password
|
22
22
|
|
@@ -213,12 +213,12 @@ module Azure::KeyVault::V2016_10_01
|
|
213
213
|
fail ArgumentError, 'kty is nil' if kty.nil?
|
214
214
|
fail ArgumentError, "'kty' should satisfy the constraint - 'MinLength': '1'" if !kty.nil? && kty.length < 1
|
215
215
|
|
216
|
-
parameters = KeyCreateParameters.new
|
216
|
+
parameters = Azure::KeyVault::V2016_10_01::Models::KeyCreateParameters.new
|
217
217
|
unless kty.nil? && key_size.nil? && key_ops.nil? && key_attributes.nil? && tags.nil? && curve.nil?
|
218
218
|
parameters.kty = kty
|
219
219
|
parameters.key_size = key_size
|
220
220
|
parameters.key_ops = key_ops
|
221
|
-
parameters.
|
221
|
+
parameters.key_attributes = key_attributes
|
222
222
|
parameters.tags = tags
|
223
223
|
parameters.curve = curve
|
224
224
|
end
|
@@ -361,11 +361,11 @@ module Azure::KeyVault::V2016_10_01
|
|
361
361
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
362
362
|
fail ArgumentError, 'key is nil' if key.nil?
|
363
363
|
|
364
|
-
parameters = KeyImportParameters.new
|
364
|
+
parameters = Azure::KeyVault::V2016_10_01::Models::KeyImportParameters.new
|
365
365
|
unless hsm.nil? && key.nil? && key_attributes.nil? && tags.nil?
|
366
366
|
parameters.hsm = hsm
|
367
367
|
parameters.key = key
|
368
|
-
parameters.
|
368
|
+
parameters.key_attributes = key_attributes
|
369
369
|
parameters.tags = tags
|
370
370
|
end
|
371
371
|
|
@@ -621,10 +621,10 @@ module Azure::KeyVault::V2016_10_01
|
|
621
621
|
fail ArgumentError, 'key_version is nil' if key_version.nil?
|
622
622
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
623
623
|
|
624
|
-
parameters = KeyUpdateParameters.new
|
624
|
+
parameters = Azure::KeyVault::V2016_10_01::Models::KeyUpdateParameters.new
|
625
625
|
unless key_ops.nil? && key_attributes.nil? && tags.nil?
|
626
626
|
parameters.key_ops = key_ops
|
627
|
-
parameters.
|
627
|
+
parameters.key_attributes = key_attributes
|
628
628
|
parameters.tags = tags
|
629
629
|
end
|
630
630
|
|
@@ -1260,9 +1260,9 @@ module Azure::KeyVault::V2016_10_01
|
|
1260
1260
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
1261
1261
|
fail ArgumentError, 'key_bundle_backup is nil' if key_bundle_backup.nil?
|
1262
1262
|
|
1263
|
-
parameters = KeyRestoreParameters.new
|
1263
|
+
parameters = Azure::KeyVault::V2016_10_01::Models::KeyRestoreParameters.new
|
1264
1264
|
unless key_bundle_backup.nil?
|
1265
|
-
parameters.
|
1265
|
+
parameters.key_bundle_backup = key_bundle_backup
|
1266
1266
|
end
|
1267
1267
|
|
1268
1268
|
request_headers = {}
|
@@ -1419,7 +1419,7 @@ module Azure::KeyVault::V2016_10_01
|
|
1419
1419
|
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
|
1420
1420
|
fail ArgumentError, 'value is nil' if value.nil?
|
1421
1421
|
|
1422
|
-
parameters = KeyOperationsParameters.new
|
1422
|
+
parameters = Azure::KeyVault::V2016_10_01::Models::KeyOperationsParameters.new
|
1423
1423
|
unless algorithm.nil? && value.nil?
|
1424
1424
|
parameters.algorithm = algorithm
|
1425
1425
|
parameters.value = value
|
@@ -1568,7 +1568,7 @@ module Azure::KeyVault::V2016_10_01
|
|
1568
1568
|
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
|
1569
1569
|
fail ArgumentError, 'value is nil' if value.nil?
|
1570
1570
|
|
1571
|
-
parameters = KeyOperationsParameters.new
|
1571
|
+
parameters = Azure::KeyVault::V2016_10_01::Models::KeyOperationsParameters.new
|
1572
1572
|
unless algorithm.nil? && value.nil?
|
1573
1573
|
parameters.algorithm = algorithm
|
1574
1574
|
parameters.value = value
|
@@ -1714,7 +1714,7 @@ module Azure::KeyVault::V2016_10_01
|
|
1714
1714
|
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
|
1715
1715
|
fail ArgumentError, 'value is nil' if value.nil?
|
1716
1716
|
|
1717
|
-
parameters = KeySignParameters.new
|
1717
|
+
parameters = Azure::KeyVault::V2016_10_01::Models::KeySignParameters.new
|
1718
1718
|
unless algorithm.nil? && value.nil?
|
1719
1719
|
parameters.algorithm = algorithm
|
1720
1720
|
parameters.value = value
|
@@ -1873,7 +1873,7 @@ module Azure::KeyVault::V2016_10_01
|
|
1873
1873
|
fail ArgumentError, 'digest is nil' if digest.nil?
|
1874
1874
|
fail ArgumentError, 'signature is nil' if signature.nil?
|
1875
1875
|
|
1876
|
-
parameters = KeyVerifyParameters.new
|
1876
|
+
parameters = Azure::KeyVault::V2016_10_01::Models::KeyVerifyParameters.new
|
1877
1877
|
unless algorithm.nil? && digest.nil? && signature.nil?
|
1878
1878
|
parameters.algorithm = algorithm
|
1879
1879
|
parameters.digest = digest
|
@@ -2023,7 +2023,7 @@ module Azure::KeyVault::V2016_10_01
|
|
2023
2023
|
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
|
2024
2024
|
fail ArgumentError, 'value is nil' if value.nil?
|
2025
2025
|
|
2026
|
-
parameters = KeyOperationsParameters.new
|
2026
|
+
parameters = Azure::KeyVault::V2016_10_01::Models::KeyOperationsParameters.new
|
2027
2027
|
unless algorithm.nil? && value.nil?
|
2028
2028
|
parameters.algorithm = algorithm
|
2029
2029
|
parameters.value = value
|
@@ -2169,7 +2169,7 @@ module Azure::KeyVault::V2016_10_01
|
|
2169
2169
|
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
|
2170
2170
|
fail ArgumentError, 'value is nil' if value.nil?
|
2171
2171
|
|
2172
|
-
parameters = KeyOperationsParameters.new
|
2172
|
+
parameters = Azure::KeyVault::V2016_10_01::Models::KeyOperationsParameters.new
|
2173
2173
|
unless algorithm.nil? && value.nil?
|
2174
2174
|
parameters.algorithm = algorithm
|
2175
2175
|
parameters.value = value
|
@@ -2756,12 +2756,12 @@ module Azure::KeyVault::V2016_10_01
|
|
2756
2756
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
2757
2757
|
fail ArgumentError, 'value is nil' if value.nil?
|
2758
2758
|
|
2759
|
-
parameters = SecretSetParameters.new
|
2759
|
+
parameters = Azure::KeyVault::V2016_10_01::Models::SecretSetParameters.new
|
2760
2760
|
unless value.nil? && tags.nil? && content_type.nil? && secret_attributes.nil?
|
2761
2761
|
parameters.value = value
|
2762
2762
|
parameters.tags = tags
|
2763
2763
|
parameters.content_type = content_type
|
2764
|
-
parameters.
|
2764
|
+
parameters.secret_attributes = secret_attributes
|
2765
2765
|
end
|
2766
2766
|
|
2767
2767
|
request_headers = {}
|
@@ -3010,10 +3010,10 @@ module Azure::KeyVault::V2016_10_01
|
|
3010
3010
|
fail ArgumentError, 'secret_version is nil' if secret_version.nil?
|
3011
3011
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
3012
3012
|
|
3013
|
-
parameters = SecretUpdateParameters.new
|
3013
|
+
parameters = Azure::KeyVault::V2016_10_01::Models::SecretUpdateParameters.new
|
3014
3014
|
unless content_type.nil? && secret_attributes.nil? && tags.nil?
|
3015
3015
|
parameters.content_type = content_type
|
3016
|
-
parameters.
|
3016
|
+
parameters.secret_attributes = secret_attributes
|
3017
3017
|
parameters.tags = tags
|
3018
3018
|
end
|
3019
3019
|
|
@@ -4008,9 +4008,9 @@ module Azure::KeyVault::V2016_10_01
|
|
4008
4008
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
4009
4009
|
fail ArgumentError, 'secret_bundle_backup is nil' if secret_bundle_backup.nil?
|
4010
4010
|
|
4011
|
-
parameters = SecretRestoreParameters.new
|
4011
|
+
parameters = Azure::KeyVault::V2016_10_01::Models::SecretRestoreParameters.new
|
4012
4012
|
unless secret_bundle_backup.nil?
|
4013
|
-
parameters.
|
4013
|
+
parameters.secret_bundle_backup = secret_bundle_backup
|
4014
4014
|
end
|
4015
4015
|
|
4016
4016
|
request_headers = {}
|
@@ -5294,10 +5294,10 @@ module Azure::KeyVault::V2016_10_01
|
|
5294
5294
|
fail ArgumentError, "'certificate_name' should satisfy the constraint - 'Pattern': '^[0-9a-zA-Z-]+$'" if !certificate_name.nil? && certificate_name.match(Regexp.new('^^[0-9a-zA-Z-]+$$')).nil?
|
5295
5295
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
5296
5296
|
|
5297
|
-
parameters = CertificateCreateParameters.new
|
5297
|
+
parameters = Azure::KeyVault::V2016_10_01::Models::CertificateCreateParameters.new
|
5298
5298
|
unless certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
|
5299
|
-
parameters.
|
5300
|
-
parameters.
|
5299
|
+
parameters.certificate_policy = certificate_policy
|
5300
|
+
parameters.certificate_attributes = certificate_attributes
|
5301
5301
|
parameters.tags = tags
|
5302
5302
|
end
|
5303
5303
|
|
@@ -5372,7 +5372,7 @@ module Azure::KeyVault::V2016_10_01
|
|
5372
5372
|
# @param base64encoded_certificate [String] Base64 encoded representation of
|
5373
5373
|
# the certificate object to import. This certificate needs to contain the
|
5374
5374
|
# private key.
|
5375
|
-
# @param password [String] If the private key in
|
5375
|
+
# @param password [String] If the private key in base64encoded_certificate is
|
5376
5376
|
# encrypted, the password used for encryption.
|
5377
5377
|
# @param certificate_policy [CertificatePolicy] The management policy for the
|
5378
5378
|
# certificate.
|
@@ -5405,7 +5405,7 @@ module Azure::KeyVault::V2016_10_01
|
|
5405
5405
|
# @param base64encoded_certificate [String] Base64 encoded representation of
|
5406
5406
|
# the certificate object to import. This certificate needs to contain the
|
5407
5407
|
# private key.
|
5408
|
-
# @param password [String] If the private key in
|
5408
|
+
# @param password [String] If the private key in base64encoded_certificate is
|
5409
5409
|
# encrypted, the password used for encryption.
|
5410
5410
|
# @param certificate_policy [CertificatePolicy] The management policy for the
|
5411
5411
|
# certificate.
|
@@ -5437,7 +5437,7 @@ module Azure::KeyVault::V2016_10_01
|
|
5437
5437
|
# @param base64encoded_certificate [String] Base64 encoded representation of
|
5438
5438
|
# the certificate object to import. This certificate needs to contain the
|
5439
5439
|
# private key.
|
5440
|
-
# @param password [String] If the private key in
|
5440
|
+
# @param password [String] If the private key in base64encoded_certificate is
|
5441
5441
|
# encrypted, the password used for encryption.
|
5442
5442
|
# @param certificate_policy [CertificatePolicy] The management policy for the
|
5443
5443
|
# certificate.
|
@@ -5457,12 +5457,12 @@ module Azure::KeyVault::V2016_10_01
|
|
5457
5457
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
5458
5458
|
fail ArgumentError, 'base64encoded_certificate is nil' if base64encoded_certificate.nil?
|
5459
5459
|
|
5460
|
-
parameters = CertificateImportParameters.new
|
5460
|
+
parameters = Azure::KeyVault::V2016_10_01::Models::CertificateImportParameters.new
|
5461
5461
|
unless base64encoded_certificate.nil? && password.nil? && certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
|
5462
|
-
parameters.
|
5462
|
+
parameters.base64encoded_certificate = base64encoded_certificate
|
5463
5463
|
parameters.password = password
|
5464
|
-
parameters.
|
5465
|
-
parameters.
|
5464
|
+
parameters.certificate_policy = certificate_policy
|
5465
|
+
parameters.certificate_attributes = certificate_attributes
|
5466
5466
|
parameters.tags = tags
|
5467
5467
|
end
|
5468
5468
|
|
@@ -5955,10 +5955,10 @@ module Azure::KeyVault::V2016_10_01
|
|
5955
5955
|
fail ArgumentError, 'certificate_version is nil' if certificate_version.nil?
|
5956
5956
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
5957
5957
|
|
5958
|
-
parameters = CertificateUpdateParameters.new
|
5958
|
+
parameters = Azure::KeyVault::V2016_10_01::Models::CertificateUpdateParameters.new
|
5959
5959
|
unless certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
|
5960
|
-
parameters.
|
5961
|
-
parameters.
|
5960
|
+
parameters.certificate_policy = certificate_policy
|
5961
|
+
parameters.certificate_attributes = certificate_attributes
|
5962
5962
|
parameters.tags = tags
|
5963
5963
|
end
|
5964
5964
|
|
@@ -6551,10 +6551,10 @@ module Azure::KeyVault::V2016_10_01
|
|
6551
6551
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
6552
6552
|
fail ArgumentError, 'x509certificates is nil' if x509certificates.nil?
|
6553
6553
|
|
6554
|
-
parameters = CertificateMergeParameters.new
|
6554
|
+
parameters = Azure::KeyVault::V2016_10_01::Models::CertificateMergeParameters.new
|
6555
6555
|
unless x509certificates.nil? && certificate_attributes.nil? && tags.nil?
|
6556
|
-
parameters.
|
6557
|
-
parameters.
|
6556
|
+
parameters.x509certificates = x509certificates
|
6557
|
+
parameters.certificate_attributes = certificate_attributes
|
6558
6558
|
parameters.tags = tags
|
6559
6559
|
end
|
6560
6560
|
|
@@ -7455,13 +7455,13 @@ module Azure::KeyVault::V2016_10_01
|
|
7455
7455
|
fail ArgumentError, 'active_key_name is nil' if active_key_name.nil?
|
7456
7456
|
fail ArgumentError, 'auto_regenerate_key is nil' if auto_regenerate_key.nil?
|
7457
7457
|
|
7458
|
-
parameters = StorageAccountCreateParameters.new
|
7458
|
+
parameters = Azure::KeyVault::V2016_10_01::Models::StorageAccountCreateParameters.new
|
7459
7459
|
unless resource_id.nil? && active_key_name.nil? && auto_regenerate_key.nil? && regeneration_period.nil? && storage_account_attributes.nil? && tags.nil?
|
7460
7460
|
parameters.resource_id = resource_id
|
7461
7461
|
parameters.active_key_name = active_key_name
|
7462
7462
|
parameters.auto_regenerate_key = auto_regenerate_key
|
7463
7463
|
parameters.regeneration_period = regeneration_period
|
7464
|
-
parameters.
|
7464
|
+
parameters.storage_account_attributes = storage_account_attributes
|
7465
7465
|
parameters.tags = tags
|
7466
7466
|
end
|
7467
7467
|
|
@@ -7599,12 +7599,12 @@ module Azure::KeyVault::V2016_10_01
|
|
7599
7599
|
fail ArgumentError, "'storage_account_name' should satisfy the constraint - 'Pattern': '^[0-9a-zA-Z]+$'" if !storage_account_name.nil? && storage_account_name.match(Regexp.new('^^[0-9a-zA-Z]+$$')).nil?
|
7600
7600
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
7601
7601
|
|
7602
|
-
parameters = StorageAccountUpdateParameters.new
|
7602
|
+
parameters = Azure::KeyVault::V2016_10_01::Models::StorageAccountUpdateParameters.new
|
7603
7603
|
unless active_key_name.nil? && auto_regenerate_key.nil? && regeneration_period.nil? && storage_account_attributes.nil? && tags.nil?
|
7604
7604
|
parameters.active_key_name = active_key_name
|
7605
7605
|
parameters.auto_regenerate_key = auto_regenerate_key
|
7606
7606
|
parameters.regeneration_period = regeneration_period
|
7607
|
-
parameters.
|
7607
|
+
parameters.storage_account_attributes = storage_account_attributes
|
7608
7608
|
parameters.tags = tags
|
7609
7609
|
end
|
7610
7610
|
|
@@ -7719,7 +7719,7 @@ module Azure::KeyVault::V2016_10_01
|
|
7719
7719
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
7720
7720
|
fail ArgumentError, 'key_name is nil' if key_name.nil?
|
7721
7721
|
|
7722
|
-
parameters = StorageAccountRegenerteKeyParameters.new
|
7722
|
+
parameters = Azure::KeyVault::V2016_10_01::Models::StorageAccountRegenerteKeyParameters.new
|
7723
7723
|
unless key_name.nil?
|
7724
7724
|
parameters.key_name = key_name
|
7725
7725
|
end
|
@@ -8176,10 +8176,10 @@ module Azure::KeyVault::V2016_10_01
|
|
8176
8176
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
8177
8177
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
8178
8178
|
|
8179
|
-
parameters = SasDefinitionCreateParameters.new
|
8179
|
+
parameters = Azure::KeyVault::V2016_10_01::Models::SasDefinitionCreateParameters.new
|
8180
8180
|
unless parameters.nil? && sas_definition_attributes.nil? && tags.nil?
|
8181
8181
|
parameters.parameters = parameters
|
8182
|
-
parameters.
|
8182
|
+
parameters.sas_definition_attributes = sas_definition_attributes
|
8183
8183
|
parameters.tags = tags
|
8184
8184
|
end
|
8185
8185
|
|
@@ -8313,10 +8313,10 @@ module Azure::KeyVault::V2016_10_01
|
|
8313
8313
|
fail ArgumentError, "'sas_definition_name' should satisfy the constraint - 'Pattern': '^[0-9a-zA-Z]+$'" if !sas_definition_name.nil? && sas_definition_name.match(Regexp.new('^^[0-9a-zA-Z]+$$')).nil?
|
8314
8314
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
8315
8315
|
|
8316
|
-
parameters = SasDefinitionUpdateParameters.new
|
8316
|
+
parameters = Azure::KeyVault::V2016_10_01::Models::SasDefinitionUpdateParameters.new
|
8317
8317
|
unless parameters.nil? && sas_definition_attributes.nil? && tags.nil?
|
8318
8318
|
parameters.parameters = parameters
|
8319
|
-
parameters.
|
8319
|
+
parameters.sas_definition_attributes = sas_definition_attributes
|
8320
8320
|
parameters.tags = tags
|
8321
8321
|
end
|
8322
8322
|
|
@@ -10924,7 +10924,7 @@ module Azure::KeyVault::V2016_10_01
|
|
10924
10924
|
#
|
10925
10925
|
def add_telemetry
|
10926
10926
|
sdk_information = 'azure_key_vault'
|
10927
|
-
sdk_information = "#{sdk_information}/0.
|
10927
|
+
sdk_information = "#{sdk_information}/0.19.0"
|
10928
10928
|
add_user_agent_information(sdk_information)
|
10929
10929
|
end
|
10930
10930
|
end
|