Class: Azure::Network::Mgmt::V2019_11_01::Models::ExpressRouteConnection
- Inherits:
-
SubResource
- Object
- SubResource
- Azure::Network::Mgmt::V2019_11_01::Models::ExpressRouteConnection
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-11-01/generated/azure_mgmt_network/models/express_route_connection.rb
Overview
ExpressRouteConnection resource.
Instance Attribute Summary collapse
-
#authorization_key ⇒ String
Authorization key to establish the connection.
-
#enable_internet_security ⇒ Boolean
Enable internet security.
-
#express_route_circuit_peering ⇒ ExpressRouteCircuitPeeringId
peering.
-
#name ⇒ String
The name of the resource.
-
#provisioning_state ⇒ ProvisioningState
connection resource.
-
#routing_weight ⇒ Integer
The routing weight associated to the connection.
Attributes inherited from SubResource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ExpressRouteConnection class as Ruby Hash.
Instance Attribute Details
#authorization_key ⇒ String
25 26 27 |
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_connection.rb', line 25 def end |
#enable_internet_security ⇒ Boolean
31 32 33 |
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_connection.rb', line 31 def enable_internet_security @enable_internet_security end |
#express_route_circuit_peering ⇒ ExpressRouteCircuitPeeringId
peering.
22 23 24 |
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_connection.rb', line 22 def express_route_circuit_peering @express_route_circuit_peering end |
#name ⇒ String
34 35 36 |
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_connection.rb', line 34 def name @name end |
#provisioning_state ⇒ ProvisioningState
connection resource. Possible values include: ‘Succeeded’, ‘Updating’, ‘Deleting’, ‘Failed’
18 19 20 |
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_connection.rb', line 18 def provisioning_state @provisioning_state end |
#routing_weight ⇒ Integer
28 29 30 |
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_connection.rb', line 28 def routing_weight @routing_weight end |
Class Method Details
.mapper ⇒ Object
Mapper for ExpressRouteConnection class as Ruby Hash. This will be used for serialization/deserialization.
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 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 |
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_connection.rb', line 41 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ExpressRouteConnection', type: { name: 'Composite', class_name: 'ExpressRouteConnection', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, express_route_circuit_peering: { client_side_validation: true, required: true, serialized_name: 'properties.expressRouteCircuitPeering', type: { name: 'Composite', class_name: 'ExpressRouteCircuitPeeringId' } }, authorization_key: { client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { name: 'String' } }, routing_weight: { client_side_validation: true, required: false, serialized_name: 'properties.routingWeight', type: { name: 'Number' } }, enable_internet_security: { client_side_validation: true, required: false, serialized_name: 'properties.enableInternetSecurity', type: { name: 'Boolean' } }, name: { client_side_validation: true, required: true, serialized_name: 'name', type: { name: 'String' } } } } } end |