class Azure::Profiles::Latest::ImportExport::Mgmt::ImportExportManagementClass

Attributes

base_url[R]
bit_locker_keys[R]
configurable[R]
jobs[R]
locations[R]
model_classes[R]
operations[R]
options[R]

Public Class Methods

new(configurable, base_url=nil, options=nil) click to toggle source
# File lib/latest/modules/importexport_profile_module.rb, line 41
def initialize(configurable, base_url=nil, options=nil)
  @configurable, @base_url, @options = configurable, base_url, options

  @client_0 = Azure::ImportExport::Mgmt::V2016_11_01::StorageImportExport.new(configurable.credentials, base_url, options)
  if(@client_0.respond_to?(:subscription_id))
    @client_0.subscription_id = configurable.subscription_id
  end
  add_telemetry(@client_0)
  @locations = @client_0.locations
  @jobs = @client_0.jobs
  @bit_locker_keys = @client_0.bit_locker_keys
  @operations = @client_0.operations

  @model_classes = ModelClasses.new
end

Public Instance Methods

add_telemetry(client) click to toggle source
# File lib/latest/modules/importexport_profile_module.rb, line 57
def add_telemetry(client)
  profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/ImportExport/Mgmt"
  client.add_user_agent_information(profile_information)
end
method_missing(method, *args) click to toggle source
Calls superclass method
# File lib/latest/modules/importexport_profile_module.rb, line 62
def method_missing(method, *args)
  if @client_0.respond_to?method
    @client_0.send(method, *args)
  else
    super
  end
end