azure_mgmt_key_vault 0.17.4 → 0.17.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (162) hide show
  1. checksums.yaml +5 -5
  2. data/LICENSE.txt +20 -20
  3. data/lib/2015-06-01/generated/azure_mgmt_key_vault.rb +0 -0
  4. data/lib/2015-06-01/generated/azure_mgmt_key_vault/key_vault_management_client.rb +1 -1
  5. data/lib/2015-06-01/generated/azure_mgmt_key_vault/models/access_policy_entry.rb +0 -0
  6. data/lib/2015-06-01/generated/azure_mgmt_key_vault/models/certificate_permissions.rb +0 -0
  7. data/lib/2015-06-01/generated/azure_mgmt_key_vault/models/key_permissions.rb +0 -0
  8. data/lib/2015-06-01/generated/azure_mgmt_key_vault/models/permissions.rb +0 -0
  9. data/lib/2015-06-01/generated/azure_mgmt_key_vault/models/resource.rb +0 -0
  10. data/lib/2015-06-01/generated/azure_mgmt_key_vault/models/resource_list_result.rb +0 -0
  11. data/lib/2015-06-01/generated/azure_mgmt_key_vault/models/secret_permissions.rb +0 -0
  12. data/lib/2015-06-01/generated/azure_mgmt_key_vault/models/sku.rb +0 -0
  13. data/lib/2015-06-01/generated/azure_mgmt_key_vault/models/sku_name.rb +0 -0
  14. data/lib/2015-06-01/generated/azure_mgmt_key_vault/models/vault.rb +0 -0
  15. data/lib/2015-06-01/generated/azure_mgmt_key_vault/models/vault_create_or_update_parameters.rb +0 -0
  16. data/lib/2015-06-01/generated/azure_mgmt_key_vault/models/vault_list_result.rb +0 -0
  17. data/lib/2015-06-01/generated/azure_mgmt_key_vault/models/vault_properties.rb +0 -0
  18. data/lib/2015-06-01/generated/azure_mgmt_key_vault/module_definition.rb +0 -0
  19. data/lib/2015-06-01/generated/azure_mgmt_key_vault/vaults.rb +14 -0
  20. data/lib/2016-10-01/generated/azure_mgmt_key_vault.rb +0 -0
  21. data/lib/2016-10-01/generated/azure_mgmt_key_vault/key_vault_management_client.rb +1 -1
  22. data/lib/2016-10-01/generated/azure_mgmt_key_vault/models/access_policy_entry.rb +0 -0
  23. data/lib/2016-10-01/generated/azure_mgmt_key_vault/models/access_policy_update_kind.rb +0 -0
  24. data/lib/2016-10-01/generated/azure_mgmt_key_vault/models/certificate_permissions.rb +0 -0
  25. data/lib/2016-10-01/generated/azure_mgmt_key_vault/models/check_name_availability_result.rb +0 -0
  26. data/lib/2016-10-01/generated/azure_mgmt_key_vault/models/create_mode.rb +0 -0
  27. data/lib/2016-10-01/generated/azure_mgmt_key_vault/models/deleted_vault.rb +0 -0
  28. data/lib/2016-10-01/generated/azure_mgmt_key_vault/models/deleted_vault_list_result.rb +0 -0
  29. data/lib/2016-10-01/generated/azure_mgmt_key_vault/models/deleted_vault_properties.rb +0 -0
  30. data/lib/2016-10-01/generated/azure_mgmt_key_vault/models/key_permissions.rb +0 -0
  31. data/lib/2016-10-01/generated/azure_mgmt_key_vault/models/log_specification.rb +0 -0
  32. data/lib/2016-10-01/generated/azure_mgmt_key_vault/models/operation.rb +0 -0
  33. data/lib/2016-10-01/generated/azure_mgmt_key_vault/models/operation_display.rb +0 -0
  34. data/lib/2016-10-01/generated/azure_mgmt_key_vault/models/operation_list_result.rb +0 -0
  35. data/lib/2016-10-01/generated/azure_mgmt_key_vault/models/permissions.rb +0 -0
  36. data/lib/2016-10-01/generated/azure_mgmt_key_vault/models/reason.rb +0 -0
  37. data/lib/2016-10-01/generated/azure_mgmt_key_vault/models/resource.rb +0 -0
  38. data/lib/2016-10-01/generated/azure_mgmt_key_vault/models/resource_list_result.rb +0 -0
  39. data/lib/2016-10-01/generated/azure_mgmt_key_vault/models/secret_permissions.rb +0 -0
  40. data/lib/2016-10-01/generated/azure_mgmt_key_vault/models/service_specification.rb +0 -0
  41. data/lib/2016-10-01/generated/azure_mgmt_key_vault/models/sku.rb +0 -0
  42. data/lib/2016-10-01/generated/azure_mgmt_key_vault/models/sku_name.rb +0 -0
  43. data/lib/2016-10-01/generated/azure_mgmt_key_vault/models/storage_permissions.rb +0 -0
  44. data/lib/2016-10-01/generated/azure_mgmt_key_vault/models/vault.rb +0 -0
  45. data/lib/2016-10-01/generated/azure_mgmt_key_vault/models/vault_access_policy_parameters.rb +0 -0
  46. data/lib/2016-10-01/generated/azure_mgmt_key_vault/models/vault_access_policy_properties.rb +0 -0
  47. data/lib/2016-10-01/generated/azure_mgmt_key_vault/models/vault_check_name_availability_parameters.rb +0 -0
  48. data/lib/2016-10-01/generated/azure_mgmt_key_vault/models/vault_create_or_update_parameters.rb +0 -0
  49. data/lib/2016-10-01/generated/azure_mgmt_key_vault/models/vault_list_result.rb +0 -0
  50. data/lib/2016-10-01/generated/azure_mgmt_key_vault/models/vault_patch_parameters.rb +0 -0
  51. data/lib/2016-10-01/generated/azure_mgmt_key_vault/models/vault_patch_properties.rb +0 -0
  52. data/lib/2016-10-01/generated/azure_mgmt_key_vault/models/vault_properties.rb +0 -0
  53. data/lib/2016-10-01/generated/azure_mgmt_key_vault/module_definition.rb +0 -0
  54. data/lib/2016-10-01/generated/azure_mgmt_key_vault/operations.rb +4 -0
  55. data/lib/2016-10-01/generated/azure_mgmt_key_vault/vaults.rb +32 -0
  56. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault.rb +74 -0
  57. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/key_vault_management_client.rb +141 -0
  58. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/access_policy_entry.rb +86 -0
  59. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/access_policy_update_kind.rb +17 -0
  60. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/attributes.rb +92 -0
  61. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/certificate_permissions.rb +30 -0
  62. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/check_name_availability_result.rb +77 -0
  63. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/create_mode.rb +16 -0
  64. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/deleted_vault.rb +83 -0
  65. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/deleted_vault_list_result.rb +98 -0
  66. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/deleted_vault_properties.rb +103 -0
  67. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/iprule.rb +49 -0
  68. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/key_permissions.rb +30 -0
  69. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/log_specification.rb +68 -0
  70. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/network_rule_action.rb +16 -0
  71. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/network_rule_bypass_options.rb +16 -0
  72. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/network_rule_set.rb +103 -0
  73. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/operation.rb +83 -0
  74. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/operation_display.rb +79 -0
  75. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/operation_list_result.rb +100 -0
  76. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/permissions.rb +111 -0
  77. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/reason.rb +16 -0
  78. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/resource.rb +113 -0
  79. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/resource_list_result.rb +98 -0
  80. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/secret.rb +98 -0
  81. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/secret_attributes.rb +77 -0
  82. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/secret_create_or_update_parameters.rb +67 -0
  83. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/secret_list_result.rb +98 -0
  84. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/secret_patch_parameters.rb +67 -0
  85. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/secret_patch_properties.rb +69 -0
  86. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/secret_permissions.rb +22 -0
  87. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/secret_properties.rb +97 -0
  88. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/service_specification.rb +55 -0
  89. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/sku.rb +62 -0
  90. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/sku_name.rb +16 -0
  91. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/storage_permissions.rb +28 -0
  92. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/vault.rb +99 -0
  93. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/vault_access_policy_parameters.rb +95 -0
  94. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/vault_access_policy_properties.rb +57 -0
  95. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/vault_check_name_availability_parameters.rb +60 -0
  96. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/vault_create_or_update_parameters.rb +80 -0
  97. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/vault_list_result.rb +98 -0
  98. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/vault_patch_parameters.rb +67 -0
  99. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/vault_patch_properties.rb +175 -0
  100. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/vault_properties.rb +188 -0
  101. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/virtual_network_rule.rb +48 -0
  102. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/module_definition.rb +9 -0
  103. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/operations.rb +220 -0
  104. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/secrets.rb +624 -0
  105. data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/vaults.rb +1771 -0
  106. data/lib/2018-02-14/generated/azure_mgmt_key_vault.rb +0 -0
  107. data/lib/2018-02-14/generated/azure_mgmt_key_vault/key_vault_management_client.rb +1 -1
  108. data/lib/2018-02-14/generated/azure_mgmt_key_vault/models/access_policy_entry.rb +0 -0
  109. data/lib/2018-02-14/generated/azure_mgmt_key_vault/models/access_policy_update_kind.rb +0 -0
  110. data/lib/2018-02-14/generated/azure_mgmt_key_vault/models/certificate_permissions.rb +0 -0
  111. data/lib/2018-02-14/generated/azure_mgmt_key_vault/models/check_name_availability_result.rb +0 -0
  112. data/lib/2018-02-14/generated/azure_mgmt_key_vault/models/create_mode.rb +0 -0
  113. data/lib/2018-02-14/generated/azure_mgmt_key_vault/models/deleted_vault.rb +0 -0
  114. data/lib/2018-02-14/generated/azure_mgmt_key_vault/models/deleted_vault_list_result.rb +0 -0
  115. data/lib/2018-02-14/generated/azure_mgmt_key_vault/models/deleted_vault_properties.rb +0 -0
  116. data/lib/2018-02-14/generated/azure_mgmt_key_vault/models/iprule.rb +0 -0
  117. data/lib/2018-02-14/generated/azure_mgmt_key_vault/models/key_permissions.rb +0 -0
  118. data/lib/2018-02-14/generated/azure_mgmt_key_vault/models/log_specification.rb +0 -0
  119. data/lib/2018-02-14/generated/azure_mgmt_key_vault/models/network_rule_action.rb +0 -0
  120. data/lib/2018-02-14/generated/azure_mgmt_key_vault/models/network_rule_bypass_options.rb +0 -0
  121. data/lib/2018-02-14/generated/azure_mgmt_key_vault/models/network_rule_set.rb +0 -0
  122. data/lib/2018-02-14/generated/azure_mgmt_key_vault/models/operation.rb +0 -0
  123. data/lib/2018-02-14/generated/azure_mgmt_key_vault/models/operation_display.rb +0 -0
  124. data/lib/2018-02-14/generated/azure_mgmt_key_vault/models/operation_list_result.rb +0 -0
  125. data/lib/2018-02-14/generated/azure_mgmt_key_vault/models/permissions.rb +0 -0
  126. data/lib/2018-02-14/generated/azure_mgmt_key_vault/models/reason.rb +0 -0
  127. data/lib/2018-02-14/generated/azure_mgmt_key_vault/models/resource.rb +0 -0
  128. data/lib/2018-02-14/generated/azure_mgmt_key_vault/models/resource_list_result.rb +0 -0
  129. data/lib/2018-02-14/generated/azure_mgmt_key_vault/models/secret_permissions.rb +0 -0
  130. data/lib/2018-02-14/generated/azure_mgmt_key_vault/models/service_specification.rb +0 -0
  131. data/lib/2018-02-14/generated/azure_mgmt_key_vault/models/sku.rb +0 -0
  132. data/lib/2018-02-14/generated/azure_mgmt_key_vault/models/sku_name.rb +0 -0
  133. data/lib/2018-02-14/generated/azure_mgmt_key_vault/models/storage_permissions.rb +0 -0
  134. data/lib/2018-02-14/generated/azure_mgmt_key_vault/models/vault.rb +0 -0
  135. data/lib/2018-02-14/generated/azure_mgmt_key_vault/models/vault_access_policy_parameters.rb +0 -0
  136. data/lib/2018-02-14/generated/azure_mgmt_key_vault/models/vault_access_policy_properties.rb +0 -0
  137. data/lib/2018-02-14/generated/azure_mgmt_key_vault/models/vault_check_name_availability_parameters.rb +0 -0
  138. data/lib/2018-02-14/generated/azure_mgmt_key_vault/models/vault_create_or_update_parameters.rb +0 -0
  139. data/lib/2018-02-14/generated/azure_mgmt_key_vault/models/vault_list_result.rb +0 -0
  140. data/lib/2018-02-14/generated/azure_mgmt_key_vault/models/vault_patch_parameters.rb +0 -0
  141. data/lib/2018-02-14/generated/azure_mgmt_key_vault/models/vault_patch_properties.rb +0 -0
  142. data/lib/2018-02-14/generated/azure_mgmt_key_vault/models/vault_properties.rb +0 -0
  143. data/lib/2018-02-14/generated/azure_mgmt_key_vault/models/virtual_network_rule.rb +0 -0
  144. data/lib/2018-02-14/generated/azure_mgmt_key_vault/module_definition.rb +0 -0
  145. data/lib/2018-02-14/generated/azure_mgmt_key_vault/operations.rb +4 -0
  146. data/lib/2018-02-14/generated/azure_mgmt_key_vault/vaults.rb +32 -0
  147. data/lib/azure_mgmt_key_vault.rb +5 -4
  148. data/lib/module_definition.rb +9 -9
  149. data/lib/profiles/latest/keyvault_latest_profile_client.rb +40 -40
  150. data/lib/profiles/latest/keyvault_module_definition.rb +8 -8
  151. data/lib/profiles/latest/modules/keyvault_profile_module.rb +207 -207
  152. data/lib/profiles/v2017_03_09/keyvault_module_definition.rb +8 -8
  153. data/lib/profiles/v2017_03_09/keyvault_v2017_03_09_profile_client.rb +40 -40
  154. data/lib/profiles/v2017_03_09/modules/keyvault_profile_module.rb +187 -187
  155. data/lib/profiles/v2018_03_01/keyvault_module_definition.rb +8 -8
  156. data/lib/profiles/v2018_03_01/keyvault_v2018_03_01_profile_client.rb +40 -40
  157. data/lib/profiles/v2018_03_01/modules/keyvault_profile_module.rb +187 -187
  158. data/lib/profiles/v2019_03_01_hybrid/keyvault_module_definition.rb +8 -8
  159. data/lib/profiles/v2019_03_01_hybrid/keyvault_v2019_03_01_hybrid_profile_client.rb +40 -40
  160. data/lib/profiles/v2019_03_01_hybrid/modules/keyvault_profile_module.rb +187 -187
  161. data/lib/version.rb +1 -1
  162. metadata +55 -5
