Sha256: 4df0f80b9361ca8d1f0838c04f78668cbc560bc49cae254a4d27e15913c0f3c9
Contents?: true
Size: 841 Bytes
Versions: 47
Compression:
Stored size: 841 Bytes
Contents
module Fog module ApplicationGateway class AzureRM class Real def start_application_gateway(resource_group, name) msg = "Starting Application Gateway #{name} in Resource Group #{resource_group}" Fog::Logger.debug msg begin @network_client.application_gateways.start(resource_group, name) rescue MsRestAzure::AzureOperationError => e raise_azure_exception(e, msg) end Fog::Logger.debug "Successfully started Application Gateway #{name} in Resource Group #{resource_group}" true end end class Mock def start_application_gateway(*) Fog::Logger.debug 'Successfully started Application Gateway {name} in Resource Group {resource_group}' true end end end end end
Version data entries
47 entries across 47 versions & 4 rubygems