Class: Azure::DataFactory::Profiles::Latest::Mgmt::DataFactoryManagementClass

Inherits:
Object
  • Object
show all
Defined in:
lib/profiles/latest/modules/datafactory_profile_module.rb

Overview

DataFactoryManagementClass

Direct Known Subclasses

Client

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ DataFactoryManagementClass

Returns a new instance of DataFactoryManagementClass.



763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
# File 'lib/profiles/latest/modules/datafactory_profile_module.rb', line 763

def initialize(options = {})
  if options.is_a?(Hash) && options.length == 0
    @options = setup_default_options
  else
    @options = options
  end

  reset!(options)

  @configurable = self
  @base_url = options[:base_url].nil? ? nil:options[:base_url]
  @options = options[:options].nil? ? nil:options[:options]

  @client_0 = Azure::DataFactory::Mgmt::V2018_06_01::DataFactoryManagementClient.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)
  @operations = @client_0.operations
  @factories = @client_0.factories
  @exposure_control = @client_0.exposure_control
  @integration_runtimes = @client_0.integration_runtimes
  @integration_runtime_object_metadata = @client_0.
  @integration_runtime_nodes = @client_0.integration_runtime_nodes
  @linked_services = @client_0.linked_services
  @datasets = @client_0.datasets
  @pipelines = @client_0.pipelines
  @pipeline_runs = @client_0.pipeline_runs
  @activity_runs = @client_0.activity_runs
  @triggers = @client_0.triggers
  @trigger_runs = @client_0.trigger_runs
  @data_flows = @client_0.data_flows
  @data_flow_debug_session = @client_0.data_flow_debug_session
  @managed_virtual_networks = @client_0.managed_virtual_networks
  @managed_private_endpoints = @client_0.managed_private_endpoints

  @model_classes = ModelClasses.new
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method, *args) ⇒ Object



807
808
809
810
811
812
813
# File 'lib/profiles/latest/modules/datafactory_profile_module.rb', line 807

def method_missing(method, *args)
  if @client_0.respond_to?method
    @client_0.send(method, *args)
  else
    super
  end
end

Instance Attribute Details

#activity_runsObject (readonly)

Returns the value of attribute activity_runs.



761
762
763
# File 'lib/profiles/latest/modules/datafactory_profile_module.rb', line 761

def activity_runs
  @activity_runs
end

#base_urlObject (readonly)

Returns the value of attribute base_url.



761
762
763
# File 'lib/profiles/latest/modules/datafactory_profile_module.rb', line 761

def base_url
  @base_url
end

#configurableObject (readonly)

Returns the value of attribute configurable.



761
762
763
# File 'lib/profiles/latest/modules/datafactory_profile_module.rb', line 761

def configurable
  @configurable
end

#data_flow_debug_sessionObject (readonly)

Returns the value of attribute data_flow_debug_session.



761
762
763
# File 'lib/profiles/latest/modules/datafactory_profile_module.rb', line 761

def data_flow_debug_session
  @data_flow_debug_session
end

#data_flowsObject (readonly)

Returns the value of attribute data_flows.



761
762
763
# File 'lib/profiles/latest/modules/datafactory_profile_module.rb', line 761

def data_flows
  @data_flows
end

#datasetsObject (readonly)

Returns the value of attribute datasets.



761
762
763
# File 'lib/profiles/latest/modules/datafactory_profile_module.rb', line 761

def datasets
  @datasets
end

#exposure_controlObject (readonly)

Returns the value of attribute exposure_control.



761
762
763
# File 'lib/profiles/latest/modules/datafactory_profile_module.rb', line 761

def exposure_control
  @exposure_control
end

#factoriesObject (readonly)

Returns the value of attribute factories.



761
762
763
# File 'lib/profiles/latest/modules/datafactory_profile_module.rb', line 761

def factories
  @factories
end

#integration_runtime_nodesObject (readonly)

Returns the value of attribute integration_runtime_nodes.



761
762
763
# File 'lib/profiles/latest/modules/datafactory_profile_module.rb', line 761

def integration_runtime_nodes
  @integration_runtime_nodes
end

#integration_runtime_object_metadataObject (readonly)

Returns the value of attribute integration_runtime_object_metadata.



761
762
763
# File 'lib/profiles/latest/modules/datafactory_profile_module.rb', line 761

def 
  @integration_runtime_object_metadata
end

#integration_runtimesObject (readonly)

Returns the value of attribute integration_runtimes.



761
762
763
# File 'lib/profiles/latest/modules/datafactory_profile_module.rb', line 761

def integration_runtimes
  @integration_runtimes
end

#linked_servicesObject (readonly)

Returns the value of attribute linked_services.



761
762
763
# File 'lib/profiles/latest/modules/datafactory_profile_module.rb', line 761

def linked_services
  @linked_services
end

#managed_private_endpointsObject (readonly)

Returns the value of attribute managed_private_endpoints.



761
762
763
# File 'lib/profiles/latest/modules/datafactory_profile_module.rb', line 761

def managed_private_endpoints
  @managed_private_endpoints
end

#managed_virtual_networksObject (readonly)

Returns the value of attribute managed_virtual_networks.



761
762
763
# File 'lib/profiles/latest/modules/datafactory_profile_module.rb', line 761

def managed_virtual_networks
  @managed_virtual_networks
end

#model_classesObject (readonly)

Returns the value of attribute model_classes.



761
762
763
# File 'lib/profiles/latest/modules/datafactory_profile_module.rb', line 761

def model_classes
  @model_classes
end

#operationsObject (readonly)

Returns the value of attribute operations.



761
762
763
# File 'lib/profiles/latest/modules/datafactory_profile_module.rb', line 761

def operations
  @operations
end

#optionsObject (readonly)

Returns the value of attribute options.



761
762
763
# File 'lib/profiles/latest/modules/datafactory_profile_module.rb', line 761

def options
  @options
end

#pipeline_runsObject (readonly)

Returns the value of attribute pipeline_runs.



761
762
763
# File 'lib/profiles/latest/modules/datafactory_profile_module.rb', line 761

def pipeline_runs
  @pipeline_runs
end

#pipelinesObject (readonly)

Returns the value of attribute pipelines.



761
762
763
# File 'lib/profiles/latest/modules/datafactory_profile_module.rb', line 761

def pipelines
  @pipelines
end

#trigger_runsObject (readonly)

Returns the value of attribute trigger_runs.



761
762
763
# File 'lib/profiles/latest/modules/datafactory_profile_module.rb', line 761

def trigger_runs
  @trigger_runs
end

#triggersObject (readonly)

Returns the value of attribute triggers.



761
762
763
# File 'lib/profiles/latest/modules/datafactory_profile_module.rb', line 761

def triggers
  @triggers
end

Instance Method Details

#add_telemetry(client) ⇒ Object



802
803
804
805
# File 'lib/profiles/latest/modules/datafactory_profile_module.rb', line 802

def add_telemetry(client)
  profile_information = 'Profiles/Latest/DataFactory/Mgmt'
  client.add_user_agent_information(profile_information)
end