azure_mgmt_automation 0.15.2 → 0.17.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/2015-10-31/generated/azure_mgmt_automation.rb +111 -97
- data/lib/2015-10-31/generated/azure_mgmt_automation/activity_operations.rb +39 -32
- data/lib/2015-10-31/generated/azure_mgmt_automation/agent_registration_information.rb +28 -24
- data/lib/2015-10-31/generated/azure_mgmt_automation/automation_account_operations.rb +92 -81
- data/lib/2015-10-31/generated/azure_mgmt_automation/automation_client.rb +25 -9
- data/lib/2015-10-31/generated/azure_mgmt_automation/certificate_operations.rb +81 -69
- data/lib/2015-10-31/generated/azure_mgmt_automation/connection_operations.rb +81 -69
- data/lib/2015-10-31/generated/azure_mgmt_automation/connection_type_operations.rb +67 -56
- data/lib/2015-10-31/generated/azure_mgmt_automation/credential_operations.rb +81 -69
- data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_compilation_job_operations.rb +67 -56
- data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_compilation_job_stream.rb +124 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_configuration_operations.rb +215 -70
- data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_configuration_operations.rb +68 -67
- data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_operations.rb +67 -56
- data/lib/2015-10-31/generated/azure_mgmt_automation/fields.rb +14 -11
- data/lib/2015-10-31/generated/azure_mgmt_automation/hybrid_runbook_worker_group_operations.rb +72 -57
- data/lib/2015-10-31/generated/azure_mgmt_automation/job_operations.rb +123 -100
- data/lib/2015-10-31/generated/azure_mgmt_automation/job_schedule_operations.rb +72 -57
- data/lib/2015-10-31/generated/azure_mgmt_automation/job_stream_operations.rb +39 -32
- data/lib/2015-10-31/generated/azure_mgmt_automation/keys.rb +120 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/linked_workspace_operations.rb +120 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_parameter.rb +35 -2
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_parameter_validation_set.rb +47 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule_monthly_occurrence.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration_key_name.rb +2 -2
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration_regenerate_key_parameter.rb +2 -2
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_account.rb +9 -9
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_account_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_key_name.rb +16 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_key_permissions.rb +16 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate.rb +10 -7
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_update_parameters.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection.rb +10 -7
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type.rb +12 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/credential.rb +11 -7
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/credential_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/credential_update_parameters.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job.rb +44 -4
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_create_parameters.rb +12 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration.rb +20 -9
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_list_result.rb +13 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_update_parameters.rb +132 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node.rb +22 -25
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration.rb +20 -15
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_create_or_update_parameters.rb +13 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_extension_handler_association_property.rb +58 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_report_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/group_type_enum.rb +16 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker.rb +11 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_group.rb +12 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_groups_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/job.rb +37 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_create_parameters.rb +0 -42
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_provisioning_state.rb +18 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule.rb +26 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_stream_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/key.rb +73 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/key_list_result.rb +56 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/{sub_resource.rb → linked_workspace.rb} +7 -6
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/module_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/module_model.rb +20 -9
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/proxy_resource.rb +62 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/resource.rb +11 -32
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook.rb +9 -9
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_draft.rb +2 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule.rb +12 -7
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_association_property.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_create_or_update_parameters.rb +3 -3
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_update_parameters.rb +2 -2
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/test_job.rb +11 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/test_job_create_parameters.rb +0 -11
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/tracked_resource.rb +92 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/variable.rb +12 -7
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/variable_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/variable_update_parameters.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook.rb +23 -7
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_update_parameters.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/module_model_operations.rb +81 -69
- data/lib/2015-10-31/generated/azure_mgmt_automation/node_reports.rb +54 -61
- data/lib/2015-10-31/generated/azure_mgmt_automation/object_data_types.rb +28 -22
- data/lib/2015-10-31/generated/azure_mgmt_automation/operations.rb +6 -5
- data/lib/2015-10-31/generated/azure_mgmt_automation/runbook_draft_operations.rb +144 -118
- data/lib/2015-10-31/generated/azure_mgmt_automation/runbook_operations.rb +131 -95
- data/lib/2015-10-31/generated/azure_mgmt_automation/schedule_operations.rb +93 -71
- data/lib/2015-10-31/generated/azure_mgmt_automation/statistics_operations.rb +14 -11
- data/lib/2015-10-31/generated/azure_mgmt_automation/{test_jobs.rb → test_job_operations.rb} +82 -69
- data/lib/2015-10-31/generated/azure_mgmt_automation/test_job_streams.rb +49 -39
- data/lib/2015-10-31/generated/azure_mgmt_automation/usages.rb +14 -11
- data/lib/2015-10-31/generated/azure_mgmt_automation/variable_operations.rb +81 -69
- data/lib/2015-10-31/generated/azure_mgmt_automation/webhook_operations.rb +95 -80
- data/lib/profiles/latest/automation_latest_profile_client.rb +28 -9
- data/lib/profiles/latest/automation_module_definition.rb +0 -1
- data/lib/profiles/latest/modules/automation_profile_module.rb +585 -516
- data/lib/version.rb +1 -1
- metadata +21 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 9b189e35144598f3a9ecf195e6e72b5dbd3a1686114dcd37b64b3b950cb34b30
|
4
|
+
data.tar.gz: 3db2acf0d92faac080c4bff849ec6dacd3725deb7a4b5f716075a8241e31e481
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1975440acd3397828ef6b515e19c71c37cb2e86a1384b41c8979a0db02bf959a72efcf06ebdf06ef147c26671eaaba7b31fde428629f742b0b6a2e05aa07d02
|
7
|
+
data.tar.gz: ce531fd556f55f054e3ba15bb87197746592f9a8a5bd7d2fd2fa15a091af100d6b3865941ce63f32bfb4ed16c6cf1c4a879d0ce9d4ec4614ed00e32497f20995
|
@@ -24,11 +24,13 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
24
24
|
autoload :Operations, '2015-10-31/generated/azure_mgmt_automation/operations.rb'
|
25
25
|
autoload :StatisticsOperations, '2015-10-31/generated/azure_mgmt_automation/statistics_operations.rb'
|
26
26
|
autoload :Usages, '2015-10-31/generated/azure_mgmt_automation/usages.rb'
|
27
|
+
autoload :Keys, '2015-10-31/generated/azure_mgmt_automation/keys.rb'
|
27
28
|
autoload :CertificateOperations, '2015-10-31/generated/azure_mgmt_automation/certificate_operations.rb'
|
28
29
|
autoload :ConnectionOperations, '2015-10-31/generated/azure_mgmt_automation/connection_operations.rb'
|
29
30
|
autoload :ConnectionTypeOperations, '2015-10-31/generated/azure_mgmt_automation/connection_type_operations.rb'
|
30
31
|
autoload :CredentialOperations, '2015-10-31/generated/azure_mgmt_automation/credential_operations.rb'
|
31
32
|
autoload :DscCompilationJobOperations, '2015-10-31/generated/azure_mgmt_automation/dsc_compilation_job_operations.rb'
|
33
|
+
autoload :DscCompilationJobStream, '2015-10-31/generated/azure_mgmt_automation/dsc_compilation_job_stream.rb'
|
32
34
|
autoload :DscConfigurationOperations, '2015-10-31/generated/azure_mgmt_automation/dsc_configuration_operations.rb'
|
33
35
|
autoload :AgentRegistrationInformation, '2015-10-31/generated/azure_mgmt_automation/agent_registration_information.rb'
|
34
36
|
autoload :DscNodeOperations, '2015-10-31/generated/azure_mgmt_automation/dsc_node_operations.rb'
|
@@ -38,6 +40,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
38
40
|
autoload :JobOperations, '2015-10-31/generated/azure_mgmt_automation/job_operations.rb'
|
39
41
|
autoload :JobStreamOperations, '2015-10-31/generated/azure_mgmt_automation/job_stream_operations.rb'
|
40
42
|
autoload :JobScheduleOperations, '2015-10-31/generated/azure_mgmt_automation/job_schedule_operations.rb'
|
43
|
+
autoload :LinkedWorkspaceOperations, '2015-10-31/generated/azure_mgmt_automation/linked_workspace_operations.rb'
|
41
44
|
autoload :ActivityOperations, '2015-10-31/generated/azure_mgmt_automation/activity_operations.rb'
|
42
45
|
autoload :ModuleModelOperations, '2015-10-31/generated/azure_mgmt_automation/module_model_operations.rb'
|
43
46
|
autoload :ObjectDataTypes, '2015-10-31/generated/azure_mgmt_automation/object_data_types.rb'
|
@@ -45,139 +48,150 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
45
48
|
autoload :RunbookDraftOperations, '2015-10-31/generated/azure_mgmt_automation/runbook_draft_operations.rb'
|
46
49
|
autoload :RunbookOperations, '2015-10-31/generated/azure_mgmt_automation/runbook_operations.rb'
|
47
50
|
autoload :TestJobStreams, '2015-10-31/generated/azure_mgmt_automation/test_job_streams.rb'
|
48
|
-
autoload :
|
51
|
+
autoload :TestJobOperations, '2015-10-31/generated/azure_mgmt_automation/test_job_operations.rb'
|
49
52
|
autoload :ScheduleOperations, '2015-10-31/generated/azure_mgmt_automation/schedule_operations.rb'
|
50
53
|
autoload :VariableOperations, '2015-10-31/generated/azure_mgmt_automation/variable_operations.rb'
|
51
54
|
autoload :WebhookOperations, '2015-10-31/generated/azure_mgmt_automation/webhook_operations.rb'
|
52
55
|
autoload :AutomationClient, '2015-10-31/generated/azure_mgmt_automation/automation_client.rb'
|
53
56
|
|
54
57
|
module Models
|
55
|
-
autoload :
|
56
|
-
autoload :
|
57
|
-
autoload :DscCompilationJobListResult, '2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_list_result.rb'
|
58
|
-
autoload :Usage, '2015-10-31/generated/azure_mgmt_automation/models/usage.rb'
|
59
|
-
autoload :DscConfigurationListResult, '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_list_result.rb'
|
60
|
-
autoload :Statistics, '2015-10-31/generated/azure_mgmt_automation/models/statistics.rb'
|
61
|
-
autoload :DscConfigurationCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_create_or_update_parameters.rb'
|
62
|
-
autoload :RunbookParameter, '2015-10-31/generated/azure_mgmt_automation/models/runbook_parameter.rb'
|
63
|
-
autoload :DscMetaConfiguration, '2015-10-31/generated/azure_mgmt_automation/models/dsc_meta_configuration.rb'
|
64
|
-
autoload :ContentLink, '2015-10-31/generated/azure_mgmt_automation/models/content_link.rb'
|
65
|
-
autoload :DscNodeConfigurationCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_create_or_update_parameters.rb'
|
66
|
-
autoload :ContentHash, '2015-10-31/generated/azure_mgmt_automation/models/content_hash.rb'
|
67
|
-
autoload :ModuleErrorInfo, '2015-10-31/generated/azure_mgmt_automation/models/module_error_info.rb'
|
68
|
-
autoload :RunbookDraft, '2015-10-31/generated/azure_mgmt_automation/models/runbook_draft.rb'
|
69
|
-
autoload :DscNodeConfigurationAssociationProperty, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_association_property.rb'
|
70
|
-
autoload :WebhookCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/webhook_create_or_update_parameters.rb'
|
71
|
-
autoload :ContentSource, '2015-10-31/generated/azure_mgmt_automation/models/content_source.rb'
|
72
|
-
autoload :DscNodeConfiguration, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration.rb'
|
73
|
-
autoload :WebhookListResult, '2015-10-31/generated/azure_mgmt_automation/models/webhook_list_result.rb'
|
74
|
-
autoload :DscNodeConfigurationListResult, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_list_result.rb'
|
75
|
-
autoload :Webhook, '2015-10-31/generated/azure_mgmt_automation/models/webhook.rb'
|
76
|
-
autoload :DscNodeListResult, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_list_result.rb'
|
77
|
-
autoload :AutomationAccountListResult, '2015-10-31/generated/azure_mgmt_automation/models/automation_account_list_result.rb'
|
78
|
-
autoload :DscNodeUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_update_parameters.rb'
|
79
|
-
autoload :Operation, '2015-10-31/generated/azure_mgmt_automation/models/operation.rb'
|
58
|
+
autoload :AgentRegistration, '2015-10-31/generated/azure_mgmt_automation/models/agent_registration.rb'
|
59
|
+
autoload :DscNodeExtensionHandlerAssociationProperty, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_extension_handler_association_property.rb'
|
80
60
|
autoload :DscReportError, '2015-10-31/generated/azure_mgmt_automation/models/dsc_report_error.rb'
|
81
|
-
autoload :AutomationAccountCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/automation_account_create_or_update_parameters.rb'
|
82
61
|
autoload :DscReportResourceNavigation, '2015-10-31/generated/azure_mgmt_automation/models/dsc_report_resource_navigation.rb'
|
83
|
-
autoload :
|
62
|
+
autoload :AutomationAccountListResult, '2015-10-31/generated/azure_mgmt_automation/models/automation_account_list_result.rb'
|
84
63
|
autoload :DscReportResource, '2015-10-31/generated/azure_mgmt_automation/models/dsc_report_resource.rb'
|
85
|
-
autoload :
|
64
|
+
autoload :Operation, '2015-10-31/generated/azure_mgmt_automation/models/operation.rb'
|
65
|
+
autoload :DscMetaConfiguration, '2015-10-31/generated/azure_mgmt_automation/models/dsc_meta_configuration.rb'
|
66
|
+
autoload :Statistics, '2015-10-31/generated/azure_mgmt_automation/models/statistics.rb'
|
86
67
|
autoload :DscNodeReport, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_report.rb'
|
87
|
-
autoload :
|
68
|
+
autoload :UsageCounterName, '2015-10-31/generated/azure_mgmt_automation/models/usage_counter_name.rb'
|
88
69
|
autoload :DscNodeReportListResult, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_report_list_result.rb'
|
89
|
-
autoload :
|
90
|
-
autoload :
|
70
|
+
autoload :UsageListResult, '2015-10-31/generated/azure_mgmt_automation/models/usage_list_result.rb'
|
71
|
+
autoload :Sku, '2015-10-31/generated/azure_mgmt_automation/models/sku.rb'
|
72
|
+
autoload :KeyListResult, '2015-10-31/generated/azure_mgmt_automation/models/key_list_result.rb'
|
73
|
+
autoload :VariableCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/variable_create_or_update_parameters.rb'
|
74
|
+
autoload :ScheduleListResult, '2015-10-31/generated/azure_mgmt_automation/models/schedule_list_result.rb'
|
75
|
+
autoload :AdvancedScheduleMonthlyOccurrence, '2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule_monthly_occurrence.rb'
|
76
|
+
autoload :ErrorResponse, '2015-10-31/generated/azure_mgmt_automation/models/error_response.rb'
|
77
|
+
autoload :DscNodeListResult, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_list_result.rb'
|
78
|
+
autoload :WebhookCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/webhook_create_or_update_parameters.rb'
|
79
|
+
autoload :ScheduleUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/schedule_update_parameters.rb'
|
80
|
+
autoload :CertificateUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/certificate_update_parameters.rb'
|
81
|
+
autoload :DscNodeConfigurationCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_create_or_update_parameters.rb'
|
91
82
|
autoload :ConnectionCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/connection_create_or_update_parameters.rb'
|
83
|
+
autoload :DscNodeConfigurationListResult, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_list_result.rb'
|
84
|
+
autoload :ConnectionListResult, '2015-10-31/generated/azure_mgmt_automation/models/connection_list_result.rb'
|
92
85
|
autoload :RunAsCredentialAssociationProperty, '2015-10-31/generated/azure_mgmt_automation/models/run_as_credential_association_property.rb'
|
93
|
-
autoload :
|
86
|
+
autoload :FieldDefinition, '2015-10-31/generated/azure_mgmt_automation/models/field_definition.rb'
|
87
|
+
autoload :HybridRunbookWorker, '2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker.rb'
|
88
|
+
autoload :ConnectionTypeListResult, '2015-10-31/generated/azure_mgmt_automation/models/connection_type_list_result.rb'
|
94
89
|
autoload :HybridRunbookWorkerGroup, '2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_group.rb'
|
95
|
-
autoload :
|
90
|
+
autoload :CredentialCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/credential_create_or_update_parameters.rb'
|
96
91
|
autoload :HybridRunbookWorkerGroupsListResult, '2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_groups_list_result.rb'
|
97
92
|
autoload :CredentialListResult, '2015-10-31/generated/azure_mgmt_automation/models/credential_list_result.rb'
|
98
93
|
autoload :HybridRunbookWorkerGroupUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_group_update_parameters.rb'
|
99
|
-
autoload :
|
94
|
+
autoload :DscConfigurationAssociationProperty, '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_association_property.rb'
|
100
95
|
autoload :RunbookAssociationProperty, '2015-10-31/generated/azure_mgmt_automation/models/runbook_association_property.rb'
|
101
|
-
autoload :
|
96
|
+
autoload :VariableUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/variable_update_parameters.rb'
|
97
|
+
autoload :ScheduleAssociationProperty, '2015-10-31/generated/azure_mgmt_automation/models/schedule_association_property.rb'
|
98
|
+
autoload :JobStream, '2015-10-31/generated/azure_mgmt_automation/models/job_stream.rb'
|
102
99
|
autoload :Job, '2015-10-31/generated/azure_mgmt_automation/models/job.rb'
|
103
|
-
autoload :
|
104
|
-
autoload :JobCreateParameters, '2015-10-31/generated/azure_mgmt_automation/models/job_create_parameters.rb'
|
105
|
-
autoload :AdvancedScheduleMonthlyOccurrence, '2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule_monthly_occurrence.rb'
|
100
|
+
autoload :ContentHash, '2015-10-31/generated/azure_mgmt_automation/models/content_hash.rb'
|
106
101
|
autoload :JobListResult, '2015-10-31/generated/azure_mgmt_automation/models/job_list_result.rb'
|
107
|
-
autoload :
|
108
|
-
autoload :
|
109
|
-
autoload :
|
110
|
-
autoload :JobScheduleCreateParameters, '2015-10-31/generated/azure_mgmt_automation/models/job_schedule_create_parameters.rb'
|
111
|
-
autoload :DscCompilationJobCreateParameters, '2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_create_parameters.rb'
|
102
|
+
autoload :DscConfigurationParameter, '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_parameter.rb'
|
103
|
+
autoload :JobCreateParameters, '2015-10-31/generated/azure_mgmt_automation/models/job_create_parameters.rb'
|
104
|
+
autoload :VariableListResult, '2015-10-31/generated/azure_mgmt_automation/models/variable_list_result.rb'
|
112
105
|
autoload :JobSchedule, '2015-10-31/generated/azure_mgmt_automation/models/job_schedule.rb'
|
113
|
-
autoload :
|
106
|
+
autoload :DscConfigurationUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_update_parameters.rb'
|
114
107
|
autoload :JobScheduleListResult, '2015-10-31/generated/azure_mgmt_automation/models/job_schedule_list_result.rb'
|
115
|
-
autoload :
|
116
|
-
autoload :
|
117
|
-
autoload :
|
108
|
+
autoload :AgentRegistrationKeys, '2015-10-31/generated/azure_mgmt_automation/models/agent_registration_keys.rb'
|
109
|
+
autoload :JobScheduleCreateParameters, '2015-10-31/generated/azure_mgmt_automation/models/job_schedule_create_parameters.rb'
|
110
|
+
autoload :DscNodeUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_update_parameters.rb'
|
111
|
+
autoload :LinkedWorkspace, '2015-10-31/generated/azure_mgmt_automation/models/linked_workspace.rb'
|
112
|
+
autoload :OperationDisplay, '2015-10-31/generated/azure_mgmt_automation/models/operation_display.rb'
|
113
|
+
autoload :ActivityParameterValidationSet, '2015-10-31/generated/azure_mgmt_automation/models/activity_parameter_validation_set.rb'
|
114
|
+
autoload :StatisticsListResult, '2015-10-31/generated/azure_mgmt_automation/models/statistics_list_result.rb'
|
115
|
+
autoload :ActivityParameter, '2015-10-31/generated/azure_mgmt_automation/models/activity_parameter.rb'
|
116
|
+
autoload :Key, '2015-10-31/generated/azure_mgmt_automation/models/key.rb'
|
117
|
+
autoload :ActivityParameterSet, '2015-10-31/generated/azure_mgmt_automation/models/activity_parameter_set.rb'
|
118
118
|
autoload :Resource, '2015-10-31/generated/azure_mgmt_automation/models/resource.rb'
|
119
|
-
autoload :
|
120
|
-
autoload :OperationListResult, '2015-10-31/generated/azure_mgmt_automation/models/operation_list_result.rb'
|
121
|
-
autoload :ModuleListResult, '2015-10-31/generated/azure_mgmt_automation/models/module_list_result.rb'
|
119
|
+
autoload :ActivityOutputType, '2015-10-31/generated/azure_mgmt_automation/models/activity_output_type.rb'
|
122
120
|
autoload :CertificateListResult, '2015-10-31/generated/azure_mgmt_automation/models/certificate_list_result.rb'
|
123
|
-
autoload :
|
124
|
-
autoload :
|
125
|
-
autoload :RunbookDraftUndoEditResult, '2015-10-31/generated/azure_mgmt_automation/models/runbook_draft_undo_edit_result.rb'
|
126
|
-
autoload :FieldDefinition, '2015-10-31/generated/azure_mgmt_automation/models/field_definition.rb'
|
127
|
-
autoload :RunbookCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_parameters.rb'
|
128
|
-
autoload :Credential, '2015-10-31/generated/azure_mgmt_automation/models/credential.rb'
|
129
|
-
autoload :RunbookCreateOrUpdateDraftProperties, '2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_properties.rb'
|
130
|
-
autoload :ActivityParameter, '2015-10-31/generated/azure_mgmt_automation/models/activity_parameter.rb'
|
131
|
-
autoload :RunbookCreateOrUpdateDraftParameters, '2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_parameters.rb'
|
121
|
+
autoload :Activity, '2015-10-31/generated/azure_mgmt_automation/models/activity.rb'
|
122
|
+
autoload :WebhookUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/webhook_update_parameters.rb'
|
132
123
|
autoload :ActivityListResult, '2015-10-31/generated/azure_mgmt_automation/models/activity_list_result.rb'
|
133
|
-
autoload :
|
134
|
-
autoload :
|
135
|
-
autoload :
|
136
|
-
autoload :
|
124
|
+
autoload :ConnectionType, '2015-10-31/generated/azure_mgmt_automation/models/connection_type.rb'
|
125
|
+
autoload :ModuleErrorInfo, '2015-10-31/generated/azure_mgmt_automation/models/module_error_info.rb'
|
126
|
+
autoload :WebhookListResult, '2015-10-31/generated/azure_mgmt_automation/models/webhook_list_result.rb'
|
127
|
+
autoload :ContentLink, '2015-10-31/generated/azure_mgmt_automation/models/content_link.rb'
|
128
|
+
autoload :DscCompilationJobCreateParameters, '2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_create_parameters.rb'
|
137
129
|
autoload :ScheduleCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/schedule_create_or_update_parameters.rb'
|
138
|
-
autoload :
|
139
|
-
autoload :
|
140
|
-
autoload :
|
141
|
-
autoload :
|
142
|
-
autoload :
|
143
|
-
autoload :
|
144
|
-
autoload :
|
145
|
-
autoload :SubResource, '2015-10-31/generated/azure_mgmt_automation/models/sub_resource.rb'
|
146
|
-
autoload :ActivityOutputType, '2015-10-31/generated/azure_mgmt_automation/models/activity_output_type.rb'
|
147
|
-
autoload :TestJobCreateParameters, '2015-10-31/generated/azure_mgmt_automation/models/test_job_create_parameters.rb'
|
148
|
-
autoload :DscConfigurationAssociationProperty, '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_association_property.rb'
|
149
|
-
autoload :TestJob, '2015-10-31/generated/azure_mgmt_automation/models/test_job.rb'
|
150
|
-
autoload :Sku, '2015-10-31/generated/azure_mgmt_automation/models/sku.rb'
|
130
|
+
autoload :JobStreamListResult, '2015-10-31/generated/azure_mgmt_automation/models/job_stream_list_result.rb'
|
131
|
+
autoload :ModuleListResult, '2015-10-31/generated/azure_mgmt_automation/models/module_list_result.rb'
|
132
|
+
autoload :DscConfigurationCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_create_or_update_parameters.rb'
|
133
|
+
autoload :ModuleCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/module_create_or_update_parameters.rb'
|
134
|
+
autoload :AgentRegistrationRegenerateKeyParameter, '2015-10-31/generated/azure_mgmt_automation/models/agent_registration_regenerate_key_parameter.rb'
|
135
|
+
autoload :ModuleUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/module_update_parameters.rb'
|
136
|
+
autoload :AutomationAccountCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/automation_account_create_or_update_parameters.rb'
|
151
137
|
autoload :TypeField, '2015-10-31/generated/azure_mgmt_automation/models/type_field.rb'
|
152
|
-
autoload :
|
138
|
+
autoload :Usage, '2015-10-31/generated/azure_mgmt_automation/models/usage.rb'
|
153
139
|
autoload :TypeFieldListResult, '2015-10-31/generated/azure_mgmt_automation/models/type_field_list_result.rb'
|
140
|
+
autoload :CertificateCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/certificate_create_or_update_parameters.rb'
|
141
|
+
autoload :RunbookParameter, '2015-10-31/generated/azure_mgmt_automation/models/runbook_parameter.rb'
|
142
|
+
autoload :ConnectionUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/connection_update_parameters.rb'
|
143
|
+
autoload :RunbookDraft, '2015-10-31/generated/azure_mgmt_automation/models/runbook_draft.rb'
|
144
|
+
autoload :CredentialUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/credential_update_parameters.rb'
|
154
145
|
autoload :AdvancedSchedule, '2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule.rb'
|
155
|
-
autoload :
|
146
|
+
autoload :ContentSource, '2015-10-31/generated/azure_mgmt_automation/models/content_source.rb'
|
147
|
+
autoload :RunbookListResult, '2015-10-31/generated/azure_mgmt_automation/models/runbook_list_result.rb'
|
148
|
+
autoload :DscNodeConfigurationAssociationProperty, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_association_property.rb'
|
149
|
+
autoload :RunbookCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_parameters.rb'
|
156
150
|
autoload :AutomationAccountUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/automation_account_update_parameters.rb'
|
157
|
-
autoload :
|
158
|
-
autoload :
|
159
|
-
autoload :
|
160
|
-
autoload :
|
161
|
-
autoload :
|
162
|
-
autoload :
|
163
|
-
autoload :
|
164
|
-
autoload :
|
165
|
-
autoload :
|
151
|
+
autoload :RunbookUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/runbook_update_parameters.rb'
|
152
|
+
autoload :ConnectionTypeCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/connection_type_create_or_update_parameters.rb'
|
153
|
+
autoload :RunbookDraftUndoEditResult, '2015-10-31/generated/azure_mgmt_automation/models/runbook_draft_undo_edit_result.rb'
|
154
|
+
autoload :DscConfigurationListResult, '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_list_result.rb'
|
155
|
+
autoload :TestJobCreateParameters, '2015-10-31/generated/azure_mgmt_automation/models/test_job_create_parameters.rb'
|
156
|
+
autoload :ConnectionTypeAssociationProperty, '2015-10-31/generated/azure_mgmt_automation/models/connection_type_association_property.rb'
|
157
|
+
autoload :TestJob, '2015-10-31/generated/azure_mgmt_automation/models/test_job.rb'
|
158
|
+
autoload :OperationListResult, '2015-10-31/generated/azure_mgmt_automation/models/operation_list_result.rb'
|
159
|
+
autoload :RunbookCreateOrUpdateDraftProperties, '2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_properties.rb'
|
160
|
+
autoload :DscCompilationJobListResult, '2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_list_result.rb'
|
161
|
+
autoload :RunbookCreateOrUpdateDraftParameters, '2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_parameters.rb'
|
162
|
+
autoload :TrackedResource, '2015-10-31/generated/azure_mgmt_automation/models/tracked_resource.rb'
|
166
163
|
autoload :AutomationAccount, '2015-10-31/generated/azure_mgmt_automation/models/automation_account.rb'
|
167
|
-
autoload :
|
168
|
-
autoload :
|
169
|
-
autoload :
|
170
|
-
autoload :
|
171
|
-
autoload :
|
172
|
-
autoload :
|
173
|
-
autoload :
|
164
|
+
autoload :ProxyResource, '2015-10-31/generated/azure_mgmt_automation/models/proxy_resource.rb'
|
165
|
+
autoload :Certificate, '2015-10-31/generated/azure_mgmt_automation/models/certificate.rb'
|
166
|
+
autoload :Connection, '2015-10-31/generated/azure_mgmt_automation/models/connection.rb'
|
167
|
+
autoload :Credential, '2015-10-31/generated/azure_mgmt_automation/models/credential.rb'
|
168
|
+
autoload :DscCompilationJob, '2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job.rb'
|
169
|
+
autoload :DscConfiguration, '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration.rb'
|
170
|
+
autoload :DscNode, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node.rb'
|
171
|
+
autoload :DscNodeConfiguration, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration.rb'
|
172
|
+
autoload :ModuleModel, '2015-10-31/generated/azure_mgmt_automation/models/module_model.rb'
|
173
|
+
autoload :Runbook, '2015-10-31/generated/azure_mgmt_automation/models/runbook.rb'
|
174
|
+
autoload :Schedule, '2015-10-31/generated/azure_mgmt_automation/models/schedule.rb'
|
175
|
+
autoload :Variable, '2015-10-31/generated/azure_mgmt_automation/models/variable.rb'
|
176
|
+
autoload :Webhook, '2015-10-31/generated/azure_mgmt_automation/models/webhook.rb'
|
174
177
|
autoload :SkuNameEnum, '2015-10-31/generated/azure_mgmt_automation/models/sku_name_enum.rb'
|
175
178
|
autoload :AutomationAccountState, '2015-10-31/generated/azure_mgmt_automation/models/automation_account_state.rb'
|
176
|
-
autoload :
|
177
|
-
autoload :
|
179
|
+
autoload :AutomationKeyName, '2015-10-31/generated/azure_mgmt_automation/models/automation_key_name.rb'
|
180
|
+
autoload :AutomationKeyPermissions, '2015-10-31/generated/azure_mgmt_automation/models/automation_key_permissions.rb'
|
181
|
+
autoload :JobProvisioningState, '2015-10-31/generated/azure_mgmt_automation/models/job_provisioning_state.rb'
|
178
182
|
autoload :JobStatus, '2015-10-31/generated/azure_mgmt_automation/models/job_status.rb'
|
179
183
|
autoload :JobStreamType, '2015-10-31/generated/azure_mgmt_automation/models/job_stream_type.rb'
|
184
|
+
autoload :ContentSourceType, '2015-10-31/generated/azure_mgmt_automation/models/content_source_type.rb'
|
185
|
+
autoload :DscConfigurationProvisioningState, '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_provisioning_state.rb'
|
186
|
+
autoload :DscConfigurationState, '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_state.rb'
|
187
|
+
autoload :AgentRegistrationKeyName, '2015-10-31/generated/azure_mgmt_automation/models/agent_registration_key_name.rb'
|
188
|
+
autoload :GroupTypeEnum, '2015-10-31/generated/azure_mgmt_automation/models/group_type_enum.rb'
|
189
|
+
autoload :ModuleProvisioningState, '2015-10-31/generated/azure_mgmt_automation/models/module_provisioning_state.rb'
|
190
|
+
autoload :RunbookTypeEnum, '2015-10-31/generated/azure_mgmt_automation/models/runbook_type_enum.rb'
|
191
|
+
autoload :RunbookState, '2015-10-31/generated/azure_mgmt_automation/models/runbook_state.rb'
|
192
|
+
autoload :RunbookProvisioningState, '2015-10-31/generated/azure_mgmt_automation/models/runbook_provisioning_state.rb'
|
180
193
|
autoload :HttpStatusCode, '2015-10-31/generated/azure_mgmt_automation/models/http_status_code.rb'
|
194
|
+
autoload :ScheduleDay, '2015-10-31/generated/azure_mgmt_automation/models/schedule_day.rb'
|
181
195
|
autoload :ScheduleFrequency, '2015-10-31/generated/azure_mgmt_automation/models/schedule_frequency.rb'
|
182
196
|
end
|
183
197
|
end
|
@@ -25,8 +25,8 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
25
25
|
# Retrieve the activity in the module identified by module name and activity
|
26
26
|
# name.
|
27
27
|
#
|
28
|
-
# @param resource_group_name [String]
|
29
|
-
# @param automation_account_name [String] The automation account
|
28
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
29
|
+
# @param automation_account_name [String] The name of the automation account.
|
30
30
|
# @param module_name [String] The name of module.
|
31
31
|
# @param activity_name [String] The name of activity.
|
32
32
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -34,8 +34,8 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
34
34
|
#
|
35
35
|
# @return [Activity] operation results.
|
36
36
|
#
|
37
|
-
def get(resource_group_name, automation_account_name, module_name, activity_name, custom_headers
|
38
|
-
response = get_async(resource_group_name, automation_account_name, module_name, activity_name, custom_headers).value!
|
37
|
+
def get(resource_group_name, automation_account_name, module_name, activity_name, custom_headers:nil)
|
38
|
+
response = get_async(resource_group_name, automation_account_name, module_name, activity_name, custom_headers:custom_headers).value!
|
39
39
|
response.body unless response.nil?
|
40
40
|
end
|
41
41
|
|
@@ -43,8 +43,8 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
43
43
|
# Retrieve the activity in the module identified by module name and activity
|
44
44
|
# name.
|
45
45
|
#
|
46
|
-
# @param resource_group_name [String]
|
47
|
-
# @param automation_account_name [String] The automation account
|
46
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
47
|
+
# @param automation_account_name [String] The name of the automation account.
|
48
48
|
# @param module_name [String] The name of module.
|
49
49
|
# @param activity_name [String] The name of activity.
|
50
50
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -52,16 +52,16 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
52
52
|
#
|
53
53
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
54
54
|
#
|
55
|
-
def get_with_http_info(resource_group_name, automation_account_name, module_name, activity_name, custom_headers
|
56
|
-
get_async(resource_group_name, automation_account_name, module_name, activity_name, custom_headers).value!
|
55
|
+
def get_with_http_info(resource_group_name, automation_account_name, module_name, activity_name, custom_headers:nil)
|
56
|
+
get_async(resource_group_name, automation_account_name, module_name, activity_name, custom_headers:custom_headers).value!
|
57
57
|
end
|
58
58
|
|
59
59
|
#
|
60
60
|
# Retrieve the activity in the module identified by module name and activity
|
61
61
|
# name.
|
62
62
|
#
|
63
|
-
# @param resource_group_name [String]
|
64
|
-
# @param automation_account_name [String] The automation account
|
63
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
64
|
+
# @param automation_account_name [String] The name of the automation account.
|
65
65
|
# @param module_name [String] The name of module.
|
66
66
|
# @param activity_name [String] The name of activity.
|
67
67
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
@@ -69,8 +69,10 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
69
69
|
#
|
70
70
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
71
71
|
#
|
72
|
-
def get_async(resource_group_name, automation_account_name, module_name, activity_name, custom_headers
|
72
|
+
def get_async(resource_group_name, automation_account_name, module_name, activity_name, custom_headers:nil)
|
73
73
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
74
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
75
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
74
76
|
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
75
77
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
76
78
|
fail ArgumentError, 'module_name is nil' if module_name.nil?
|
@@ -80,6 +82,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
80
82
|
|
81
83
|
|
82
84
|
request_headers = {}
|
85
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
83
86
|
|
84
87
|
# Set Headers
|
85
88
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -127,47 +130,49 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
127
130
|
#
|
128
131
|
# Retrieve a list of activities in the module identified by module name.
|
129
132
|
#
|
130
|
-
# @param resource_group_name [String]
|
131
|
-
# @param automation_account_name [String] The automation account
|
133
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
134
|
+
# @param automation_account_name [String] The name of the automation account.
|
132
135
|
# @param module_name [String] The name of module.
|
133
136
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
134
137
|
# will be added to the HTTP request.
|
135
138
|
#
|
136
139
|
# @return [Array<Activity>] operation results.
|
137
140
|
#
|
138
|
-
def list_by_module(resource_group_name, automation_account_name, module_name, custom_headers
|
139
|
-
first_page = list_by_module_as_lazy(resource_group_name, automation_account_name, module_name, custom_headers)
|
141
|
+
def list_by_module(resource_group_name, automation_account_name, module_name, custom_headers:nil)
|
142
|
+
first_page = list_by_module_as_lazy(resource_group_name, automation_account_name, module_name, custom_headers:custom_headers)
|
140
143
|
first_page.get_all_items
|
141
144
|
end
|
142
145
|
|
143
146
|
#
|
144
147
|
# Retrieve a list of activities in the module identified by module name.
|
145
148
|
#
|
146
|
-
# @param resource_group_name [String]
|
147
|
-
# @param automation_account_name [String] The automation account
|
149
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
150
|
+
# @param automation_account_name [String] The name of the automation account.
|
148
151
|
# @param module_name [String] The name of module.
|
149
152
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
150
153
|
# will be added to the HTTP request.
|
151
154
|
#
|
152
155
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
153
156
|
#
|
154
|
-
def list_by_module_with_http_info(resource_group_name, automation_account_name, module_name, custom_headers
|
155
|
-
list_by_module_async(resource_group_name, automation_account_name, module_name, custom_headers).value!
|
157
|
+
def list_by_module_with_http_info(resource_group_name, automation_account_name, module_name, custom_headers:nil)
|
158
|
+
list_by_module_async(resource_group_name, automation_account_name, module_name, custom_headers:custom_headers).value!
|
156
159
|
end
|
157
160
|
|
158
161
|
#
|
159
162
|
# Retrieve a list of activities in the module identified by module name.
|
160
163
|
#
|
161
|
-
# @param resource_group_name [String]
|
162
|
-
# @param automation_account_name [String] The automation account
|
164
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
165
|
+
# @param automation_account_name [String] The name of the automation account.
|
163
166
|
# @param module_name [String] The name of module.
|
164
167
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
165
168
|
# to the HTTP request.
|
166
169
|
#
|
167
170
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
168
171
|
#
|
169
|
-
def list_by_module_async(resource_group_name, automation_account_name, module_name, custom_headers
|
172
|
+
def list_by_module_async(resource_group_name, automation_account_name, module_name, custom_headers:nil)
|
170
173
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
174
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
175
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
171
176
|
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
172
177
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
173
178
|
fail ArgumentError, 'module_name is nil' if module_name.nil?
|
@@ -176,6 +181,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
176
181
|
|
177
182
|
|
178
183
|
request_headers = {}
|
184
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
179
185
|
|
180
186
|
# Set Headers
|
181
187
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -230,8 +236,8 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
230
236
|
#
|
231
237
|
# @return [ActivityListResult] operation results.
|
232
238
|
#
|
233
|
-
def list_by_module_next(next_page_link, custom_headers
|
234
|
-
response = list_by_module_next_async(next_page_link, custom_headers).value!
|
239
|
+
def list_by_module_next(next_page_link, custom_headers:nil)
|
240
|
+
response = list_by_module_next_async(next_page_link, custom_headers:custom_headers).value!
|
235
241
|
response.body unless response.nil?
|
236
242
|
end
|
237
243
|
|
@@ -245,8 +251,8 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
245
251
|
#
|
246
252
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
247
253
|
#
|
248
|
-
def list_by_module_next_with_http_info(next_page_link, custom_headers
|
249
|
-
list_by_module_next_async(next_page_link, custom_headers).value!
|
254
|
+
def list_by_module_next_with_http_info(next_page_link, custom_headers:nil)
|
255
|
+
list_by_module_next_async(next_page_link, custom_headers:custom_headers).value!
|
250
256
|
end
|
251
257
|
|
252
258
|
#
|
@@ -259,11 +265,12 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
259
265
|
#
|
260
266
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
261
267
|
#
|
262
|
-
def list_by_module_next_async(next_page_link, custom_headers
|
268
|
+
def list_by_module_next_async(next_page_link, custom_headers:nil)
|
263
269
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
264
270
|
|
265
271
|
|
266
272
|
request_headers = {}
|
273
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
267
274
|
|
268
275
|
# Set Headers
|
269
276
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -310,8 +317,8 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
310
317
|
#
|
311
318
|
# Retrieve a list of activities in the module identified by module name.
|
312
319
|
#
|
313
|
-
# @param resource_group_name [String]
|
314
|
-
# @param automation_account_name [String] The automation account
|
320
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
321
|
+
# @param automation_account_name [String] The name of the automation account.
|
315
322
|
# @param module_name [String] The name of module.
|
316
323
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
317
324
|
# will be added to the HTTP request.
|
@@ -319,12 +326,12 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
319
326
|
# @return [ActivityListResult] which provide lazy access to pages of the
|
320
327
|
# response.
|
321
328
|
#
|
322
|
-
def list_by_module_as_lazy(resource_group_name, automation_account_name, module_name, custom_headers
|
323
|
-
response = list_by_module_async(resource_group_name, automation_account_name, module_name, custom_headers).value!
|
329
|
+
def list_by_module_as_lazy(resource_group_name, automation_account_name, module_name, custom_headers:nil)
|
330
|
+
response = list_by_module_async(resource_group_name, automation_account_name, module_name, custom_headers:custom_headers).value!
|
324
331
|
unless response.nil?
|
325
332
|
page = response.body
|
326
333
|
page.next_method = Proc.new do |next_page_link|
|
327
|
-
list_by_module_next_async(next_page_link, custom_headers)
|
334
|
+
list_by_module_next_async(next_page_link, custom_headers:custom_headers)
|
328
335
|
end
|
329
336
|
page
|
330
337
|
end
|