Class: Azure::ARM::Network::Models::TopologyResource
- Inherits:
-
Object
- Object
- Azure::ARM::Network::Models::TopologyResource
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_network/models/topology_resource.rb
Overview
The network resource topology information for the given resource group.
Instance Attribute Summary collapse
-
#associations ⇒ Array<TopologyAssociation>
resource has with other resources in the resource group.
-
#id ⇒ String
ID of the resource.
-
#location ⇒ String
Resource location.
-
#name ⇒ String
Name of the resource.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for TopologyResource class as Ruby Hash.
Instance Attribute Details
#associations ⇒ Array<TopologyAssociation>
resource has with other resources in the resource group.
27 28 29 |
# File 'lib/generated/azure_mgmt_network/models/topology_resource.rb', line 27 def associations @associations end |
#id ⇒ String
Returns ID of the resource.
20 21 22 |
# File 'lib/generated/azure_mgmt_network/models/topology_resource.rb', line 20 def id @id end |
#location ⇒ String
Returns Resource location.
23 24 25 |
# File 'lib/generated/azure_mgmt_network/models/topology_resource.rb', line 23 def location @location end |
#name ⇒ String
Returns Name of the resource.
17 18 19 |
# File 'lib/generated/azure_mgmt_network/models/topology_resource.rb', line 17 def name @name end |
Class Method Details
.mapper ⇒ Object
Mapper for TopologyResource class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/generated/azure_mgmt_network/models/topology_resource.rb', line 34 def self.mapper() { required: false, serialized_name: 'TopologyResource', type: { name: 'Composite', class_name: 'TopologyResource', model_properties: { name: { required: false, serialized_name: 'name', type: { name: 'String' } }, id: { required: false, serialized_name: 'id', type: { name: 'String' } }, location: { required: false, serialized_name: 'location', type: { name: 'String' } }, associations: { required: false, serialized_name: 'associations', type: { name: 'Sequence', element: { required: false, serialized_name: 'TopologyAssociationElementType', type: { name: 'Composite', class_name: 'TopologyAssociation' } } } } } } } end |