Class: Azure::ContainerRegistry::Mgmt::V2019_05_01::Models::Status

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-05-01/generated/azure_mgmt_container_registry/models/status.rb

Overview

The status of an Azure resource at the time the operation was called.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#display_statusString

Returns The short label for the status.

Returns:

  • (String)

    The short label for the status.



16
17
18
# File 'lib/2019-05-01/generated/azure_mgmt_container_registry/models/status.rb', line 16

def display_status
  @display_status
end

#messageString

and error messages.

Returns:

  • (String)

    The detailed message for the status, including alerts



20
21
22
# File 'lib/2019-05-01/generated/azure_mgmt_container_registry/models/status.rb', line 20

def message
  @message
end

#timestampDateTime

current value.

Returns:

  • (DateTime)

    The timestamp when the status was changed to the



24
25
26
# File 'lib/2019-05-01/generated/azure_mgmt_container_registry/models/status.rb', line 24

def timestamp
  @timestamp
end

Class Method Details

.mapperObject

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



31
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
# File 'lib/2019-05-01/generated/azure_mgmt_container_registry/models/status.rb', line 31

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Status',
    type: {
      name: 'Composite',
      class_name: 'Status',
      model_properties: {
        display_status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'displayStatus',
          type: {
            name: 'String'
          }
        },
        message: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'message',
          type: {
            name: 'String'
          }
        },
        timestamp: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'timestamp',
          type: {
            name: 'DateTime'
          }
        }
      }
    }
  }
end