Class: Azure::Network::Mgmt::V2016_03_30::Models::ExpressRouteCircuitPeering
- Inherits:
-
SubResource
- Object
- SubResource
- Azure::Network::Mgmt::V2016_03_30::Models::ExpressRouteCircuitPeering
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering.rb
Overview
Peering in a ExpressRouteCircuit resource
Instance Attribute Summary collapse
-
#azure_asn ⇒ Integer
Gets or sets the azure ASN.
-
#etag ⇒ String
resource is updated.
-
#microsoft_peering_config ⇒ ExpressRouteCircuitPeeringConfig
peering config.
-
#name ⇒ String
resource group.
-
#peer_asn ⇒ Integer
Gets or sets the peer ASN.
-
#peering_type ⇒ ExpressRouteCircuitPeeringType
Possible values include: ‘AzurePublicPeering’, ‘AzurePrivatePeering’, ‘MicrosoftPeering’.
-
#primary_azure_port ⇒ String
Gets or sets the primary port.
-
#primary_peer_address_prefix ⇒ String
Gets or sets the primary address prefix.
-
#provisioning_state ⇒ String
resource Updating/Deleting/Failed.
-
#secondary_azure_port ⇒ String
Gets or sets the secondary port.
-
#secondary_peer_address_prefix ⇒ String
Gets or sets the secondary address prefix.
-
#shared_key ⇒ String
Gets or sets the shared key.
-
#state ⇒ ExpressRouteCircuitPeeringState
Peering.
-
#stats ⇒ ExpressRouteCircuitStats
Gets or peering stats.
-
#vlan_id ⇒ Integer
Gets or sets the vlan id.
Attributes inherited from SubResource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ExpressRouteCircuitPeering class as Ruby Hash.
Instance Attribute Details
#azure_asn ⇒ Integer
Returns Gets or sets the azure ASN.
25 26 27 |
# File 'lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 25 def azure_asn @azure_asn end |
#etag ⇒ String
resource is updated
65 66 67 |
# File 'lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 65 def etag @etag end |
#microsoft_peering_config ⇒ ExpressRouteCircuitPeeringConfig
peering config
50 51 52 |
# File 'lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 50 def microsoft_peering_config @microsoft_peering_config end |
#name ⇒ String
resource group. This name can be used to access the resource
61 62 63 |
# File 'lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 61 def name @name end |
#peer_asn ⇒ Integer
Returns Gets or sets the peer ASN.
28 29 30 |
# File 'lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 28 def peer_asn @peer_asn end |
#peering_type ⇒ ExpressRouteCircuitPeeringType
Possible values include: ‘AzurePublicPeering’, ‘AzurePrivatePeering’, ‘MicrosoftPeering’
18 19 20 |
# File 'lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 18 def peering_type @peering_type end |
#primary_azure_port ⇒ String
Returns Gets or sets the primary port.
37 38 39 |
# File 'lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 37 def primary_azure_port @primary_azure_port end |
#primary_peer_address_prefix ⇒ String
Returns Gets or sets the primary address prefix.
31 32 33 |
# File 'lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 31 def primary_peer_address_prefix @primary_peer_address_prefix end |
#provisioning_state ⇒ String
resource Updating/Deleting/Failed
57 58 59 |
# File 'lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 57 def provisioning_state @provisioning_state end |
#secondary_azure_port ⇒ String
Returns Gets or sets the secondary port.
40 41 42 |
# File 'lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 40 def secondary_azure_port @secondary_azure_port end |
#secondary_peer_address_prefix ⇒ String
Returns Gets or sets the secondary address prefix.
34 35 36 |
# File 'lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 34 def secondary_peer_address_prefix @secondary_peer_address_prefix end |
#shared_key ⇒ String
Returns Gets or sets the shared key.
43 44 45 |
# File 'lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 43 def shared_key @shared_key end |
#state ⇒ ExpressRouteCircuitPeeringState
Peering. Possible values include: ‘Disabled’, ‘Enabled’
22 23 24 |
# File 'lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 22 def state @state end |
#stats ⇒ ExpressRouteCircuitStats
Returns Gets or peering stats.
53 54 55 |
# File 'lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 53 def stats @stats end |
#vlan_id ⇒ Integer
Returns Gets or sets the vlan id.
46 47 48 |
# File 'lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 46 def vlan_id @vlan_id end |
Class Method Details
.mapper ⇒ Object
Mapper for ExpressRouteCircuitPeering class as Ruby Hash. This will be used for serialization/deserialization.
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 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 |
# File 'lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering.rb', line 72 def self.mapper() { required: false, serialized_name: 'ExpressRouteCircuitPeering', type: { name: 'Composite', class_name: 'ExpressRouteCircuitPeering', model_properties: { id: { required: false, serialized_name: 'id', type: { name: 'String' } }, peering_type: { required: false, serialized_name: 'properties.peeringType', type: { name: 'String' } }, state: { required: false, serialized_name: 'properties.state', type: { name: 'String' } }, azure_asn: { required: false, serialized_name: 'properties.azureASN', type: { name: 'Number' } }, peer_asn: { required: false, serialized_name: 'properties.peerASN', type: { name: 'Number' } }, primary_peer_address_prefix: { required: false, serialized_name: 'properties.primaryPeerAddressPrefix', type: { name: 'String' } }, secondary_peer_address_prefix: { required: false, serialized_name: 'properties.secondaryPeerAddressPrefix', type: { name: 'String' } }, primary_azure_port: { required: false, serialized_name: 'properties.primaryAzurePort', type: { name: 'String' } }, secondary_azure_port: { required: false, serialized_name: 'properties.secondaryAzurePort', type: { name: 'String' } }, shared_key: { required: false, serialized_name: 'properties.sharedKey', type: { name: 'String' } }, vlan_id: { required: false, serialized_name: 'properties.vlanId', type: { name: 'Number' } }, microsoft_peering_config: { required: false, serialized_name: 'properties.microsoftPeeringConfig', type: { name: 'Composite', class_name: 'ExpressRouteCircuitPeeringConfig' } }, stats: { required: false, serialized_name: 'properties.stats', type: { name: 'Composite', class_name: 'ExpressRouteCircuitStats' } }, provisioning_state: { required: false, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, name: { required: false, serialized_name: 'name', type: { name: 'String' } }, etag: { required: false, serialized_name: 'etag', type: { name: 'String' } } } } } end |