Class: Azure::Automation::Profiles::Latest::Mgmt::AutomationManagementClass

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

Overview

AutomationManagementClass

Direct Known Subclasses

Client

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ AutomationManagementClass

Returns a new instance of AutomationManagementClass.



189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
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
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 189

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::Automation::Mgmt::V2015_10_31::AutomationClient.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)
  @automation_account_operations = @client_0.
  @operations = @client_0.operations
  @statistics_operations = @client_0.statistics_operations
  @usages = @client_0.usages
  @keys = @client_0.keys
  @certificate_operations = @client_0.certificate_operations
  @connection_operations = @client_0.connection_operations
  @connection_type_operations = @client_0.connection_type_operations
  @credential_operations = @client_0.credential_operations
  @dsc_compilation_job_operations = @client_0.dsc_compilation_job_operations
  @dsc_compilation_job_stream = @client_0.dsc_compilation_job_stream
  @dsc_configuration_operations = @client_0.dsc_configuration_operations
  @agent_registration_information = @client_0.agent_registration_information
  @dsc_node_operations = @client_0.dsc_node_operations
  @node_reports = @client_0.node_reports
  @dsc_node_configuration_operations = @client_0.dsc_node_configuration_operations
  @hybrid_runbook_worker_group_operations = @client_0.hybrid_runbook_worker_group_operations
  @job_operations = @client_0.job_operations
  @job_stream_operations = @client_0.job_stream_operations
  @job_schedule_operations = @client_0.job_schedule_operations
  @linked_workspace_operations = @client_0.linked_workspace_operations
  @activity_operations = @client_0.activity_operations
  @module_model_operations = @client_0.module_model_operations
  @object_data_types = @client_0.object_data_types
  @fields = @client_0.fields
  @runbook_draft_operations = @client_0.runbook_draft_operations
  @runbook_operations = @client_0.runbook_operations
  @test_job_streams = @client_0.test_job_streams
  @test_job_operations = @client_0.test_job_operations
  @schedule_operations = @client_0.schedule_operations
  @variable_operations = @client_0.variable_operations
  @webhook_operations = @client_0.webhook_operations

  @model_classes = ModelClasses.new
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method, *args) ⇒ Object



248
249
250
251
252
253
254
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 248

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

Instance Attribute Details

#activity_operationsObject (readonly)

Returns the value of attribute activity_operations.



187
188
189
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 187

def activity_operations
  @activity_operations
end

#agent_registration_informationObject (readonly)

Returns the value of attribute agent_registration_information.



187
188
189
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 187

def agent_registration_information
  @agent_registration_information
end

#automation_account_operationsObject (readonly)

Returns the value of attribute automation_account_operations.



187
188
189
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 187

def 
  @automation_account_operations
end

#base_urlObject (readonly)

Returns the value of attribute base_url.



187
188
189
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 187

def base_url
  @base_url
end

#certificate_operationsObject (readonly)

Returns the value of attribute certificate_operations.



187
188
189
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 187

def certificate_operations
  @certificate_operations
end

#configurableObject (readonly)

Returns the value of attribute configurable.



187
188
189
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 187

def configurable
  @configurable
end

#connection_operationsObject (readonly)

Returns the value of attribute connection_operations.



187
188
189
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 187

def connection_operations
  @connection_operations
end

#connection_type_operationsObject (readonly)

Returns the value of attribute connection_type_operations.



187
188
189
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 187

def connection_type_operations
  @connection_type_operations
end

#credential_operationsObject (readonly)

Returns the value of attribute credential_operations.



187
188
189
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 187

def credential_operations
  @credential_operations
end

#dsc_compilation_job_operationsObject (readonly)

Returns the value of attribute dsc_compilation_job_operations.



187
188
189
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 187

def dsc_compilation_job_operations
  @dsc_compilation_job_operations
end

#dsc_compilation_job_streamObject (readonly)

Returns the value of attribute dsc_compilation_job_stream.



187
188
189
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 187

def dsc_compilation_job_stream
  @dsc_compilation_job_stream