@@ -0,0 +1,16 @@
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::Mgmt::V2018_02_14_preview
7
+ module Models
8
+ #
9
+ # Defines values for CreateMode
10
+ #
11
+ module CreateMode
12
+ Recover = "recover"
13
+ Default = "default"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,83 @@
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::Mgmt::V2018_02_14_preview
7
+ module Models
8
+ #
9
+ # Deleted vault information with extended details.
10
+ #
11
+ class DeletedVault
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The resource ID for the deleted key vault.
16
+ attr_accessor :id
17
+
18
+ # @return [String] The name of the key vault.
19
+ attr_accessor :name
20
+
21
+ # @return [String] The resource type of the key vault.
22
+ attr_accessor :type
23
+
24
+ # @return [DeletedVaultProperties] Properties of the vault
25
+ attr_accessor :properties
26
+
27
+
28
+ #
29
+ # Mapper for DeletedVault class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'DeletedVault',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'DeletedVault',
40
+ model_properties: {
41
+ id: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ read_only: true,
45
+ serialized_name: 'id',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ name: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ read_only: true,
54
+ serialized_name: 'name',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ type: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ read_only: true,
63
+ serialized_name: 'type',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ },
68
+ properties: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ serialized_name: 'properties',
72
+ type: {
73
+ name: 'Composite',
74
+ class_name: 'DeletedVaultProperties'
75
+ }
76
+ }
77
+ }
78
+ }
79
+ }
80
+ end
81
+ end
82
+ end
83
+ end
@@ -0,0 +1,98 @@
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::Mgmt::V2018_02_14_preview
7
+ module Models
8
+ #
9
+ # List of vaults
10
+ #
11
+ class DeletedVaultListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<DeletedVault>] The list of deleted vaults.
17
+ attr_accessor :value
18
+
19
+ # @return [String] The URL to get the next set of deleted vaults.
20
+ attr_accessor :next_link
21
+
22
+ # return [Proc] with next page method call.
23
+ attr_accessor :next_method
24
+
25
+ #
26
+ # Gets the rest of the items for the request, enabling auto-pagination.
27
+ #
28
+ # @return [Array<DeletedVault>] operation results.
29
+ #
30
+ def get_all_items
31
+ items = @value
32
+ page = self
33
+ while page.next_link != nil && !page.next_link.strip.empty? do
34
+ page = page.get_next_page
35
+ items.concat(page.value)
36
+ end
37
+ items
38
+ end
39
+
40
+ #
41
+ # Gets the next page of results.
42
+ #
43
+ # @return [DeletedVaultListResult] with next page content.
44
+ #
45
+ def get_next_page
46
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
47
+ unless response.nil?
48
+ @next_link = response.body.next_link
49
+ @value = response.body.value
50
+ self
51
+ end
52
+ end
53
+
54
+ #
55
+ # Mapper for DeletedVaultListResult class as Ruby Hash.
56
+ # This will be used for serialization/deserialization.
57
+ #
58
+ def self.mapper()
59
+ {
60
+ client_side_validation: true,
61
+ required: false,
62
+ serialized_name: 'DeletedVaultListResult',
63
+ type: {
64
+ name: 'Composite',
65
+ class_name: 'DeletedVaultListResult',
66
+ model_properties: {
67
+ value: {
68
+ client_side_validation: true,
69
+ required: false,
70
+ serialized_name: 'value',
71
+ type: {
72
+ name: 'Sequence',
73
+ element: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ serialized_name: 'DeletedVaultElementType',
77
+ type: {
78
+ name: 'Composite',
79
+ class_name: 'DeletedVault'
80
+ }
81
+ }
82
+ }
83
+ },
84
+ next_link: {
85
+ client_side_validation: true,
86
+ required: false,
87
+ serialized_name: 'nextLink',
88
+ type: {
89
+ name: 'String'
90
+ }
91
+ }
92
+ }
93
+ }
94
+ }
95
+ end
96
+ end
97
+ end
98
+ end
@@ -0,0 +1,103 @@
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::Mgmt::V2018_02_14_preview
7
+ module Models
8
+ #
9
+ # Properties of the deleted vault.
10
+ #
11
+ class DeletedVaultProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The resource id of the original vault.
16
+ attr_accessor :vault_id
17
+
18
+ # @return [String] The location of the original vault.
19
+ attr_accessor :location
20
+
21
+ # @return [DateTime] The deleted date.
22
+ attr_accessor :deletion_date
23
+
24
+ # @return [DateTime] The scheduled purged date.
25
+ attr_accessor :scheduled_purge_date
26
+
27
+ # @return [Hash{String => String}] Tags of the original vault.
28
+ attr_accessor :tags
29
+
30
+
31
+ #
32
+ # Mapper for DeletedVaultProperties class as Ruby Hash.
33
+ # This will be used for serialization/deserialization.
34
+ #
35
+ def self.mapper()
36
+ {
37
+ client_side_validation: true,
38
+ required: false,
39
+ serialized_name: 'DeletedVaultProperties',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'DeletedVaultProperties',
43
+ model_properties: {
44
+ vault_id: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ read_only: true,
48
+ serialized_name: 'vaultId',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ location: {
54
+ client_side_validation: true,
55
+ required: false,
56
+ read_only: true,
57
+ serialized_name: 'location',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ deletion_date: {
63
+ client_side_validation: true,
64
+ required: false,
65
+ read_only: true,
66
+ serialized_name: 'deletionDate',
67
+ type: {
68
+ name: 'DateTime'
69
+ }
70
+ },
71
+ scheduled_purge_date: {
72
+ client_side_validation: true,
73
+ required: false,
74
+ read_only: true,
75
+ serialized_name: 'scheduledPurgeDate',
76
+ type: {
77
+ name: 'DateTime'
78
+ }
79
+ },
80
+ tags: {
81
+ client_side_validation: true,
82
+ required: false,
83
+ read_only: true,
84
+ serialized_name: 'tags',
85
+ type: {
86
+ name: 'Dictionary',
87
+ value: {
88
+ client_side_validation: true,
89
+ required: false,
90
+ serialized_name: 'StringElementType',
91
+ type: {
92
+ name: 'String'
93
+ }
94
+ }
95
+ }
96
+ }
97
+ }
98
+ }
99
+ }
100
+ end
101
+ end
102
+ end
103
+ end
@@ -0,0 +1,49 @@
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::Mgmt::V2018_02_14_preview
7
+ module Models
8
+ #
9
+ # A rule governing the accessibility of a vault from a specific ip address
10
+ # or ip range.
11
+ #
12
+ class IPRule
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] An IPv4 address range in CIDR notation, such as
17
+ # '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses
18
+ # that start with 124.56.78).
19
+ attr_accessor :value
20
+
21
+
22
+ #
23
+ # Mapper for IPRule 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: 'IPRule',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'IPRule',
34
+ model_properties: {
35
+ value: {
36
+ client_side_validation: true,
37
+ required: true,
38
+ serialized_name: 'value',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ }
43
+ }
44
+ }
45
+ }
46
+ end
47
+ end
48
+ end
49
+ end
@@ -0,0 +1,30 @@
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::Mgmt::V2018_02_14_preview
7
+ module Models
8
+ #
9
+ # Defines values for KeyPermissions
10
+ #
11
+ module KeyPermissions
12
+ Encrypt = "encrypt"
13
+ Decrypt = "decrypt"
14
+ WrapKey = "wrapKey"
15
+ UnwrapKey = "unwrapKey"
16
+ Sign = "sign"
17
+ Verify = "verify"
18
+ Get = "get"
19
+ List = "list"
20
+ Create = "create"
21
+ Update = "update"
22
+ Import = "import"
23
+ Delete = "delete"
24
+ Backup = "backup"
25
+ Restore = "restore"
26
+ Recover = "recover"
27
+ Purge = "purge"
28
+ end
29
+ end
30
+ end
@@ -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::Mgmt::V2018_02_14_preview
7
+ module Models
8
+ #
9
+ # Log specification of operation.
10
+ #
11
+ class LogSpecification
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Name of log specification.
16
+ attr_accessor :name
17
+
18
+ # @return [String] Display name of log specification.
19
+ attr_accessor :display_name
20
+
21
+ # @return [String] Blob duration of specification.
22
+ attr_accessor :blob_duration
23
+
24
+
25
+ #
26
+ # Mapper for LogSpecification 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: 'LogSpecification',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'LogSpecification',
37
+ model_properties: {
38
+ name: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'name',
42
+ type: {
43
+ name: 'String'
44
+ }
45
+ },
46
+ display_name: {
47
+ client_side_validation: true,
48
+ required: false,
49
+ serialized_name: 'displayName',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ blob_duration: {
55
+ client_side_validation: true,
56
+ required: false,
57
+ serialized_name: 'blobDuration',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ }
62
+ }
63
+ }
64
+ }
65
+ end
66
+ end
67
+ end
68
+ end