Class: Azure::Network::Mgmt::V2017_03_30::Models::Subnet
- Inherits:
-
SubResource
- Object
- SubResource
- Azure::Network::Mgmt::V2017_03_30::Models::Subnet
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-03-30/generated/azure_mgmt_network/models/subnet.rb
Overview
Subnet in a virtual network resource.
Instance Attribute Summary collapse
-
#address_prefix ⇒ String
The address prefix for the subnet.
-
#address_prefixes ⇒ Array<String>
List of address prefixes for the subnet.
-
#delegations ⇒ Array<Delegation>
delegations on the subnet.
-
#etag ⇒ String
resource is updated.
-
#ip_configuration_profiles ⇒ Array<IPConfigurationProfile>
profiles which reference this subnet.
-
#ip_configurations ⇒ Array<IPConfiguration>
network interface IP configurations using subnet.
-
#name ⇒ String
resource group.
-
#nat_gateway ⇒ SubResource
Nat gateway associated with this subnet.
-
#network_security_group ⇒ NetworkSecurityGroup
NetworkSecurityGroup resource.
-
#private_endpoint_network_policies ⇒ String
Enable or Disable private end point on the subnet.
-
#private_endpoints ⇒ Array<PrivateEndpoint>
endpoints.
-
#private_link_service_network_policies ⇒ String
Enable or Disable private link service on the subnet.
-
#provisioning_state ⇒ String
The provisioning state of the resource.
-
#purpose ⇒ String
for this subnet based on delegations and other user-defined properties.
-
#resource_navigation_links ⇒ Array<ResourceNavigationLink>
the external resources using subnet.
-
#route_table ⇒ RouteTable
The reference of the RouteTable resource.
-
#service_association_links ⇒ Array<ServiceAssociationLink>
services injecting into this subnet.
-
#service_endpoint_policies ⇒ Array<ServiceEndpointPolicy>
policies.
-
#service_endpoints ⇒ Array<ServiceEndpointPropertiesFormat>
endpoints.
Attributes inherited from SubResource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Subnet class as Ruby Hash.
Instance Attribute Details
#address_prefix ⇒ String
Returns The address prefix for the subnet.
16 17 18 |
# File 'lib/2017-03-30/generated/azure_mgmt_network/models/subnet.rb', line 16 def address_prefix @address_prefix end |
#address_prefixes ⇒ Array<String>
Returns List of address prefixes for the subnet.
19 20 21 |
# File 'lib/2017-03-30/generated/azure_mgmt_network/models/subnet.rb', line 19 def address_prefixes @address_prefixes end |
#delegations ⇒ Array<Delegation>
delegations on the subnet.
61 62 63 |
# File 'lib/2017-03-30/generated/azure_mgmt_network/models/subnet.rb', line 61 def delegations @delegations end |
#etag ⇒ String
resource is updated.
82 83 84 |
# File 'lib/2017-03-30/generated/azure_mgmt_network/models/subnet.rb', line 82 def etag @etag end |
#ip_configuration_profiles ⇒ Array<IPConfigurationProfile>
profiles which reference this subnet.
49 50 51 |
# File 'lib/2017-03-30/generated/azure_mgmt_network/models/subnet.rb', line 49 def ip_configuration_profiles @ip_configuration_profiles end |
#ip_configurations ⇒ Array<IPConfiguration>
network interface IP configurations using subnet.
45 46 47 |
# File 'lib/2017-03-30/generated/azure_mgmt_network/models/subnet.rb', line 45 def ip_configurations @ip_configurations end |
#name ⇒ String
resource group. This name can be used to access the resource.
78 79 80 |
# File 'lib/2017-03-30/generated/azure_mgmt_network/models/subnet.rb', line 78 def name @name end |
#nat_gateway ⇒ SubResource
Returns Nat gateway associated with this subnet.
29 30 31 |
# File 'lib/2017-03-30/generated/azure_mgmt_network/models/subnet.rb', line 29 def nat_gateway @nat_gateway end |
#network_security_group ⇒ NetworkSecurityGroup
NetworkSecurityGroup resource.
23 24 25 |
# File 'lib/2017-03-30/generated/azure_mgmt_network/models/subnet.rb', line 23 def network_security_group @network_security_group end |
#private_endpoint_network_policies ⇒ String
Returns Enable or Disable private end point on the subnet.
71 72 73 |
# File 'lib/2017-03-30/generated/azure_mgmt_network/models/subnet.rb', line 71 def private_endpoint_network_policies @private_endpoint_network_policies end |
#private_endpoints ⇒ Array<PrivateEndpoint>
endpoints.
41 42 43 |
# File 'lib/2017-03-30/generated/azure_mgmt_network/models/subnet.rb', line 41 def private_endpoints @private_endpoints end |
#private_link_service_network_policies ⇒ String
Returns Enable or Disable private link service on the subnet.
74 75 76 |
# File 'lib/2017-03-30/generated/azure_mgmt_network/models/subnet.rb', line 74 def private_link_service_network_policies @private_link_service_network_policies end |
#provisioning_state ⇒ String
Returns The provisioning state of the resource.
68 69 70 |
# File 'lib/2017-03-30/generated/azure_mgmt_network/models/subnet.rb', line 68 def provisioning_state @provisioning_state end |
#purpose ⇒ String
for this subnet based on delegations and other user-defined properties.
65 66 67 |
# File 'lib/2017-03-30/generated/azure_mgmt_network/models/subnet.rb', line 65 def purpose @purpose end |
#resource_navigation_links ⇒ Array<ResourceNavigationLink>
the external resources using subnet.
53 54 55 |
# File 'lib/2017-03-30/generated/azure_mgmt_network/models/subnet.rb', line 53 def end |
#route_table ⇒ RouteTable
Returns The reference of the RouteTable resource.
26 27 28 |
# File 'lib/2017-03-30/generated/azure_mgmt_network/models/subnet.rb', line 26 def route_table @route_table end |
#service_association_links ⇒ Array<ServiceAssociationLink>
services injecting into this subnet.
57 58 59 |
# File 'lib/2017-03-30/generated/azure_mgmt_network/models/subnet.rb', line 57 def service_association_links @service_association_links end |
#service_endpoint_policies ⇒ Array<ServiceEndpointPolicy>
policies.
37 38 39 |
# File 'lib/2017-03-30/generated/azure_mgmt_network/models/subnet.rb', line 37 def service_endpoint_policies @service_endpoint_policies end |
#service_endpoints ⇒ Array<ServiceEndpointPropertiesFormat>
endpoints.
33 34 35 |
# File 'lib/2017-03-30/generated/azure_mgmt_network/models/subnet.rb', line 33 def service_endpoints @service_endpoints end |
Class Method Details
.mapper ⇒ Object
Mapper for Subnet class as Ruby Hash. This will be used for serialization/deserialization.
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 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 |
# File 'lib/2017-03-30/generated/azure_mgmt_network/models/subnet.rb', line 89 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Subnet', type: { name: 'Composite', class_name: 'Subnet', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, address_prefix: { client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { name: 'String' } }, address_prefixes: { client_side_validation: true, required: false, serialized_name: 'properties.addressPrefixes', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, network_security_group: { client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { name: 'Composite', class_name: 'NetworkSecurityGroup' } }, route_table: { client_side_validation: true, required: false, serialized_name: 'properties.routeTable', type: { name: 'Composite', class_name: 'RouteTable' } }, nat_gateway: { client_side_validation: true, required: false, serialized_name: 'properties.natGateway', type: { name: 'Composite', class_name: 'SubResource' } }, service_endpoints: { client_side_validation: true, required: false, serialized_name: 'properties.serviceEndpoints', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ServiceEndpointPropertiesFormatElementType', type: { name: 'Composite', class_name: 'ServiceEndpointPropertiesFormat' } } } }, service_endpoint_policies: { client_side_validation: true, required: false, serialized_name: 'properties.serviceEndpointPolicies', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ServiceEndpointPolicyElementType', type: { name: 'Composite', class_name: 'ServiceEndpointPolicy' } } } }, private_endpoints: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.privateEndpoints', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'PrivateEndpointElementType', type: { name: 'Composite', class_name: 'PrivateEndpoint' } } } }, ip_configurations: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'IPConfigurationElementType', type: { name: 'Composite', class_name: 'IPConfiguration' } } } }, ip_configuration_profiles: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfigurationProfiles', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'IPConfigurationProfileElementType', type: { name: 'Composite', class_name: 'IPConfigurationProfile' } } } }, resource_navigation_links: { client_side_validation: true, required: false, serialized_name: 'properties.resourceNavigationLinks', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ResourceNavigationLinkElementType', type: { name: 'Composite', class_name: 'ResourceNavigationLink' } } } }, service_association_links: { client_side_validation: true, required: false, serialized_name: 'properties.serviceAssociationLinks', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ServiceAssociationLinkElementType', type: { name: 'Composite', class_name: 'ServiceAssociationLink' } } } }, delegations: { client_side_validation: true, required: false, serialized_name: 'properties.delegations', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'DelegationElementType', type: { name: 'Composite', class_name: 'Delegation' } } } }, purpose: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.purpose', type: { name: 'String' } }, provisioning_state: { client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, private_endpoint_network_policies: { client_side_validation: true, required: false, serialized_name: 'properties.privateEndpointNetworkPolicies', type: { name: 'String' } }, private_link_service_network_policies: { client_side_validation: true, required: false, serialized_name: 'properties.privateLinkServiceNetworkPolicies', type: { name: 'String' } }, name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, etag: { client_side_validation: true, required: false, serialized_name: 'etag', type: { name: 'String' } } } } } end |