Class: Azure::KeyVault::V7_0_preview::Models::SasDefinitionAttributes

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/7.0-preview/generated/azure_key_vault/models/sas_definition_attributes.rb

Overview

The SAS definition management attributes.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#createdObject

Returns Creation time in UTC.

Returns:

  • Creation time in UTC.



19
20
21
# File 'lib/7.0-preview/generated/azure_key_vault/models/sas_definition_attributes.rb', line 19

def created
  @created
end

#enabledBoolean

Returns the enabled state of the object.

Returns:

  • (Boolean)

    the enabled state of the object.



16
17
18
# File 'lib/7.0-preview/generated/azure_key_vault/models/sas_definition_attributes.rb', line 16

def enabled
  @enabled
end

#recovery_levelDeletionRecoveryLevel

currently in effect for SAS definitions in the current vault. If it contains ‘Purgeable’ the SAS definition can be permanently deleted by a privileged user; otherwise, only the system can purge the SAS definition, at the end of the retention interval. Possible values include: ‘Purgeable’, ‘Recoverable+Purgeable’, ‘Recoverable’, ‘Recoverable+ProtectedSubscription’

Returns:



31
32
33
# File 'lib/7.0-preview/generated/azure_key_vault/models/sas_definition_attributes.rb', line 31

def recovery_level
  @recovery_level
end

#updatedObject

Returns Last updated time in UTC.

Returns:

  • Last updated time in UTC.



22
23
24
# File 'lib/7.0-preview/generated/azure_key_vault/models/sas_definition_attributes.rb', line 22

def updated
  @updated
end

Class Method Details

.mapperObject

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



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
74
75
76
77
78
79
80
81
82
83
84
85
# File 'lib/7.0-preview/generated/azure_key_vault/models/sas_definition_attributes.rb', line 38

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SasDefinitionAttributes',
    type: {
      name: 'Composite',
      class_name: 'SasDefinitionAttributes',
      model_properties: {
        enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'enabled',
          type: {
            name: 'Boolean'
          }
        },
        created: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'created',
          type: {
            name: 'UnixTime'
          }
        },
        updated: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'updated',
          type: {
            name: 'UnixTime'
          }
        },
        recovery_level: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'recoveryLevel',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end