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.



755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
# File 'lib/latest/modules/datafactory_profile_module.rb', line 755

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



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

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.



753
754
755
# File 'lib/latest/modules/datafactory_profile_module.rb', line 753

def activity_runs
  @activity_runs
end

#base_urlObject (readonly)

Returns the value of attribute base_url.



753
754
755
# File 'lib/latest/modules/datafactory_profile_module.rb', line 753

def base_url
  @base_url
end

#configurableObject (readonly)

Returns the value of attribute configurable.



753
754
755
# File 'lib/latest/modules/datafactory_profile_module.rb', line 753

def configurable
  @configurable
end

#data_flow_debug_sessionObject (readonly)

Returns the value of attribute data_flow_debug_session.



753
754
755
# File 'lib/latest/modules/datafactory_profile_module.rb', line 753

def data_flow_debug_session
  @data_flow_debug_session
end

#data_flowsObject (readonly)

Returns the value of attribute data_flows.



753
754
755
# File 'lib/latest/modules/datafactory_profile_module.rb', line 753

def data_flows
  @data_flows
end

#datasetsObject (readonly)

Returns the value of attribute datasets.



753
754
755
# File 'lib/latest/modules/datafactory_profile_module.rb', line 753

def datasets
  @datasets
end

#exposure_controlObject (readonly)

Returns the value of attribute exposure_control.



753
754
755
# File 'lib/latest/modules/datafactory_profile_module.rb', line 753

def exposure_control
  @exposure_control
end

#factoriesObject (readonly)

Returns the value of attribute factories.



753
754
755
# File 'lib/latest/modules/datafactory_profile_module.rb', line 753

def factories
  @factories
end

#integration_runtime_nodesObject (readonly)

Returns the value of attribute integration_runtime_nodes.



753
754
755
# File 'lib/latest/modules/datafactory_profile_module.rb', line 753

def integration_runtime_nodes
  @integration_runtime_nodes
end

#integration_runtime_object_metadataObject (readonly)

Returns the value of attribute integration_runtime_object_metadata.



753
754
755
# File 'lib/latest/modules/datafactory_profile_module.rb', line 753

def 
  @integration_runtime_object_metadata
end

#integration_runtimesObject (readonly)

Returns the value of attribute integration_runtimes.



753
754
755
# File 'lib/latest/modules/datafactory_profile_module.rb', line 753

def integration_runtimes
  @integration_runtimes
end

#linked_servicesObject (readonly)

Returns the value of attribute linked_services.



753
754
755
# File 'lib/latest/modules/datafactory_profile_module.rb', line 753

def linked_services
  @linked_services
end

#managed_private_endpointsObject (readonly)

Returns the value of attribute managed_private_endpoints.



753
754
755
# File 'lib/latest/modules/datafactory_profile_module.rb', line 753

def managed_private_endpoints
  @managed_private_endpoints
end

#managed_virtual_networksObject (readonly)

Returns the value of attribute managed_virtual_networks.



753
754
755
# File 'lib/latest/modules/datafactory_profile_module.rb', line 753

def managed_virtual_networks
  @managed_virtual_networks
end

#model_classesObject (readonly)

Returns the value of attribute model_classes.



753
754
755
# File 'lib/latest/modules/datafactory_profile_module.rb', line 753

def model_classes
  @model_classes
end

#operationsObject (readonly)

Returns the value of attribute operations.



753
754
755
# File 'lib/latest/modules/datafactory_profile_module.rb', line 753

def operations
  @operations
end

#optionsObject (readonly)

Returns the value of attribute options.



753
754
755
# File 'lib/latest/modules/datafactory_profile_module.rb', line 753

def options
  @options
end

#pipeline_runsObject (readonly)

Returns the value of attribute pipeline_runs.



753
754
755
# File 'lib/latest/modules/datafactory_profile_module.rb', line 753

def pipeline_runs
  @pipeline_runs
end

#pipelinesObject (readonly)

Returns the value of attribute pipelines.



753
754
755
# File 'lib/latest/modules/datafactory_profile_module.rb', line 753

def pipelines
  @pipelines
end

#trigger_runsObject (readonly)

Returns the value of attribute trigger_runs.



753
754
755
# File 'lib/latest/modules/datafactory_profile_module.rb', line 753

def trigger_runs
  @trigger_runs
end

#triggersObject (readonly)

Returns the value of attribute triggers.



753
754
755
# File 'lib/latest/modules/datafactory_profile_module.rb', line 753

def triggers
  @triggers
end

Instance Method Details

#add_telemetry(client) ⇒ Object



784
785
786
787
# File 'lib/latest/modules/datafactory_profile_module.rb', line 784

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