Class: Azure::Logic::Profiles::Latest::Mgmt::LogicManagementClass

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

Overview

LogicManagementClass

Direct Known Subclasses

Client

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ LogicManagementClass

Returns a new instance of LogicManagementClass.



215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
# File 'lib/profiles/latest/modules/logic_profile_module.rb', line 215

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::Logic::Mgmt::V2018_07_01_preview::LogicManagementClient.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)
  @workflows = @client_0.workflows
  @workflow_versions = @client_0.workflow_versions
  @workflow_triggers = @client_0.workflow_triggers
  @workflow_version_triggers = @client_0.workflow_version_triggers
  @workflow_trigger_histories = @client_0.workflow_trigger_histories
  @workflow_runs = @client_0.workflow_runs
  @workflow_run_actions = @client_0.workflow_run_actions
  @workflow_run_action_repetitions = @client_0.workflow_run_action_repetitions
  @workflow_run_action_repetitions_request_histories = @client_0.workflow_run_action_repetitions_request_histories
  @workflow_run_action_request_histories = @client_0.workflow_run_action_request_histories
  @workflow_run_action_scope_repetitions = @client_0.workflow_run_action_scope_repetitions
  @workflow_run_operations = @client_0.workflow_run_operations
  @integration_accounts = @client_0.integration_accounts
  @integration_account_assemblies = @client_0.
  @integration_account_batch_configurations = @client_0.
  @integration_account_schemas = @client_0.
  @integration_account_maps = @client_0.
  @integration_account_partners = @client_0.
  @integration_account_agreements = @client_0.
  @integration_account_certificates = @client_0.
  @integration_account_sessions = @client_0.
  @operations = @client_0.operations

  @model_classes = ModelClasses.new
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method, *args) ⇒ Object



264
265
266
267
268
269
270
# File 'lib/profiles/latest/modules/logic_profile_module.rb', line 264

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

Instance Attribute Details

#base_urlObject (readonly)

Returns the value of attribute base_url.



213
214
215
# File 'lib/profiles/latest/modules/logic_profile_module.rb', line 213

def base_url
  @base_url
end

#configurableObject (readonly)

Returns the value of attribute configurable.



213
214
215
# File 'lib/profiles/latest/modules/logic_profile_module.rb', line 213

def configurable
  @configurable
end

#integration_account_agreementsObject (readonly)

Returns the value of attribute integration_account_agreements.



213
214
215
# File 'lib/profiles/latest/modules/logic_profile_module.rb', line 213

def 
  @integration_account_agreements
end

#integration_account_assembliesObject (readonly)

Returns the value of attribute integration_account_assemblies.



213
214
215
# File 'lib/profiles/latest/modules/logic_profile_module.rb', line 213

def 
  @integration_account_assemblies
end

#integration_account_batch_configurationsObject (readonly)

Returns the value of attribute integration_account_batch_configurations.



213
214
215
# File 'lib/profiles/latest/modules/logic_profile_module.rb', line 213

def 
  @integration_account_batch_configurations
end

#integration_account_certificatesObject (readonly)

Returns the value of attribute integration_account_certificates.



213
214
215
# File 'lib/profiles/latest/modules/logic_profile_module.rb', line 213

def 
  @integration_account_certificates
end

#integration_account_mapsObject (readonly)

Returns the value of attribute integration_account_maps.



213
214
215
# File 'lib/profiles/latest/modules/logic_profile_module.rb', line 213

def 
  @integration_account_maps
end

#integration_account_partnersObject (readonly)

Returns the value of attribute integration_account_partners.



213
214
215
# File 'lib/profiles/latest/modules/logic_profile_module.rb', line 213

def 
  @integration_account_partners
end

#integration_account_schemasObject (readonly)

Returns the value of attribute integration_account_schemas.



213
214
215
# File 'lib/profiles/latest/modules/logic_profile_module.rb', line 213

def 
  @integration_account_schemas
end

#integration_account_sessionsObject (readonly)

Returns the value of attribute integration_account_sessions.



213
214
215
# File 'lib/profiles/latest/modules/logic_profile_module.rb', line 213

