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

Inherits:
Object
  • Object
show all
Defined in:
lib/latest/modules/automation_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) ⇒ AutomationManagementClass

Returns a new instance of AutomationManagementClass.



187
188
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
# File 'lib/latest/modules/automation_profile_module.rb', line 187

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



236
237
238
239
240
241
242
# File 'lib/latest/modules/automation_profile_module.rb', line 236

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.



185
186
187
# File 'lib/latest/modules/automation_profile_module.rb', line 185

def activity_operations
  @activity_operations
end

#agent_registration_informationObject (readonly)

Returns the value of attribute agent_registration_information.



185
186
187
# File 'lib/latest/modules/automation_profile_module.rb', line 185

def agent_registration_information
  @agent_registration_information
end

#automation_account_operationsObject (readonly)

Returns the value of attribute automation_account_operations.



185
186
187
# File 'lib/latest/modules/automation_profile_module.rb', line 185

def 
  @automation_account_operations
end

#base_urlObject (readonly)

Returns the value of attribute base_url.



185
186
187
# File 'lib/latest/modules/automation_profile_module.rb', line 185

def base_url
  @base_url
end

#certificate_operationsObject (readonly)

Returns the value of attribute certificate_operations.



185
186
187
# File 'lib/latest/modules/automation_profile_module.rb', line 185

def certificate_operations
  @certificate_operations
end

#configurableObject (readonly)

Returns the value of attribute configurable.



185
186
187
# File 'lib/latest/modules/automation_profile_module.rb', line 185

def configurable
  @configurable
end

#connection_operationsObject (readonly)

Returns the value of attribute connection_operations.



185
186
187
# File 'lib/latest/modules/automation_profile_module.rb', line 185

def connection_operations
  @connection_operations
end

#connection_type_operationsObject (readonly)

Returns the value of attribute connection_type_operations.



185
186
187
# File 'lib/latest/modules/automation_profile_module.rb', line 185

def connection_type_operations
  @connection_type_operations
end

#credential_operationsObject (readonly)

Returns the value of attribute credential_operations.



185
186
187
# File 'lib/latest/modules/automation_profile_module.rb', line 185

def credential_operations
  @credential_operations
end

#dsc_compilation_job_operationsObject (readonly)

Returns the value of attribute dsc_compilation_job_operations.



185
186
187
# File 'lib/latest/modules/automation_profile_module.rb', line 185

def dsc_compilation_job_operations
  @dsc_compilation_job_operations
end

#dsc_compilation_job_streamObject (readonly)

Returns the value of attribute dsc_compilation_job_stream.



185
186
187
# File 'lib/latest/modules/automation_profile_module.rb', line 185

def dsc_compilation_job_stream
  @dsc_compilation_job_stream
end

#dsc_configuration_operationsObject (readonly)

Returns the value of attribute dsc_configuration_operations.



185
186
187
# File 'lib/latest/modules/automation_profile_module.rb', line 185

def dsc_configuration_operations
  @dsc_configuration_operations
end

#dsc_node_configuration_operationsObject (readonly)

Returns the value of attribute dsc_node_configuration_operations.



185
186
187
# File 'lib/latest/modules/automation_profile_module.rb', line 185

def dsc_node_configuration_operations
  @dsc_node_configuration_operations
end

#dsc_node_operationsObject (readonly)

Returns the value of attribute dsc_node_operations.



185
186
187
# File 'lib/latest/modules/automation_profile_module.rb', line 185

def dsc_node_operations
  @dsc_node_operations
end

#fieldsObject (readonly)

Returns the value of attribute fields.



185
186
187
# File 'lib/latest/modules/automation_profile_module.rb', line 185

def fields
  @fields
end

#hybrid_runbook_worker_group_operationsObject (readonly)

Returns the value of attribute hybrid_runbook_worker_group_operations.



185
186
187
# File 'lib/latest/modules/automation_profile_module.rb', line 185

def hybrid_runbook_worker_group_operations
  @hybrid_runbook_worker_group_operations
end

#job_operationsObject (readonly)

Returns the value of attribute job_operations.



185
186
187
# File 'lib/latest/modules/automation_profile_module.rb', line 185

