Class: Azure::KeyVault::V7_0::Models::DeletedSasDefinitionBundle

Inherits:
SasDefinitionBundle show all
Includes:
MsRestAzure
Defined in:
lib/7.0/generated/azure_key_vault/models/deleted_sas_definition_bundle.rb

Overview

A deleted SAS definition bundle consisting of its previous id, attributes and its tags, as well as information on when it will be purged.

Instance Attribute Summary collapse

Attributes inherited from SasDefinitionBundle

#attributes, #id, #sas_type, #secret_id, #tags, #template_uri, #validity_period

Class Method Summary collapse

Instance Attribute Details

#deleted_dateObject

Returns The time when the SAS definition was deleted, in UTC.

Returns:

  • The time when the SAS definition was deleted, in UTC



25
26
27
# File 'lib/7.0/generated/azure_key_vault/models/deleted_sas_definition_bundle.rb', line 25

def deleted_date
  @deleted_date
end

#recovery_idString

recover the deleted SAS definition.

Returns:

  • (String)

    The url of the recovery object, used to identify and



18
19
20
# File 'lib/7.0/generated/azure_key_vault/models/deleted_sas_definition_bundle.rb', line 18

def recovery_id
  @recovery_id
end

#scheduled_purge_dateObject

UTC

Returns:

  • The time when the SAS definition is scheduled to be purged, in



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

def scheduled_purge_date
  @scheduled_purge_date
end

Class Method Details

.mapperObject

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



32
33
34
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
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
140
141
142
# File 'lib/7.0/generated/azure_key_vault/models/deleted_sas_definition_bundle.rb', line 32

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DeletedSasDefinitionBundle',
    type: {
      name: 'Composite',
      class_name: 'DeletedSasDefinitionBundle',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        secret_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'sid',
          type: {
            name: 'String'
          }
        },
        template_uri: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'templateUri',
          type: {
            name: 'String'
          }
        },
        sas_type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'sasType',
          type: {
            name: 'String'
          }
        },
        validity_period: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'validityPeriod',
          type: {
            name: 'String'
          }
        },
        attributes: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'attributes',
          type: {
            name: 'Composite',
            class_name: 'SasDefinitionAttributes'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        recovery_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'recoveryId',
          type: {
            name: 'String'
          }
        },
        scheduled_purge_date: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'scheduledPurgeDate',
          type: {
            name: 'UnixTime'
          }
        },
        deleted_date: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'deletedDate',
          type: {
            name: 'UnixTime'
          }
        }
      }
    }
  }
end