Class: Azure::Security::Mgmt::V2020_01_01::Models::TopologySingleResource
- Inherits:
-
Object
- Object
- Azure::Security::Mgmt::V2020_01_01::Models::TopologySingleResource
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-01-01/generated/azure_mgmt_security/models/topology_single_resource.rb
Overview
Model object.
Instance Attribute Summary collapse
-
#children ⇒ Array<TopologySingleResourceChild>
to this resource which are in lower level in the topology view.
-
#location ⇒ String
The location of this resource.
-
#network_zones ⇒ String
Internet (InternetFacing, Internal ,etc.).
-
#parents ⇒ Array<TopologySingleResourceParent>
to this resource which are in higher level in the topology view.
-
#recommendations_exist ⇒ Boolean
recommendations.
-
#resource_id ⇒ String
Azure resource id.
-
#severity ⇒ String
The security severity of the resource.
-
#topology_score ⇒ Integer
Score of the resource based on its security severity.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for TopologySingleResource class as Ruby Hash.
Instance Attribute Details
#children ⇒ Array<TopologySingleResourceChild>
to this resource which are in lower level in the topology view
42 43 44 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/topology_single_resource.rb', line 42 def children @children end |
#location ⇒ String
Returns The location of this resource.
34 35 36 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/topology_single_resource.rb', line 34 def location @location end |
#network_zones ⇒ String
Internet (InternetFacing, Internal ,etc.)
28 29 30 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/topology_single_resource.rb', line 28 def network_zones @network_zones end |
#parents ⇒ Array<TopologySingleResourceParent>
to this resource which are in higher level in the topology view
38 39 40 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/topology_single_resource.rb', line 38 def parents @parents end |
#recommendations_exist ⇒ Boolean
recommendations
24 25 26 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/topology_single_resource.rb', line 24 def recommendations_exist @recommendations_exist end |
#resource_id ⇒ String
Returns Azure resource id.
17 18 19 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/topology_single_resource.rb', line 17 def resource_id @resource_id end |
#severity ⇒ String
Returns The security severity of the resource.
20 21 22 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/topology_single_resource.rb', line 20 def severity @severity end |
#topology_score ⇒ Integer
Returns Score of the resource based on its security severity.
31 32 33 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/topology_single_resource.rb', line 31 def topology_score @topology_score end |
Class Method Details
.mapper ⇒ Object
Mapper for TopologySingleResource class as Ruby Hash. This will be used for serialization/deserialization.
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 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/topology_single_resource.rb', line 49 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'TopologySingleResource', type: { name: 'Composite', class_name: 'TopologySingleResource', model_properties: { resource_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceId', type: { name: 'String' } }, severity: { client_side_validation: true, required: false, read_only: true, serialized_name: 'severity', type: { name: 'String' } }, recommendations_exist: { client_side_validation: true, required: false, read_only: true, serialized_name: 'recommendationsExist', type: { name: 'Boolean' } }, network_zones: { client_side_validation: true, required: false, read_only: true, serialized_name: 'networkZones', type: { name: 'String' } }, topology_score: { client_side_validation: true, required: false, read_only: true, serialized_name: 'topologyScore', type: { name: 'Number' } }, location: { client_side_validation: true, required: false, read_only: true, serialized_name: 'location', type: { name: 'String' } }, parents: { client_side_validation: true, required: false, read_only: true, serialized_name: 'parents', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'TopologySingleResourceParentElementType', type: { name: 'Composite', class_name: 'TopologySingleResourceParent' } } } }, children: { client_side_validation: true, required: false, read_only: true, serialized_name: 'children', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'TopologySingleResourceChildElementType', type: { name: 'Composite', class_name: 'TopologySingleResourceChild' } } } } } } } end |