class Azure::Resources::Profiles::V2017_03_09::Mgmt::Client
Client class for the V2017_03_09 profile SDK.
Public Class Methods
new(options = {})
click to toggle source
Initializes a new instance of the Client class. @param options [Hash] hash of client options.
options = {
tenant_id: 'YOUR TENANT ID',
client_id: 'YOUR CLIENT ID',
client_secret: 'YOUR CLIENT SECRET',
subscription_id: 'YOUR SUBSCRIPTION ID',
credentials: credentials,
active_directory_settings: active_directory_settings,
base_url: 'YOUR BASE URL',
options: options
}
'credentials' are optional and if not passed in the hash, will be obtained
from MsRest::TokenCredentials using MsRestAzure::ApplicationTokenProvider.
Also, base_url, active_directory_settings & options are optional.
Calls superclass method
Azure::Resources::Profiles::V2017_03_09::Mgmt::ResourcesManagementClass::new
# File lib/profiles/v2017_03_09/resources_v2017_03_09_profile_client.rb, line 34 def initialize(options = {}) super(options) end