Sha256: 4fc0464d85f22ceb307ac8d6f51d5fd6318cd52a04250e1b5938836447549584
Contents?: true
Size: 1.15 KB
Versions: 5
Compression:
Stored size: 1.15 KB
Contents
module ApiStub module Models module Network class VirtualNetworkGateway def self.create_virtual_network_gateway_response(network_client) network_gateway = '{ "name": "myvirtualgateway1", "id": "/subscriptions/{subscription-id}/resourceGroups/fog-rg/providers/microsoft.network/virtualNetworkGateways/{virtual-network-gateway-name}", "location": "West US", "tags": { "key1": "value1" }, "properties": { "gatewayType": "DynamicRouting", "gatewaySize": "Default", "enableBgp": true, "vpnClientAddressPool": [ "{vpnClientAddressPoolPrefix}" ], "defaultSites": [ "mysite1" ], "gateway_default_site": "/subscriptions/{subscription-id}/resourceGroups/fog-rg/providers/microsoft.network/localNetworkGateways/{local-network-gateway-name}" } }' gateway_mapper = Azure::ARM::Network::Models::VirtualNetworkGateway.mapper network_client.deserialize(gateway_mapper, JSON.load(network_gateway), 'result.body') end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems