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
@@ -16,7 +16,7 @@ module Azure::KeyVault::V2016_10_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::V7_0_preview
|
|
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::V7_0_preview::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::V7_0_preview
|
|
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::V7_0_preview::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::V7_0_preview
|
|
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::V7_0_preview::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::V7_0_preview
|
|
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::V7_0_preview::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::V7_0_preview
|
|
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::V7_0_preview::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::V7_0_preview
|
|
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::V7_0_preview::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::V7_0_preview
|
|
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::V7_0_preview::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::V7_0_preview
|
|
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::V7_0_preview::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::V7_0_preview
|
|
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::V7_0_preview::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::V7_0_preview
|
|
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::V7_0_preview::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::V7_0_preview
|
|
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::V7_0_preview::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::V7_0_preview
|
|
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::V7_0_preview::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::V7_0_preview
|
|
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::V7_0_preview::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 = {}
|
@@ -5300,10 +5300,10 @@ module Azure::KeyVault::V7_0_preview
|
|
5300
5300
|
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?
|
5301
5301
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
5302
5302
|
|
5303
|
-
parameters = CertificateCreateParameters.new
|
5303
|
+
parameters = Azure::KeyVault::V7_0_preview::Models::CertificateCreateParameters.new
|
5304
5304
|
unless certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
|
5305
|
-
parameters.
|
5306
|
-
parameters.
|
5305
|
+
parameters.certificate_policy = certificate_policy
|
5306
|
+
parameters.certificate_attributes = certificate_attributes
|
5307
5307
|
parameters.tags = tags
|
5308
5308
|
end
|
5309
5309
|
|
@@ -5378,7 +5378,7 @@ module Azure::KeyVault::V7_0_preview
|
|
5378
5378
|
# @param base64encoded_certificate [String] Base64 encoded representation of
|
5379
5379
|
# the certificate object to import. This certificate needs to contain the
|
5380
5380
|
# private key.
|
5381
|
-
# @param password [String] If the private key in
|
5381
|
+
# @param password [String] If the private key in base64encoded_certificate is
|
5382
5382
|
# encrypted, the password used for encryption.
|
5383
5383
|
# @param certificate_policy [CertificatePolicy] The management policy for the
|
5384
5384
|
# certificate.
|
@@ -5411,7 +5411,7 @@ module Azure::KeyVault::V7_0_preview
|
|
5411
5411
|
# @param base64encoded_certificate [String] Base64 encoded representation of
|
5412
5412
|
# the certificate object to import. This certificate needs to contain the
|
5413
5413
|
# private key.
|
5414
|
-
# @param password [String] If the private key in
|
5414
|
+
# @param password [String] If the private key in base64encoded_certificate is
|
5415
5415
|
# encrypted, the password used for encryption.
|
5416
5416
|
# @param certificate_policy [CertificatePolicy] The management policy for the
|
5417
5417
|
# certificate.
|
@@ -5443,7 +5443,7 @@ module Azure::KeyVault::V7_0_preview
|
|
5443
5443
|
# @param base64encoded_certificate [String] Base64 encoded representation of
|
5444
5444
|
# the certificate object to import. This certificate needs to contain the
|
5445
5445
|
# private key.
|
5446
|
-
# @param password [String] If the private key in
|
5446
|
+
# @param password [String] If the private key in base64encoded_certificate is
|
5447
5447
|
# encrypted, the password used for encryption.
|
5448
5448
|
# @param certificate_policy [CertificatePolicy] The management policy for the
|
5449
5449
|
# certificate.
|
@@ -5463,12 +5463,12 @@ module Azure::KeyVault::V7_0_preview
|
|
5463
5463
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
5464
5464
|
fail ArgumentError, 'base64encoded_certificate is nil' if base64encoded_certificate.nil?
|
5465
5465
|
|
5466
|
-
parameters = CertificateImportParameters.new
|
5466
|
+
parameters = Azure::KeyVault::V7_0_preview::Models::CertificateImportParameters.new
|
5467
5467
|
unless base64encoded_certificate.nil? && password.nil? && certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
|
5468
|
-
parameters.
|
5468
|
+
parameters.base64encoded_certificate = base64encoded_certificate
|
5469
5469
|
parameters.password = password
|
5470
|
-
parameters.
|
5471
|
-
parameters.
|
5470
|
+
parameters.certificate_policy = certificate_policy
|
5471
|
+
parameters.certificate_attributes = certificate_attributes
|
5472
5472
|
parameters.tags = tags
|
5473
5473
|
end
|
5474
5474
|
|
@@ -5961,10 +5961,10 @@ module Azure::KeyVault::V7_0_preview
|
|
5961
5961
|
fail ArgumentError, 'certificate_version is nil' if certificate_version.nil?
|
5962
5962
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
5963
5963
|
|
5964
|
-
parameters = CertificateUpdateParameters.new
|
5964
|
+
parameters = Azure::KeyVault::V7_0_preview::Models::CertificateUpdateParameters.new
|
5965
5965
|
unless certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
|
5966
|
-
parameters.
|
5967
|
-
parameters.
|
5966
|
+
parameters.certificate_policy = certificate_policy
|
5967
|
+
parameters.certificate_attributes = certificate_attributes
|
5968
5968
|
parameters.tags = tags
|
5969
5969
|
end
|
5970
5970
|
|
@@ -6557,10 +6557,10 @@ module Azure::KeyVault::V7_0_preview
|
|
6557
6557
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
6558
6558
|
fail ArgumentError, 'x509certificates is nil' if x509certificates.nil?
|
6559
6559
|
|
6560
|
-
parameters = CertificateMergeParameters.new
|
6560
|
+
parameters = Azure::KeyVault::V7_0_preview::Models::CertificateMergeParameters.new
|
6561
6561
|
unless x509certificates.nil? && certificate_attributes.nil? && tags.nil?
|
6562
|
-
parameters.
|
6563
|
-
parameters.
|
6562
|
+
parameters.x509certificates = x509certificates
|
6563
|
+
parameters.certificate_attributes = certificate_attributes
|
6564
6564
|
parameters.tags = tags
|
6565
6565
|
end
|
6566
6566
|
|
@@ -6788,9 +6788,9 @@ module Azure::KeyVault::V7_0_preview
|
|
6788
6788
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
6789
6789
|
fail ArgumentError, 'certificate_bundle_backup is nil' if certificate_bundle_backup.nil?
|
6790
6790
|
|
6791
|
-
parameters = CertificateRestoreParameters.new
|
6791
|
+
parameters = Azure::KeyVault::V7_0_preview::Models::CertificateRestoreParameters.new
|
6792
6792
|
unless certificate_bundle_backup.nil?
|
6793
|
-
parameters.
|
6793
|
+
parameters.certificate_bundle_backup = certificate_bundle_backup
|
6794
6794
|
end
|
6795
6795
|
|
6796
6796
|
request_headers = {}
|
@@ -8008,9 +8008,9 @@ module Azure::KeyVault::V7_0_preview
|
|
8008
8008
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
8009
8009
|
fail ArgumentError, 'storage_bundle_backup is nil' if storage_bundle_backup.nil?
|
8010
8010
|
|
8011
|
-
parameters = StorageRestoreParameters.new
|
8011
|
+
parameters = Azure::KeyVault::V7_0_preview::Models::StorageRestoreParameters.new
|
8012
8012
|
unless storage_bundle_backup.nil?
|
8013
|
-
parameters.
|
8013
|
+
parameters.storage_bundle_backup = storage_bundle_backup
|
8014
8014
|
end
|
8015
8015
|
|
8016
8016
|
request_headers = {}
|
@@ -8354,13 +8354,13 @@ module Azure::KeyVault::V7_0_preview
|
|
8354
8354
|
fail ArgumentError, 'active_key_name is nil' if active_key_name.nil?
|
8355
8355
|
fail ArgumentError, 'auto_regenerate_key is nil' if auto_regenerate_key.nil?
|
8356
8356
|
|
8357
|
-
parameters = StorageAccountCreateParameters.new
|
8357
|
+
parameters = Azure::KeyVault::V7_0_preview::Models::StorageAccountCreateParameters.new
|
8358
8358
|
unless resource_id.nil? && active_key_name.nil? && auto_regenerate_key.nil? && regeneration_period.nil? && storage_account_attributes.nil? && tags.nil?
|
8359
8359
|
parameters.resource_id = resource_id
|
8360
8360
|
parameters.active_key_name = active_key_name
|
8361
8361
|
parameters.auto_regenerate_key = auto_regenerate_key
|
8362
8362
|
parameters.regeneration_period = regeneration_period
|
8363
|
-
parameters.
|
8363
|
+
parameters.storage_account_attributes = storage_account_attributes
|
8364
8364
|
parameters.tags = tags
|
8365
8365
|
end
|
8366
8366
|
|
@@ -8498,12 +8498,12 @@ module Azure::KeyVault::V7_0_preview
|
|
8498
8498
|
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?
|
8499
8499
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
8500
8500
|
|
8501
|
-
parameters = StorageAccountUpdateParameters.new
|
8501
|
+
parameters = Azure::KeyVault::V7_0_preview::Models::StorageAccountUpdateParameters.new
|
8502
8502
|
unless active_key_name.nil? && auto_regenerate_key.nil? && regeneration_period.nil? && storage_account_attributes.nil? && tags.nil?
|
8503
8503
|
parameters.active_key_name = active_key_name
|
8504
8504
|
parameters.auto_regenerate_key = auto_regenerate_key
|
8505
8505
|
parameters.regeneration_period = regeneration_period
|
8506
|
-
parameters.
|
8506
|
+
parameters.storage_account_attributes = storage_account_attributes
|
8507
8507
|
parameters.tags = tags
|
8508
8508
|
end
|
8509
8509
|
|
@@ -8618,7 +8618,7 @@ module Azure::KeyVault::V7_0_preview
|
|
8618
8618
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
8619
8619
|
fail ArgumentError, 'key_name is nil' if key_name.nil?
|
8620
8620
|
|
8621
|
-
parameters = StorageAccountRegenerteKeyParameters.new
|
8621
|
+
parameters = Azure::KeyVault::V7_0_preview::Models::StorageAccountRegenerteKeyParameters.new
|
8622
8622
|
unless key_name.nil?
|
8623
8623
|
parameters.key_name = key_name
|
8624
8624
|
end
|
@@ -9440,12 +9440,12 @@ module Azure::KeyVault::V7_0_preview
|
|
9440
9440
|
fail ArgumentError, 'sas_type is nil' if sas_type.nil?
|
9441
9441
|
fail ArgumentError, 'validity_period is nil' if validity_period.nil?
|
9442
9442
|
|
9443
|
-
parameters = SasDefinitionCreateParameters.new
|
9443
|
+
parameters = Azure::KeyVault::V7_0_preview::Models::SasDefinitionCreateParameters.new
|
9444
9444
|
unless template_uri.nil? && sas_type.nil? && validity_period.nil? && sas_definition_attributes.nil? && tags.nil?
|
9445
9445
|
parameters.template_uri = template_uri
|
9446
9446
|
parameters.sas_type = sas_type
|
9447
9447
|
parameters.validity_period = validity_period
|
9448
|
-
parameters.
|
9448
|
+
parameters.sas_definition_attributes = sas_definition_attributes
|
9449
9449
|
parameters.tags = tags
|
9450
9450
|
end
|
9451
9451
|
|
@@ -9594,12 +9594,12 @@ module Azure::KeyVault::V7_0_preview
|
|
9594
9594
|
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?
|
9595
9595
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
9596
9596
|
|
9597
|
-
parameters = SasDefinitionUpdateParameters.new
|
9597
|
+
parameters = Azure::KeyVault::V7_0_preview::Models::SasDefinitionUpdateParameters.new
|
9598
9598
|
unless template_uri.nil? && sas_type.nil? && validity_period.nil? && sas_definition_attributes.nil? && tags.nil?
|
9599
9599
|
parameters.template_uri = template_uri
|
9600
9600
|
parameters.sas_type = sas_type
|
9601
9601
|
parameters.validity_period = validity_period
|
9602
|
-
parameters.
|
9602
|
+
parameters.sas_definition_attributes = sas_definition_attributes
|
9603
9603
|
parameters.tags = tags
|
9604
9604
|
end
|
9605
9605
|
|
@@ -12643,7 +12643,7 @@ module Azure::KeyVault::V7_0_preview
|
|
12643
12643
|
#
|
12644
12644
|
def add_telemetry
|
12645
12645
|
sdk_information = 'azure_key_vault'
|
12646
|
-
sdk_information = "#{sdk_information}/0.
|
12646
|
+
sdk_information = "#{sdk_information}/0.19.0"
|
12647
12647
|
add_user_agent_information(sdk_information)
|
12648
12648
|
end
|
12649
12649
|
end
|
@@ -16,7 +16,7 @@ module Azure::KeyVault::V7_0_preview
|
|
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
|
|
@@ -218,7 +218,7 @@ module Azure::KeyVault::V7_0
|
|
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::V7_0
|
|
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::V7_0::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::V7_0
|
|
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::V7_0::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
|
|
@@ -1263,9 +1263,9 @@ module Azure::KeyVault::V7_0
|
|
1263
1263
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
1264
1264
|
fail ArgumentError, 'key_bundle_backup is nil' if key_bundle_backup.nil?
|
1265
1265
|
|
1266
|
-
parameters = KeyRestoreParameters.new
|
1266
|
+
parameters = Azure::KeyVault::V7_0::Models::KeyRestoreParameters.new
|
1267
1267
|
unless key_bundle_backup.nil?
|
1268
|
-
parameters.
|
1268
|
+
parameters.key_bundle_backup = key_bundle_backup
|
1269
1269
|
end
|
1270
1270
|
|
1271
1271
|
request_headers = {}
|
@@ -1422,7 +1422,7 @@ module Azure::KeyVault::V7_0
|
|
1422
1422
|
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
|
1423
1423
|
fail ArgumentError, 'value is nil' if value.nil?
|
1424
1424
|
|
1425
|
-
parameters = KeyOperationsParameters.new
|
1425
|
+
parameters = Azure::KeyVault::V7_0::Models::KeyOperationsParameters.new
|
1426
1426
|
unless algorithm.nil? && value.nil?
|
1427
1427
|
parameters.algorithm = algorithm
|
1428
1428
|
parameters.value = value
|
@@ -1571,7 +1571,7 @@ module Azure::KeyVault::V7_0
|
|
1571
1571
|
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
|
1572
1572
|
fail ArgumentError, 'value is nil' if value.nil?
|
1573
1573
|
|
1574
|
-
parameters = KeyOperationsParameters.new
|
1574
|
+
parameters = Azure::KeyVault::V7_0::Models::KeyOperationsParameters.new
|
1575
1575
|
unless algorithm.nil? && value.nil?
|
1576
1576
|
parameters.algorithm = algorithm
|
1577
1577
|
parameters.value = value
|
@@ -1717,7 +1717,7 @@ module Azure::KeyVault::V7_0
|
|
1717
1717
|
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
|
1718
1718
|
fail ArgumentError, 'value is nil' if value.nil?
|
1719
1719
|
|
1720
|
-
parameters = KeySignParameters.new
|
1720
|
+
parameters = Azure::KeyVault::V7_0::Models::KeySignParameters.new
|
1721
1721
|
unless algorithm.nil? && value.nil?
|
1722
1722
|
parameters.algorithm = algorithm
|
1723
1723
|
parameters.value = value
|
@@ -1876,7 +1876,7 @@ module Azure::KeyVault::V7_0
|
|
1876
1876
|
fail ArgumentError, 'digest is nil' if digest.nil?
|
1877
1877
|
fail ArgumentError, 'signature is nil' if signature.nil?
|
1878
1878
|
|
1879
|
-
parameters = KeyVerifyParameters.new
|
1879
|
+
parameters = Azure::KeyVault::V7_0::Models::KeyVerifyParameters.new
|
1880
1880
|
unless algorithm.nil? && digest.nil? && signature.nil?
|
1881
1881
|
parameters.algorithm = algorithm
|
1882
1882
|
parameters.digest = digest
|
@@ -2026,7 +2026,7 @@ module Azure::KeyVault::V7_0
|
|
2026
2026
|
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
|
2027
2027
|
fail ArgumentError, 'value is nil' if value.nil?
|
2028
2028
|
|
2029
|
-
parameters = KeyOperationsParameters.new
|
2029
|
+
parameters = Azure::KeyVault::V7_0::Models::KeyOperationsParameters.new
|
2030
2030
|
unless algorithm.nil? && value.nil?
|
2031
2031
|
parameters.algorithm = algorithm
|
2032
2032
|
parameters.value = value
|
@@ -2172,7 +2172,7 @@ module Azure::KeyVault::V7_0
|
|
2172
2172
|
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
|
2173
2173
|
fail ArgumentError, 'value is nil' if value.nil?
|
2174
2174
|
|
2175
|
-
parameters = KeyOperationsParameters.new
|
2175
|
+
parameters = Azure::KeyVault::V7_0::Models::KeyOperationsParameters.new
|
2176
2176
|
unless algorithm.nil? && value.nil?
|
2177
2177
|
parameters.algorithm = algorithm
|
2178
2178
|
parameters.value = value
|
@@ -2759,12 +2759,12 @@ module Azure::KeyVault::V7_0
|
|
2759
2759
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
2760
2760
|
fail ArgumentError, 'value is nil' if value.nil?
|
2761
2761
|
|
2762
|
-
parameters = SecretSetParameters.new
|
2762
|
+
parameters = Azure::KeyVault::V7_0::Models::SecretSetParameters.new
|
2763
2763
|
unless value.nil? && tags.nil? && content_type.nil? && secret_attributes.nil?
|
2764
2764
|
parameters.value = value
|
2765
2765
|
parameters.tags = tags
|
2766
2766
|
parameters.content_type = content_type
|
2767
|
-
parameters.
|
2767
|
+
parameters.secret_attributes = secret_attributes
|
2768
2768
|
end
|
2769
2769
|
|
2770
2770
|
request_headers = {}
|
@@ -3013,10 +3013,10 @@ module Azure::KeyVault::V7_0
|
|
3013
3013
|
fail ArgumentError, 'secret_version is nil' if secret_version.nil?
|
3014
3014
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
3015
3015
|
|
3016
|
-
parameters = SecretUpdateParameters.new
|
3016
|
+
parameters = Azure::KeyVault::V7_0::Models::SecretUpdateParameters.new
|
3017
3017
|
unless content_type.nil? && secret_attributes.nil? && tags.nil?
|
3018
3018
|
parameters.content_type = content_type
|
3019
|
-
parameters.
|
3019
|
+
parameters.secret_attributes = secret_attributes
|
3020
3020
|
parameters.tags = tags
|
3021
3021
|
end
|
3022
3022
|
|
@@ -4014,9 +4014,9 @@ module Azure::KeyVault::V7_0
|
|
4014
4014
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
4015
4015
|
fail ArgumentError, 'secret_bundle_backup is nil' if secret_bundle_backup.nil?
|
4016
4016
|
|
4017
|
-
parameters = SecretRestoreParameters.new
|
4017
|
+
parameters = Azure::KeyVault::V7_0::Models::SecretRestoreParameters.new
|
4018
4018
|
unless secret_bundle_backup.nil?
|
4019
|
-
parameters.
|
4019
|
+
parameters.secret_bundle_backup = secret_bundle_backup
|
4020
4020
|
end
|
4021
4021
|
|
4022
4022
|
request_headers = {}
|
@@ -5306,10 +5306,10 @@ module Azure::KeyVault::V7_0
|
|
5306
5306
|
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?
|
5307
5307
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
5308
5308
|
|
5309
|
-
parameters = CertificateCreateParameters.new
|
5309
|
+
parameters = Azure::KeyVault::V7_0::Models::CertificateCreateParameters.new
|
5310
5310
|
unless certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
|
5311
|
-
parameters.
|
5312
|
-
parameters.
|
5311
|
+
parameters.certificate_policy = certificate_policy
|
5312
|
+
parameters.certificate_attributes = certificate_attributes
|
5313
5313
|
parameters.tags = tags
|
5314
5314
|
end
|
5315
5315
|
|
@@ -5383,7 +5383,7 @@ module Azure::KeyVault::V7_0
|
|
5383
5383
|
# @param certificate_name [String] The name of the certificate.
|
5384
5384
|
# @param base64encoded_certificate [String] A PEM file or a base64-encoded PFX
|
5385
5385
|
# file. PEM files need to contain the private key.
|
5386
|
-
# @param password [String] If the private key in
|
5386
|
+
# @param password [String] If the private key in base64encoded_certificate is
|
5387
5387
|
# encrypted, the password used for encryption.
|
5388
5388
|
# @param certificate_policy [CertificatePolicy] The management policy for the
|
5389
5389
|
# certificate.
|
@@ -5415,7 +5415,7 @@ module Azure::KeyVault::V7_0
|
|
5415
5415
|
# @param certificate_name [String] The name of the certificate.
|
5416
5416
|
# @param base64encoded_certificate [String] A PEM file or a base64-encoded PFX
|
5417
5417
|
# file. PEM files need to contain the private key.
|
5418
|
-
# @param password [String] If the private key in
|
5418
|
+
# @param password [String] If the private key in base64encoded_certificate is
|
5419
5419
|
# encrypted, the password used for encryption.
|
5420
5420
|
# @param certificate_policy [CertificatePolicy] The management policy for the
|
5421
5421
|
# certificate.
|
@@ -5446,7 +5446,7 @@ module Azure::KeyVault::V7_0
|
|
5446
5446
|
# @param certificate_name [String] The name of the certificate.
|
5447
5447
|
# @param base64encoded_certificate [String] A PEM file or a base64-encoded PFX
|
5448
5448
|
# file. PEM files need to contain the private key.
|
5449
|
-
# @param password [String] If the private key in
|
5449
|
+
# @param password [String] If the private key in base64encoded_certificate is
|
5450
5450
|
# encrypted, the password used for encryption.
|
5451
5451
|
# @param certificate_policy [CertificatePolicy] The management policy for the
|
5452
5452
|
# certificate.
|
@@ -5466,12 +5466,12 @@ module Azure::KeyVault::V7_0
|
|
5466
5466
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
5467
5467
|
fail ArgumentError, 'base64encoded_certificate is nil' if base64encoded_certificate.nil?
|
5468
5468
|
|
5469
|
-
parameters = CertificateImportParameters.new
|
5469
|
+
parameters = Azure::KeyVault::V7_0::Models::CertificateImportParameters.new
|
5470
5470
|
unless base64encoded_certificate.nil? && password.nil? && certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
|
5471
|
-
parameters.
|
5471
|
+
parameters.base64encoded_certificate = base64encoded_certificate
|
5472
5472
|
parameters.password = password
|
5473
|
-
parameters.
|
5474
|
-
parameters.
|
5473
|
+
parameters.certificate_policy = certificate_policy
|
5474
|
+
parameters.certificate_attributes = certificate_attributes
|
5475
5475
|
parameters.tags = tags
|
5476
5476
|
end
|
5477
5477
|
|
@@ -5964,10 +5964,10 @@ module Azure::KeyVault::V7_0
|
|
5964
5964
|
fail ArgumentError, 'certificate_version is nil' if certificate_version.nil?
|
5965
5965
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
5966
5966
|
|
5967
|
-
parameters = CertificateUpdateParameters.new
|
5967
|
+
parameters = Azure::KeyVault::V7_0::Models::CertificateUpdateParameters.new
|
5968
5968
|
unless certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
|
5969
|
-
parameters.
|
5970
|
-
parameters.
|
5969
|
+
parameters.certificate_policy = certificate_policy
|
5970
|
+
parameters.certificate_attributes = certificate_attributes
|
5971
5971
|
parameters.tags = tags
|
5972
5972
|
end
|
5973
5973
|
|
@@ -6566,10 +6566,10 @@ module Azure::KeyVault::V7_0
|
|
6566
6566
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
6567
6567
|
fail ArgumentError, 'x509certificates is nil' if x509certificates.nil?
|
6568
6568
|
|
6569
|
-
parameters = CertificateMergeParameters.new
|
6569
|
+
parameters = Azure::KeyVault::V7_0::Models::CertificateMergeParameters.new
|
6570
6570
|
unless x509certificates.nil? && certificate_attributes.nil? && tags.nil?
|
6571
|
-
parameters.
|
6572
|
-
parameters.
|
6571
|
+
parameters.x509certificates = x509certificates
|
6572
|
+
parameters.certificate_attributes = certificate_attributes
|
6573
6573
|
parameters.tags = tags
|
6574
6574
|
end
|
6575
6575
|
|
@@ -6797,9 +6797,9 @@ module Azure::KeyVault::V7_0
|
|
6797
6797
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
6798
6798
|
fail ArgumentError, 'certificate_bundle_backup is nil' if certificate_bundle_backup.nil?
|
6799
6799
|
|
6800
|
-
parameters = CertificateRestoreParameters.new
|
6800
|
+
parameters = Azure::KeyVault::V7_0::Models::CertificateRestoreParameters.new
|
6801
6801
|
unless certificate_bundle_backup.nil?
|
6802
|
-
parameters.
|
6802
|
+
parameters.certificate_bundle_backup = certificate_bundle_backup
|
6803
6803
|
end
|
6804
6804
|
|
6805
6805
|
request_headers = {}
|
@@ -8017,9 +8017,9 @@ module Azure::KeyVault::V7_0
|
|
8017
8017
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
8018
8018
|
fail ArgumentError, 'storage_bundle_backup is nil' if storage_bundle_backup.nil?
|
8019
8019
|
|
8020
|
-
parameters = StorageRestoreParameters.new
|
8020
|
+
parameters = Azure::KeyVault::V7_0::Models::StorageRestoreParameters.new
|
8021
8021
|
unless storage_bundle_backup.nil?
|
8022
|
-
parameters.
|
8022
|
+
parameters.storage_bundle_backup = storage_bundle_backup
|
8023
8023
|
end
|
8024
8024
|
|
8025
8025
|
request_headers = {}
|
@@ -8363,13 +8363,13 @@ module Azure::KeyVault::V7_0
|
|
8363
8363
|
fail ArgumentError, 'active_key_name is nil' if active_key_name.nil?
|
8364
8364
|
fail ArgumentError, 'auto_regenerate_key is nil' if auto_regenerate_key.nil?
|
8365
8365
|
|
8366
|
-
parameters = StorageAccountCreateParameters.new
|
8366
|
+
parameters = Azure::KeyVault::V7_0::Models::StorageAccountCreateParameters.new
|
8367
8367
|
unless resource_id.nil? && active_key_name.nil? && auto_regenerate_key.nil? && regeneration_period.nil? && storage_account_attributes.nil? && tags.nil?
|
8368
8368
|
parameters.resource_id = resource_id
|
8369
8369
|
parameters.active_key_name = active_key_name
|
8370
8370
|
parameters.auto_regenerate_key = auto_regenerate_key
|
8371
8371
|
parameters.regeneration_period = regeneration_period
|
8372
|
-
parameters.
|
8372
|
+
parameters.storage_account_attributes = storage_account_attributes
|
8373
8373
|
parameters.tags = tags
|
8374
8374
|
end
|
8375
8375
|
|
@@ -8507,12 +8507,12 @@ module Azure::KeyVault::V7_0
|
|
8507
8507
|
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?
|
8508
8508
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
8509
8509
|
|
8510
|
-
parameters = StorageAccountUpdateParameters.new
|
8510
|
+
parameters = Azure::KeyVault::V7_0::Models::StorageAccountUpdateParameters.new
|
8511
8511
|
unless active_key_name.nil? && auto_regenerate_key.nil? && regeneration_period.nil? && storage_account_attributes.nil? && tags.nil?
|
8512
8512
|
parameters.active_key_name = active_key_name
|
8513
8513
|
parameters.auto_regenerate_key = auto_regenerate_key
|
8514
8514
|
parameters.regeneration_period = regeneration_period
|
8515
|
-
parameters.
|
8515
|
+
parameters.storage_account_attributes = storage_account_attributes
|
8516
8516
|
parameters.tags = tags
|
8517
8517
|
end
|
8518
8518
|
|
@@ -8627,7 +8627,7 @@ module Azure::KeyVault::V7_0
|
|
8627
8627
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
8628
8628
|
fail ArgumentError, 'key_name is nil' if key_name.nil?
|
8629
8629
|
|
8630
|
-
parameters = StorageAccountRegenerteKeyParameters.new
|
8630
|
+
parameters = Azure::KeyVault::V7_0::Models::StorageAccountRegenerteKeyParameters.new
|
8631
8631
|
unless key_name.nil?
|
8632
8632
|
parameters.key_name = key_name
|
8633
8633
|
end
|
@@ -9449,12 +9449,12 @@ module Azure::KeyVault::V7_0
|
|
9449
9449
|
fail ArgumentError, 'sas_type is nil' if sas_type.nil?
|
9450
9450
|
fail ArgumentError, 'validity_period is nil' if validity_period.nil?
|
9451
9451
|
|
9452
|
-
parameters = SasDefinitionCreateParameters.new
|
9452
|
+
parameters = Azure::KeyVault::V7_0::Models::SasDefinitionCreateParameters.new
|
9453
9453
|
unless template_uri.nil? && sas_type.nil? && validity_period.nil? && sas_definition_attributes.nil? && tags.nil?
|
9454
9454
|
parameters.template_uri = template_uri
|
9455
9455
|
parameters.sas_type = sas_type
|
9456
9456
|
parameters.validity_period = validity_period
|
9457
|
-
parameters.
|
9457
|
+
parameters.sas_definition_attributes = sas_definition_attributes
|
9458
9458
|
parameters.tags = tags
|
9459
9459
|
end
|
9460
9460
|
|
@@ -9603,12 +9603,12 @@ module Azure::KeyVault::V7_0
|
|
9603
9603
|
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?
|
9604
9604
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
9605
9605
|
|
9606
|
-
parameters = SasDefinitionUpdateParameters.new
|
9606
|
+
parameters = Azure::KeyVault::V7_0::Models::SasDefinitionUpdateParameters.new
|
9607
9607
|
unless template_uri.nil? && sas_type.nil? && validity_period.nil? && sas_definition_attributes.nil? && tags.nil?
|
9608
9608
|
parameters.template_uri = template_uri
|
9609
9609
|
parameters.sas_type = sas_type
|
9610
9610
|
parameters.validity_period = validity_period
|
9611
|
-
parameters.
|
9611
|
+
parameters.sas_definition_attributes = sas_definition_attributes
|
9612
9612
|
parameters.tags = tags
|
9613
9613
|
end
|
9614
9614
|
|
@@ -12652,7 +12652,7 @@ module Azure::KeyVault::V7_0
|
|
12652
12652
|
#
|
12653
12653
|
def add_telemetry
|
12654
12654
|
sdk_information = 'azure_key_vault'
|
12655
|
-
sdk_information = "#{sdk_information}/0.
|
12655
|
+
sdk_information = "#{sdk_information}/0.19.0"
|
12656
12656
|
add_user_agent_information(sdk_information)
|
12657
12657
|
end
|
12658
12658
|
end
|