Sha256: 88af8c973a78cb4a84ac329f7b44c2bc3357f87c5ffcfd1e3be3443b864fbd58
Contents?: true
Size: 1.13 KB
Versions: 46
Compression:
Stored size: 1.13 KB
Contents
module Fog module Network class AzureRM # VirtualNetworkGatewayConnections collection class for Network Service class VirtualNetworkGatewayConnections < Fog::Collection model Fog::Network::AzureRM::VirtualNetworkGatewayConnection attribute :resource_group def all requires :resource_group gateway_connections = service.list_virtual_network_gateway_connections(resource_group).map { |connection| Fog::Network::AzureRM::VirtualNetworkGatewayConnection.parse(connection) } load(gateway_connections) end def get(resource_group_name, name) connection = service.get_virtual_network_gateway_connection(resource_group_name, name) gateway_connection = Fog::Network::AzureRM::VirtualNetworkGatewayConnection.new(service: service) gateway_connection.merge_attributes(Fog::Network::AzureRM::VirtualNetworkGatewayConnection.parse(connection)) end def check_vnet_gateway_connection_exists(resource_group_name, name) service.check_vnet_gateway_connection_exists(resource_group_name, name) end end end end end
Version data entries
46 entries across 46 versions & 4 rubygems