azure_mgmt_automation 0.16.0 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/2015-10-31/generated/azure_mgmt_automation.rb +110 -97
- data/lib/2015-10-31/generated/azure_mgmt_automation/activity_operations.rb +36 -25
- data/lib/2015-10-31/generated/azure_mgmt_automation/agent_registration_information.rb +32 -22
- data/lib/2015-10-31/generated/azure_mgmt_automation/automation_account_operations.rb +38 -31
- data/lib/2015-10-31/generated/azure_mgmt_automation/automation_client.rb +22 -12
- data/lib/2015-10-31/generated/azure_mgmt_automation/certificate_operations.rb +84 -58
- data/lib/2015-10-31/generated/azure_mgmt_automation/connection_operations.rb +84 -58
- data/lib/2015-10-31/generated/azure_mgmt_automation/connection_type_operations.rb +68 -47
- data/lib/2015-10-31/generated/azure_mgmt_automation/credential_operations.rb +84 -58
- data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_compilation_job_operations.rb +68 -47
- 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 +218 -61
- data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_configuration_operations.rb +69 -58
- data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_operations.rb +68 -47
- data/lib/2015-10-31/generated/azure_mgmt_automation/fields.rb +16 -11
- data/lib/2015-10-31/generated/azure_mgmt_automation/hybrid_runbook_worker_group_operations.rb +73 -48
- data/lib/2015-10-31/generated/azure_mgmt_automation/job_operations.rb +132 -91
- data/lib/2015-10-31/generated/azure_mgmt_automation/job_schedule_operations.rb +73 -48
- data/lib/2015-10-31/generated/azure_mgmt_automation/job_stream_operations.rb +36 -25
- 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_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_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 +1 -10
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection.rb +1 -10
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/credential.rb +1 -10
- 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 +3 -3
- 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 +12 -0
- 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 +1 -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 +4 -4
- 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/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_provisioning_state.rb +18 -0
- 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_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 +4 -34
- 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/schedule.rb +1 -10
- 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 +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_update_parameters.rb +1 -1
- 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 +1 -10
- 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_update_parameters.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/module_model_operations.rb +84 -58
- data/lib/2015-10-31/generated/azure_mgmt_automation/node_reports.rb +53 -54
- data/lib/2015-10-31/generated/azure_mgmt_automation/object_data_types.rb +32 -22
- data/lib/2015-10-31/generated/azure_mgmt_automation/runbook_draft_operations.rb +150 -107
- data/lib/2015-10-31/generated/azure_mgmt_automation/runbook_operations.rb +130 -78
- data/lib/2015-10-31/generated/azure_mgmt_automation/schedule_operations.rb +96 -60
- data/lib/2015-10-31/generated/azure_mgmt_automation/statistics_operations.rb +8 -6
- data/lib/2015-10-31/generated/azure_mgmt_automation/{test_jobs.rb → test_job_operations.rb} +87 -62
- data/lib/2015-10-31/generated/azure_mgmt_automation/test_job_streams.rb +44 -30
- data/lib/2015-10-31/generated/azure_mgmt_automation/usages.rb +8 -6
- data/lib/2015-10-31/generated/azure_mgmt_automation/variable_operations.rb +84 -58
- data/lib/2015-10-31/generated/azure_mgmt_automation/webhook_operations.rb +100 -69
- data/lib/profiles/latest/modules/automation_profile_module.rb +364 -318
- data/lib/version.rb +1 -1
- metadata +19 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 794a84bc41d393a443abd41119bb76a5118a56a5
|
|
4
|
+
data.tar.gz: 5317f716cf5f013b1aa9a3fc7333e0b40f35798b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f2c20d3ab412b3327a2b34739e8806e9377337ee80ce8d49d6cba9b2d360c063daa4e394694a7847a187b49112cd9381bd98b9398a0b5df33e991420d430dd44
|
|
7
|
+
data.tar.gz: 3785fc4488f904b1e3cfbe3ffb0720c21aef5945da626134409ebd2277cb75f8c77026ed91e734ea8d336314e2c88df3d40d463e98e72399673081ff237a89da
|
|
@@ -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,140 +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 :DscCompilationJob, '2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job.rb'
|
|
57
|
-
autoload :UsageCounterName, '2015-10-31/generated/azure_mgmt_automation/models/usage_counter_name.rb'
|
|
58
|
-
autoload :DscCompilationJobListResult, '2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_list_result.rb'
|
|
59
|
-
autoload :UsageListResult, '2015-10-31/generated/azure_mgmt_automation/models/usage_list_result.rb'
|
|
60
|
-
autoload :DscConfigurationListResult, '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_list_result.rb'
|
|
61
|
-
autoload :StatisticsListResult, '2015-10-31/generated/azure_mgmt_automation/models/statistics_list_result.rb'
|
|
62
|
-
autoload :DscConfigurationCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_create_or_update_parameters.rb'
|
|
63
|
-
autoload :ContentHash, '2015-10-31/generated/azure_mgmt_automation/models/content_hash.rb'
|
|
64
|
-
autoload :DscMetaConfiguration, '2015-10-31/generated/azure_mgmt_automation/models/dsc_meta_configuration.rb'
|
|
65
|
-
autoload :RunbookDraft, '2015-10-31/generated/azure_mgmt_automation/models/runbook_draft.rb'
|
|
66
|
-
autoload :DscNodeConfigurationCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_create_or_update_parameters.rb'
|
|
67
|
-
autoload :ModuleErrorInfo, '2015-10-31/generated/azure_mgmt_automation/models/module_error_info.rb'
|
|
68
|
-
autoload :DscNodeConfiguration, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration.rb'
|
|
58
|
+
autoload :AgentRegistration, '2015-10-31/generated/azure_mgmt_automation/models/agent_registration.rb'
|
|
69
59
|
autoload :DscNodeExtensionHandlerAssociationProperty, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_extension_handler_association_property.rb'
|
|
70
|
-
autoload :DscNodeConfigurationListResult, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_list_result.rb'
|
|
71
|
-
autoload :DscNodeConfigurationAssociationProperty, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_association_property.rb'
|
|
72
|
-
autoload :ContentSource, '2015-10-31/generated/azure_mgmt_automation/models/content_source.rb'
|
|
73
|
-
autoload :WebhookListResult, '2015-10-31/generated/azure_mgmt_automation/models/webhook_list_result.rb'
|
|
74
|
-
autoload :DscNodeListResult, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_list_result.rb'
|
|
75
|
-
autoload :Sku, '2015-10-31/generated/azure_mgmt_automation/models/sku.rb'
|
|
76
|
-
autoload :DscNodeUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_update_parameters.rb'
|
|
77
|
-
autoload :AutomationAccountListResult, '2015-10-31/generated/azure_mgmt_automation/models/automation_account_list_result.rb'
|
|
78
60
|
autoload :DscReportError, '2015-10-31/generated/azure_mgmt_automation/models/dsc_report_error.rb'
|
|
79
|
-
autoload :Operation, '2015-10-31/generated/azure_mgmt_automation/models/operation.rb'
|
|
80
61
|
autoload :DscReportResourceNavigation, '2015-10-31/generated/azure_mgmt_automation/models/dsc_report_resource_navigation.rb'
|
|
81
|
-
autoload :
|
|
62
|
+
autoload :AutomationAccountListResult, '2015-10-31/generated/azure_mgmt_automation/models/automation_account_list_result.rb'
|
|
82
63
|
autoload :DscReportResource, '2015-10-31/generated/azure_mgmt_automation/models/dsc_report_resource.rb'
|
|
83
|
-
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'
|
|
84
67
|
autoload :DscNodeReport, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_report.rb'
|
|
85
|
-
autoload :
|
|
68
|
+
autoload :UsageCounterName, '2015-10-31/generated/azure_mgmt_automation/models/usage_counter_name.rb'
|
|
86
69
|
autoload :DscNodeReportListResult, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node_report_list_result.rb'
|
|
87
|
-
autoload :
|
|
88
|
-
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'
|
|
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'
|
|
89
84
|
autoload :ConnectionListResult, '2015-10-31/generated/azure_mgmt_automation/models/connection_list_result.rb'
|
|
90
85
|
autoload :RunAsCredentialAssociationProperty, '2015-10-31/generated/azure_mgmt_automation/models/run_as_credential_association_property.rb'
|
|
91
|
-
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'
|
|
92
89
|
autoload :HybridRunbookWorkerGroup, '2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_group.rb'
|
|
93
|
-
autoload :
|
|
90
|
+
autoload :CredentialCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/credential_create_or_update_parameters.rb'
|
|
94
91
|
autoload :HybridRunbookWorkerGroupsListResult, '2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_groups_list_result.rb'
|
|
95
|
-
autoload :ConnectionTypeCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/connection_type_create_or_update_parameters.rb'
|
|
96
|
-
autoload :HybridRunbookWorkerGroupUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_group_update_parameters.rb'
|
|
97
92
|
autoload :CredentialListResult, '2015-10-31/generated/azure_mgmt_automation/models/credential_list_result.rb'
|
|
93
|
+
autoload :HybridRunbookWorkerGroupUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_group_update_parameters.rb'
|
|
94
|
+
autoload :DscConfigurationAssociationProperty, '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_association_property.rb'
|
|
98
95
|
autoload :RunbookAssociationProperty, '2015-10-31/generated/azure_mgmt_automation/models/runbook_association_property.rb'
|
|
99
|
-
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'
|
|
100
99
|
autoload :Job, '2015-10-31/generated/azure_mgmt_automation/models/job.rb'
|
|
101
|
-
autoload :
|
|
102
|
-
autoload :JobCreateParameters, '2015-10-31/generated/azure_mgmt_automation/models/job_create_parameters.rb'
|
|
103
|
-
autoload :Activity, '2015-10-31/generated/azure_mgmt_automation/models/activity.rb'
|
|
100
|
+
autoload :ContentHash, '2015-10-31/generated/azure_mgmt_automation/models/content_hash.rb'
|
|
104
101
|
autoload :JobListResult, '2015-10-31/generated/azure_mgmt_automation/models/job_list_result.rb'
|
|
105
|
-
autoload :
|
|
106
|
-
autoload :
|
|
107
|
-
autoload :
|
|
108
|
-
autoload :JobScheduleCreateParameters, '2015-10-31/generated/azure_mgmt_automation/models/job_schedule_create_parameters.rb'
|
|
109
|
-
autoload :AgentRegistrationRegenerateKeyParameter, '2015-10-31/generated/azure_mgmt_automation/models/agent_registration_regenerate_key_parameter.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'
|
|
110
105
|
autoload :JobSchedule, '2015-10-31/generated/azure_mgmt_automation/models/job_schedule.rb'
|
|
111
|
-
autoload :
|
|
106
|
+
autoload :DscConfigurationUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_update_parameters.rb'
|
|
112
107
|
autoload :JobScheduleListResult, '2015-10-31/generated/azure_mgmt_automation/models/job_schedule_list_result.rb'
|
|
113
|
-
autoload :
|
|
114
|
-
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
|
+
autoload :Resource, '2015-10-31/generated/azure_mgmt_automation/models/resource.rb'
|
|
119
|
+
autoload :ActivityOutputType, '2015-10-31/generated/azure_mgmt_automation/models/activity_output_type.rb'
|
|
120
|
+
autoload :CertificateListResult, '2015-10-31/generated/azure_mgmt_automation/models/certificate_list_result.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'
|
|
123
|
+
autoload :ActivityListResult, '2015-10-31/generated/azure_mgmt_automation/models/activity_list_result.rb'
|
|
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'
|
|
115
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'
|
|
129
|
+
autoload :ScheduleCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/schedule_create_or_update_parameters.rb'
|
|
116
130
|
autoload :JobStreamListResult, '2015-10-31/generated/azure_mgmt_automation/models/job_stream_list_result.rb'
|
|
117
|
-
autoload :Webhook, '2015-10-31/generated/azure_mgmt_automation/models/webhook.rb'
|
|
118
|
-
autoload :DscConfigurationParameter, '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_parameter.rb'
|
|
119
|
-
autoload :ModuleCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/module_create_or_update_parameters.rb'
|
|
120
|
-
autoload :WebhookUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/webhook_update_parameters.rb'
|
|
121
131
|
autoload :ModuleListResult, '2015-10-31/generated/azure_mgmt_automation/models/module_list_result.rb'
|
|
122
|
-
autoload :
|
|
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'
|
|
123
135
|
autoload :ModuleUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/module_update_parameters.rb'
|
|
124
|
-
autoload :
|
|
125
|
-
autoload :
|
|
126
|
-
autoload :Connection, '2015-10-31/generated/azure_mgmt_automation/models/connection.rb'
|
|
127
|
-
autoload :RunbookCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_parameters.rb'
|
|
128
|
-
autoload :FieldDefinition, '2015-10-31/generated/azure_mgmt_automation/models/field_definition.rb'
|
|
129
|
-
autoload :RunbookCreateOrUpdateDraftProperties, '2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_properties.rb'
|
|
130
|
-
autoload :Credential, '2015-10-31/generated/azure_mgmt_automation/models/credential.rb'
|
|
131
|
-
autoload :RunbookCreateOrUpdateDraftParameters, '2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_parameters.rb'
|
|
132
|
-
autoload :ActivityParameter, '2015-10-31/generated/azure_mgmt_automation/models/activity_parameter.rb'
|
|
133
|
-
autoload :RunbookUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/runbook_update_parameters.rb'
|
|
134
|
-
autoload :ActivityListResult, '2015-10-31/generated/azure_mgmt_automation/models/activity_list_result.rb'
|
|
135
|
-
autoload :RunbookListResult, '2015-10-31/generated/azure_mgmt_automation/models/runbook_list_result.rb'
|
|
136
|
-
autoload :AgentRegistration, '2015-10-31/generated/azure_mgmt_automation/models/agent_registration.rb'
|
|
137
|
-
autoload :ScheduleCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/schedule_create_or_update_parameters.rb'
|
|
136
|
+
autoload :AutomationAccountCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/automation_account_create_or_update_parameters.rb'
|
|
137
|
+
autoload :TypeField, '2015-10-31/generated/azure_mgmt_automation/models/type_field.rb'
|
|
138
138
|
autoload :Usage, '2015-10-31/generated/azure_mgmt_automation/models/usage.rb'
|
|
139
|
-
autoload :
|
|
140
|
-
autoload :
|
|
141
|
-
autoload :
|
|
142
|
-
autoload :ScheduleUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/schedule_update_parameters.rb'
|
|
143
|
-
autoload :AutomationAccountUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/automation_account_update_parameters.rb'
|
|
144
|
-
autoload :ScheduleListResult, '2015-10-31/generated/azure_mgmt_automation/models/schedule_list_result.rb'
|
|
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'
|
|
145
142
|
autoload :ConnectionUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/connection_update_parameters.rb'
|
|
146
|
-
autoload :
|
|
143
|
+
autoload :RunbookDraft, '2015-10-31/generated/azure_mgmt_automation/models/runbook_draft.rb'
|
|
147
144
|
autoload :CredentialUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/credential_update_parameters.rb'
|
|
148
|
-
autoload :TestJobCreateParameters, '2015-10-31/generated/azure_mgmt_automation/models/test_job_create_parameters.rb'
|
|
149
145
|
autoload :AdvancedSchedule, '2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule.rb'
|
|
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'
|
|
150
|
+
autoload :AutomationAccountUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/automation_account_update_parameters.rb'
|
|
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'
|
|
150
157
|
autoload :TestJob, '2015-10-31/generated/azure_mgmt_automation/models/test_job.rb'
|
|
151
|
-
autoload :
|
|
152
|
-
autoload :
|
|
153
|
-
autoload :
|
|
154
|
-
autoload :
|
|
155
|
-
autoload :
|
|
156
|
-
autoload :VariableCreateOrUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/variable_create_or_update_parameters.rb'
|
|
157
|
-
autoload :OperationDisplay, '2015-10-31/generated/azure_mgmt_automation/models/operation_display.rb'
|
|
158
|
-
autoload :Variable, '2015-10-31/generated/azure_mgmt_automation/models/variable.rb'
|
|
159
|
-
autoload :DscConfigurationAssociationProperty, '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_association_property.rb'
|
|
160
|
-
autoload :VariableListResult, '2015-10-31/generated/azure_mgmt_automation/models/variable_list_result.rb'
|
|
161
|
-
autoload :ConnectionTypeListResult, '2015-10-31/generated/azure_mgmt_automation/models/connection_type_list_result.rb'
|
|
162
|
-
autoload :VariableUpdateParameters, '2015-10-31/generated/azure_mgmt_automation/models/variable_update_parameters.rb'
|
|
163
|
-
autoload :Runbook, '2015-10-31/generated/azure_mgmt_automation/models/runbook.rb'
|
|
164
|
-
autoload :ModuleModel, '2015-10-31/generated/azure_mgmt_automation/models/module_model.rb'
|
|
165
|
-
autoload :DscNode, '2015-10-31/generated/azure_mgmt_automation/models/dsc_node.rb'
|
|
166
|
-
autoload :DscConfiguration, '2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration.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'
|
|
167
163
|
autoload :AutomationAccount, '2015-10-31/generated/azure_mgmt_automation/models/automation_account.rb'
|
|
168
|
-
autoload :
|
|
169
|
-
autoload :
|
|
170
|
-
autoload :
|
|
171
|
-
autoload :
|
|
172
|
-
autoload :
|
|
173
|
-
autoload :
|
|
174
|
-
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'
|
|
175
177
|
autoload :SkuNameEnum, '2015-10-31/generated/azure_mgmt_automation/models/sku_name_enum.rb'
|
|
176
178
|
autoload :AutomationAccountState, '2015-10-31/generated/azure_mgmt_automation/models/automation_account_state.rb'
|
|
177
|
-
autoload :
|
|
178
|
-
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'
|
|
179
182
|
autoload :JobStatus, '2015-10-31/generated/azure_mgmt_automation/models/job_status.rb'
|
|
180
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'
|
|
181
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'
|
|
182
195
|
autoload :ScheduleFrequency, '2015-10-31/generated/azure_mgmt_automation/models/schedule_frequency.rb'
|
|
183
196
|
end
|
|
184
197
|
end
|
|
@@ -25,7 +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
|
|
28
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
|
29
|
+
# @param automation_account_name [String] The name of the automation account.
|
|
29
30
|
# @param module_name [String] The name of module.
|
|
30
31
|
# @param activity_name [String] The name of activity.
|
|
31
32
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
@@ -33,8 +34,8 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
|
33
34
|
#
|
|
34
35
|
# @return [Activity] operation results.
|
|
35
36
|
#
|
|
36
|
-
def get(automation_account_name, module_name, activity_name, custom_headers:nil)
|
|
37
|
-
response = get_async(automation_account_name, module_name, activity_name, custom_headers: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!
|
|
38
39
|
response.body unless response.nil?
|
|
39
40
|
end
|
|
40
41
|
|
|
@@ -42,7 +43,8 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
|
42
43
|
# Retrieve the activity in the module identified by module name and activity
|
|
43
44
|
# name.
|
|
44
45
|
#
|
|
45
|
-
# @param
|
|
46
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
|
47
|
+
# @param automation_account_name [String] The name of the automation account.
|
|
46
48
|
# @param module_name [String] The name of module.
|
|
47
49
|
# @param activity_name [String] The name of activity.
|
|
48
50
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
@@ -50,15 +52,16 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
|
50
52
|
#
|
|
51
53
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
|
52
54
|
#
|
|
53
|
-
def get_with_http_info(automation_account_name, module_name, activity_name, custom_headers:nil)
|
|
54
|
-
get_async(automation_account_name, module_name, activity_name, custom_headers: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!
|
|
55
57
|
end
|
|
56
58
|
|
|
57
59
|
#
|
|
58
60
|
# Retrieve the activity in the module identified by module name and activity
|
|
59
61
|
# name.
|
|
60
62
|
#
|
|
61
|
-
# @param
|
|
63
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
|
64
|
+
# @param automation_account_name [String] The name of the automation account.
|
|
62
65
|
# @param module_name [String] The name of module.
|
|
63
66
|
# @param activity_name [String] The name of activity.
|
|
64
67
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
@@ -66,9 +69,11 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
|
66
69
|
#
|
|
67
70
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
|
68
71
|
#
|
|
69
|
-
def get_async(automation_account_name, module_name, activity_name, custom_headers:nil)
|
|
70
|
-
fail ArgumentError, '
|
|
71
|
-
fail ArgumentError, "'
|
|
72
|
+
def get_async(resource_group_name, automation_account_name, module_name, activity_name, custom_headers:nil)
|
|
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
|
|
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?
|
|
72
77
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
|
73
78
|
fail ArgumentError, 'module_name is nil' if module_name.nil?
|
|
74
79
|
fail ArgumentError, 'activity_name is nil' if activity_name.nil?
|
|
@@ -88,7 +93,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
|
88
93
|
|
|
89
94
|
options = {
|
|
90
95
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
|
91
|
-
path_params: {'resourceGroupName' =>
|
|
96
|
+
path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'moduleName' => module_name,'activityName' => activity_name,'subscriptionId' => @client.subscription_id},
|
|
92
97
|
query_params: {'api-version' => @client.api_version},
|
|
93
98
|
headers: request_headers.merge(custom_headers || {}),
|
|
94
99
|
base_url: request_url
|
|
@@ -125,45 +130,50 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
|
125
130
|
#
|
|
126
131
|
# Retrieve a list of activities in the module identified by module name.
|
|
127
132
|
#
|
|
128
|
-
# @param
|
|
133
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
|
134
|
+
# @param automation_account_name [String] The name of the automation account.
|
|
129
135
|
# @param module_name [String] The name of module.
|
|
130
136
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
131
137
|
# will be added to the HTTP request.
|
|
132
138
|
#
|
|
133
139
|
# @return [Array<Activity>] operation results.
|
|
134
140
|
#
|
|
135
|
-
def list_by_module(automation_account_name, module_name, custom_headers:nil)
|
|
136
|
-
first_page = list_by_module_as_lazy(automation_account_name, module_name, custom_headers: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)
|
|
137
143
|
first_page.get_all_items
|
|
138
144
|
end
|
|
139
145
|
|
|
140
146
|
#
|
|
141
147
|
# Retrieve a list of activities in the module identified by module name.
|
|
142
148
|
#
|
|
143
|
-
# @param
|
|
149
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
|
150
|
+
# @param automation_account_name [String] The name of the automation account.
|
|
144
151
|
# @param module_name [String] The name of module.
|
|
145
152
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
146
153
|
# will be added to the HTTP request.
|
|
147
154
|
#
|
|
148
155
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
|
149
156
|
#
|
|
150
|
-
def list_by_module_with_http_info(automation_account_name, module_name, custom_headers:nil)
|
|
151
|
-
list_by_module_async(automation_account_name, module_name, custom_headers: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!
|
|
152
159
|
end
|
|
153
160
|
|
|
154
161
|
#
|
|
155
162
|
# Retrieve a list of activities in the module identified by module name.
|
|
156
163
|
#
|
|
157
|
-
# @param
|
|
164
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
|
165
|
+
# @param automation_account_name [String] The name of the automation account.
|
|
158
166
|
# @param module_name [String] The name of module.
|
|
159
167
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
160
168
|
# to the HTTP request.
|
|
161
169
|
#
|
|
162
170
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
|
163
171
|
#
|
|
164
|
-
def list_by_module_async(automation_account_name, module_name, custom_headers:nil)
|
|
165
|
-
fail ArgumentError, '
|
|
166
|
-
fail ArgumentError, "'
|
|
172
|
+
def list_by_module_async(resource_group_name, automation_account_name, module_name, custom_headers:nil)
|
|
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
|
|
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?
|
|
167
177
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
|
168
178
|
fail ArgumentError, 'module_name is nil' if module_name.nil?
|
|
169
179
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
|
@@ -182,7 +192,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
|
182
192
|
|
|
183
193
|
options = {
|
|
184
194
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
|
185
|
-
path_params: {'resourceGroupName' =>
|
|
195
|
+
path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'moduleName' => module_name,'subscriptionId' => @client.subscription_id},
|
|
186
196
|
query_params: {'api-version' => @client.api_version},
|
|
187
197
|
headers: request_headers.merge(custom_headers || {}),
|
|
188
198
|
base_url: request_url
|
|
@@ -307,7 +317,8 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
|
307
317
|
#
|
|
308
318
|
# Retrieve a list of activities in the module identified by module name.
|
|
309
319
|
#
|
|
310
|
-
# @param
|
|
320
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
|
321
|
+
# @param automation_account_name [String] The name of the automation account.
|
|
311
322
|
# @param module_name [String] The name of module.
|
|
312
323
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
313
324
|
# will be added to the HTTP request.
|
|
@@ -315,8 +326,8 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
|
315
326
|
# @return [ActivityListResult] which provide lazy access to pages of the
|
|
316
327
|
# response.
|
|
317
328
|
#
|
|
318
|
-
def list_by_module_as_lazy(automation_account_name, module_name, custom_headers:nil)
|
|
319
|
-
response = list_by_module_async(automation_account_name, module_name, custom_headers: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!
|
|
320
331
|
unless response.nil?
|
|
321
332
|
page = response.body
|
|
322
333
|
page.next_method = Proc.new do |next_page_link|
|
|
@@ -24,42 +24,47 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
|
24
24
|
#
|
|
25
25
|
# Retrieve the automation agent registration information.
|
|
26
26
|
#
|
|
27
|
-
# @param
|
|
27
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
|
28
|
+
# @param automation_account_name [String] The name of the automation account.
|
|
28
29
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
29
30
|
# will be added to the HTTP request.
|
|
30
31
|
#
|
|
31
32
|
# @return [AgentRegistration] operation results.
|
|
32
33
|
#
|
|
33
|
-
def get(automation_account_name, custom_headers:nil)
|
|
34
|
-
response = get_async(automation_account_name, custom_headers:custom_headers).value!
|
|
34
|
+
def get(resource_group_name, automation_account_name, custom_headers:nil)
|
|
35
|
+
response = get_async(resource_group_name, automation_account_name, custom_headers:custom_headers).value!
|
|
35
36
|
response.body unless response.nil?
|
|
36
37
|
end
|
|
37
38
|
|
|
38
39
|
#
|
|
39
40
|
# Retrieve the automation agent registration information.
|
|
40
41
|
#
|
|
41
|
-
# @param
|
|
42
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
|
43
|
+
# @param automation_account_name [String] The name of the automation account.
|
|
42
44
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
43
45
|
# will be added to the HTTP request.
|
|
44
46
|
#
|
|
45
47
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
|
46
48
|
#
|
|
47
|
-
def get_with_http_info(automation_account_name, custom_headers:nil)
|
|
48
|
-
get_async(automation_account_name, custom_headers:custom_headers).value!
|
|
49
|
+
def get_with_http_info(resource_group_name, automation_account_name, custom_headers:nil)
|
|
50
|
+
get_async(resource_group_name, automation_account_name, custom_headers:custom_headers).value!
|
|
49
51
|
end
|
|
50
52
|
|
|
51
53
|
#
|
|
52
54
|
# Retrieve the automation agent registration information.
|
|
53
55
|
#
|
|
54
|
-
# @param
|
|
56
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
|
57
|
+
# @param automation_account_name [String] The name of the automation account.
|
|
55
58
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
56
59
|
# to the HTTP request.
|
|
57
60
|
#
|
|
58
61
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
|
59
62
|
#
|
|
60
|
-
def get_async(automation_account_name, custom_headers:nil)
|
|
61
|
-
fail ArgumentError, '
|
|
62
|
-
fail ArgumentError, "'
|
|
63
|
+
def get_async(resource_group_name, automation_account_name, custom_headers:nil)
|
|
64
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
|
65
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
|
66
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
|
67
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
|
63
68
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
|
64
69
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
|
65
70
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
|
@@ -77,7 +82,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
|
77
82
|
|
|
78
83
|
options = {
|
|
79
84
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
|
80
|
-
path_params: {'resourceGroupName' =>
|
|
85
|
+
path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id},
|
|
81
86
|
query_params: {'api-version' => @client.api_version},
|
|
82
87
|
headers: request_headers.merge(custom_headers || {}),
|
|
83
88
|
base_url: request_url
|
|
@@ -114,7 +119,8 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
|
114
119
|
#
|
|
115
120
|
# Regenerate a primary or secondary agent registration key
|
|
116
121
|
#
|
|
117
|
-
# @param
|
|
122
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
|
123
|
+
# @param automation_account_name [String] The name of the automation account.
|
|
118
124
|
# @param parameters [AgentRegistrationRegenerateKeyParameter] The name of the
|
|
119
125
|
# agent registration key to be regenerated
|
|
120
126
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
@@ -122,15 +128,16 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
|
122
128
|
#
|
|
123
129
|
# @return [AgentRegistration] operation results.
|
|
124
130
|
#
|
|
125
|
-
def regenerate_key(automation_account_name, parameters, custom_headers:nil)
|
|
126
|
-
response = regenerate_key_async(automation_account_name, parameters, custom_headers:custom_headers).value!
|
|
131
|
+
def regenerate_key(resource_group_name, automation_account_name, parameters, custom_headers:nil)
|
|
132
|
+
response = regenerate_key_async(resource_group_name, automation_account_name, parameters, custom_headers:custom_headers).value!
|
|
127
133
|
response.body unless response.nil?
|
|
128
134
|
end
|
|
129
135
|
|
|
130
136
|
#
|
|
131
137
|
# Regenerate a primary or secondary agent registration key
|
|
132
138
|
#
|
|
133
|
-
# @param
|
|
139
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
|
140
|
+
# @param automation_account_name [String] The name of the automation account.
|
|
134
141
|
# @param parameters [AgentRegistrationRegenerateKeyParameter] The name of the
|
|
135
142
|
# agent registration key to be regenerated
|
|
136
143
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
@@ -138,14 +145,15 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
|
138
145
|
#
|
|
139
146
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
|
140
147
|
#
|
|
141
|
-
def regenerate_key_with_http_info(automation_account_name, parameters, custom_headers:nil)
|
|
142
|
-
regenerate_key_async(automation_account_name, parameters, custom_headers:custom_headers).value!
|
|
148
|
+
def regenerate_key_with_http_info(resource_group_name, automation_account_name, parameters, custom_headers:nil)
|
|
149
|
+
regenerate_key_async(resource_group_name, automation_account_name, parameters, custom_headers:custom_headers).value!
|
|
143
150
|
end
|
|
144
151
|
|
|
145
152
|
#
|
|
146
153
|
# Regenerate a primary or secondary agent registration key
|
|
147
154
|
#
|
|
148
|
-
# @param
|
|
155
|
+
# @param resource_group_name [String] Name of an Azure Resource group.
|
|
156
|
+
# @param automation_account_name [String] The name of the automation account.
|
|
149
157
|
# @param parameters [AgentRegistrationRegenerateKeyParameter] The name of the
|
|
150
158
|
# agent registration key to be regenerated
|
|
151
159
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
@@ -153,9 +161,11 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
|
153
161
|
#
|
|
154
162
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
|
155
163
|
#
|
|
156
|
-
def regenerate_key_async(automation_account_name, parameters, custom_headers:nil)
|
|
157
|
-
fail ArgumentError, '
|
|
158
|
-
fail ArgumentError, "'
|
|
164
|
+
def regenerate_key_async(resource_group_name, automation_account_name, parameters, custom_headers:nil)
|
|
165
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
|
166
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
|
167
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
|
168
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
|
159
169
|
fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
|
|
160
170
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
|
161
171
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
|
@@ -180,7 +190,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
|
180
190
|
|
|
181
191
|
options = {
|
|
182
192
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
|
183
|
-
path_params: {'resourceGroupName' =>
|
|
193
|
+
path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id},
|
|
184
194
|
query_params: {'api-version' => @client.api_version},
|
|
185
195
|
body: request_content,
|
|
186
196
|
headers: request_headers.merge(custom_headers || {}),
|