Class: Azure::Automation::Profiles::Latest::Mgmt::AutomationManagementClass
- Inherits:
-
Object
- Object
- Azure::Automation::Profiles::Latest::Mgmt::AutomationManagementClass
- Defined in:
- lib/profiles/latest/modules/automation_profile_module.rb
Overview
AutomationManagementClass
Direct Known Subclasses
Instance Attribute Summary collapse
-
#activity_operations ⇒ Object
readonly
Returns the value of attribute activity_operations.
-
#agent_registration_information ⇒ Object
readonly
Returns the value of attribute agent_registration_information.
-
#automation_account_operations ⇒ Object
readonly
Returns the value of attribute automation_account_operations.
-
#base_url ⇒ Object
readonly
Returns the value of attribute base_url.
-
#certificate_operations ⇒ Object
readonly
Returns the value of attribute certificate_operations.
-
#configurable ⇒ Object
readonly
Returns the value of attribute configurable.
-
#connection_operations ⇒ Object
readonly
Returns the value of attribute connection_operations.
-
#connection_type_operations ⇒ Object
readonly
Returns the value of attribute connection_type_operations.
-
#credential_operations ⇒ Object
readonly
Returns the value of attribute credential_operations.
-
#dsc_compilation_job_operations ⇒ Object
readonly
Returns the value of attribute dsc_compilation_job_operations.
-
#dsc_compilation_job_stream ⇒ Object
readonly
Returns the value of attribute dsc_compilation_job_stream.
-
#dsc_configuration_operations ⇒ Object
readonly
Returns the value of attribute dsc_configuration_operations.
-
#dsc_node_configuration_operations ⇒ Object
readonly
Returns the value of attribute dsc_node_configuration_operations.
-
#dsc_node_operations ⇒ Object
readonly
Returns the value of attribute dsc_node_operations.
-
#fields ⇒ Object
readonly
Returns the value of attribute fields.
-
#hybrid_runbook_worker_group_operations ⇒ Object
readonly
Returns the value of attribute hybrid_runbook_worker_group_operations.
-
#job_operations ⇒ Object
readonly
Returns the value of attribute job_operations.
-
#job_schedule_operations ⇒ Object
readonly
Returns the value of attribute job_schedule_operations.
-
#job_stream_operations ⇒ Object
readonly
Returns the value of attribute job_stream_operations.
-
#keys ⇒ Object
readonly
Returns the value of attribute keys.
-
#linked_workspace_operations ⇒ Object
readonly
Returns the value of attribute linked_workspace_operations.
-
#model_classes ⇒ Object
readonly
Returns the value of attribute model_classes.
-
#module_model_operations ⇒ Object
readonly
Returns the value of attribute module_model_operations.
-
#node_reports ⇒ Object
readonly
Returns the value of attribute node_reports.
-
#object_data_types ⇒ Object
readonly
Returns the value of attribute object_data_types.
-
#operations ⇒ Object
readonly
Returns the value of attribute operations.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#runbook_draft_operations ⇒ Object
readonly
Returns the value of attribute runbook_draft_operations.
-
#runbook_operations ⇒ Object
readonly
Returns the value of attribute runbook_operations.
-
#schedule_operations ⇒ Object
readonly
Returns the value of attribute schedule_operations.
-
#statistics_operations ⇒ Object
readonly
Returns the value of attribute statistics_operations.
-
#test_job_operations ⇒ Object
readonly
Returns the value of attribute test_job_operations.
-
#test_job_streams ⇒ Object
readonly
Returns the value of attribute test_job_streams.
-
#usages ⇒ Object
readonly
Returns the value of attribute usages.
-
#variable_operations ⇒ Object
readonly
Returns the value of attribute variable_operations.
-
#webhook_operations ⇒ Object
readonly
Returns the value of attribute webhook_operations.
Instance Method Summary collapse
- #add_telemetry(client) ⇒ Object
-
#initialize(options = {}) ⇒ AutomationManagementClass
constructor
A new instance of AutomationManagementClass.
- #method_missing(method, *args) ⇒ Object
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( = {}) if .is_a?(Hash) && .length == 0 @options = else @options = end reset!() @configurable = self @base_url = [:base_url].nil? ? nil:[:base_url] @options = [:options].nil? ? nil:[:options] @client_0 = Azure::Automation::Mgmt::V2015_10_31::AutomationClient.new(configurable.credentials, base_url, ) if(@client_0.respond_to?(:subscription_id)) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) @automation_account_operations = @client_0.automation_account_operations @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_operations ⇒ Object (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_information ⇒ Object (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_operations ⇒ Object (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 @automation_account_operations end |
#base_url ⇒ Object (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_operations ⇒ Object (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 |
#configurable ⇒ Object (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_operations ⇒ Object (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_operations ⇒ Object (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_operations ⇒ Object (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_operations ⇒ Object (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_stream ⇒ Object (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_operations ⇒ Object (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_operations ⇒ Object (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_operations ⇒ Object (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 |
#fields ⇒ Object (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_operations ⇒ Object (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_operations ⇒ Object (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_operations ⇒ Object (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_operations ⇒ Object (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 |
#keys ⇒ Object (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_operations ⇒ Object (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_classes ⇒ Object (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_operations ⇒ Object (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_reports ⇒ Object (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_types ⇒ Object (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 |
#operations ⇒ Object (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 |
#options ⇒ Object (readonly)
Returns the value of attribute options.
187 188 189 |
# File 'lib/profiles/latest/modules/automation_profile_module.rb', line 187 def @options end |
#runbook_draft_operations ⇒ Object (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_operations ⇒ Object (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_operations ⇒ Object (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_operations ⇒ Object (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_operations ⇒ Object (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_streams ⇒ Object (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 |
#usages ⇒ Object (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_operations ⇒ Object (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_operations ⇒ Object (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 |