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,142 @@
|
|
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
|
+
# A certificate operation is returned in case of asynchronous requests.
|
10
|
+
#
|
11
|
+
class CertificateOperation
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The certificate id.
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
# @return [IssuerParameters] Parameters for the issuer of the X509
|
19
|
+
# component of a certificate.
|
20
|
+
attr_accessor :issuer_parameters
|
21
|
+
|
22
|
+
# @return [Array<Integer>] The certificate signing request (CSR) that is
|
23
|
+
# being used in the certificate operation.
|
24
|
+
attr_accessor :csr
|
25
|
+
|
26
|
+
# @return [Boolean] Indicates if cancellation was requested on the
|
27
|
+
# certificate operation.
|
28
|
+
attr_accessor :cancellation_requested
|
29
|
+
|
30
|
+
# @return [String] Status of the certificate operation.
|
31
|
+
attr_accessor :status
|
32
|
+
|
33
|
+
# @return [String] The status details of the certificate operation.
|
34
|
+
attr_accessor :status_details
|
35
|
+
|
36
|
+
# @return [Error] Error encountered, if any, during the certificate
|
37
|
+
# operation.
|
38
|
+
attr_accessor :error
|
39
|
+
|
40
|
+
# @return [String] Location which contains the result of the certificate
|
41
|
+
# operation.
|
42
|
+
attr_accessor :target
|
43
|
+
|
44
|
+
# @return [String] Identifier for the certificate operation.
|
45
|
+
attr_accessor :request_id
|
46
|
+
|
47
|
+
|
48
|
+
#
|
49
|
+
# Mapper for CertificateOperation class as Ruby Hash.
|
50
|
+
# This will be used for serialization/deserialization.
|
51
|
+
#
|
52
|
+
def self.mapper()
|
53
|
+
{
|
54
|
+
client_side_validation: true,
|
55
|
+
required: false,
|
56
|
+
serialized_name: 'CertificateOperation',
|
57
|
+
type: {
|
58
|
+
name: 'Composite',
|
59
|
+
class_name: 'CertificateOperation',
|
60
|
+
model_properties: {
|
61
|
+
id: {
|
62
|
+
client_side_validation: true,
|
63
|
+
required: false,
|
64
|
+
read_only: true,
|
65
|
+
serialized_name: 'id',
|
66
|
+
type: {
|
67
|
+
name: 'String'
|
68
|
+
}
|
69
|
+
},
|
70
|
+
issuer_parameters: {
|
71
|
+
client_side_validation: true,
|
72
|
+
required: false,
|
73
|
+
serialized_name: 'issuer',
|
74
|
+
type: {
|
75
|
+
name: 'Composite',
|
76
|
+
class_name: 'IssuerParameters'
|
77
|
+
}
|
78
|
+
},
|
79
|
+
csr: {
|
80
|
+
client_side_validation: true,
|
81
|
+
required: false,
|
82
|
+
serialized_name: 'csr',
|
83
|
+
type: {
|
84
|
+
name: 'ByteArray'
|
85
|
+
}
|
86
|
+
},
|
87
|
+
cancellation_requested: {
|
88
|
+
client_side_validation: true,
|
89
|
+
required: false,
|
90
|
+
serialized_name: 'cancellation_requested',
|
91
|
+
type: {
|
92
|
+
name: 'Boolean'
|
93
|
+
}
|
94
|
+
},
|
95
|
+
status: {
|
96
|
+
client_side_validation: true,
|
97
|
+
required: false,
|
98
|
+
serialized_name: 'status',
|
99
|
+
type: {
|
100
|
+
name: 'String'
|
101
|
+
}
|
102
|
+
},
|
103
|
+
status_details: {
|
104
|
+
client_side_validation: true,
|
105
|
+
required: false,
|
106
|
+
serialized_name: 'status_details',
|
107
|
+
type: {
|
108
|
+
name: 'String'
|
109
|
+
}
|
110
|
+
},
|
111
|
+
error: {
|
112
|
+
client_side_validation: true,
|
113
|
+
required: false,
|
114
|
+
serialized_name: 'error',
|
115
|
+
type: {
|
116
|
+
name: 'Composite',
|
117
|
+
class_name: 'Error'
|
118
|
+
}
|
119
|
+
},
|
120
|
+
target: {
|
121
|
+
client_side_validation: true,
|
122
|
+
required: false,
|
123
|
+
serialized_name: 'target',
|
124
|
+
type: {
|
125
|
+
name: 'String'
|
126
|
+
}
|
127
|
+
},
|
128
|
+
request_id: {
|
129
|
+
client_side_validation: true,
|
130
|
+
required: false,
|
131
|
+
serialized_name: 'request_id',
|
132
|
+
type: {
|
133
|
+
name: 'String'
|
134
|
+
}
|
135
|
+
}
|
136
|
+
}
|
137
|
+
}
|
138
|
+
}
|
139
|
+
end
|
140
|
+
end
|
141
|
+
end
|
142
|
+
end
|
@@ -0,0 +1,47 @@
|
|
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 certificate operation update parameters.
|
10
|
+
#
|
11
|
+
class CertificateOperationUpdateParameter
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Boolean] Indicates if cancellation was requested on the
|
16
|
+
# certificate operation.
|
17
|
+
attr_accessor :cancellation_requested
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for CertificateOperationUpdateParameter class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
client_side_validation: true,
|
27
|
+
required: false,
|
28
|
+
serialized_name: 'CertificateOperationUpdateParameter',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'CertificateOperationUpdateParameter',
|
32
|
+
model_properties: {
|
33
|
+
cancellation_requested: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: true,
|
36
|
+
serialized_name: 'cancellation_requested',
|
37
|
+
type: {
|
38
|
+
name: 'Boolean'
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,131 @@
|
|
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
|
+
# Management policy for a certificate.
|
10
|
+
#
|
11
|
+
class CertificatePolicy
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The certificate id.
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
# @return [KeyProperties] Properties of the key backing a certificate.
|
19
|
+
attr_accessor :key_properties
|
20
|
+
|
21
|
+
# @return [SecretProperties] Properties of the secret backing a
|
22
|
+
# certificate.
|
23
|
+
attr_accessor :secret_properties
|
24
|
+
|
25
|
+
# @return [X509CertificateProperties] Properties of the X509 component of
|
26
|
+
# a certificate.
|
27
|
+
attr_accessor :x509certificate_properties
|
28
|
+
|
29
|
+
# @return [Array<LifetimeAction>] Actions that will be performed by Key
|
30
|
+
# Vault over the lifetime of a certificate.
|
31
|
+
attr_accessor :lifetime_actions
|
32
|
+
|
33
|
+
# @return [IssuerParameters] Parameters for the issuer of the X509
|
34
|
+
# component of a certificate.
|
35
|
+
attr_accessor :issuer_parameters
|
36
|
+
|
37
|
+
# @return [CertificateAttributes] The certificate attributes.
|
38
|
+
attr_accessor :attributes
|
39
|
+
|
40
|
+
|
41
|
+
#
|
42
|
+
# Mapper for CertificatePolicy class as Ruby Hash.
|
43
|
+
# This will be used for serialization/deserialization.
|
44
|
+
#
|
45
|
+
def self.mapper()
|
46
|
+
{
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'CertificatePolicy',
|
50
|
+
type: {
|
51
|
+
name: 'Composite',
|
52
|
+
class_name: 'CertificatePolicy',
|
53
|
+
model_properties: {
|
54
|
+
id: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
read_only: true,
|
58
|
+
serialized_name: 'id',
|
59
|
+
type: {
|
60
|
+
name: 'String'
|
61
|
+
}
|
62
|
+
},
|
63
|
+
key_properties: {
|
64
|
+
client_side_validation: true,
|
65
|
+
required: false,
|
66
|
+
serialized_name: 'key_props',
|
67
|
+
type: {
|
68
|
+
name: 'Composite',
|
69
|
+
class_name: 'KeyProperties'
|
70
|
+
}
|
71
|
+
},
|
72
|
+
secret_properties: {
|
73
|
+
client_side_validation: true,
|
74
|
+
required: false,
|
75
|
+
serialized_name: 'secret_props',
|
76
|
+
type: {
|
77
|
+
name: 'Composite',
|
78
|
+
class_name: 'SecretProperties'
|
79
|
+
}
|
80
|
+
},
|
81
|
+
x509certificate_properties: {
|
82
|
+
client_side_validation: true,
|
83
|
+
required: false,
|
84
|
+
serialized_name: 'x509_props',
|
85
|
+
type: {
|
86
|
+
name: 'Composite',
|
87
|
+
class_name: 'X509CertificateProperties'
|
88
|
+
}
|
89
|
+
},
|
90
|
+
lifetime_actions: {
|
91
|
+
client_side_validation: true,
|
92
|
+
required: false,
|
93
|
+
serialized_name: 'lifetime_actions',
|
94
|
+
type: {
|
95
|
+
name: 'Sequence',
|
96
|
+
element: {
|
97
|
+
client_side_validation: true,
|
98
|
+
required: false,
|
99
|
+
serialized_name: 'LifetimeActionElementType',
|
100
|
+
type: {
|
101
|
+
name: 'Composite',
|
102
|
+
class_name: 'LifetimeAction'
|
103
|
+
}
|
104
|
+
}
|
105
|
+
}
|
106
|
+
},
|
107
|
+
issuer_parameters: {
|
108
|
+
client_side_validation: true,
|
109
|
+
required: false,
|
110
|
+
serialized_name: 'issuer',
|
111
|
+
type: {
|
112
|
+
name: 'Composite',
|
113
|
+
class_name: 'IssuerParameters'
|
114
|
+
}
|
115
|
+
},
|
116
|
+
attributes: {
|
117
|
+
client_side_validation: true,
|
118
|
+
required: false,
|
119
|
+
serialized_name: 'attributes',
|
120
|
+
type: {
|
121
|
+
name: 'Composite',
|
122
|
+
class_name: 'CertificateAttributes'
|
123
|
+
}
|
124
|
+
}
|
125
|
+
}
|
126
|
+
}
|
127
|
+
}
|
128
|
+
end
|
129
|
+
end
|
130
|
+
end
|
131
|
+
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 certificate restore parameters.
|
10
|
+
#
|
11
|
+
class CertificateRestoreParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return The backup blob associated with a certificate bundle.
|
16
|
+
attr_accessor :certificate_bundle_backup
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for CertificateRestoreParameters 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: 'CertificateRestoreParameters',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'CertificateRestoreParameters',
|
31
|
+
model_properties: {
|
32
|
+
certificate_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
|
@@ -0,0 +1,80 @@
|
|
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 certificate update parameters.
|
10
|
+
#
|
11
|
+
class CertificateUpdateParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [CertificatePolicy] The management policy for the certificate.
|
16
|
+
attr_accessor :certificate_policy
|
17
|
+
|
18
|
+
# @return [CertificateAttributes] The attributes of the certificate
|
19
|
+
# (optional).
|
20
|
+
attr_accessor :certificate_attributes
|
21
|
+
|
22
|
+
# @return [Hash{String => String}] Application specific metadata in the
|
23
|
+
# form of key-value pairs.
|
24
|
+
attr_accessor :tags
|
25
|
+
|
26
|
+
|
27
|
+
#
|
28
|
+
# Mapper for CertificateUpdateParameters class as Ruby Hash.
|
29
|
+
# This will be used for serialization/deserialization.
|
30
|
+
#
|
31
|
+
def self.mapper()
|
32
|
+
{
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'CertificateUpdateParameters',
|
36
|
+
type: {
|
37
|
+
name: 'Composite',
|
38
|
+
class_name: 'CertificateUpdateParameters',
|
39
|
+
model_properties: {
|
40
|
+
certificate_policy: {
|
41
|
+
client_side_validation: true,
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'policy',
|
44
|
+
type: {
|
45
|
+
name: 'Composite',
|
46
|
+
class_name: 'CertificatePolicy'
|
47
|
+
}
|
48
|
+
},
|
49
|
+
certificate_attributes: {
|
50
|
+
client_side_validation: true,
|
51
|
+
required: false,
|
52
|
+
serialized_name: 'attributes',
|
53
|
+
type: {
|
54
|
+
name: 'Composite',
|
55
|
+
class_name: 'CertificateAttributes'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
tags: {
|
59
|
+
client_side_validation: true,
|
60
|
+
required: false,
|
61
|
+
serialized_name: 'tags',
|
62
|
+
type: {
|
63
|
+
name: 'Dictionary',
|
64
|
+
value: {
|
65
|
+
client_side_validation: true,
|
66
|
+
required: false,
|
67
|
+
serialized_name: 'StringElementType',
|
68
|
+
type: {
|
69
|
+
name: 'String'
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|