Class: Azure::Storage::Mgmt::V2021_01_01::Models::SystemData

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

Overview

Metadata pertaining to creation and last modification of the resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#created_atDateTime

Returns The timestamp of resource creation (UTC).

Returns:

  • (DateTime)

    The timestamp of resource creation (UTC).



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

def created_at
  @created_at
end

#created_byString

Returns The identity that created the resource.

Returns:

  • (String)

    The identity that created the resource.



16
17
18
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/system_data.rb', line 16

def created_by
  @created_by
end

#created_by_typeCreatedByType

Possible values include: ‘User’, ‘Application’, ‘ManagedIdentity’, ‘Key’

Returns:

  • (CreatedByType)

    The type of identity that created the resource.



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

def created_by_type
  @created_by_type
end

#last_modified_atDateTime

Returns The timestamp of resource last modification (UTC).

Returns:

  • (DateTime)

    The timestamp of resource last modification (UTC)



35
36
37
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/system_data.rb', line 35

def last_modified_at
  @last_modified_at
end

#last_modified_byString

Returns The identity that last modified the resource.

Returns:

  • (String)

    The identity that last modified the resource.



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

def last_modified_by
  @last_modified_by
end

#last_modified_by_typeCreatedByType

resource. Possible values include: ‘User’, ‘Application’, ‘ManagedIdentity’, ‘Key’

Returns:

  • (CreatedByType)

    The type of identity that last modified the



32
33
34
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/system_data.rb', line 32

def last_modified_by_type
  @last_modified_by_type
end

Class Method Details

.mapperObject

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



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
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/system_data.rb', line 42

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'systemData',
    type: {
      name: 'Composite',
      class_name: 'SystemData',
      model_properties: {
        created_by: {
          client_side_validation: true,
          required: false,
          serialized_name: 'createdBy',
          type: {
            name: 'String'
          }
        },
        created_by_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'createdByType',
          type: {
            name: 'String'
          }
        },
        created_at: {
          client_side_validation: true,
          required: false,
          serialized_name: 'createdAt',
          type: {
            name: 'DateTime'
          }
        },
        last_modified_by: {
          client_side_validation: true,
          required: false,
          serialized_name: 'lastModifiedBy',
          type: {
            name: 'String'
          }
        },
        last_modified_by_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'lastModifiedByType',
          type: {
            name: 'String'
          }
        },
        last_modified_at: {
          client_side_validation: true,
          required: false,
          serialized_name: 'lastModifiedAt',
          type: {
            name: 'DateTime'
          }
        }
      }
    }
  }
end