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::V7_0
|
|
16
16
|
# need 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
|
|
@@ -1341,10 +1341,10 @@ module Azure::KeyVault::V7_1_preview
|
|
1341
1341
|
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?
|
1342
1342
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
1343
1343
|
|
1344
|
-
parameters = CertificateCreateParameters.new
|
1344
|
+
parameters = Azure::KeyVault::V7_1_preview::Models::CertificateCreateParameters.new
|
1345
1345
|
unless certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
|
1346
|
-
parameters.
|
1347
|
-
parameters.
|
1346
|
+
parameters.certificate_policy = certificate_policy
|
1347
|
+
parameters.certificate_attributes = certificate_attributes
|
1348
1348
|
parameters.tags = tags
|
1349
1349
|
end
|
1350
1350
|
|
@@ -1419,7 +1419,7 @@ module Azure::KeyVault::V7_1_preview
|
|
1419
1419
|
# @param base64encoded_certificate [String] Base64 encoded representation of
|
1420
1420
|
# the certificate object to import. This certificate needs to contain the
|
1421
1421
|
# private key.
|
1422
|
-
# @param password [String] If the private key in
|
1422
|
+
# @param password [String] If the private key in base64encoded_certificate is
|
1423
1423
|
# encrypted, the password used for encryption.
|
1424
1424
|
# @param certificate_policy [CertificatePolicy] The management policy for the
|
1425
1425
|
# certificate.
|
@@ -1452,7 +1452,7 @@ module Azure::KeyVault::V7_1_preview
|
|
1452
1452
|
# @param base64encoded_certificate [String] Base64 encoded representation of
|
1453
1453
|
# the certificate object to import. This certificate needs to contain the
|
1454
1454
|
# private key.
|
1455
|
-
# @param password [String] If the private key in
|
1455
|
+
# @param password [String] If the private key in base64encoded_certificate is
|
1456
1456
|
# encrypted, the password used for encryption.
|
1457
1457
|
# @param certificate_policy [CertificatePolicy] The management policy for the
|
1458
1458
|
# certificate.
|
@@ -1484,7 +1484,7 @@ module Azure::KeyVault::V7_1_preview
|
|
1484
1484
|
# @param base64encoded_certificate [String] Base64 encoded representation of
|
1485
1485
|
# the certificate object to import. This certificate needs to contain the
|
1486
1486
|
# private key.
|
1487
|
-
# @param password [String] If the private key in
|
1487
|
+
# @param password [String] If the private key in base64encoded_certificate is
|
1488
1488
|
# encrypted, the password used for encryption.
|
1489
1489
|
# @param certificate_policy [CertificatePolicy] The management policy for the
|
1490
1490
|
# certificate.
|
@@ -1504,12 +1504,12 @@ module Azure::KeyVault::V7_1_preview
|
|
1504
1504
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
1505
1505
|
fail ArgumentError, 'base64encoded_certificate is nil' if base64encoded_certificate.nil?
|
1506
1506
|
|
1507
|
-
parameters = CertificateImportParameters.new
|
1507
|
+
parameters = Azure::KeyVault::V7_1_preview::Models::CertificateImportParameters.new
|
1508
1508
|
unless base64encoded_certificate.nil? && password.nil? && certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
|
1509
|
-
parameters.
|
1509
|
+
parameters.base64encoded_certificate = base64encoded_certificate
|
1510
1510
|
parameters.password = password
|
1511
|
-
parameters.
|
1512
|
-
parameters.
|
1511
|
+
parameters.certificate_policy = certificate_policy
|
1512
|
+
parameters.certificate_attributes = certificate_attributes
|
1513
1513
|
parameters.tags = tags
|
1514
1514
|
end
|
1515
1515
|
|
@@ -2002,10 +2002,10 @@ module Azure::KeyVault::V7_1_preview
|
|
2002
2002
|
fail ArgumentError, 'certificate_version is nil' if certificate_version.nil?
|
2003
2003
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
2004
2004
|
|
2005
|
-
parameters = CertificateUpdateParameters.new
|
2005
|
+
parameters = Azure::KeyVault::V7_1_preview::Models::CertificateUpdateParameters.new
|
2006
2006
|
unless certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
|
2007
|
-
parameters.
|
2008
|
-
parameters.
|
2007
|
+
parameters.certificate_policy = certificate_policy
|
2008
|
+
parameters.certificate_attributes = certificate_attributes
|
2009
2009
|
parameters.tags = tags
|
2010
2010
|
end
|
2011
2011
|
|
@@ -2604,10 +2604,10 @@ module Azure::KeyVault::V7_1_preview
|
|
2604
2604
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
2605
2605
|
fail ArgumentError, 'x509certificates is nil' if x509certificates.nil?
|
2606
2606
|
|
2607
|
-
parameters = CertificateMergeParameters.new
|
2607
|
+
parameters = Azure::KeyVault::V7_1_preview::Models::CertificateMergeParameters.new
|
2608
2608
|
unless x509certificates.nil? && certificate_attributes.nil? && tags.nil?
|
2609
|
-
parameters.
|
2610
|
-
parameters.
|
2609
|
+
parameters.x509certificates = x509certificates
|
2610
|
+
parameters.certificate_attributes = certificate_attributes
|
2611
2611
|
parameters.tags = tags
|
2612
2612
|
end
|
2613
2613
|
|
@@ -2835,9 +2835,9 @@ module Azure::KeyVault::V7_1_preview
|
|
2835
2835
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
2836
2836
|
fail ArgumentError, 'certificate_bundle_backup is nil' if certificate_bundle_backup.nil?
|
2837
2837
|
|
2838
|
-
parameters = CertificateRestoreParameters.new
|
2838
|
+
parameters = Azure::KeyVault::V7_1_preview::Models::CertificateRestoreParameters.new
|
2839
2839
|
unless certificate_bundle_backup.nil?
|
2840
|
-
parameters.
|
2840
|
+
parameters.certificate_bundle_backup = certificate_bundle_backup
|
2841
2841
|
end
|
2842
2842
|
|
2843
2843
|
request_headers = {}
|
@@ -3457,12 +3457,12 @@ module Azure::KeyVault::V7_1_preview
|
|
3457
3457
|
fail ArgumentError, 'kty is nil' if kty.nil?
|
3458
3458
|
fail ArgumentError, "'kty' should satisfy the constraint - 'MinLength': '1'" if !kty.nil? && kty.length < 1
|
3459
3459
|
|
3460
|
-
parameters = KeyCreateParameters.new
|
3460
|
+
parameters = Azure::KeyVault::V7_1_preview::Models::KeyCreateParameters.new
|
3461
3461
|
unless kty.nil? && key_size.nil? && key_ops.nil? && key_attributes.nil? && tags.nil? && curve.nil?
|
3462
3462
|
parameters.kty = kty
|
3463
3463
|
parameters.key_size = key_size
|
3464
3464
|
parameters.key_ops = key_ops
|
3465
|
-
parameters.
|
3465
|
+
parameters.key_attributes = key_attributes
|
3466
3466
|
parameters.tags = tags
|
3467
3467
|
parameters.curve = curve
|
3468
3468
|
end
|
@@ -3605,11 +3605,11 @@ module Azure::KeyVault::V7_1_preview
|
|
3605
3605
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
3606
3606
|
fail ArgumentError, 'key is nil' if key.nil?
|
3607
3607
|
|
3608
|
-
parameters = KeyImportParameters.new
|
3608
|
+
parameters = Azure::KeyVault::V7_1_preview::Models::KeyImportParameters.new
|
3609
3609
|
unless hsm.nil? && key.nil? && key_attributes.nil? && tags.nil?
|
3610
3610
|
parameters.hsm = hsm
|
3611
3611
|
parameters.key = key
|
3612
|
-
parameters.
|
3612
|
+
parameters.key_attributes = key_attributes
|
3613
3613
|
parameters.tags = tags
|
3614
3614
|
end
|
3615
3615
|
|
@@ -3865,10 +3865,10 @@ module Azure::KeyVault::V7_1_preview
|
|
3865
3865
|
fail ArgumentError, 'key_version is nil' if key_version.nil?
|
3866
3866
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
3867
3867
|
|
3868
|
-
parameters = KeyUpdateParameters.new
|
3868
|
+
parameters = Azure::KeyVault::V7_1_preview::Models::KeyUpdateParameters.new
|
3869
3869
|
unless key_ops.nil? && key_attributes.nil? && tags.nil?
|
3870
3870
|
parameters.key_ops = key_ops
|
3871
|
-
parameters.
|
3871
|
+
parameters.key_attributes = key_attributes
|
3872
3872
|
parameters.tags = tags
|
3873
3873
|
end
|
3874
3874
|
|
@@ -4507,9 +4507,9 @@ module Azure::KeyVault::V7_1_preview
|
|
4507
4507
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
4508
4508
|
fail ArgumentError, 'key_bundle_backup is nil' if key_bundle_backup.nil?
|
4509
4509
|
|
4510
|
-
parameters = KeyRestoreParameters.new
|
4510
|
+
parameters = Azure::KeyVault::V7_1_preview::Models::KeyRestoreParameters.new
|
4511
4511
|
unless key_bundle_backup.nil?
|
4512
|
-
parameters.
|
4512
|
+
parameters.key_bundle_backup = key_bundle_backup
|
4513
4513
|
end
|
4514
4514
|
|
4515
4515
|
request_headers = {}
|
@@ -4666,7 +4666,7 @@ module Azure::KeyVault::V7_1_preview
|
|
4666
4666
|
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
|
4667
4667
|
fail ArgumentError, 'value is nil' if value.nil?
|
4668
4668
|
|
4669
|
-
parameters = KeyOperationsParameters.new
|
4669
|
+
parameters = Azure::KeyVault::V7_1_preview::Models::KeyOperationsParameters.new
|
4670
4670
|
unless algorithm.nil? && value.nil?
|
4671
4671
|
parameters.algorithm = algorithm
|
4672
4672
|
parameters.value = value
|
@@ -4815,7 +4815,7 @@ module Azure::KeyVault::V7_1_preview
|
|
4815
4815
|
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
|
4816
4816
|
fail ArgumentError, 'value is nil' if value.nil?
|
4817
4817
|
|
4818
|
-
parameters = KeyOperationsParameters.new
|
4818
|
+
parameters = Azure::KeyVault::V7_1_preview::Models::KeyOperationsParameters.new
|
4819
4819
|
unless algorithm.nil? && value.nil?
|
4820
4820
|
parameters.algorithm = algorithm
|
4821
4821
|
parameters.value = value
|
@@ -4961,7 +4961,7 @@ module Azure::KeyVault::V7_1_preview
|
|
4961
4961
|
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
|
4962
4962
|
fail ArgumentError, 'value is nil' if value.nil?
|
4963
4963
|
|
4964
|
-
parameters = KeySignParameters.new
|
4964
|
+
parameters = Azure::KeyVault::V7_1_preview::Models::KeySignParameters.new
|
4965
4965
|
unless algorithm.nil? && value.nil?
|
4966
4966
|
parameters.algorithm = algorithm
|
4967
4967
|
parameters.value = value
|
@@ -5120,7 +5120,7 @@ module Azure::KeyVault::V7_1_preview
|
|
5120
5120
|
fail ArgumentError, 'digest is nil' if digest.nil?
|
5121
5121
|
fail ArgumentError, 'signature is nil' if signature.nil?
|
5122
5122
|
|
5123
|
-
parameters = KeyVerifyParameters.new
|
5123
|
+
parameters = Azure::KeyVault::V7_1_preview::Models::KeyVerifyParameters.new
|
5124
5124
|
unless algorithm.nil? && digest.nil? && signature.nil?
|
5125
5125
|
parameters.algorithm = algorithm
|
5126
5126
|
parameters.digest = digest
|
@@ -5270,7 +5270,7 @@ module Azure::KeyVault::V7_1_preview
|
|
5270
5270
|
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
|
5271
5271
|
fail ArgumentError, 'value is nil' if value.nil?
|
5272
5272
|
|
5273
|
-
parameters = KeyOperationsParameters.new
|
5273
|
+
parameters = Azure::KeyVault::V7_1_preview::Models::KeyOperationsParameters.new
|
5274
5274
|
unless algorithm.nil? && value.nil?
|
5275
5275
|
parameters.algorithm = algorithm
|
5276
5276
|
parameters.value = value
|
@@ -5416,7 +5416,7 @@ module Azure::KeyVault::V7_1_preview
|
|
5416
5416
|
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
|
5417
5417
|
fail ArgumentError, 'value is nil' if value.nil?
|
5418
5418
|
|
5419
|
-
parameters = KeyOperationsParameters.new
|
5419
|
+
parameters = Azure::KeyVault::V7_1_preview::Models::KeyOperationsParameters.new
|
5420
5420
|
unless algorithm.nil? && value.nil?
|
5421
5421
|
parameters.algorithm = algorithm
|
5422
5422
|
parameters.value = value
|
@@ -6003,12 +6003,12 @@ module Azure::KeyVault::V7_1_preview
|
|
6003
6003
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
6004
6004
|
fail ArgumentError, 'value is nil' if value.nil?
|
6005
6005
|
|
6006
|
-
parameters = SecretSetParameters.new
|
6006
|
+
parameters = Azure::KeyVault::V7_1_preview::Models::SecretSetParameters.new
|
6007
6007
|
unless value.nil? && tags.nil? && content_type.nil? && secret_attributes.nil?
|
6008
6008
|
parameters.value = value
|
6009
6009
|
parameters.tags = tags
|
6010
6010
|
parameters.content_type = content_type
|
6011
|
-
parameters.
|
6011
|
+
parameters.secret_attributes = secret_attributes
|
6012
6012
|
end
|
6013
6013
|
|
6014
6014
|
request_headers = {}
|
@@ -6257,10 +6257,10 @@ module Azure::KeyVault::V7_1_preview
|
|
6257
6257
|
fail ArgumentError, 'secret_version is nil' if secret_version.nil?
|
6258
6258
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
6259
6259
|
|
6260
|
-
parameters = SecretUpdateParameters.new
|
6260
|
+
parameters = Azure::KeyVault::V7_1_preview::Models::SecretUpdateParameters.new
|
6261
6261
|
unless content_type.nil? && secret_attributes.nil? && tags.nil?
|
6262
6262
|
parameters.content_type = content_type
|
6263
|
-
parameters.
|
6263
|
+
parameters.secret_attributes = secret_attributes
|
6264
6264
|
parameters.tags = tags
|
6265
6265
|
end
|
6266
6266
|
|
@@ -7258,9 +7258,9 @@ module Azure::KeyVault::V7_1_preview
|
|
7258
7258
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
7259
7259
|
fail ArgumentError, 'secret_bundle_backup is nil' if secret_bundle_backup.nil?
|
7260
7260
|
|
7261
|
-
parameters = SecretRestoreParameters.new
|
7261
|
+
parameters = Azure::KeyVault::V7_1_preview::Models::SecretRestoreParameters.new
|
7262
7262
|
unless secret_bundle_backup.nil?
|
7263
|
-
parameters.
|
7263
|
+
parameters.secret_bundle_backup = secret_bundle_backup
|
7264
7264
|
end
|
7265
7265
|
|
7266
7266
|
request_headers = {}
|
@@ -8020,9 +8020,9 @@ module Azure::KeyVault::V7_1_preview
|
|
8020
8020
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
8021
8021
|
fail ArgumentError, 'storage_bundle_backup is nil' if storage_bundle_backup.nil?
|
8022
8022
|
|
8023
|
-
parameters = StorageRestoreParameters.new
|
8023
|
+
parameters = Azure::KeyVault::V7_1_preview::Models::StorageRestoreParameters.new
|
8024
8024
|
unless storage_bundle_backup.nil?
|
8025
|
-
parameters.
|
8025
|
+
parameters.storage_bundle_backup = storage_bundle_backup
|
8026
8026
|
end
|
8027
8027
|
|
8028
8028
|
request_headers = {}
|
@@ -8366,13 +8366,13 @@ module Azure::KeyVault::V7_1_preview
|
|
8366
8366
|
fail ArgumentError, 'active_key_name is nil' if active_key_name.nil?
|
8367
8367
|
fail ArgumentError, 'auto_regenerate_key is nil' if auto_regenerate_key.nil?
|
8368
8368
|
|
8369
|
-
parameters = StorageAccountCreateParameters.new
|
8369
|
+
parameters = Azure::KeyVault::V7_1_preview::Models::StorageAccountCreateParameters.new
|
8370
8370
|
unless resource_id.nil? && active_key_name.nil? && auto_regenerate_key.nil? && regeneration_period.nil? && storage_account_attributes.nil? && tags.nil?
|
8371
8371
|
parameters.resource_id = resource_id
|
8372
8372
|
parameters.active_key_name = active_key_name
|
8373
8373
|
parameters.auto_regenerate_key = auto_regenerate_key
|
8374
8374
|
parameters.regeneration_period = regeneration_period
|
8375
|
-
parameters.
|
8375
|
+
parameters.storage_account_attributes = storage_account_attributes
|
8376
8376
|
parameters.tags = tags
|
8377
8377
|
end
|
8378
8378
|
|
@@ -8510,12 +8510,12 @@ module Azure::KeyVault::V7_1_preview
|
|
8510
8510
|
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?
|
8511
8511
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
8512
8512
|
|
8513
|
-
parameters = StorageAccountUpdateParameters.new
|
8513
|
+
parameters = Azure::KeyVault::V7_1_preview::Models::StorageAccountUpdateParameters.new
|
8514
8514
|
unless active_key_name.nil? && auto_regenerate_key.nil? && regeneration_period.nil? && storage_account_attributes.nil? && tags.nil?
|
8515
8515
|
parameters.active_key_name = active_key_name
|
8516
8516
|
parameters.auto_regenerate_key = auto_regenerate_key
|
8517
8517
|
parameters.regeneration_period = regeneration_period
|
8518
|
-
parameters.
|
8518
|
+
parameters.storage_account_attributes = storage_account_attributes
|
8519
8519
|
parameters.tags = tags
|
8520
8520
|
end
|
8521
8521
|
|
@@ -8630,7 +8630,7 @@ module Azure::KeyVault::V7_1_preview
|
|
8630
8630
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
8631
8631
|
fail ArgumentError, 'key_name is nil' if key_name.nil?
|
8632
8632
|
|
8633
|
-
parameters = StorageAccountRegenerteKeyParameters.new
|
8633
|
+
parameters = Azure::KeyVault::V7_1_preview::Models::StorageAccountRegenerteKeyParameters.new
|
8634
8634
|
unless key_name.nil?
|
8635
8635
|
parameters.key_name = key_name
|
8636
8636
|
end
|
@@ -9452,12 +9452,12 @@ module Azure::KeyVault::V7_1_preview
|
|
9452
9452
|
fail ArgumentError, 'sas_type is nil' if sas_type.nil?
|
9453
9453
|
fail ArgumentError, 'validity_period is nil' if validity_period.nil?
|
9454
9454
|
|
9455
|
-
parameters = SasDefinitionCreateParameters.new
|
9455
|
+
parameters = Azure::KeyVault::V7_1_preview::Models::SasDefinitionCreateParameters.new
|
9456
9456
|
unless template_uri.nil? && sas_type.nil? && validity_period.nil? && sas_definition_attributes.nil? && tags.nil?
|
9457
9457
|
parameters.template_uri = template_uri
|
9458
9458
|
parameters.sas_type = sas_type
|
9459
9459
|
parameters.validity_period = validity_period
|
9460
|
-
parameters.
|
9460
|
+
parameters.sas_definition_attributes = sas_definition_attributes
|
9461
9461
|
parameters.tags = tags
|
9462
9462
|
end
|
9463
9463
|
|
@@ -9606,12 +9606,12 @@ module Azure::KeyVault::V7_1_preview
|
|
9606
9606
|
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?
|
9607
9607
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
9608
9608
|
|
9609
|
-
parameters = SasDefinitionUpdateParameters.new
|
9609
|
+
parameters = Azure::KeyVault::V7_1_preview::Models::SasDefinitionUpdateParameters.new
|
9610
9610
|
unless template_uri.nil? && sas_type.nil? && validity_period.nil? && sas_definition_attributes.nil? && tags.nil?
|
9611
9611
|
parameters.template_uri = template_uri
|
9612
9612
|
parameters.sas_type = sas_type
|
9613
9613
|
parameters.validity_period = validity_period
|
9614
|
-
parameters.
|
9614
|
+
parameters.sas_definition_attributes = sas_definition_attributes
|
9615
9615
|
parameters.tags = tags
|
9616
9616
|
end
|
9617
9617
|
|
@@ -12655,7 +12655,7 @@ module Azure::KeyVault::V7_1_preview
|
|
12655
12655
|
#
|
12656
12656
|
def add_telemetry
|
12657
12657
|
sdk_information = 'azure_key_vault'
|
12658
|
-
sdk_information = "#{sdk_information}/0.
|
12658
|
+
sdk_information = "#{sdk_information}/0.19.0"
|
12659
12659
|
add_user_agent_information(sdk_information)
|
12660
12660
|
end
|
12661
12661
|
end
|
@@ -16,7 +16,7 @@ module Azure::KeyVault::V7_1_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
|
|
@@ -1341,10 +1341,10 @@ module Azure::KeyVault::V7_1
|
|
1341
1341
|
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?
|
1342
1342
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
1343
1343
|
|
1344
|
-
parameters = CertificateCreateParameters.new
|
1344
|
+
parameters = Azure::KeyVault::V7_1::Models::CertificateCreateParameters.new
|
1345
1345
|
unless certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
|
1346
|
-
parameters.
|
1347
|
-
parameters.
|
1346
|
+
parameters.certificate_policy = certificate_policy
|
1347
|
+
parameters.certificate_attributes = certificate_attributes
|
1348
1348
|
parameters.tags = tags
|
1349
1349
|
end
|
1350
1350
|
|
@@ -1418,7 +1418,7 @@ module Azure::KeyVault::V7_1
|
|
1418
1418
|
# @param certificate_name [String] The name of the certificate.
|
1419
1419
|
# @param base64encoded_certificate [String] A PEM file or a base64-encoded PFX
|
1420
1420
|
# file. PEM files need to contain the private key.
|
1421
|
-
# @param password [String] If the private key in
|
1421
|
+
# @param password [String] If the private key in base64encoded_certificate is
|
1422
1422
|
# encrypted, the password used for encryption.
|
1423
1423
|
# @param certificate_policy [CertificatePolicy] The management policy for the
|
1424
1424
|
# certificate.
|
@@ -1450,7 +1450,7 @@ module Azure::KeyVault::V7_1
|
|
1450
1450
|
# @param certificate_name [String] The name of the certificate.
|
1451
1451
|
# @param base64encoded_certificate [String] A PEM file or a base64-encoded PFX
|
1452
1452
|
# file. PEM files need to contain the private key.
|
1453
|
-
# @param password [String] If the private key in
|
1453
|
+
# @param password [String] If the private key in base64encoded_certificate is
|
1454
1454
|
# encrypted, the password used for encryption.
|
1455
1455
|
# @param certificate_policy [CertificatePolicy] The management policy for the
|
1456
1456
|
# certificate.
|
@@ -1481,7 +1481,7 @@ module Azure::KeyVault::V7_1
|
|
1481
1481
|
# @param certificate_name [String] The name of the certificate.
|
1482
1482
|
# @param base64encoded_certificate [String] A PEM file or a base64-encoded PFX
|
1483
1483
|
# file. PEM files need to contain the private key.
|
1484
|
-
# @param password [String] If the private key in
|
1484
|
+
# @param password [String] If the private key in base64encoded_certificate is
|
1485
1485
|
# encrypted, the password used for encryption.
|
1486
1486
|
# @param certificate_policy [CertificatePolicy] The management policy for the
|
1487
1487
|
# certificate.
|
@@ -1501,12 +1501,12 @@ module Azure::KeyVault::V7_1
|
|
1501
1501
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
1502
1502
|
fail ArgumentError, 'base64encoded_certificate is nil' if base64encoded_certificate.nil?
|
1503
1503
|
|
1504
|
-
parameters = CertificateImportParameters.new
|
1504
|
+
parameters = Azure::KeyVault::V7_1::Models::CertificateImportParameters.new
|
1505
1505
|
unless base64encoded_certificate.nil? && password.nil? && certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
|
1506
|
-
parameters.
|
1506
|
+
parameters.base64encoded_certificate = base64encoded_certificate
|
1507
1507
|
parameters.password = password
|
1508
|
-
parameters.
|
1509
|
-
parameters.
|
1508
|
+
parameters.certificate_policy = certificate_policy
|
1509
|
+
parameters.certificate_attributes = certificate_attributes
|
1510
1510
|
parameters.tags = tags
|
1511
1511
|
end
|
1512
1512
|
|
@@ -1999,10 +1999,10 @@ module Azure::KeyVault::V7_1
|
|
1999
1999
|
fail ArgumentError, 'certificate_version is nil' if certificate_version.nil?
|
2000
2000
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
2001
2001
|
|
2002
|
-
parameters = CertificateUpdateParameters.new
|
2002
|
+
parameters = Azure::KeyVault::V7_1::Models::CertificateUpdateParameters.new
|
2003
2003
|
unless certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
|
2004
|
-
parameters.
|
2005
|
-
parameters.
|
2004
|
+
parameters.certificate_policy = certificate_policy
|
2005
|
+
parameters.certificate_attributes = certificate_attributes
|
2006
2006
|
parameters.tags = tags
|
2007
2007
|
end
|
2008
2008
|
|
@@ -2601,10 +2601,10 @@ module Azure::KeyVault::V7_1
|
|
2601
2601
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
2602
2602
|
fail ArgumentError, 'x509certificates is nil' if x509certificates.nil?
|
2603
2603
|
|
2604
|
-
parameters = CertificateMergeParameters.new
|
2604
|
+
parameters = Azure::KeyVault::V7_1::Models::CertificateMergeParameters.new
|
2605
2605
|
unless x509certificates.nil? && certificate_attributes.nil? && tags.nil?
|
2606
|
-
parameters.
|
2607
|
-
parameters.
|
2606
|
+
parameters.x509certificates = x509certificates
|
2607
|
+
parameters.certificate_attributes = certificate_attributes
|
2608
2608
|
parameters.tags = tags
|
2609
2609
|
end
|
2610
2610
|
|
@@ -2832,9 +2832,9 @@ module Azure::KeyVault::V7_1
|
|
2832
2832
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
2833
2833
|
fail ArgumentError, 'certificate_bundle_backup is nil' if certificate_bundle_backup.nil?
|
2834
2834
|
|
2835
|
-
parameters = CertificateRestoreParameters.new
|
2835
|
+
parameters = Azure::KeyVault::V7_1::Models::CertificateRestoreParameters.new
|
2836
2836
|
unless certificate_bundle_backup.nil?
|
2837
|
-
parameters.
|
2837
|
+
parameters.certificate_bundle_backup = certificate_bundle_backup
|
2838
2838
|
end
|
2839
2839
|
|
2840
2840
|
request_headers = {}
|
@@ -3454,12 +3454,12 @@ module Azure::KeyVault::V7_1
|
|
3454
3454
|
fail ArgumentError, 'kty is nil' if kty.nil?
|
3455
3455
|
fail ArgumentError, "'kty' should satisfy the constraint - 'MinLength': '1'" if !kty.nil? && kty.length < 1
|
3456
3456
|
|
3457
|
-
parameters = KeyCreateParameters.new
|
3457
|
+
parameters = Azure::KeyVault::V7_1::Models::KeyCreateParameters.new
|
3458
3458
|
unless kty.nil? && key_size.nil? && key_ops.nil? && key_attributes.nil? && tags.nil? && curve.nil?
|
3459
3459
|
parameters.kty = kty
|
3460
3460
|
parameters.key_size = key_size
|
3461
3461
|
parameters.key_ops = key_ops
|
3462
|
-
parameters.
|
3462
|
+
parameters.key_attributes = key_attributes
|
3463
3463
|
parameters.tags = tags
|
3464
3464
|
parameters.curve = curve
|
3465
3465
|
end
|
@@ -3602,11 +3602,11 @@ module Azure::KeyVault::V7_1
|
|
3602
3602
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
3603
3603
|
fail ArgumentError, 'key is nil' if key.nil?
|
3604
3604
|
|
3605
|
-
parameters = KeyImportParameters.new
|
3605
|
+
parameters = Azure::KeyVault::V7_1::Models::KeyImportParameters.new
|
3606
3606
|
unless hsm.nil? && key.nil? && key_attributes.nil? && tags.nil?
|
3607
3607
|
parameters.hsm = hsm
|
3608
3608
|
parameters.key = key
|
3609
|
-
parameters.
|
3609
|
+
parameters.key_attributes = key_attributes
|
3610
3610
|
parameters.tags = tags
|
3611
3611
|
end
|
3612
3612
|
|
@@ -3862,10 +3862,10 @@ module Azure::KeyVault::V7_1
|
|
3862
3862
|
fail ArgumentError, 'key_version is nil' if key_version.nil?
|
3863
3863
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
3864
3864
|
|
3865
|
-
parameters = KeyUpdateParameters.new
|
3865
|
+
parameters = Azure::KeyVault::V7_1::Models::KeyUpdateParameters.new
|
3866
3866
|
unless key_ops.nil? && key_attributes.nil? && tags.nil?
|
3867
3867
|
parameters.key_ops = key_ops
|
3868
|
-
parameters.
|
3868
|
+
parameters.key_attributes = key_attributes
|
3869
3869
|
parameters.tags = tags
|
3870
3870
|
end
|
3871
3871
|
|
@@ -4504,9 +4504,9 @@ module Azure::KeyVault::V7_1
|
|
4504
4504
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
4505
4505
|
fail ArgumentError, 'key_bundle_backup is nil' if key_bundle_backup.nil?
|
4506
4506
|
|
4507
|
-
parameters = KeyRestoreParameters.new
|
4507
|
+
parameters = Azure::KeyVault::V7_1::Models::KeyRestoreParameters.new
|
4508
4508
|
unless key_bundle_backup.nil?
|
4509
|
-
parameters.
|
4509
|
+
parameters.key_bundle_backup = key_bundle_backup
|
4510
4510
|
end
|
4511
4511
|
|
4512
4512
|
request_headers = {}
|
@@ -4663,7 +4663,7 @@ module Azure::KeyVault::V7_1
|
|
4663
4663
|
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
|
4664
4664
|
fail ArgumentError, 'value is nil' if value.nil?
|
4665
4665
|
|
4666
|
-
parameters = KeyOperationsParameters.new
|
4666
|
+
parameters = Azure::KeyVault::V7_1::Models::KeyOperationsParameters.new
|
4667
4667
|
unless algorithm.nil? && value.nil?
|
4668
4668
|
parameters.algorithm = algorithm
|
4669
4669
|
parameters.value = value
|
@@ -4812,7 +4812,7 @@ module Azure::KeyVault::V7_1
|
|
4812
4812
|
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
|
4813
4813
|
fail ArgumentError, 'value is nil' if value.nil?
|
4814
4814
|
|
4815
|
-
parameters = KeyOperationsParameters.new
|
4815
|
+
parameters = Azure::KeyVault::V7_1::Models::KeyOperationsParameters.new
|
4816
4816
|
unless algorithm.nil? && value.nil?
|
4817
4817
|
parameters.algorithm = algorithm
|
4818
4818
|
parameters.value = value
|
@@ -4958,7 +4958,7 @@ module Azure::KeyVault::V7_1
|
|
4958
4958
|
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
|
4959
4959
|
fail ArgumentError, 'value is nil' if value.nil?
|
4960
4960
|
|
4961
|
-
parameters = KeySignParameters.new
|
4961
|
+
parameters = Azure::KeyVault::V7_1::Models::KeySignParameters.new
|
4962
4962
|
unless algorithm.nil? && value.nil?
|
4963
4963
|
parameters.algorithm = algorithm
|
4964
4964
|
parameters.value = value
|
@@ -5117,7 +5117,7 @@ module Azure::KeyVault::V7_1
|
|
5117
5117
|
fail ArgumentError, 'digest is nil' if digest.nil?
|
5118
5118
|
fail ArgumentError, 'signature is nil' if signature.nil?
|
5119
5119
|
|
5120
|
-
parameters = KeyVerifyParameters.new
|
5120
|
+
parameters = Azure::KeyVault::V7_1::Models::KeyVerifyParameters.new
|
5121
5121
|
unless algorithm.nil? && digest.nil? && signature.nil?
|
5122
5122
|
parameters.algorithm = algorithm
|
5123
5123
|
parameters.digest = digest
|
@@ -5267,7 +5267,7 @@ module Azure::KeyVault::V7_1
|
|
5267
5267
|
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
|
5268
5268
|
fail ArgumentError, 'value is nil' if value.nil?
|
5269
5269
|
|
5270
|
-
parameters = KeyOperationsParameters.new
|
5270
|
+
parameters = Azure::KeyVault::V7_1::Models::KeyOperationsParameters.new
|
5271
5271
|
unless algorithm.nil? && value.nil?
|
5272
5272
|
parameters.algorithm = algorithm
|
5273
5273
|
parameters.value = value
|
@@ -5413,7 +5413,7 @@ module Azure::KeyVault::V7_1
|
|
5413
5413
|
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
|
5414
5414
|
fail ArgumentError, 'value is nil' if value.nil?
|
5415
5415
|
|
5416
|
-
parameters = KeyOperationsParameters.new
|
5416
|
+
parameters = Azure::KeyVault::V7_1::Models::KeyOperationsParameters.new
|
5417
5417
|
unless algorithm.nil? && value.nil?
|
5418
5418
|
parameters.algorithm = algorithm
|
5419
5419
|
parameters.value = value
|
@@ -6000,12 +6000,12 @@ module Azure::KeyVault::V7_1
|
|
6000
6000
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
6001
6001
|
fail ArgumentError, 'value is nil' if value.nil?
|
6002
6002
|
|
6003
|
-
parameters = SecretSetParameters.new
|
6003
|
+
parameters = Azure::KeyVault::V7_1::Models::SecretSetParameters.new
|
6004
6004
|
unless value.nil? && tags.nil? && content_type.nil? && secret_attributes.nil?
|
6005
6005
|
parameters.value = value
|
6006
6006
|
parameters.tags = tags
|
6007
6007
|
parameters.content_type = content_type
|
6008
|
-
parameters.
|
6008
|
+
parameters.secret_attributes = secret_attributes
|
6009
6009
|
end
|
6010
6010
|
|
6011
6011
|
request_headers = {}
|
@@ -6254,10 +6254,10 @@ module Azure::KeyVault::V7_1
|
|
6254
6254
|
fail ArgumentError, 'secret_version is nil' if secret_version.nil?
|
6255
6255
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
6256
6256
|
|
6257
|
-
parameters = SecretUpdateParameters.new
|
6257
|
+
parameters = Azure::KeyVault::V7_1::Models::SecretUpdateParameters.new
|
6258
6258
|
unless content_type.nil? && secret_attributes.nil? && tags.nil?
|
6259
6259
|
parameters.content_type = content_type
|
6260
|
-
parameters.
|
6260
|
+
parameters.secret_attributes = secret_attributes
|
6261
6261
|
parameters.tags = tags
|
6262
6262
|
end
|
6263
6263
|
|
@@ -7255,9 +7255,9 @@ module Azure::KeyVault::V7_1
|
|
7255
7255
|
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
7256
7256
|
fail ArgumentError, 'secret_bundle_backup is nil' if secret_bundle_backup.nil?
|
7257
7257
|
|
7258
|
-
parameters = SecretRestoreParameters.new
|
7258
|
+
parameters = Azure::KeyVault::V7_1::Models::SecretRestoreParameters.new
|
7259
7259
|
unless secret_bundle_backup.nil?
|
7260
|
-
parameters.
|
7260
|
+
parameters.secret_bundle_backup = secret_bundle_backup
|
7261
7261
|
end
|
7262
7262
|
|
7263
7263
|
request_headers = {}
|
@@ -8017,9 +8017,9 @@ module Azure::KeyVault::V7_1
|
|
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_1::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_1
|
|
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_1::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_1
|
|
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_1::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_1
|
|
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_1::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_1
|
|
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_1::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_1
|
|
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_1::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_1
|
|
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
|