Sha256: f3e50c87f0a3b66b61c58ce0411fe40d84ea4fc6eeb4a572b0f2d36bbcddad79
Contents?: true
Size: 974 Bytes
Versions: 1
Compression:
Stored size: 974 Bytes
Contents
module ApiStub module Models module Network # Mock class for Express Route Circuit Authorization Model class ExpressRouteCircuitAuthorization def self.create_express_route_circuit_authorization_response(network_client) authorization = '{ "name": "MicrosoftAuthorization", "id": "/subscriptions/{guid}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}", "properties": { "authorizationKey": "authorization-key", "authorizationUseStatus": "Available" } }' express_route_circuit_authorization_mapper = Azure::ARM::Network::Models::ExpressRouteCircuitAuthorization.mapper network_client.deserialize(express_route_circuit_authorization_mapper, Fog::JSON.decode(authorization), '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_authorization.rb |