Sha256: d1155541cc5c0f8e7ef12b51885371397d13ccd70324d33ff01af9e1684d185e
Contents?: true
Size: 1.59 KB
Versions: 1
Compression:
Stored size: 1.59 KB
Contents
module ApiStub module Models module Network # Mock class for Express Route Circuit Peering Model class ExpressRouteCircuitPeering def self.create_express_route_circuit_peering_response(network_client) peering = '{ "name": "MicrosoftPeering", "id": "/subscriptions/{guid}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}", "properties": { "peeringType": "MicrosoftPeering", "peerASN": 100, "primaryPeerAddressPrefix": "192.168.1.0/30", "secondaryPeerAddressPrefix": "192.168.2.0/30", "vlanId": 200, "microsoftPeeringConfig": { "advertisedpublicprefixes": [ "11.2.3.4/30", "12.2.3.4/30" ], "advertisedPublicPrefixState": "NotConfigured ", "customerAsn": 200, "routingRegistryName": "<name>" } } }' express_route_circuit_peering_mapper = Azure::ARM::Network::Models::ExpressRouteCircuitPeering.mapper network_client.deserialize(express_route_circuit_peering_mapper, Fog::JSON.decode(peering), 'result.body') end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fog-azure-rm-0.1.1 | test/api_stub/models/network/express_route_circuit_peering.rb |