azure_key_vault 0.16.0 → 0.17.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 +10 -9
- data/lib/2015-06-01/generated/azure_key_vault/models/key_create_parameters.rb +1 -1
- data/lib/2015-06-01/generated/azure_key_vault/models/key_properties.rb +1 -1
- data/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb +7 -6
- data/lib/7.0-preview/generated/azure_key_vault.rb +39 -37
- data/lib/7.0-preview/generated/azure_key_vault/key_vault_client.rb +299 -47
- data/lib/7.0-preview/generated/azure_key_vault/models/backup_certificate_result.rb +47 -0
- data/lib/7.0-preview/generated/azure_key_vault/models/certificate_restore_parameters.rb +46 -0
- data/lib/7.0-preview/generated/azure_key_vault/models/issuer_parameters.rb +12 -0
- data/lib/7.0-preview/generated/azure_key_vault/models/json_web_key.rb +4 -3
- data/lib/7.0-preview/generated/azure_key_vault/models/json_web_key_curve_name.rb +1 -1
- data/lib/7.0-preview/generated/azure_key_vault/models/json_web_key_signature_algorithm.rb +1 -1
- data/lib/7.0-preview/generated/azure_key_vault/models/key_create_parameters.rb +3 -2
- data/lib/7.0-preview/generated/azure_key_vault/models/key_properties.rb +18 -2
- data/lib/7.0-preview/generated/azure_key_vault/models/key_sign_parameters.rb +1 -1
- data/lib/7.0-preview/generated/azure_key_vault/models/key_verify_parameters.rb +1 -1
- data/lib/7.0/generated/azure_key_vault.rb +125 -0
- data/lib/7.0/generated/azure_key_vault/key_vault_client.rb +12438 -0
- data/lib/7.0/generated/azure_key_vault/models/action.rb +48 -0
- data/lib/7.0/generated/azure_key_vault/models/action_type.rb +16 -0
- data/lib/7.0/generated/azure_key_vault/models/administrator_details.rb +79 -0
- data/lib/7.0/generated/azure_key_vault/models/attributes.rb +92 -0
- data/lib/7.0/generated/azure_key_vault/models/backup_certificate_result.rb +47 -0
- data/lib/7.0/generated/azure_key_vault/models/backup_key_result.rb +47 -0
- data/lib/7.0/generated/azure_key_vault/models/backup_secret_result.rb +47 -0
- data/lib/7.0/generated/azure_key_vault/models/backup_storage_result.rb +47 -0
- data/lib/7.0/generated/azure_key_vault/models/certificate_attributes.rb +95 -0
- data/lib/7.0/generated/azure_key_vault/models/certificate_bundle.rb +151 -0
- data/lib/7.0/generated/azure_key_vault/models/certificate_create_parameters.rb +80 -0
- data/lib/7.0/generated/azure_key_vault/models/certificate_import_parameters.rb +104 -0
- data/lib/7.0/generated/azure_key_vault/models/certificate_issuer_item.rb +57 -0
- data/lib/7.0/generated/azure_key_vault/models/certificate_issuer_list_result.rb +102 -0
- data/lib/7.0/generated/azure_key_vault/models/certificate_issuer_set_parameters.rb +83 -0
- data/lib/7.0/generated/azure_key_vault/models/certificate_issuer_update_parameters.rb +83 -0
- data/lib/7.0/generated/azure_key_vault/models/certificate_item.rb +89 -0
- data/lib/7.0/generated/azure_key_vault/models/certificate_list_result.rb +102 -0
- data/lib/7.0/generated/azure_key_vault/models/certificate_merge_parameters.rb +88 -0
- data/lib/7.0/generated/azure_key_vault/models/certificate_operation.rb +142 -0
- data/lib/7.0/generated/azure_key_vault/models/certificate_operation_update_parameter.rb +47 -0
- data/lib/7.0/generated/azure_key_vault/models/certificate_policy.rb +131 -0
- data/lib/7.0/generated/azure_key_vault/models/certificate_restore_parameters.rb +46 -0
- data/lib/7.0/generated/azure_key_vault/models/certificate_update_parameters.rb +80 -0
- data/lib/7.0/generated/azure_key_vault/models/contact.rb +68 -0
- data/lib/7.0/generated/azure_key_vault/models/contacts.rb +67 -0
- data/lib/7.0/generated/azure_key_vault/models/deleted_certificate_bundle.rb +159 -0
- data/lib/7.0/generated/azure_key_vault/models/deleted_certificate_item.rb +113 -0
- data/lib/7.0/generated/azure_key_vault/models/deleted_certificate_list_result.rb +102 -0
- data/lib/7.0/generated/azure_key_vault/models/deleted_key_bundle.rb +115 -0
- data/lib/7.0/generated/azure_key_vault/models/deleted_key_item.rb +114 -0
- data/lib/7.0/generated/azure_key_vault/models/deleted_key_list_result.rb +102 -0
- data/lib/7.0/generated/azure_key_vault/models/deleted_sas_definition_bundle.rb +145 -0
- data/lib/7.0/generated/azure_key_vault/models/deleted_sas_definition_item.rb +118 -0
- data/lib/7.0/generated/azure_key_vault/models/deleted_sas_definition_list_result.rb +103 -0
- data/lib/7.0/generated/azure_key_vault/models/deleted_secret_bundle.rb +139 -0
- data/lib/7.0/generated/azure_key_vault/models/deleted_secret_item.rb +121 -0
- data/lib/7.0/generated/azure_key_vault/models/deleted_secret_list_result.rb +102 -0
- data/lib/7.0/generated/azure_key_vault/models/deleted_storage_account_item.rb +118 -0
- data/lib/7.0/generated/azure_key_vault/models/deleted_storage_bundle.rb +146 -0
- data/lib/7.0/generated/azure_key_vault/models/deleted_storage_list_result.rb +103 -0
- data/lib/7.0/generated/azure_key_vault/models/deletion_recovery_level.rb +18 -0
- data/lib/7.0/generated/azure_key_vault/models/error.rb +72 -0
- data/lib/7.0/generated/azure_key_vault/models/issuer_attributes.rb +70 -0
- data/lib/7.0/generated/azure_key_vault/models/issuer_bundle.rb +95 -0
- data/lib/7.0/generated/azure_key_vault/models/issuer_credentials.rb +57 -0
- data/lib/7.0/generated/azure_key_vault/models/issuer_parameters.rb +71 -0
- data/lib/7.0/generated/azure_key_vault/models/json_web_key.rb +223 -0
- data/lib/7.0/generated/azure_key_vault/models/json_web_key_curve_name.rb +18 -0
- data/lib/7.0/generated/azure_key_vault/models/json_web_key_encryption_algorithm.rb +17 -0
- data/lib/7.0/generated/azure_key_vault/models/json_web_key_operation.rb +20 -0
- data/lib/7.0/generated/azure_key_vault/models/json_web_key_signature_algorithm.rb +25 -0
- data/lib/7.0/generated/azure_key_vault/models/json_web_key_type.rb +19 -0
- data/lib/7.0/generated/azure_key_vault/models/key_attributes.rb +95 -0
- data/lib/7.0/generated/azure_key_vault/models/key_bundle.rb +92 -0
- data/lib/7.0/generated/azure_key_vault/models/key_create_parameters.rb +127 -0
- data/lib/7.0/generated/azure_key_vault/models/key_import_parameters.rb +91 -0
- data/lib/7.0/generated/azure_key_vault/models/key_item.rb +91 -0
- data/lib/7.0/generated/azure_key_vault/models/key_list_result.rb +101 -0
- data/lib/7.0/generated/azure_key_vault/models/key_operation_result.rb +59 -0
- data/lib/7.0/generated/azure_key_vault/models/key_operations_parameters.rb +61 -0
- data/lib/7.0/generated/azure_key_vault/models/key_properties.rb +96 -0
- data/lib/7.0/generated/azure_key_vault/models/key_restore_parameters.rb +46 -0
- data/lib/7.0/generated/azure_key_vault/models/key_sign_parameters.rb +64 -0
- data/lib/7.0/generated/azure_key_vault/models/key_update_parameters.rb +87 -0
- data/lib/7.0/generated/azure_key_vault/models/key_usage_type.rb +23 -0
- data/lib/7.0/generated/azure_key_vault/models/key_vault_error.rb +48 -0
- data/lib/7.0/generated/azure_key_vault/models/key_verify_parameters.rb +75 -0
- data/lib/7.0/generated/azure_key_vault/models/key_verify_result.rb +47 -0
- data/lib/7.0/generated/azure_key_vault/models/lifetime_action.rb +60 -0
- data/lib/7.0/generated/azure_key_vault/models/organization_details.rb +67 -0
- data/lib/7.0/generated/azure_key_vault/models/pending_certificate_signing_request_result.rb +48 -0
- data/lib/7.0/generated/azure_key_vault/models/sas_definition_attributes.rb +88 -0
- data/lib/7.0/generated/azure_key_vault/models/sas_definition_bundle.rb +134 -0
- data/lib/7.0/generated/azure_key_vault/models/sas_definition_create_parameters.rb +104 -0
- data/lib/7.0/generated/azure_key_vault/models/sas_definition_item.rb +94 -0
- data/lib/7.0/generated/azure_key_vault/models/sas_definition_list_result.rb +102 -0
- data/lib/7.0/generated/azure_key_vault/models/sas_definition_update_parameters.rb +104 -0
- data/lib/7.0/generated/azure_key_vault/models/sas_token_type.rb +16 -0
- data/lib/7.0/generated/azure_key_vault/models/secret_attributes.rb +95 -0
- data/lib/7.0/generated/azure_key_vault/models/secret_bundle.rb +127 -0
- data/lib/7.0/generated/azure_key_vault/models/secret_item.rb +103 -0
- data/lib/7.0/generated/azure_key_vault/models/secret_list_result.rb +101 -0
- data/lib/7.0/generated/azure_key_vault/models/secret_properties.rb +46 -0
- data/lib/7.0/generated/azure_key_vault/models/secret_restore_parameters.rb +46 -0
- data/lib/7.0/generated/azure_key_vault/models/secret_set_parameters.rb +89 -0
- data/lib/7.0/generated/azure_key_vault/models/secret_update_parameters.rb +78 -0
- data/lib/7.0/generated/azure_key_vault/models/storage_account_attributes.rb +88 -0
- data/lib/7.0/generated/azure_key_vault/models/storage_account_create_parameters.rb +114 -0
- data/lib/7.0/generated/azure_key_vault/models/storage_account_item.rb +94 -0
- data/lib/7.0/generated/azure_key_vault/models/storage_account_regenerte_key_parameters.rb +46 -0
- data/lib/7.0/generated/azure_key_vault/models/storage_account_update_parameters.rb +103 -0
- data/lib/7.0/generated/azure_key_vault/models/storage_bundle.rb +132 -0
- data/lib/7.0/generated/azure_key_vault/models/storage_list_result.rb +102 -0
- data/lib/7.0/generated/azure_key_vault/models/storage_restore_parameters.rb +46 -0
- data/lib/7.0/generated/azure_key_vault/models/subject_alternative_names.rb +92 -0
- data/lib/7.0/generated/azure_key_vault/models/trigger.rb +65 -0
- data/lib/7.0/generated/azure_key_vault/models/x509certificate_properties.rb +111 -0
- data/lib/7.0/generated/azure_key_vault/module_definition.rb +8 -0
- data/lib/azure_key_vault.rb +1 -0
- data/lib/profiles/latest/modules/keyvault_profile_module.rb +266 -222
- data/lib/version.rb +1 -1
- metadata +107 -4
@@ -0,0 +1,91 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::KeyVault::V7_0
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The key item containing key metadata.
|
10
|
+
#
|
11
|
+
class KeyItem
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Key identifier.
|
16
|
+
attr_accessor :kid
|
17
|
+
|
18
|
+
# @return [KeyAttributes] The key management attributes.
|
19
|
+
attr_accessor :attributes
|
20
|
+
|
21
|
+
# @return [Hash{String => String}] Application specific metadata in the
|
22
|
+
# form of key-value pairs.
|
23
|
+
attr_accessor :tags
|
24
|
+
|
25
|
+
# @return [Boolean] True if the key's lifetime is managed by key vault.
|
26
|
+
# If this is a key backing a certificate, then managed will be true.
|
27
|
+
attr_accessor :managed
|
28
|
+
|
29
|
+
|
30
|
+
#
|
31
|
+
# Mapper for KeyItem class as Ruby Hash.
|
32
|
+
# This will be used for serialization/deserialization.
|
33
|
+
#
|
34
|
+
def self.mapper()
|
35
|
+
{
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'KeyItem',
|
39
|
+
type: {
|
40
|
+
name: 'Composite',
|
41
|
+
class_name: 'KeyItem',
|
42
|
+
model_properties: {
|
43
|
+
kid: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'kid',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
},
|
51
|
+
attributes: {
|
52
|
+
client_side_validation: true,
|
53
|
+
required: false,
|
54
|
+
serialized_name: 'attributes',
|
55
|
+
type: {
|
56
|
+
name: 'Composite',
|
57
|
+
class_name: 'KeyAttributes'
|
58
|
+
}
|
59
|
+
},
|
60
|
+
tags: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'tags',
|
64
|
+
type: {
|
65
|
+
name: 'Dictionary',
|
66
|
+
value: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: false,
|
69
|
+
serialized_name: 'StringElementType',
|
70
|
+
type: {
|
71
|
+
name: 'String'
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
},
|
76
|
+
managed: {
|
77
|
+
client_side_validation: true,
|
78
|
+
required: false,
|
79
|
+
read_only: true,
|
80
|
+
serialized_name: 'managed',
|
81
|
+
type: {
|
82
|
+
name: 'Boolean'
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
end
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
@@ -0,0 +1,101 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::KeyVault::V7_0
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The key list result.
|
10
|
+
#
|
11
|
+
class KeyListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<KeyItem>] A response message containing a list of keys
|
17
|
+
# in the key vault along with a link to the next page of keys.
|
18
|
+
attr_accessor :value
|
19
|
+
|
20
|
+
# @return [String] The URL to get the next set of keys.
|
21
|
+
attr_accessor :next_link
|
22
|
+
|
23
|
+
# return [Proc] with next page method call.
|
24
|
+
attr_accessor :next_method
|
25
|
+
|
26
|
+
#
|
27
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
28
|
+
#
|
29
|
+
# @return [Array<KeyItem>] operation results.
|
30
|
+
#
|
31
|
+
def get_all_items
|
32
|
+
items = @value
|
33
|
+
page = self
|
34
|
+
while page.next_link != nil do
|
35
|
+
page = page.get_next_page
|
36
|
+
items.concat(page.value)
|
37
|
+
end
|
38
|
+
items
|
39
|
+
end
|
40
|
+
|
41
|
+
#
|
42
|
+
# Gets the next page of results.
|
43
|
+
#
|
44
|
+
# @return [KeyListResult] with next page content.
|
45
|
+
#
|
46
|
+
def get_next_page
|
47
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
48
|
+
unless response.nil?
|
49
|
+
@next_link = response.body.next_link
|
50
|
+
@value = response.body.value
|
51
|
+
self
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
#
|
56
|
+
# Mapper for KeyListResult class as Ruby Hash.
|
57
|
+
# This will be used for serialization/deserialization.
|
58
|
+
#
|
59
|
+
def self.mapper()
|
60
|
+
{
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'KeyListResult',
|
64
|
+
type: {
|
65
|
+
name: 'Composite',
|
66
|
+
class_name: 'KeyListResult',
|
67
|
+
model_properties: {
|
68
|
+
value: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
read_only: true,
|
72
|
+
serialized_name: 'value',
|
73
|
+
type: {
|
74
|
+
name: 'Sequence',
|
75
|
+
element: {
|
76
|
+
client_side_validation: true,
|
77
|
+
required: false,
|
78
|
+
serialized_name: 'KeyItemElementType',
|
79
|
+
type: {
|
80
|
+
name: 'Composite',
|
81
|
+
class_name: 'KeyItem'
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
},
|
86
|
+
next_link: {
|
87
|
+
client_side_validation: true,
|
88
|
+
required: false,
|
89
|
+
read_only: true,
|
90
|
+
serialized_name: 'nextLink',
|
91
|
+
type: {
|
92
|
+
name: 'String'
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::KeyVault::V7_0
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The key operation result.
|
10
|
+
#
|
11
|
+
class KeyOperationResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Key identifier
|
16
|
+
attr_accessor :kid
|
17
|
+
|
18
|
+
# @return
|
19
|
+
attr_accessor :result
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for KeyOperationResult class as Ruby Hash.
|
24
|
+
# This will be used for serialization/deserialization.
|
25
|
+
#
|
26
|
+
def self.mapper()
|
27
|
+
{
|
28
|
+
client_side_validation: true,
|
29
|
+
required: false,
|
30
|
+
serialized_name: 'KeyOperationResult',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'KeyOperationResult',
|
34
|
+
model_properties: {
|
35
|
+
kid: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
read_only: true,
|
39
|
+
serialized_name: 'kid',
|
40
|
+
type: {
|
41
|
+
name: 'String'
|
42
|
+
}
|
43
|
+
},
|
44
|
+
result: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
read_only: true,
|
48
|
+
serialized_name: 'value',
|
49
|
+
type: {
|
50
|
+
name: 'Base64Url'
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
@@ -0,0 +1,61 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::KeyVault::V7_0
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The key operations parameters.
|
10
|
+
#
|
11
|
+
class KeyOperationsParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [JsonWebKeyEncryptionAlgorithm] algorithm identifier. Possible
|
16
|
+
# values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5'
|
17
|
+
attr_accessor :algorithm
|
18
|
+
|
19
|
+
# @return
|
20
|
+
attr_accessor :value
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for KeyOperationsParameters class as Ruby Hash.
|
25
|
+
# This will be used for serialization/deserialization.
|
26
|
+
#
|
27
|
+
def self.mapper()
|
28
|
+
{
|
29
|
+
client_side_validation: true,
|
30
|
+
required: false,
|
31
|
+
serialized_name: 'KeyOperationsParameters',
|
32
|
+
type: {
|
33
|
+
name: 'Composite',
|
34
|
+
class_name: 'KeyOperationsParameters',
|
35
|
+
model_properties: {
|
36
|
+
algorithm: {
|
37
|
+
client_side_validation: true,
|
38
|
+
required: true,
|
39
|
+
serialized_name: 'alg',
|
40
|
+
constraints: {
|
41
|
+
MinLength: 1
|
42
|
+
},
|
43
|
+
type: {
|
44
|
+
name: 'String'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
value: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: true,
|
50
|
+
serialized_name: 'value',
|
51
|
+
type: {
|
52
|
+
name: 'Base64Url'
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
@@ -0,0 +1,96 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::KeyVault::V7_0
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Properties of the key pair backing a certificate.
|
10
|
+
#
|
11
|
+
class KeyProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Boolean] Indicates if the private key can be exported.
|
16
|
+
attr_accessor :exportable
|
17
|
+
|
18
|
+
# @return [JsonWebKeyType] The type of key pair to be used for the
|
19
|
+
# certificate. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM',
|
20
|
+
# 'oct'
|
21
|
+
attr_accessor :key_type
|
22
|
+
|
23
|
+
# @return [Integer] The key size in bits. For example: 2048, 3072, or
|
24
|
+
# 4096 for RSA.
|
25
|
+
attr_accessor :key_size
|
26
|
+
|
27
|
+
# @return [Boolean] Indicates if the same key pair will be used on
|
28
|
+
# certificate renewal.
|
29
|
+
attr_accessor :reuse_key
|
30
|
+
|
31
|
+
# @return [JsonWebKeyCurveName] Elliptic curve name. For valid values,
|
32
|
+
# see JsonWebKeyCurveName. Possible values include: 'P-256', 'P-384',
|
33
|
+
# 'P-521', 'P-256K'
|
34
|
+
attr_accessor :curve
|
35
|
+
|
36
|
+
|
37
|
+
#
|
38
|
+
# Mapper for KeyProperties class as Ruby Hash.
|
39
|
+
# This will be used for serialization/deserialization.
|
40
|
+
#
|
41
|
+
def self.mapper()
|
42
|
+
{
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'KeyProperties',
|
46
|
+
type: {
|
47
|
+
name: 'Composite',
|
48
|
+
class_name: 'KeyProperties',
|
49
|
+
model_properties: {
|
50
|
+
exportable: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
serialized_name: 'exportable',
|
54
|
+
type: {
|
55
|
+
name: 'Boolean'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
key_type: {
|
59
|
+
client_side_validation: true,
|
60
|
+
required: false,
|
61
|
+
serialized_name: 'kty',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
key_size: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: false,
|
69
|
+
serialized_name: 'key_size',
|
70
|
+
type: {
|
71
|
+
name: 'Number'
|
72
|
+
}
|
73
|
+
},
|
74
|
+
reuse_key: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: false,
|
77
|
+
serialized_name: 'reuse_key',
|
78
|
+
type: {
|
79
|
+
name: 'Boolean'
|
80
|
+
}
|
81
|
+
},
|
82
|
+
curve: {
|
83
|
+
client_side_validation: true,
|
84
|
+
required: false,
|
85
|
+
serialized_name: 'crv',
|
86
|
+
type: {
|
87
|
+
name: 'String'
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
end
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::KeyVault::V7_0
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The key restore parameters.
|
10
|
+
#
|
11
|
+
class KeyRestoreParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return The backup blob associated with a key bundle.
|
16
|
+
attr_accessor :key_bundle_backup
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for KeyRestoreParameters class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
client_side_validation: true,
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'KeyRestoreParameters',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'KeyRestoreParameters',
|
31
|
+
model_properties: {
|
32
|
+
key_bundle_backup: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: true,
|
35
|
+
serialized_name: 'value',
|
36
|
+
type: {
|
37
|
+
name: 'Base64Url'
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|