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

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

Defined Under Namespace

Classes: ModelClasses

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(configurable, base_url = nil, options = nil) ⇒ DataFactoryManagementClass

Returns a new instance of DataFactoryManagementClass.



761
762
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
# File 'lib/latest/modules/datafactory_profile_module.rb', line 761

def initialize(configurable, base_url=nil, options=nil)
  @configurable, @base_url, @options = configurable, base_url, 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



795
796
797
798
799
800
801
# File 'lib/latest/modules/datafactory_profile_module.rb', line 795

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.



759
760
761
# File 'lib/latest/modules/datafactory_profile_module.rb', line 759

def activity_runs
  @activity_runs
end

#base_urlObject (readonly)

Returns the value of attribute base_url.



759
760
761
# File 'lib/latest/modules/datafactory_profile_module.rb', line 759

def base_url
  @base_url
end

#configurableObject (readonly)

Returns the value of attribute configurable.



759
760
761
# File 'lib/latest/modules/datafactory_profile_module.rb', line 759

def configurable
  @configurable
end

#data_flow_debug_sessionObject (readonly)

Returns the value of attribute data_flow_debug_session.



759
760
761
# File 'lib/latest/modules/datafactory_profile_module.rb', line 759

def data_flow_debug_session
  @data_flow_debug_session
end

#data_flowsObject (readonly)

Returns the value of attribute data_flows.



759
760
761
# File 'lib/latest/modules/datafactory_profile_module.rb', line 759

def data_flows
  @data_flows
end

#datasetsObject (readonly)

Returns the value of attribute datasets.



759
760
761
# File 'lib/latest/modules/datafactory_profile_module.rb', line 759

def datasets
  @datasets
end

#exposure_controlObject (readonly)

Returns the value of attribute exposure_control.



759
760
761
# File 'lib/latest/modules/datafactory_profile_module.rb', line 759

def exposure_control
  @exposure_control
end

#factoriesObject (readonly)

Returns the value of attribute factories.



759
760
761
# File 'lib/latest/modules/datafactory_profile_module.rb', line 759

def factories
  @factories
end

#integration_runtime_nodesObject (readonly)

Returns the value of attribute integration_runtime_nodes.



759
760
761
# File 'lib/latest/modules/datafactory_profile_module.rb', line 759

def integration_runtime_nodes
  @integration_runtime_nodes
end

#integration_runtime_object_metadataObject (readonly)

Returns the value of attribute integration_runtime_object_metadata.



759
760
761
# File 'lib/latest/modules/datafactory_profile_module.rb', line 759

def 
  @integration_runtime_object_metadata
end

#integration_runtimesObject (readonly)

Returns the value of attribute integration_runtimes.



759
760
761
# File 'lib/latest/modules/datafactory_profile_module.rb', line 759

def integration_runtimes
  @integration_runtimes
end

#linked_servicesObject (readonly)

Returns the value of attribute linked_services.



759
760
761
# File 'lib/latest/modules/datafactory_profile_module.rb', line 759

def linked_services
  @linked_services
end

#managed_private_endpointsObject (readonly)

Returns the value of attribute managed_private_endpoints.



759
760
761
# File 'lib/latest/modules/datafactory_profile_module.rb', line 759

def managed_private_endpoints
  @managed_private_endpoints
end

#managed_virtual_networksObject (readonly)

Returns the value of attribute managed_virtual_networks.



759
760
761
# File 'lib/latest/modules/datafactory_profile_module.rb', line 759

def managed_virtual_networks
  @managed_virtual_networks
end

#model_classesObject (readonly)

Returns the value of attribute model_classes.



759
760
761
# File 'lib/latest/modules/datafactory_profile_module.rb', line 759

def model_classes
  @model_classes
end

#operationsObject (readonly)

Returns the value of attribute operations.



759
760
761
# File 'lib/latest/modules/datafactory_profile_module.rb', line 759

def operations
  @operations
end

#optionsObject (readonly)

Returns the value of attribute options.



759
760
761
# File 'lib/latest/modules/datafactory_profile_module.rb', line 759

def options
  @options
end

#pipeline_runsObject (readonly)

Returns the value of attribute pipeline_runs.



759
760
761
# File 'lib/latest/modules/datafactory_profile_module.rb', line 759

def pipeline_runs
  @pipeline_runs
end

#pipelinesObject (readonly)

Returns the value of attribute pipelines.



759
760
761
# File 'lib/latest/modules/datafactory_profile_module.rb', line 759

def pipelines
  @pipelines
end

#trigger_runsObject (readonly)

Returns the value of attribute trigger_runs.



759
760
761
# File 'lib/latest/modules/datafactory_profile_module.rb', line 759

def trigger_runs
  @trigger_runs
end

#triggersObject (readonly)

Returns the value of attribute triggers.



759
760
761
# File 'lib/latest/modules/datafactory_profile_module.rb', line 759

def triggers
  @triggers
end

Instance Method Details

#add_telemetry(client) ⇒ Object



790
791
792
793
# File 'lib/latest/modules/datafactory_profile_module.rb', line 790

def add_telemetry(client)
  profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/DataFactory/Mgmt"
  client.add_user_agent_information(profile_information)
end