Class: Azure::Storage::Mgmt::V2021_01_01::Models::EncryptionScope
- Inherits:
-
Resource
- Object
- Resource
- Azure::Storage::Mgmt::V2021_01_01::Models::EncryptionScope
- Includes:
- MsRestAzure
- Defined in:
- lib/2021-01-01/generated/azure_mgmt_storage/models/encryption_scope.rb
Overview
The Encryption Scope resource.
Instance Attribute Summary collapse
-
#creation_time ⇒ DateTime
scope in UTC.
-
#key_vault_properties ⇒ EncryptionScopeKeyVaultProperties
for the encryption scope.
-
#last_modified_time ⇒ DateTime
encryption scope in UTC.
-
#require_infrastructure_encryption ⇒ Boolean
applies a secondary layer of encryption with platform managed keys for data at rest.
-
#source ⇒ EncryptionScopeSource
Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault.
-
#state ⇒ EncryptionScopeState
Possible values (case-insensitive): Enabled, Disabled.
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for EncryptionScope class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#creation_time ⇒ DateTime
scope in UTC.
28 29 30 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/encryption_scope.rb', line 28 def creation_time @creation_time end |
#key_vault_properties ⇒ EncryptionScopeKeyVaultProperties
for the encryption scope. This is a required field if encryption scope ‘source’ attribute is set to ‘Microsoft.KeyVault’.
37 38 39 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/encryption_scope.rb', line 37 def key_vault_properties @key_vault_properties end |
#last_modified_time ⇒ DateTime
encryption scope in UTC.
32 33 34 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/encryption_scope.rb', line 32 def last_modified_time @last_modified_time end |
#require_infrastructure_encryption ⇒ Boolean
applies a secondary layer of encryption with platform managed keys for data at rest.
42 43 44 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/encryption_scope.rb', line 42 def require_infrastructure_encryption @require_infrastructure_encryption end |
#source ⇒ EncryptionScopeSource
Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault. Possible values include: ‘Microsoft.Storage’, ‘Microsoft.KeyVault’
19 20 21 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/encryption_scope.rb', line 19 def source @source end |
#state ⇒ EncryptionScopeState
Possible values (case-insensitive): Enabled, Disabled. Possible values include: ‘Enabled’, ‘Disabled’
24 25 26 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/encryption_scope.rb', line 24 def state @state end |
Class Method Details
.mapper ⇒ Object
Mapper for EncryptionScope class as Ruby Hash. This will be used for serialization/deserialization.
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/encryption_scope.rb', line 49 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'EncryptionScope', type: { name: 'Composite', class_name: 'EncryptionScope', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, source: { client_side_validation: true, required: false, serialized_name: 'properties.source', type: { name: 'String' } }, state: { client_side_validation: true, required: false, serialized_name: 'properties.state', type: { name: 'String' } }, creation_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.creationTime', type: { name: 'DateTime' } }, last_modified_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastModifiedTime', type: { name: 'DateTime' } }, key_vault_properties: { client_side_validation: true, required: false, serialized_name: 'properties.keyVaultProperties', type: { name: 'Composite', class_name: 'EncryptionScopeKeyVaultProperties' } }, require_infrastructure_encryption: { client_side_validation: true, required: false, serialized_name: 'properties.requireInfrastructureEncryption', type: { name: 'Boolean' } } } } } end |