Class: Azure::Network::Mgmt::V2018_08_01::Models::Topology

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-08-01/generated/azure_mgmt_network/models/topology.rb

Overview

Topology of the specified resource group.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#created_date_timeDateTime

for the resource group.

Returns:

  • (DateTime)

    The datetime when the topology was initially created


20
21
22
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/topology.rb', line 20

def created_date_time
  @created_date_time
end

#idString

Returns GUID representing the operation id.

Returns:

  • (String)

    GUID representing the operation id.


16
17
18
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/topology.rb', line 16

def id
  @id
end

#last_modifiedDateTime

Returns The datetime when the topology was last modified.

Returns:

  • (DateTime)

    The datetime when the topology was last modified.


23
24
25
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/topology.rb', line 23

def last_modified
  @last_modified
end

#resourcesArray<TopologyResource>

Returns:


26
27
28
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/topology.rb', line 26

def resources
  @resources
end

Class Method Details

.mapperObject

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


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
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/topology.rb', line 33

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Topology',
    type: {
      name: 'Composite',
      class_name: 'Topology',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        created_date_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'createdDateTime',
          type: {
            name: 'DateTime'
          }
        },
        last_modified: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'lastModified',
          type: {
            name: 'DateTime'
          }
        },
        resources: {
          client_side_validation: true,
          required: false,
          serialized_name: 'resources',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'TopologyResourceElementType',
                type: {
                  name: 'Composite',
                  class_name: 'TopologyResource'
                }
            }
          }
        }
      }
    }
  }
end