Class: Azure::ARM::ContainerRegistry::Models::Status

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/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.



17
18
19
# File 'lib/generated/azure_mgmt_container_registry/models/status.rb', line 17

def display_status
  @display_status
end

#messageString

and error messages.

Returns:

  • (String)

    The detailed message for the status, including alerts



21
22
23
# File 'lib/generated/azure_mgmt_container_registry/models/status.rb', line 21

def message
  @message
end

#timestampDateTime

current value.

Returns:

  • (DateTime)

    The timestamp when the status was changed to the



25
26
27
# File 'lib/generated/azure_mgmt_container_registry/models/status.rb', line 25

def timestamp
  @timestamp
end

Class Method Details

.mapperObject

Mapper for Status 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
# File 'lib/generated/azure_mgmt_container_registry/models/status.rb', line 32

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