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,68 @@
|
|
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 contact information for the vault certificates.
|
10
|
+
#
|
11
|
+
class Contact
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Email addresss.
|
16
|
+
attr_accessor :email_address
|
17
|
+
|
18
|
+
# @return [String] Name.
|
19
|
+
attr_accessor :name
|
20
|
+
|
21
|
+
# @return [String] Phone number.
|
22
|
+
attr_accessor :phone
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for Contact class as Ruby Hash.
|
27
|
+
# This will be used for serialization/deserialization.
|
28
|
+
#
|
29
|
+
def self.mapper()
|
30
|
+
{
|
31
|
+
client_side_validation: true,
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'Contact',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'Contact',
|
37
|
+
model_properties: {
|
38
|
+
email_address: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'email',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
name: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'name',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
phone: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
serialized_name: 'phone',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
@@ -0,0 +1,67 @@
|
|
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 contacts for the vault certificates.
|
10
|
+
#
|
11
|
+
class Contacts
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Identifier for the contacts collection.
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
# @return [Array<Contact>] The contact list for the vault certificates.
|
19
|
+
attr_accessor :contact_list
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for Contacts 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: 'Contacts',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'Contacts',
|
34
|
+
model_properties: {
|
35
|
+
id: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
read_only: true,
|
39
|
+
serialized_name: 'id',
|
40
|
+
type: {
|
41
|
+
name: 'String'
|
42
|
+
}
|
43
|
+
},
|
44
|
+
contact_list: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
serialized_name: 'contacts',
|
48
|
+
type: {
|
49
|
+
name: 'Sequence',
|
50
|
+
element: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
serialized_name: 'ContactElementType',
|
54
|
+
type: {
|
55
|
+
name: 'Composite',
|
56
|
+
class_name: 'Contact'
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
@@ -0,0 +1,159 @@
|
|
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 Deleted Certificate consisting of its previous id, attributes and its
|
10
|
+
# tags, as well as information on when it will be purged.
|
11
|
+
#
|
12
|
+
class DeletedCertificateBundle < CertificateBundle
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] The url of the recovery object, used to identify and
|
17
|
+
# recover the deleted certificate.
|
18
|
+
attr_accessor :recovery_id
|
19
|
+
|
20
|
+
# @return The time when the certificate is scheduled to be purged, in UTC
|
21
|
+
attr_accessor :scheduled_purge_date
|
22
|
+
|
23
|
+
# @return The time when the certificate was deleted, in UTC
|
24
|
+
attr_accessor :deleted_date
|
25
|
+
|
26
|
+
|
27
|
+
#
|
28
|
+
# Mapper for DeletedCertificateBundle 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: 'DeletedCertificateBundle',
|
36
|
+
type: {
|
37
|
+
name: 'Composite',
|
38
|
+
class_name: 'DeletedCertificateBundle',
|
39
|
+
model_properties: {
|
40
|
+
id: {
|
41
|
+
client_side_validation: true,
|
42
|
+
required: false,
|
43
|
+
read_only: true,
|
44
|
+
serialized_name: 'id',
|
45
|
+
type: {
|
46
|
+
name: 'String'
|
47
|
+
}
|
48
|
+
},
|
49
|
+
kid: {
|
50
|
+
client_side_validation: true,
|
51
|
+
required: false,
|
52
|
+
read_only: true,
|
53
|
+
serialized_name: 'kid',
|
54
|
+
type: {
|
55
|
+
name: 'String'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
sid: {
|
59
|
+
client_side_validation: true,
|
60
|
+
required: false,
|
61
|
+
read_only: true,
|
62
|
+
serialized_name: 'sid',
|
63
|
+
type: {
|
64
|
+
name: 'String'
|
65
|
+
}
|
66
|
+
},
|
67
|
+
x509thumbprint: {
|
68
|
+
client_side_validation: true,
|
69
|
+
required: false,
|
70
|
+
read_only: true,
|
71
|
+
serialized_name: 'x5t',
|
72
|
+
type: {
|
73
|
+
name: 'Base64Url'
|
74
|
+
}
|
75
|
+
},
|
76
|
+
policy: {
|
77
|
+
client_side_validation: true,
|
78
|
+
required: false,
|
79
|
+
read_only: true,
|
80
|
+
serialized_name: 'policy',
|
81
|
+
type: {
|
82
|
+
name: 'Composite',
|
83
|
+
class_name: 'CertificatePolicy'
|
84
|
+
}
|
85
|
+
},
|
86
|
+
cer: {
|
87
|
+
client_side_validation: true,
|
88
|
+
required: false,
|
89
|
+
serialized_name: 'cer',
|
90
|
+
type: {
|
91
|
+
name: 'ByteArray'
|
92
|
+
}
|
93
|
+
},
|
94
|
+
content_type: {
|
95
|
+
client_side_validation: true,
|
96
|
+
required: false,
|
97
|
+
serialized_name: 'contentType',
|
98
|
+
type: {
|
99
|
+
name: 'String'
|
100
|
+
}
|
101
|
+
},
|
102
|
+
attributes: {
|
103
|
+
client_side_validation: true,
|
104
|
+
required: false,
|
105
|
+
serialized_name: 'attributes',
|
106
|
+
type: {
|
107
|
+
name: 'Composite',
|
108
|
+
class_name: 'CertificateAttributes'
|
109
|
+
}
|
110
|
+
},
|
111
|
+
tags: {
|
112
|
+
client_side_validation: true,
|
113
|
+
required: false,
|
114
|
+
serialized_name: 'tags',
|
115
|
+
type: {
|
116
|
+
name: 'Dictionary',
|
117
|
+
value: {
|
118
|
+
client_side_validation: true,
|
119
|
+
required: false,
|
120
|
+
serialized_name: 'StringElementType',
|
121
|
+
type: {
|
122
|
+
name: 'String'
|
123
|
+
}
|
124
|
+
}
|
125
|
+
}
|
126
|
+
},
|
127
|
+
recovery_id: {
|
128
|
+
client_side_validation: true,
|
129
|
+
required: false,
|
130
|
+
serialized_name: 'recoveryId',
|
131
|
+
type: {
|
132
|
+
name: 'String'
|
133
|
+
}
|
134
|
+
},
|
135
|
+
scheduled_purge_date: {
|
136
|
+
client_side_validation: true,
|
137
|
+
required: false,
|
138
|
+
read_only: true,
|
139
|
+
serialized_name: 'scheduledPurgeDate',
|
140
|
+
type: {
|
141
|
+
name: 'UnixTime'
|
142
|
+
}
|
143
|
+
},
|
144
|
+
deleted_date: {
|
145
|
+
client_side_validation: true,
|
146
|
+
required: false,
|
147
|
+
read_only: true,
|
148
|
+
serialized_name: 'deletedDate',
|
149
|
+
type: {
|
150
|
+
name: 'UnixTime'
|
151
|
+
}
|
152
|
+
}
|
153
|
+
}
|
154
|
+
}
|
155
|
+
}
|
156
|
+
end
|
157
|
+
end
|
158
|
+
end
|
159
|
+
end
|
@@ -0,0 +1,113 @@
|
|
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 deleted certificate item containing metadata about the deleted
|
10
|
+
# certificate.
|
11
|
+
#
|
12
|
+
class DeletedCertificateItem < CertificateItem
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] The url of the recovery object, used to identify and
|
17
|
+
# recover the deleted certificate.
|
18
|
+
attr_accessor :recovery_id
|
19
|
+
|
20
|
+
# @return The time when the certificate is scheduled to be purged, in UTC
|
21
|
+
attr_accessor :scheduled_purge_date
|
22
|
+
|
23
|
+
# @return The time when the certificate was deleted, in UTC
|
24
|
+
attr_accessor :deleted_date
|
25
|
+
|
26
|
+
|
27
|
+
#
|
28
|
+
# Mapper for DeletedCertificateItem 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: 'DeletedCertificateItem',
|
36
|
+
type: {
|
37
|
+
name: 'Composite',
|
38
|
+
class_name: 'DeletedCertificateItem',
|
39
|
+
model_properties: {
|
40
|
+
id: {
|
41
|
+
client_side_validation: true,
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'id',
|
44
|
+
type: {
|
45
|
+
name: 'String'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
attributes: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
serialized_name: 'attributes',
|
52
|
+
type: {
|
53
|
+
name: 'Composite',
|
54
|
+
class_name: 'CertificateAttributes'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
tags: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'tags',
|
61
|
+
type: {
|
62
|
+
name: 'Dictionary',
|
63
|
+
value: {
|
64
|
+
client_side_validation: true,
|
65
|
+
required: false,
|
66
|
+
serialized_name: 'StringElementType',
|
67
|
+
type: {
|
68
|
+
name: 'String'
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
},
|
73
|
+
x509thumbprint: {
|
74
|
+
client_side_validation: true,
|
75
|
+
required: false,
|
76
|
+
serialized_name: 'x5t',
|
77
|
+
type: {
|
78
|
+
name: 'Base64Url'
|
79
|
+
}
|
80
|
+
},
|
81
|
+
recovery_id: {
|
82
|
+
client_side_validation: true,
|
83
|
+
required: false,
|
84
|
+
serialized_name: 'recoveryId',
|
85
|
+
type: {
|
86
|
+
name: 'String'
|
87
|
+
}
|
88
|
+
},
|
89
|
+
scheduled_purge_date: {
|
90
|
+
client_side_validation: true,
|
91
|
+
required: false,
|
92
|
+
read_only: true,
|
93
|
+
serialized_name: 'scheduledPurgeDate',
|
94
|
+
type: {
|
95
|
+
name: 'UnixTime'
|
96
|
+
}
|
97
|
+
},
|
98
|
+
deleted_date: {
|
99
|
+
client_side_validation: true,
|
100
|
+
required: false,
|
101
|
+
read_only: true,
|
102
|
+
serialized_name: 'deletedDate',
|
103
|
+
type: {
|
104
|
+
name: 'UnixTime'
|
105
|
+
}
|
106
|
+
}
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
110
|
+
end
|
111
|
+
end
|
112
|
+
end
|
113
|
+
end
|
@@ -0,0 +1,102 @@
|
|
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 list of certificates that have been deleted in this vault.
|
10
|
+
#
|
11
|
+
class DeletedCertificateListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<DeletedCertificateItem>] A response message containing a
|
17
|
+
# list of deleted certificates in the vault along with a link to the next
|
18
|
+
# page of deleted certificates
|
19
|
+
attr_accessor :value
|
20
|
+
|
21
|
+
# @return [String] The URL to get the next set of deleted certificates.
|
22
|
+
attr_accessor :next_link
|
23
|
+
|
24
|
+
# return [Proc] with next page method call.
|
25
|
+
attr_accessor :next_method
|
26
|
+
|
27
|
+
#
|
28
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
29
|
+
#
|
30
|
+
# @return [Array<DeletedCertificateItem>] operation results.
|
31
|
+
#
|
32
|
+
def get_all_items
|
33
|
+
items = @value
|
34
|
+
page = self
|
35
|
+
while page.next_link != nil do
|
36
|
+
page = page.get_next_page
|
37
|
+
items.concat(page.value)
|
38
|
+
end
|
39
|
+
items
|
40
|
+
end
|
41
|
+
|
42
|
+
#
|
43
|
+
# Gets the next page of results.
|
44
|
+
#
|
45
|
+
# @return [DeletedCertificateListResult] with next page content.
|
46
|
+
#
|
47
|
+
def get_next_page
|
48
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
49
|
+
unless response.nil?
|
50
|
+
@next_link = response.body.next_link
|
51
|
+
@value = response.body.value
|
52
|
+
self
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
#
|
57
|
+
# Mapper for DeletedCertificateListResult class as Ruby Hash.
|
58
|
+
# This will be used for serialization/deserialization.
|
59
|
+
#
|
60
|
+
def self.mapper()
|
61
|
+
{
|
62
|
+
client_side_validation: true,
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'DeletedCertificateListResult',
|
65
|
+
type: {
|
66
|
+
name: 'Composite',
|
67
|
+
class_name: 'DeletedCertificateListResult',
|
68
|
+
model_properties: {
|
69
|
+
value: {
|
70
|
+
client_side_validation: true,
|
71
|
+
required: false,
|
72
|
+
read_only: true,
|
73
|
+
serialized_name: 'value',
|
74
|
+
type: {
|
75
|
+
name: 'Sequence',
|
76
|
+
element: {
|
77
|
+
client_side_validation: true,
|
78
|
+
required: false,
|
79
|
+
serialized_name: 'DeletedCertificateItemElementType',
|
80
|
+
type: {
|
81
|
+
name: 'Composite',
|
82
|
+
class_name: 'DeletedCertificateItem'
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
},
|
87
|
+
next_link: {
|
88
|
+
client_side_validation: true,
|
89
|
+
required: false,
|
90
|
+
read_only: true,
|
91
|
+
serialized_name: 'nextLink',
|
92
|
+
type: {
|
93
|
+
name: 'String'
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|