module Azure::ClientServices
The Azure::Configurable module provides quick access to the Azure services and initializes the service to use the configuration of the class it's mixed into.
Public Instance Methods
Azure Cloud Service management service configured for this Azure client instance @return [Azure::CloudServiceManagement::CloudServiceManagementService]
# File lib/azure/client_services.rb, line 76 def cloud_service_management(options = {}) Azure::CloudServiceManagement::CloudServiceManagementService.new(default_client(options)) end
Azure Network management service configured for this Azure client instance @return [Azure::VirtualNetworkManagement::VirtualNetworkManagementService]
# File lib/azure/client_services.rb, line 70 def network_management(options = {}) Azure::VirtualNetworkManagement::VirtualNetworkManagementService.new(default_client(options)) end
Azure SQL Database management service configured for this Azure client instance @return [Azure::SqlDatabaseManagement::SqlDatabaseManagementService]
# File lib/azure/client_services.rb, line 64 def sql_database_management(options = {}) Azure::SqlDatabaseManagement::SqlDatabaseManagementService.new(default_client(options)) end
Azure Storage management service configured for this Azure client instance @return [Azure::StorageManagement::StorageManagementService]
# File lib/azure/client_services.rb, line 82 def storage_management(options = {}) Azure::StorageManagement::StorageManagementService.new(default_client(options)) end
Azure Virtual Machine disk management service configured for this Azure client instance @return [Azure::VirtualMachineImageManagement::VirtualMachineDiskManagementService]
# File lib/azure/client_services.rb, line 52 def vm_disk_management(options = {}) Azure::VirtualMachineImageManagement::VirtualMachineDiskManagementService.new(default_client(options)) end
Azure Virtual Image management service configured for this Azure client instance @return [Azure::VirtualMachineImageManagement::VirtualMachineImageManagementService]
# File lib/azure/client_services.rb, line 46 def vm_image_management(options = {}) Azure::VirtualMachineImageManagement::VirtualMachineImageManagementService.new(default_client(options)) end
Azure Virtual Machine management service configured for this Azure client instance @return [Azure::VirtualMachineManagement::VirtualMachineManagementService]
# File lib/azure/client_services.rb, line 58 def vm_management(options = {}) Azure::VirtualMachineManagement::VirtualMachineManagementService.new(default_client(options)) end
Private Instance Methods
# File lib/azure/client_services.rb, line 94 def default_client(opts) !opts.empty? ? {client: Azure.client(opts)} : {client: self} end