Sha256: d138e1a74a2faa9af95dbdb0a421e26b4f8819a323f75772d5364f4a323145ec
Contents?: true
Size: 967 Bytes
Versions: 4
Compression:
Stored size: 967 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, JSON.load(authorization), 'result.body') end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems