# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

require 'uri'
require 'cgi'
require 'date'
require 'json'
require 'base64'
require 'erb'
require 'securerandom'
require 'time'
require 'timeliness'
require 'faraday'
require 'faraday-cookie_jar'
require 'concurrent'
require 'ms_rest'
require '2015-10-31/generated/azure_mgmt_automation/module_definition'
require 'ms_rest_azure'

module Azure::Automation::Mgmt::V2015_10_31
  autoload :AutomationAccountOperations,                        '2015-10-31/generated/azure_mgmt_automation/automation_account_operations.rb'
  autoload :Operations,                                         '2015-10-31/generated/azure_mgmt_automation/operations.rb'
  autoload :StatisticsOperations,                               '2015-10-31/generated/azure_mgmt_automation/statistics_operations.rb'
  autoload :Usages,                                             '2015-10-31/generated/azure_mgmt_automation/usages.rb'
  autoload :Keys,                                               '2015-10-31/generated/azure_mgmt_automation/keys.rb'
  autoload :CertificateOperations,                              '2015-10-31/generated/azure_mgmt_automation/certificate_operations.rb'
  autoload :ConnectionOperations,                               '2015-10-31/generated/azure_mgmt_automation/connection_operations.rb'
  autoload :ConnectionTypeOperations,                           '2015-10-31/generated/azure_mgmt_automation/connection_type_operations.rb'
  autoload :CredentialOperations,                               '2015-10-31/generated/azure_mgmt_automation/credential_operations.rb'
  autoload :DscCompilationJobOperations,                        '2015-10-31/generated/azure_mgmt_automation/dsc_compilation_job_operations.rb'
  autoload :DscCompilationJobStream,                            '2015-10-31/generated/azure_mgmt_automation/dsc_compilation_job_stream.rb'
  autoload :DscConfigurationOperations,                         '2015-10-31/generated/azure_mgmt_automation/dsc_configuration_operations.rb'
  autoload :AgentRegistrationInformation,                       '2015-10-31/generated/azure_mgmt_automation/agent_registration_information.rb'
  autoload :DscNodeOperations,                                  '2015-10-31/generated/azure_mgmt_automation/dsc_node_operations.rb'
  autoload :NodeReports,                                        '2015-10-31/generated/azure_mgmt_automation/node_reports.rb'
  autoload :DscNodeConfigurationOperations,                     '2015-10-31/generated/azure_mgmt_automation/dsc_node_configuration_operations.rb'
  autoload :HybridRunbookWorkerGroupOperations,                 '2015-10-31/generated/azure_mgmt_automation/hybrid_runbook_worker_group_operations.rb'
  autoload :JobOperations,                                      '2015-10-31/generated/azure_mgmt_automation/job_operations.rb'
  autoload :JobStreamOperations,                                '2015-10-31/generated/azure_mgmt_automation/job_stream_operations.rb'
  autoload :JobScheduleOperations,                              '2015-10-31/generated/azure_mgmt_automation/job_schedule_operations.rb'
  autoload :LinkedWorkspaceOperations,                          '2015-10-31/generated/azure_mgmt_automation/linked_workspace_operations.rb'
  autoload :ActivityOperations,                                 '2015-10-31/generated/azure_mgmt_automation/activity_operations.rb'
  autoload :ModuleModelOperations,                              '2015-10-31/generated/azure_mgmt_automation/module_model_operations.rb'
  autoload :ObjectDataTypes,                                    '2015-10-31/generated/azure_mgmt_automation/object_data_types.rb'
  autoload :Fields,                                             '2015-10-31/generated/azure_mgmt_automation/fields.rb'
  autoload :RunbookDraftOperations,                             '2015-10-31/generated/azure_mgmt_automation/runbook_draft_operations.rb'
  autoload :RunbookOperations,                                  '2015-10-31/generated/azure_mgmt_automation/runbook_operations.rb'
  autoload :TestJobStreams,                                     '2015-10-31/generated/azure_mgmt_automation/test_job_streams.rb'
  autoload :TestJobOperations,                                  '2015-10-31/generated/azure_mgmt_automation/test_job_operations.rb'
  autoload :ScheduleOperations,                                 '2015-10-31/generated/azure_mgmt_automation/schedule_operations.rb'
  autoload :VariableOperations,                                 '2015-10-31/generated/azure_mgmt_automation/variable_operations.rb'
  autoload :WebhookOperations,                                  '2015-10-31/generated/azure_mgmt_automation/webhook_operations.rb'
  autoload :AutomationClient,                                   '2015-10-31/generated/azure_mgmt_automation/automation_client.rb'

  module Models
    autoload :AgentRegistration,                                  '2015-10-31/generated/azure_mgmt_automation/models/agent_registration.rb'
    autoload :DscNodeExtensionHandlerAssociationProperty,         '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_extension_handler_association_property.rb'
    autoload :DscReportError,                                     '2015-10-31/generated/azure_mgmt_automation/models/dsc_report_error.rb'
    autoload :DscReportResourceNavigation,                        '2015-10-31/generated/azure_mgmt_automation/models/dsc_report_resource_navigation.rb'
    autoload :AutomationAccountListResult,                        '2015-10-31/generated/azure_mgmt_automation/models/automation_account_list_result.rb'
    autoload :DscReportResource,                                  '2015-10-31/generated/azure_mgmt_automation/models/dsc_report_resource.rb'
    autoload :Operation,                                          '2015-10-31/generated/azure_mgmt_automation/models/operation.rb'
    autoload :DscMetaConfiguration,                               '2015-10-31/generated/azure_mgmt_automation/models/dsc_meta_configuration.rb'
    autoload :Statistics,                                         '2015-10-31/generated/azure_mgmt_automation/models/statistics.rb'
    autoload :DscNodeReport,                                      '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_report.rb'
    autoload :UsageCounterName,                                   '2015-10-31/generated/azure_mgmt_automation/models/usage_counter_name.rb'
    autoload :DscNodeReportListResult,                            '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_report_list_result.rb'
    autoload :UsageListResult,                                    '2015-10-31/generated/azure_mgmt_automation/models/usage_list_result.rb'
    autoload :Sku,                                                '2015-10-31/generated/azure_mgmt_automation/models/sku.rb'
    autoload :KeyListResult,                                      '2015-10-31/generated/azure_mgmt_automation/models/key_list_result.rb'
    autoload :VariableCreateOrUpdateParameters,                   '2015-10-31/generated/azure_mgmt_automation/models/variable_create_or_update_parameters.rb'
    autoload :ScheduleListResult,                                 '2015-10-31/generated/azure_mgmt_automation/models/schedule_list_result.rb'
    autoload :AdvancedScheduleMonthlyOccurrence,                  '2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule_monthly_occurrence.rb'
    autoload :ErrorResponse,                                      '2015-10-31/generated/azure_mgmt_automation/models/error_response.rb'
    autoload :DscNodeListResult,                                  '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_list_result.rb'
    autoload :WebhookCreateOrUpdateParameters,                    '2015-10-31/generated/azure_mgmt_automation/models/webhook_create_or_update_parameters.rb'
    autoload :ScheduleUpdateParameters,                           '2015-10-31/generated/azure_mgmt_automation/models/schedule_update_parameters.rb'
    autoload :CertificateUpdateParameters,                        '2015-10-31/generated/azure_mgmt_automation/models/certificate_update_parameters.rb'
    autoload :DscNodeConfigurationCreateOrUpdateParameters,       '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_create_or_update_parameters.rb'
    autoload :ConnectionCreateOrUpdateParameters,                 '2015-10-31/generated/azure_mgmt_automation/models/connection_create_or_update_parameters.rb'
    autoload :DscNodeConfigurationListResult,                     '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_list_result.rb'
    autoload :ConnectionListResult,                               '2015-10-31/generated/azure_mgmt_automation/models/connection_list_result.rb'
    autoload :RunAsCredentialAssociationProperty,                 '2015-10-31/generated/azure_mgmt_automation/models/run_as_credential_association_property.rb'
    autoload :FieldDefinition,                                    '2015-10-31/generated/azure_mgmt_automation/models/field_definition.rb'
    autoload :HybridRunbookWorker,                                '2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker.rb'
    autoload :ConnectionTypeListResult,                           '2015-10-31/generated/azure_mgmt_automation/models/connection_type_list_result.rb'
    autoload :HybridRunbookWorkerGroup,                           '2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_group.rb'
    autoload :CredentialCreateOrUpdateParameters,                 '2015-10-31/generated/azure_mgmt_automation/models/credential_create_or_update_parameters.rb'
    autoload :HybridRunbookWorkerGroupsListResult,                '2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_groups_list_result.rb'
    autoload :CredentialListResult,                               '2015-10-31/generated/azure_mgmt_automation/models/credential_list_result.rb'
    autoload :HybridRunbookWorkerGroupUpdateParameters,           '2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_group_update_parameters.rb'
    autoload :DscConfigurationAssociationProperty,                '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_association_property.rb'
    autoload :RunbookAssociationProperty,                         '2015-10-31/generated/azure_mgmt_automation/models/runbook_association_property.rb'
    autoload :VariableUpdateParameters,                           '2015-10-31/generated/azure_mgmt_automation/models/variable_update_parameters.rb'
    autoload :ScheduleAssociationProperty,                        '2015-10-31/generated/azure_mgmt_automation/models/schedule_association_property.rb'
    autoload :JobStream,                                          '2015-10-31/generated/azure_mgmt_automation/models/job_stream.rb'
    autoload :Job,                                                '2015-10-31/generated/azure_mgmt_automation/models/job.rb'
    autoload :ContentHash,                                        '2015-10-31/generated/azure_mgmt_automation/models/content_hash.rb'
    autoload :JobListResult,                                      '2015-10-31/generated/azure_mgmt_automation/models/job_list_result.rb'
    autoload :DscConfigurationParameter,                          '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_parameter.rb'
    autoload :JobCreateParameters,                                '2015-10-31/generated/azure_mgmt_automation/models/job_create_parameters.rb'
    autoload :VariableListResult,                                 '2015-10-31/generated/azure_mgmt_automation/models/variable_list_result.rb'
    autoload :JobSchedule,                                        '2015-10-31/generated/azure_mgmt_automation/models/job_schedule.rb'
    autoload :DscConfigurationUpdateParameters,                   '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_update_parameters.rb'
    autoload :JobScheduleListResult,                              '2015-10-31/generated/azure_mgmt_automation/models/job_schedule_list_result.rb'
    autoload :AgentRegistrationKeys,                              '2015-10-31/generated/azure_mgmt_automation/models/agent_registration_keys.rb'
    autoload :JobScheduleCreateParameters,                        '2015-10-31/generated/azure_mgmt_automation/models/job_schedule_create_parameters.rb'
    autoload :DscNodeUpdateParameters,                            '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_update_parameters.rb'
    autoload :LinkedWorkspace,                                    '2015-10-31/generated/azure_mgmt_automation/models/linked_workspace.rb'
    autoload :OperationDisplay,                                   '2015-10-31/generated/azure_mgmt_automation/models/operation_display.rb'
    autoload :ActivityParameterValidationSet,                     '2015-10-31/generated/azure_mgmt_automation/models/activity_parameter_validation_set.rb'
    autoload :StatisticsListResult,                               '2015-10-31/generated/azure_mgmt_automation/models/statistics_list_result.rb'
    autoload :ActivityParameter,                                  '2015-10-31/generated/azure_mgmt_automation/models/activity_parameter.rb'
    autoload :Key,                                                '2015-10-31/generated/azure_mgmt_automation/models/key.rb'
    autoload :ActivityParameterSet,                               '2015-10-31/generated/azure_mgmt_automation/models/activity_parameter_set.rb'
    autoload :Resource,                                           '2015-10-31/generated/azure_mgmt_automation/models/resource.rb'
    autoload :ActivityOutputType,                                 '2015-10-31/generated/azure_mgmt_automation/models/activity_output_type.rb'
    autoload :CertificateListResult,                              '2015-10-31/generated/azure_mgmt_automation/models/certificate_list_result.rb'
    autoload :Activity,                                           '2015-10-31/generated/azure_mgmt_automation/models/activity.rb'
    autoload :WebhookUpdateParameters,                            '2015-10-31/generated/azure_mgmt_automation/models/webhook_update_parameters.rb'
    autoload :ActivityListResult,                                 '2015-10-31/generated/azure_mgmt_automation/models/activity_list_result.rb'
    autoload :ConnectionType,                                     '2015-10-31/generated/azure_mgmt_automation/models/connection_type.rb'
    autoload :ModuleErrorInfo,                                    '2015-10-31/generated/azure_mgmt_automation/models/module_error_info.rb'
    autoload :WebhookListResult,                                  '2015-10-31/generated/azure_mgmt_automation/models/webhook_list_result.rb'
    autoload :ContentLink,                                        '2015-10-31/generated/azure_mgmt_automation/models/content_link.rb'
    autoload :DscCompilationJobCreateParameters,                  '2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_create_parameters.rb'
    autoload :ScheduleCreateOrUpdateParameters,                   '2015-10-31/generated/azure_mgmt_automation/models/schedule_create_or_update_parameters.rb'
    autoload :JobStreamListResult,                                '2015-10-31/generated/azure_mgmt_automation/models/job_stream_list_result.rb'
    autoload :ModuleListResult,                                   '2015-10-31/generated/azure_mgmt_automation/models/module_list_result.rb'
    autoload :DscConfigurationCreateOrUpdateParameters,           '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_create_or_update_parameters.rb'
    autoload :ModuleCreateOrUpdateParameters,                     '2015-10-31/generated/azure_mgmt_automation/models/module_create_or_update_parameters.rb'
    autoload :AgentRegistrationRegenerateKeyParameter,            '2015-10-31/generated/azure_mgmt_automation/models/agent_registration_regenerate_key_parameter.rb'
    autoload :ModuleUpdateParameters,                             '2015-10-31/generated/azure_mgmt_automation/models/module_update_parameters.rb'
    autoload :AutomationAccountCreateOrUpdateParameters,          '2015-10-31/generated/azure_mgmt_automation/models/automation_account_create_or_update_parameters.rb'
    autoload :TypeField,                                          '2015-10-31/generated/azure_mgmt_automation/models/type_field.rb'
    autoload :Usage,                                              '2015-10-31/generated/azure_mgmt_automation/models/usage.rb'
    autoload :TypeFieldListResult,                                '2015-10-31/generated/azure_mgmt_automation/models/type_field_list_result.rb'
    autoload :CertificateCreateOrUpdateParameters,                '2015-10-31/generated/azure_mgmt_automation/models/certificate_create_or_update_parameters.rb'
    autoload :RunbookParameter,                                   '2015-10-31/generated/azure_mgmt_automation/models/runbook_parameter.rb'
    autoload :ConnectionUpdateParameters,                         '2015-10-31/generated/azure_mgmt_automation/models/connection_update_parameters.rb'
    autoload :RunbookDraft,                                       '2015-10-31/generated/azure_mgmt_automation/models/runbook_draft.rb'
    autoload :CredentialUpdateParameters,                         '2015-10-31/generated/azure_mgmt_automation/models/credential_update_parameters.rb'
    autoload :AdvancedSchedule,                                   '2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule.rb'
    autoload :ContentSource,                                      '2015-10-31/generated/azure_mgmt_automation/models/content_source.rb'
    autoload :RunbookListResult,                                  '2015-10-31/generated/azure_mgmt_automation/models/runbook_list_result.rb'
    autoload :DscNodeConfigurationAssociationProperty,            '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_association_property.rb'
    autoload :RunbookCreateOrUpdateParameters,                    '2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_parameters.rb'
    autoload :AutomationAccountUpdateParameters,                  '2015-10-31/generated/azure_mgmt_automation/models/automation_account_update_parameters.rb'
    autoload :RunbookUpdateParameters,                            '2015-10-31/generated/azure_mgmt_automation/models/runbook_update_parameters.rb'
    autoload :ConnectionTypeCreateOrUpdateParameters,             '2015-10-31/generated/azure_mgmt_automation/models/connection_type_create_or_update_parameters.rb'
    autoload :RunbookDraftUndoEditResult,                         '2015-10-31/generated/azure_mgmt_automation/models/runbook_draft_undo_edit_result.rb'
    autoload :DscConfigurationListResult,                         '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_list_result.rb'
    autoload :TestJobCreateParameters,                            '2015-10-31/generated/azure_mgmt_automation/models/test_job_create_parameters.rb'
    autoload :ConnectionTypeAssociationProperty,                  '2015-10-31/generated/azure_mgmt_automation/models/connection_type_association_property.rb'
    autoload :TestJob,                                            '2015-10-31/generated/azure_mgmt_automation/models/test_job.rb'
    autoload :OperationListResult,                                '2015-10-31/generated/azure_mgmt_automation/models/operation_list_result.rb'
    autoload :RunbookCreateOrUpdateDraftProperties,               '2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_properties.rb'
    autoload :DscCompilationJobListResult,                        '2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_list_result.rb'
    autoload :RunbookCreateOrUpdateDraftParameters,               '2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_parameters.rb'
    autoload :TrackedResource,                                    '2015-10-31/generated/azure_mgmt_automation/models/tracked_resource.rb'
    autoload :AutomationAccount,                                  '2015-10-31/generated/azure_mgmt_automation/models/automation_account.rb'
    autoload :ProxyResource,                                      '2015-10-31/generated/azure_mgmt_automation/models/proxy_resource.rb'
    autoload :Certificate,                                        '2015-10-31/generated/azure_mgmt_automation/models/certificate.rb'
    autoload :Connection,                                         '2015-10-31/generated/azure_mgmt_automation/models/connection.rb'
    autoload :Credential,                                         '2015-10-31/generated/azure_mgmt_automation/models/credential.rb'
    autoload :DscCompilationJob,                                  '2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job.rb'
    autoload :DscConfiguration,                                   '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration.rb'
    autoload :DscNode,                                            '2015-10-31/generated/azure_mgmt_automation/models/dsc_node.rb'
    autoload :DscNodeConfiguration,                               '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration.rb'
    autoload :ModuleModel,                                        '2015-10-31/generated/azure_mgmt_automation/models/module_model.rb'
    autoload :Runbook,                                            '2015-10-31/generated/azure_mgmt_automation/models/runbook.rb'
    autoload :Schedule,                                           '2015-10-31/generated/azure_mgmt_automation/models/schedule.rb'
    autoload :Variable,                                           '2015-10-31/generated/azure_mgmt_automation/models/variable.rb'
    autoload :Webhook,                                            '2015-10-31/generated/azure_mgmt_automation/models/webhook.rb'
    autoload :SkuNameEnum,                                        '2015-10-31/generated/azure_mgmt_automation/models/sku_name_enum.rb'
    autoload :AutomationAccountState,                             '2015-10-31/generated/azure_mgmt_automation/models/automation_account_state.rb'
    autoload :AutomationKeyName,                                  '2015-10-31/generated/azure_mgmt_automation/models/automation_key_name.rb'
    autoload :AutomationKeyPermissions,                           '2015-10-31/generated/azure_mgmt_automation/models/automation_key_permissions.rb'
    autoload :JobProvisioningState,                               '2015-10-31/generated/azure_mgmt_automation/models/job_provisioning_state.rb'
    autoload :JobStatus,                                          '2015-10-31/generated/azure_mgmt_automation/models/job_status.rb'
    autoload :JobStreamType,                                      '2015-10-31/generated/azure_mgmt_automation/models/job_stream_type.rb'
    autoload :ContentSourceType,                                  '2015-10-31/generated/azure_mgmt_automation/models/content_source_type.rb'
    autoload :DscConfigurationProvisioningState,                  '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_provisioning_state.rb'
    autoload :DscConfigurationState,                              '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_state.rb'
    autoload :AgentRegistrationKeyName,                           '2015-10-31/generated/azure_mgmt_automation/models/agent_registration_key_name.rb'
    autoload :GroupTypeEnum,                                      '2015-10-31/generated/azure_mgmt_automation/models/group_type_enum.rb'
    autoload :ModuleProvisioningState,                            '2015-10-31/generated/azure_mgmt_automation/models/module_provisioning_state.rb'
    autoload :RunbookTypeEnum,                                    '2015-10-31/generated/azure_mgmt_automation/models/runbook_type_enum.rb'
    autoload :RunbookState,                                       '2015-10-31/generated/azure_mgmt_automation/models/runbook_state.rb'
    autoload :RunbookProvisioningState,                           '2015-10-31/generated/azure_mgmt_automation/models/runbook_provisioning_state.rb'
    autoload :HttpStatusCode,                                     '2015-10-31/generated/azure_mgmt_automation/models/http_status_code.rb'
    autoload :ScheduleDay,                                        '2015-10-31/generated/azure_mgmt_automation/models/schedule_day.rb'
    autoload :ScheduleFrequency,                                  '2015-10-31/generated/azure_mgmt_automation/models/schedule_frequency.rb'
  end
end
