Class: Azure::Storage::Mgmt::V2021_01_01::Models::EncryptionScopeKeyVaultProperties

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2021-01-01/generated/azure_mgmt_storage/models/encryption_scope_key_vault_properties.rb

Overview

The key vault properties for the encryption scope. This is a required field if encryption scope ‘source’ attribute is set to ‘Microsoft.KeyVault’.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#current_versioned_key_identifierString

Vault Key in use.

Returns:

  • (String)

    The object identifier of the current versioned Key



25
26
27
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/encryption_scope_key_vault_properties.rb', line 25

def current_versioned_key_identifier
  @current_versioned_key_identifier
end

#key_uriString

applied, the encryption scope will use the key referenced by the identifier to enable customer-managed key support on this encryption scope.

Returns:

  • (String)

    The object identifier for a key vault key object. When



21
22
23
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/encryption_scope_key_vault_properties.rb', line 21

def key_uri
  @key_uri
end

#last_key_rotation_timestampDateTime

Returns Timestamp of last rotation of the Key Vault Key.

Returns:

  • (DateTime)

    Timestamp of last rotation of the Key Vault Key.



28
29
30
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/encryption_scope_key_vault_properties.rb', line 28

def last_key_rotation_timestamp
  @last_key_rotation_timestamp
end

Class Method Details

.mapperObject

Mapper for EncryptionScopeKeyVaultProperties class as Ruby Hash. This will be used for serialization/deserialization.



35
36
37
38
39
40
41
42
43
44
45
46
47
48
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
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/encryption_scope_key_vault_properties.rb', line 35

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'EncryptionScopeKeyVaultProperties',
    type: {
      name: 'Composite',
      class_name: 'EncryptionScopeKeyVaultProperties',
      model_properties: {
        key_uri: {
          client_side_validation: true,
          required: false,
          serialized_name: 'keyUri',
          type: {
            name: 'String'
          }
        },
        current_versioned_key_identifier: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'currentVersionedKeyIdentifier',
          type: {
            name: 'String'
          }
        },
        last_key_rotation_timestamp: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'lastKeyRotationTimestamp',
          type: {
            name: 'DateTime'
          }
        }
      }
    }
  }
end