def job_operations
  @job_operations
end

#job_schedule_operationsObject (readonly)

Returns the value of attribute job_schedule_operations.



185
186
187
# File 'lib/latest/modules/automation_profile_module.rb', line 185

def job_schedule_operations
  @job_schedule_operations
end

#job_stream_operationsObject (readonly)

Returns the value of attribute job_stream_operations.



185
186
187
# File 'lib/latest/modules/automation_profile_module.rb', line 185

def job_stream_operations
  @job_stream_operations
end

#keysObject (readonly)

Returns the value of attribute keys.



185
186
187
# File 'lib/latest/modules/automation_profile_module.rb', line 185

def keys
  @keys
end

#linked_workspace_operationsObject (readonly)

Returns the value of attribute linked_workspace_operations.



185
186
187
# File 'lib/latest/modules/automation_profile_module.rb', line 185

def linked_workspace_operations
  @linked_workspace_operations
end

#model_classesObject (readonly)

Returns the value of attribute model_classes.



185
186
187
# File 'lib/latest/modules/automation_profile_module.rb', line 185

def model_classes
  @model_classes
end

#module_model_operationsObject (readonly)

Returns the value of attribute module_model_operations.



185
186
187
# File 'lib/latest/modules/automation_profile_module.rb', line 185

def module_model_operations
  @module_model_operations
end

#node_reportsObject (readonly)

Returns the value of attribute node_reports.



185
186
187
# File 'lib/latest/modules/automation_profile_module.rb', line 185

def node_reports
  @node_reports
end

#object_data_typesObject (readonly)

Returns the value of attribute object_data_types.



185
186
187
# File 'lib/latest/modules/automation_profile_module.rb', line 185

def object_data_types
  @object_data_types
end

#operationsObject (readonly)

Returns the value of attribute operations.



185
186
187
# File 'lib/latest/modules/automation_profile_module.rb', line 185

def operations
  @operations
end

#optionsObject (readonly)

Returns the value of attribute options.



185
186
187
# File 'lib/latest/modules/automation_profile_module.rb', line 185

def options
  @options
end

#runbook_draft_operationsObject (readonly)

Returns the value of attribute runbook_draft_operations.



185
186
187
# File 'lib/latest/modules/automation_profile_module.rb', line 185

def runbook_draft_operations
  @runbook_draft_operations
end

#runbook_operationsObject (readonly)

Returns the value of attribute runbook_operations.



185
186
187
# File 'lib/latest/modules/automation_profile_module.rb', line 185

def runbook_operations
  @runbook_operations
end

#schedule_operationsObject (readonly)

Returns the value of attribute schedule_operations.



185
186
187
# File 'lib/latest/modules/automation_profile_module.rb', line 185

def schedule_operations
  @schedule_operations
end

#statistics_operationsObject (readonly)

Returns the value of attribute statistics_operations.



185
186
187
# File 'lib/latest/modules/automation_profile_module.rb', line 185

def statistics_operations
  @statistics_operations
end

#test_job_operationsObject (readonly)

Returns the value of attribute test_job_operations.



185
186
187
# File 'lib/latest/modules/automation_profile_module.rb', line 185

def test_job_operations
  @test_job_operations
end

#test_job_streamsObject (readonly)

Returns the value of attribute test_job_streams.



185
186
187
# File 'lib/latest/modules/automation_profile_module.rb', line 185

def test_job_streams
  @test_job_streams
end

#usagesObject (readonly)

Returns the value of attribute usages.



185
186
187
# File 'lib/latest/modules/automation_profile_module.rb', line 185

def usages
  @usages
end

#variable_operationsObject (readonly)

Returns the value of attribute variable_operations.



185
186
187
# File 'lib/latest/modules/automation_profile_module.rb', line 185

def variable_operations
  @variable_operations
end

#webhook_operationsObject (readonly)

Returns the value of attribute webhook_operations.



185
186
187
# File 'lib/latest/modules/automation_profile_module.rb', line 185

def webhook_operations
  @webhook_operations
end

Instance Method Details

#add_telemetry(client) ⇒ Object



231
232
233
234
# File 'lib/latest/modules/automation_profile_module.rb', line 231

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