def 
  @integration_account_sessions
end

#integration_accountsObject (readonly)

Returns the value of attribute integration_accounts.



213
214
215
# File 'lib/profiles/latest/modules/logic_profile_module.rb', line 213

def integration_accounts
  @integration_accounts
end

#model_classesObject (readonly)

Returns the value of attribute model_classes.



213
214
215
# File 'lib/profiles/latest/modules/logic_profile_module.rb', line 213

def model_classes
  @model_classes
end

#operationsObject (readonly)

Returns the value of attribute operations.



213
214
215
# File 'lib/profiles/latest/modules/logic_profile_module.rb', line 213

def operations
  @operations
end

#optionsObject (readonly)

Returns the value of attribute options.



213
214
215
# File 'lib/profiles/latest/modules/logic_profile_module.rb', line 213

def options
  @options
end

#workflow_run_action_repetitionsObject (readonly)

Returns the value of attribute workflow_run_action_repetitions.



213
214
215
# File 'lib/profiles/latest/modules/logic_profile_module.rb', line 213

def workflow_run_action_repetitions
  @workflow_run_action_repetitions
end

#workflow_run_action_repetitions_request_historiesObject (readonly)

Returns the value of attribute workflow_run_action_repetitions_request_histories.



213
214
215
# File 'lib/profiles/latest/modules/logic_profile_module.rb', line 213

def workflow_run_action_repetitions_request_histories
  @workflow_run_action_repetitions_request_histories
end

#workflow_run_action_request_historiesObject (readonly)

Returns the value of attribute workflow_run_action_request_histories.



213
214
215
# File 'lib/profiles/latest/modules/logic_profile_module.rb', line 213

def workflow_run_action_request_histories
  @workflow_run_action_request_histories
end

#workflow_run_action_scope_repetitionsObject (readonly)

Returns the value of attribute workflow_run_action_scope_repetitions.



213
214
215
# File 'lib/profiles/latest/modules/logic_profile_module.rb', line 213

def workflow_run_action_scope_repetitions
  @workflow_run_action_scope_repetitions
end

#workflow_run_actionsObject (readonly)

Returns the value of attribute workflow_run_actions.



213
214
215
# File 'lib/profiles/latest/modules/logic_profile_module.rb', line 213

def workflow_run_actions
  @workflow_run_actions
end

#workflow_run_operationsObject (readonly)

Returns the value of attribute workflow_run_operations.



213
214
215
# File 'lib/profiles/latest/modules/logic_profile_module.rb', line 213

def workflow_run_operations
  @workflow_run_operations
end

#workflow_runsObject (readonly)

Returns the value of attribute workflow_runs.



213
214
215
# File 'lib/profiles/latest/modules/logic_profile_module.rb', line 213

def workflow_runs
  @workflow_runs
end

#workflow_trigger_historiesObject (readonly)

Returns the value of attribute workflow_trigger_histories.



213
214
215
# File 'lib/profiles/latest/modules/logic_profile_module.rb', line 213

def workflow_trigger_histories
  @workflow_trigger_histories
end

#workflow_triggersObject (readonly)

Returns the value of attribute workflow_triggers.



213
214
215
# File 'lib/profiles/latest/modules/logic_profile_module.rb', line 213

def workflow_triggers
  @workflow_triggers
end

#workflow_version_triggersObject (readonly)

Returns the value of attribute workflow_version_triggers.



213
214
215
# File 'lib/profiles/latest/modules/logic_profile_module.rb', line 213

def workflow_version_triggers
  @workflow_version_triggers
end

#workflow_versionsObject (readonly)

Returns the value of attribute workflow_versions.



213
214
215
# File 'lib/profiles/latest/modules/logic_profile_module.rb', line 213

def workflow_versions
  @workflow_versions
end

#workflowsObject (readonly)

Returns the value of attribute workflows.



213
214
215
# File 'lib/profiles/latest/modules/logic_profile_module.rb', line 213

def workflows
  @workflows
end

Instance Method Details

#add_telemetry(client) ⇒ Object



259
260
261
262
# File 'lib/profiles/latest/modules/logic_profile_module.rb', line 259

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