Sha256: 83c0c7ed900d478f78fe9fcae0901c2c41247b55211b4685eec742cba9512686

Contents?: true

Size: 1.82 KB

Versions: 14

Compression:

Stored size: 1.82 KB

Contents

#-------------------------------------------------------------------------
# # Copyright (c) Microsoft and contributors. All rights reserved.
#
# 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.
#--------------------------------------------------------------------------

module Azure::Core; end

require "azure/core/error"
require "azure/core/configuration"

# load default configuration from environment variables
# (user can always override this later)
Azure.configure do |config|
  config.storage_access_key     = ENV["AZURE_STORAGE_ACCESS_KEY"]
  config.storage_account_name   = ENV["AZURE_STORAGE_ACCOUNT"]
  config.storage_table_host     = ENV["AZURE_STORAGE_TABLE_HOST"]
  config.storage_blob_host      = ENV["AZURE_STORAGE_BLOB_HOST"]
  config.storage_queue_host     = ENV["AZURE_STORAGE_QUEUE_HOST"]

  config.sb_namespace  = ENV["AZURE_SERVICEBUS_NAMESPACE"]
  config.sb_access_key  = ENV["AZURE_SERVICEBUS_ACCESS_KEY"]
  config.sb_issuer      = ENV["AZURE_SERVICEBUS_ISSUER"]

  config.management_certificate  = ENV["AZURE_MANAGEMENT_CERTIFICATE"]
  config.subscription_id         = ENV["AZURE_SUBSCRIPTION_ID"]
  config.management_endpoint     = ENV["AZURE_MANAGEMENT_ENDPOINT"]
  config.sql_database_management_endpoint = ENV["AZURE_SQL_DATABASE_MANAGEMENT_ENDPOINT"]
  config.sql_database_authentication_mode = ENV["AZURE_SQL_DATABASE_AUTHENTICATION_MODE"]
end

Version data entries

14 entries across 14 versions & 4 rubygems

Version Path
stuartpreston-azure-sdk-for-ruby-0.7.1 lib/azure/core.rb
stuartpreston-azure-sdk-for-ruby-0.7.0 lib/azure/core.rb
stuartpreston-azure-sdk-for-ruby-0.6.9 lib/azure/core.rb
stuartpreston-azure-sdk-for-ruby-0.6.7 lib/azure/core.rb
stuartpreston-azure-sdk-for-ruby-0.6.6 lib/azure/core.rb
stuartpreston-azure-sdk-for-ruby-0.6.5 lib/azure/core.rb
azurex-0.6.7 lib/azure/core.rb
azurex-0.6.6 lib/azure/core.rb
azurex-0.6.5 lib/azure/core.rb
azure-multistorage-0.6.4 lib/azure/core.rb
azure-0.6.4 lib/azure/core.rb
azure-0.6.3 lib/azure/core.rb
azure-0.6.2 lib/azure/core.rb
azure-0.6.1 lib/azure/core.rb