module Azure::Default

Default configuration options for {Client}

Constants

SERVICE_MANAGEMENT_ENDPOINT

Default API endpoint

USER_AGENT

Default User Agent header string

Public Class Methods

ca_file() click to toggle source

Default Certificate Authority bundle to be used for https @return [String]

# File lib/azure/default.rb, line 120
def ca_file
  ENV['SSL_CERT_FILE']
end
management_certificate() click to toggle source

Default management certificate to use for management activeities @return [String]

# File lib/azure/default.rb, line 96
def management_certificate
  ENV['AZURE_MANAGEMENT_CERTIFICATE']
end
management_endpoint() click to toggle source

Default Azure management endpoint @return [String]

# File lib/azure/default.rb, line 108
def management_endpoint
  ENV['AZURE_MANAGEMENT_ENDPOINT'] || (SERVICE_MANAGEMENT_ENDPOINT + '/')
end
options() click to toggle source

Configuration options @return [Hash]

# File lib/azure/default.rb, line 30
def options
  Hash[Azure::Configurable.keys.map{|key| [key, send(key)]}]
end
sb_access_key() click to toggle source

Default service bus access key @return [String]

# File lib/azure/default.rb, line 72
def sb_access_key
  ENV['AZURE_SERVICEBUS_ACCESS_KEY']
end
sb_issuer() click to toggle source

Default service bus issuer @return [String]

# File lib/azure/default.rb, line 90
def sb_issuer
  ENV['AZURE_SERVICEBUS_ISSUER'] || 'owner'
end
sb_namespace() click to toggle source

Default service bus namespace @return [String]

# File lib/azure/default.rb, line 66
def sb_namespace
  ENV['AZURE_SERVICEBUS_NAMESPACE']
end
sb_sas_key() click to toggle source

Default service bus Shared Access Policy key @return [String]

# File lib/azure/default.rb, line 78
def sb_sas_key
  ENV['AZURE_SERVICEBUS_SAS_KEY']
end
sb_sas_key_name() click to toggle source

Default service bus Shared Access Policy key name @return [String]

# File lib/azure/default.rb, line 84
def sb_sas_key_name
  ENV['AZURE_SERVICEBUS_SAS_KEY_NAME']
end
sql_database_management_endpoint() click to toggle source

Default SQL database management endpoint @return [String]

# File lib/azure/default.rb, line 114
def sql_database_management_endpoint
  ENV['AZURE_SQL_DATABASE_MANAGEMENT_ENDPOINT'] || "#{SERVICE_MANAGEMENT_ENDPOINT}:8443/"
end
storage_access_key() click to toggle source

Default storage access key @return [String]

# File lib/azure/default.rb, line 36
def storage_access_key
  ENV['AZURE_STORAGE_ACCESS_KEY']
end
storage_account_name() click to toggle source

Default storage account name @return [String]

# File lib/azure/default.rb, line 42
def storage_account_name
  ENV['AZURE_STORAGE_ACCOUNT']
end
storage_blob_host() click to toggle source

Default storage blob host @return [String]

# File lib/azure/default.rb, line 54
def storage_blob_host
  ENV['AZURE_STORAGE_BLOB_HOST']
end
storage_queue_host() click to toggle source

Default storage queue host @return [String]

# File lib/azure/default.rb, line 60
def storage_queue_host
  ENV['AZURE_STORAGE_QUEUE_HOST']
end
storage_table_host() click to toggle source

Default storage table host @return [String]

# File lib/azure/default.rb, line 48
def storage_table_host
  ENV['AZURE_STORAGE_TABLE_HOST']
end
subscription_id() click to toggle source

Default subscription to use for management activities @return [String]

# File lib/azure/default.rb, line 102
def subscription_id
  ENV['AZURE_SUBSCRIPTION_ID']
end