end

#dsc_configuration_operationsObject (readonly)

Returns the value of attribute dsc_configuration_operations.



187
188
189
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 187

def dsc_configuration_operations
  @dsc_configuration_operations
end

#dsc_node_configuration_operationsObject (readonly)

Returns the value of attribute dsc_node_configuration_operations.



187
188
189
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 187

def dsc_node_configuration_operations
  @dsc_node_configuration_operations
end

#dsc_node_operationsObject (readonly)

Returns the value of attribute dsc_node_operations.



187
188
189
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 187

def dsc_node_operations
  @dsc_node_operations
end

#fieldsObject (readonly)

Returns the value of attribute fields.



187
188
189
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 187

def fields
  @fields
end

#hybrid_runbook_worker_group_operationsObject (readonly)

Returns the value of attribute hybrid_runbook_worker_group_operations.



187
188
189
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 187

def hybrid_runbook_worker_group_operations
  @hybrid_runbook_worker_group_operations
end

#job_operationsObject (readonly)

Returns the value of attribute job_operations.



187
188
189
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 187

def job_operations
  @job_operations
end

#job_schedule_operationsObject (readonly)

Returns the value of attribute job_schedule_operations.



187
188
189
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 187

def job_schedule_operations
  @job_schedule_operations
end

#job_stream_operationsObject (readonly)

Returns the value of attribute job_stream_operations.



187
188
189
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 187

def job_stream_operations
  @job_stream_operations
end

#keysObject (readonly)

Returns the value of attribute keys.



187
188
189
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 187

def keys
  @keys
end

#linked_workspace_operationsObject (readonly)

Returns the value of attribute linked_workspace_operations.



187
188
189
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 187

def linked_workspace_operations
  @linked_workspace_operations
end

#model_classesObject (readonly)

Returns the value of attribute model_classes.



187
188
189
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 187

def model_classes
  @model_classes
end

#module_model_operationsObject (readonly)

Returns the value of attribute module_model_operations.



187
188
189
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 187

def module_model_operations
  @module_model_operations
end

#node_reportsObject (readonly)

Returns the value of attribute node_reports.



187
188
189
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 187

def node_reports
  @node_reports
end

#object_data_typesObject (readonly)

Returns the value of attribute object_data_types.



187
188
189
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 187

def object_data_types
  @object_data_types
end

#operationsObject (readonly)

Returns the value of attribute operations.



187
188
189
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 187

def operations
  @operations
end

#optionsObject (readonly)

Returns the value of attribute options.



187
188
189
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 187

def options
  @options
end

#runbook_draft_operationsObject (readonly)

Returns the value of attribute runbook_draft_operations.



187
188
189
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 187

def runbook_draft_operations
  @runbook_draft_operations
end

#runbook_operationsObject (readonly)

Returns the value of attribute runbook_operations.



187
188
189
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 187

def runbook_operations
  @runbook_operations
end

#schedule_operationsObject (readonly)

Returns the value of attribute schedule_operations.



187
188
189
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 187

def schedule_operations
  @schedule_operations
end

#statistics_operationsObject (readonly)

Returns the value of attribute statistics_operations.



187
188
189
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 187

def statistics_operations
  @statistics_operations
end

#test_job_operationsObject (readonly)

Returns the value of attribute test_job_operations.



187
188
189
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 187

def test_job_operations
  @test_job_operations
end

#test_job_streamsObject (readonly)

Returns the value of attribute test_job_streams.



187
188
189
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 187

def test_job_streams
  @test_job_streams
end

#usagesObject (readonly)

Returns the value of attribute usages.



187
188
189
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 187

def usages
  @usages
end

#variable_operationsObject (readonly)

Returns the value of attribute variable_operations.



187
188
189
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 187

def variable_operations
  @variable_operations
end

#webhook_operationsObject (readonly)

Returns the value of attribute webhook_operations.



187
188
189
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 187

def webhook_operations
  @webhook_operations
end

Instance Method Details

#add_telemetry(client) ⇒ Object



243
244
245
246
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 243

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