azure_mgmt_key_vault 0.17.6 → 0.17.7
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_mgmt_key_vault/key_vault_management_client.rb +1 -1
- data/lib/2016-10-01/generated/azure_mgmt_key_vault/key_vault_management_client.rb +1 -1
- data/lib/2018-02-14-preview/generated/azure_mgmt_key_vault/key_vault_management_client.rb +1 -1
- data/lib/2018-02-14/generated/azure_mgmt_key_vault/key_vault_management_client.rb +1 -1
- data/lib/2019-09-01/generated/azure_mgmt_key_vault.rb +86 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/key_vault_management_client.rb +149 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/keys.rb +806 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/access_policy_entry.rb +86 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/access_policy_update_kind.rb +17 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/attributes.rb +111 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/certificate_permissions.rb +31 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/check_name_availability_result.rb +77 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/create_mode.rb +16 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/deleted_vault.rb +83 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/deleted_vault_list_result.rb +98 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/deleted_vault_properties.rb +103 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/deletion_recovery_level.rb +18 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/iprule.rb +49 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/json_web_key_curve_name.rb +18 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/json_web_key_operation.rb +21 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/json_web_key_type.rb +18 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/key.rb +184 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/key_attributes.rb +86 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/key_create_parameters.rb +67 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/key_list_result.rb +98 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/key_permissions.rb +31 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/key_properties.rb +131 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/log_specification.rb +68 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/network_rule_action.rb +16 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/network_rule_bypass_options.rb +16 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/network_rule_set.rb +103 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/operation.rb +83 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/operation_display.rb +79 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/operation_list_result.rb +100 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/permissions.rb +111 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/private_endpoint.rb +47 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/private_endpoint_connection.rb +127 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/private_endpoint_connection_item.rb +74 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/private_endpoint_connection_provisioning_state.rb +20 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/private_endpoint_service_connection_status.rb +18 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/private_link_resource.rb +140 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/private_link_resource_list_result.rb +55 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/private_link_service_connection_state.rb +73 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/reason.rb +16 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/resource.rb +113 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/resource_list_result.rb +98 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/secret_permissions.rb +23 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/service_specification.rb +55 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/sku.rb +62 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/sku_name.rb +16 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/storage_permissions.rb +29 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/vault.rb +115 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/vault_access_policy_parameters.rb +95 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/vault_access_policy_properties.rb +57 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/vault_check_name_availability_parameters.rb +60 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/vault_create_or_update_parameters.rb +80 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/vault_list_result.rb +98 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/vault_patch_parameters.rb +67 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/vault_patch_properties.rb +205 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/vault_properties.rb +248 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/virtual_network_rule.rb +48 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/module_definition.rb +9 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/operations.rb +220 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/private_endpoint_connections.rb +410 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/private_link_resources.rb +124 -0
- data/lib/2019-09-01/generated/azure_mgmt_key_vault/vaults.rb +1771 -0
- data/lib/azure_mgmt_key_vault.rb +4 -3
- data/lib/version.rb +1 -1
- metadata +65 -3
@@ -0,0 +1,57 @@
|
|
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::V2019_09_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Properties of the vault access policy
|
10
|
+
#
|
11
|
+
class VaultAccessPolicyProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<AccessPolicyEntry>] An array of 0 to 16 identities that
|
16
|
+
# have access to the key vault. All identities in the array must use the
|
17
|
+
# same tenant ID as the key vault's tenant ID.
|
18
|
+
attr_accessor :access_policies
|
19
|
+
|
20
|
+
|
21
|
+
#
|
22
|
+
# Mapper for VaultAccessPolicyProperties class as Ruby Hash.
|
23
|
+
# This will be used for serialization/deserialization.
|
24
|
+
#
|
25
|
+
def self.mapper()
|
26
|
+
{
|
27
|
+
client_side_validation: true,
|
28
|
+
required: false,
|
29
|
+
serialized_name: 'VaultAccessPolicyProperties',
|
30
|
+
type: {
|
31
|
+
name: 'Composite',
|
32
|
+
class_name: 'VaultAccessPolicyProperties',
|
33
|
+
model_properties: {
|
34
|
+
access_policies: {
|
35
|
+
client_side_validation: true,
|
36
|
+
required: true,
|
37
|
+
serialized_name: 'accessPolicies',
|
38
|
+
type: {
|
39
|
+
name: 'Sequence',
|
40
|
+
element: {
|
41
|
+
client_side_validation: true,
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'AccessPolicyEntryElementType',
|
44
|
+
type: {
|
45
|
+
name: 'Composite',
|
46
|
+
class_name: 'AccessPolicyEntry'
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,60 @@
|
|
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::V2019_09_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The parameters used to check the availability of the vault name.
|
10
|
+
#
|
11
|
+
class VaultCheckNameAvailabilityParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The vault name.
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [String] The type of resource, Microsoft.KeyVault/vaults.
|
19
|
+
# Default value: 'Microsoft.KeyVault/vaults' .
|
20
|
+
attr_accessor :type
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for VaultCheckNameAvailabilityParameters 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: 'VaultCheckNameAvailabilityParameters',
|
32
|
+
type: {
|
33
|
+
name: 'Composite',
|
34
|
+
class_name: 'VaultCheckNameAvailabilityParameters',
|
35
|
+
model_properties: {
|
36
|
+
name: {
|
37
|
+
client_side_validation: true,
|
38
|
+
required: true,
|
39
|
+
serialized_name: 'name',
|
40
|
+
type: {
|
41
|
+
name: 'String'
|
42
|
+
}
|
43
|
+
},
|
44
|
+
type: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: true,
|
47
|
+
is_constant: true,
|
48
|
+
serialized_name: 'type',
|
49
|
+
default_value: 'Microsoft.KeyVault/vaults',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
data/lib/2019-09-01/generated/azure_mgmt_key_vault/models/vault_create_or_update_parameters.rb
ADDED
@@ -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::Mgmt::V2019_09_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Parameters for creating or updating a vault
|
10
|
+
#
|
11
|
+
class VaultCreateOrUpdateParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The supported Azure location where the key vault
|
16
|
+
# should be created.
|
17
|
+
attr_accessor :location
|
18
|
+
|
19
|
+
# @return [Hash{String => String}] The tags that will be assigned to the
|
20
|
+
# key vault.
|
21
|
+
attr_accessor :tags
|
22
|
+
|
23
|
+
# @return [VaultProperties] Properties of the vault
|
24
|
+
attr_accessor :properties
|
25
|
+
|
26
|
+
|
27
|
+
#
|
28
|
+
# Mapper for VaultCreateOrUpdateParameters 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: 'VaultCreateOrUpdateParameters',
|
36
|
+
type: {
|
37
|
+
name: 'Composite',
|
38
|
+
class_name: 'VaultCreateOrUpdateParameters',
|
39
|
+
model_properties: {
|
40
|
+
location: {
|
41
|
+
client_side_validation: true,
|
42
|
+
required: true,
|
43
|
+
serialized_name: 'location',
|
44
|
+
type: {
|
45
|
+
name: 'String'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
tags: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
serialized_name: 'tags',
|
52
|
+
type: {
|
53
|
+
name: 'Dictionary',
|
54
|
+
value: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
serialized_name: 'StringElementType',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
},
|
64
|
+
properties: {
|
65
|
+
client_side_validation: true,
|
66
|
+
required: true,
|
67
|
+
serialized_name: 'properties',
|
68
|
+
default_value: {},
|
69
|
+
type: {
|
70
|
+
name: 'Composite',
|
71
|
+
class_name: 'VaultProperties'
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
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::V2019_09_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# List of vaults
|
10
|
+
#
|
11
|
+
class VaultListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<Vault>] The list of vaults.
|
17
|
+
attr_accessor :value
|
18
|
+
|
19
|
+
# @return [String] The URL to get the next set of 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<Vault>] 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 [VaultListResult] 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 VaultListResult 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: 'VaultListResult',
|
63
|
+
type: {
|
64
|
+
name: 'Composite',
|
65
|
+
class_name: 'VaultListResult',
|
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: 'VaultElementType',
|
77
|
+
type: {
|
78
|
+
name: 'Composite',
|
79
|
+
class_name: 'Vault'
|
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,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::Mgmt::V2019_09_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Parameters for creating or updating a vault
|
10
|
+
#
|
11
|
+
class VaultPatchParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Hash{String => String}] The tags that will be assigned to the
|
16
|
+
# key vault.
|
17
|
+
attr_accessor :tags
|
18
|
+
|
19
|
+
# @return [VaultPatchProperties] Properties of the vault
|
20
|
+
attr_accessor :properties
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for VaultPatchParameters 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: 'VaultPatchParameters',
|
32
|
+
type: {
|
33
|
+
name: 'Composite',
|
34
|
+
class_name: 'VaultPatchParameters',
|
35
|
+
model_properties: {
|
36
|
+
tags: {
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'tags',
|
40
|
+
type: {
|
41
|
+
name: 'Dictionary',
|
42
|
+
value: {
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'StringElementType',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
},
|
52
|
+
properties: {
|
53
|
+
client_side_validation: true,
|
54
|
+
required: false,
|
55
|
+
serialized_name: 'properties',
|
56
|
+
type: {
|
57
|
+
name: 'Composite',
|
58
|
+
class_name: 'VaultPatchProperties'
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
@@ -0,0 +1,205 @@
|
|
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::V2019_09_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Properties of the vault
|
10
|
+
#
|
11
|
+
class VaultPatchProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return The Azure Active Directory tenant ID that should be used for
|
16
|
+
# authenticating requests to the key vault.
|
17
|
+
attr_accessor :tenant_id
|
18
|
+
|
19
|
+
# @return [Sku] SKU details
|
20
|
+
attr_accessor :sku
|
21
|
+
|
22
|
+
# @return [Array<AccessPolicyEntry>] An array of 0 to 16 identities that
|
23
|
+
# have access to the key vault. All identities in the array must use the
|
24
|
+
# same tenant ID as the key vault's tenant ID.
|
25
|
+
attr_accessor :access_policies
|
26
|
+
|
27
|
+
# @return [Boolean] Property to specify whether Azure Virtual Machines
|
28
|
+
# are permitted to retrieve certificates stored as secrets from the key
|
29
|
+
# vault.
|
30
|
+
attr_accessor :enabled_for_deployment
|
31
|
+
|
32
|
+
# @return [Boolean] Property to specify whether Azure Disk Encryption is
|
33
|
+
# permitted to retrieve secrets from the vault and unwrap keys.
|
34
|
+
attr_accessor :enabled_for_disk_encryption
|
35
|
+
|
36
|
+
# @return [Boolean] Property to specify whether Azure Resource Manager is
|
37
|
+
# permitted to retrieve secrets from the key vault.
|
38
|
+
attr_accessor :enabled_for_template_deployment
|
39
|
+
|
40
|
+
# @return [Boolean] Property to specify whether the 'soft delete'
|
41
|
+
# functionality is enabled for this key vault. Once set to true, it
|
42
|
+
# cannot be reverted to false.
|
43
|
+
attr_accessor :enable_soft_delete
|
44
|
+
|
45
|
+
# @return [Boolean] Property that controls how data actions are
|
46
|
+
# authorized. When true, the key vault will use Role Based Access Control
|
47
|
+
# (RBAC) for authorization of data actions, and the access policies
|
48
|
+
# specified in vault properties will be ignored (warning: this is a
|
49
|
+
# preview feature). When false, the key vault will use the access
|
50
|
+
# policies specified in vault properties, and any policy stored on Azure
|
51
|
+
# Resource Manager will be ignored. If null or not specified, the value
|
52
|
+
# of this property will not change.
|
53
|
+
attr_accessor :enable_rbac_authorization
|
54
|
+
|
55
|
+
# @return [Integer] softDelete data retention days. It accepts >=7 and
|
56
|
+
# <=90.
|
57
|
+
attr_accessor :soft_delete_retention_in_days
|
58
|
+
|
59
|
+
# @return [CreateMode] The vault's create mode to indicate whether the
|
60
|
+
# vault need to be recovered or not. Possible values include: 'recover',
|
61
|
+
# 'default'
|
62
|
+
attr_accessor :create_mode
|
63
|
+
|
64
|
+
# @return [Boolean] Property specifying whether protection against purge
|
65
|
+
# is enabled for this vault. Setting this property to true activates
|
66
|
+
# protection against purge for this vault and its content - only the Key
|
67
|
+
# Vault service may initiate a hard, irrecoverable deletion. The setting
|
68
|
+
# is effective only if soft delete is also enabled. Enabling this
|
69
|
+
# functionality is irreversible - that is, the property does not accept
|
70
|
+
# false as its value.
|
71
|
+
attr_accessor :enable_purge_protection
|
72
|
+
|
73
|
+
# @return [NetworkRuleSet] A collection of rules governing the
|
74
|
+
# accessibility of the vault from specific network locations.
|
75
|
+
attr_accessor :network_acls
|
76
|
+
|
77
|
+
|
78
|
+
#
|
79
|
+
# Mapper for VaultPatchProperties class as Ruby Hash.
|
80
|
+
# This will be used for serialization/deserialization.
|
81
|
+
#
|
82
|
+
def self.mapper()
|
83
|
+
{
|
84
|
+
client_side_validation: true,
|
85
|
+
required: false,
|
86
|
+
serialized_name: 'VaultPatchProperties',
|
87
|
+
type: {
|
88
|
+
name: 'Composite',
|
89
|
+
class_name: 'VaultPatchProperties',
|
90
|
+
model_properties: {
|
91
|
+
tenant_id: {
|
92
|
+
client_side_validation: true,
|
93
|
+
required: false,
|
94
|
+
serialized_name: 'tenantId',
|
95
|
+
type: {
|
96
|
+
name: 'String'
|
97
|
+
}
|
98
|
+
},
|
99
|
+
sku: {
|
100
|
+
client_side_validation: true,
|
101
|
+
required: false,
|
102
|
+
serialized_name: 'sku',
|
103
|
+
type: {
|
104
|
+
name: 'Composite',
|
105
|
+
class_name: 'Sku'
|
106
|
+
}
|
107
|
+
},
|
108
|
+
access_policies: {
|
109
|
+
client_side_validation: true,
|
110
|
+
required: false,
|
111
|
+
serialized_name: 'accessPolicies',
|
112
|
+
type: {
|
113
|
+
name: 'Sequence',
|
114
|
+
element: {
|
115
|
+
client_side_validation: true,
|
116
|
+
required: false,
|
117
|
+
serialized_name: 'AccessPolicyEntryElementType',
|
118
|
+
type: {
|
119
|
+
name: 'Composite',
|
120
|
+
class_name: 'AccessPolicyEntry'
|
121
|
+
}
|
122
|
+
}
|
123
|
+
}
|
124
|
+
},
|
125
|
+
enabled_for_deployment: {
|
126
|
+
client_side_validation: true,
|
127
|
+
required: false,
|
128
|
+
serialized_name: 'enabledForDeployment',
|
129
|
+
type: {
|
130
|
+
name: 'Boolean'
|
131
|
+
}
|
132
|
+
},
|
133
|
+
enabled_for_disk_encryption: {
|
134
|
+
client_side_validation: true,
|
135
|
+
required: false,
|
136
|
+
serialized_name: 'enabledForDiskEncryption',
|
137
|
+
type: {
|
138
|
+
name: 'Boolean'
|
139
|
+
}
|
140
|
+
},
|
141
|
+
enabled_for_template_deployment: {
|
142
|
+
client_side_validation: true,
|
143
|
+
required: false,
|
144
|
+
serialized_name: 'enabledForTemplateDeployment',
|
145
|
+
type: {
|
146
|
+
name: 'Boolean'
|
147
|
+
}
|
148
|
+
},
|
149
|
+
enable_soft_delete: {
|
150
|
+
client_side_validation: true,
|
151
|
+
required: false,
|
152
|
+
serialized_name: 'enableSoftDelete',
|
153
|
+
type: {
|
154
|
+
name: 'Boolean'
|
155
|
+
}
|
156
|
+
},
|
157
|
+
enable_rbac_authorization: {
|
158
|
+
client_side_validation: true,
|
159
|
+
required: false,
|
160
|
+
serialized_name: 'enableRbacAuthorization',
|
161
|
+
type: {
|
162
|
+
name: 'Boolean'
|
163
|
+
}
|
164
|
+
},
|
165
|
+
soft_delete_retention_in_days: {
|
166
|
+
client_side_validation: true,
|
167
|
+
required: false,
|
168
|
+
serialized_name: 'softDeleteRetentionInDays',
|
169
|
+
type: {
|
170
|
+
name: 'Number'
|
171
|
+
}
|
172
|
+
},
|
173
|
+
create_mode: {
|
174
|
+
client_side_validation: true,
|
175
|
+
required: false,
|
176
|
+
serialized_name: 'createMode',
|
177
|
+
type: {
|
178
|
+
name: 'Enum',
|
179
|
+
module: 'CreateMode'
|
180
|
+
}
|
181
|
+
},
|
182
|
+
enable_purge_protection: {
|
183
|
+
client_side_validation: true,
|
184
|
+
required: false,
|
185
|
+
serialized_name: 'enablePurgeProtection',
|
186
|
+
type: {
|
187
|
+
name: 'Boolean'
|
188
|
+
}
|
189
|
+
},
|
190
|
+
network_acls: {
|
191
|
+
client_side_validation: true,
|
192
|
+
required: false,
|
193
|
+
serialized_name: 'networkAcls',
|
194
|
+
type: {
|
195
|
+
name: 'Composite',
|
196
|
+
class_name: 'NetworkRuleSet'
|
197
|
+
}
|
198
|
+
}
|
199
|
+
}
|
200
|
+
}
|
201
|
+
}
|
202
|
+
end
|
203
|
+
end
|
204
|
+
end
|
205
|
+
end
|