Module: Azure

Extended by:
Configurable
Defined in:
lib/azure/client.rb,
lib/azure.rb,
lib/azure/default.rb,
lib/azure/version.rb,
lib/azure/blob/blob.rb,
lib/azure/blob/block.rb,
lib/azure/table/guid.rb,
lib/azure/http_client.rb,
lib/azure/queue/queue.rb,
lib/azure/table/batch.rb,
lib/azure/table/query.rb,
lib/azure/configurable.rb,
lib/azure/service/cors.rb,
lib/azure/table/entity.rb,
lib/azure/queue/message.rb,
lib/azure/table/edmtype.rb,
lib/azure/blob/container.rb,
lib/azure/client_services.rb,
lib/azure/service/logging.rb,
lib/azure/service/metrics.rb,
lib/azure/service_bus/rule.rb,
lib/azure/blob/blob_service.rb,
lib/azure/service/cors_rule.rb,
lib/azure/service_bus/queue.rb,
lib/azure/service_bus/relay.rb,
lib/azure/service_bus/topic.rb,
lib/azure/blob/serialization.rb,
lib/azure/service_bus/action.rb,
lib/azure/service_bus/filter.rb,
lib/azure/queue/queue_service.rb,
lib/azure/queue/serialization.rb,
lib/azure/table/serialization.rb,
lib/azure/table/table_service.rb,
lib/azure/http_response_helper.rb,
lib/azure/service_bus/interval.rb,
lib/azure/service_bus/resource.rb,
lib/azure/table/batch_response.rb,
lib/azure/service/access_policy.rb,
lib/azure/service/serialization.rb,
lib/azure/table/auth/shared_key.rb,
lib/azure/service_bus/sql_filter.rb,
lib/azure/service/storage_service.rb,
lib/azure/service_bus/rule_aspect.rb,
lib/azure/service_bus/true_filter.rb,
lib/azure/base_management/location.rb,
lib/azure/service/retention_policy.rb,
lib/azure/service_bus/false_filter.rb,
lib/azure/service_bus/subscription.rb,
lib/azure/service/signed_identifier.rb,
lib/azure/service_bus/serialization.rb,
lib/azure/table/auth/shared_key_lite.rb,
lib/azure/service/enumeration_results.rb,
lib/azure/service_bus/sql_rule_action.rb,
lib/azure/service_bus/auth/wrap_signer.rb,
lib/azure/service_bus/brokered_message.rb,
lib/azure/base_management/serialization.rb,
lib/azure/service_bus/auth/wrap_service.rb,
lib/azure/service_bus/empty_rule_action.rb,
lib/azure/base_management/affinity_group.rb,
lib/azure/service_bus/correlation_filter.rb,
lib/azure/sql_database_management/errors.rb,
lib/azure/service_bus/service_bus_service.rb,
lib/azure/storage_management/serialization.rb,
lib/azure/blob/auth/shared_access_signature.rb,
lib/azure/service/storage_service_properties.rb,
lib/azure/sql_database_management/sql_server.rb,
lib/azure/storage_management/storage_account.rb,
lib/azure/service_bus/auth/shared_access_signer.rb,
lib/azure/sql_database_management/firewall_rule.rb,
lib/azure/sql_database_management/serialization.rb,
lib/azure/cloud_service_management/cloud_service.rb,
lib/azure/cloud_service_management/serialization.rb,
lib/azure/base_management/base_management_service.rb,
lib/azure/base_management/management_http_request.rb,
lib/azure/service_bus/brokered_message_serializer.rb,
lib/azure/virtual_machine_management/serialization.rb,
lib/azure/virtual_network_management/serialization.rb,
lib/azure/virtual_machine_management/virtual_machine.rb,
lib/azure/virtual_network_management/virtual_network.rb,
lib/azure/base_management/sql_management_http_request.rb,
lib/azure/storage_management/storage_management_service.rb,
lib/azure/virtual_machine_image_management/serialization.rb,
lib/azure/virtual_machine_image_management/virtual_machine_disk.rb,
lib/azure/virtual_machine_image_management/virtual_machine_image.rb,
lib/azure/sql_database_management/sql_database_management_service.rb,
lib/azure/cloud_service_management/cloud_service_management_service.rb,
lib/azure/virtual_machine_management/virtual_machine_management_service.rb,
lib/azure/virtual_network_management/virtual_network_management_service.rb,
lib/azure/virtual_machine_image_management/virtual_machine_image_management_service.rb

Overview


Copyright 2013 Microsoft Open Technologies, Inc.

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


Defined Under Namespace

Modules: BaseManagement, Blob, ClientServices, CloudServiceManagement, Configurable, Default, HttpClient, HttpResponseHelper, Queue, Service, ServiceBus, SqlDatabaseManagement, StorageManagement, Table, VirtualMachineImageManagement, VirtualMachineManagement, VirtualNetworkManagement Classes: Client, Version

Constant Summary collapse

BlobService =
Azure::Blob::BlobService
QueueService =
Azure::Queue::QueueService
TableService =
Azure::Table::TableService
ServiceBusService =
Azure::ServiceBus::ServiceBusService
BaseManagementService =
Azure::BaseManagement::BaseManagementService
StorageManagementService =
Azure::StorageManagement::StorageManagementService
SqlDatabaseManagementService =
Azure::SqlDatabaseManagement::SqlDatabaseManagementService
CloudServiceManagementService =
Azure::CloudServiceManagement::CloudServiceManagementService
VirtualMachineManagementService =
Azure::VirtualMachineManagement::VirtualMachineManagementService
VirtualNetworkManagementService =
Azure::VirtualNetworkManagement::VirtualNetworkManagementService
VirtualMachineImageManagementService =
Azure::VirtualMachineImageManagement::VirtualMachineImageManagementService

Instance Attribute Summary

Attributes included from Configurable

#acs_host, #ca_file, #http_certificate_key, #http_private_key, #management_certificate, #management_endpoint, #sb_access_key, #sb_issuer, #sb_namespace, #sb_sas_key, #sb_sas_key_name, #service_bus_host, #sql_database_management_endpoint, #storage_access_key, #storage_account_name, #storage_blob_host, #storage_queue_host, #storage_table_host, #subscription_id

Class Method Summary collapse

Methods included from Configurable

config, configure, keys, reset!

Class Method Details

.client(options = {}) ⇒ Azure::Client

API client based on configured options Configurable

Returns:



130
131
132
133
# File 'lib/azure.rb', line 130

def client(options = {})
  @client = Azure::Client.new(options) unless defined?(@client) && @client.same_options?(options)
  @client
end