azure_mgmt_automation 0.14.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 +7 -0
- data/LICENSE.txt +21 -0
- data/lib/azure_mgmt_automation.rb +6 -0
- data/lib/generated/azure_mgmt_automation.rb +183 -0
- data/lib/generated/azure_mgmt_automation/activity_operations.rb +332 -0
- data/lib/generated/azure_mgmt_automation/agent_registration_information.rb +223 -0
- data/lib/generated/azure_mgmt_automation/automation_account_operations.rb +822 -0
- data/lib/generated/azure_mgmt_automation/automation_client.rb +245 -0
- data/lib/generated/azure_mgmt_automation/certificate_operations.rb +642 -0
- data/lib/generated/azure_mgmt_automation/connection_operations.rb +653 -0
- data/lib/generated/azure_mgmt_automation/connection_type_operations.rb +528 -0
- data/lib/generated/azure_mgmt_automation/credential_operations.rb +642 -0
- data/lib/generated/azure_mgmt_automation/dsc_compilation_job_operations.rb +534 -0
- data/lib/generated/azure_mgmt_automation/dsc_configuration_operations.rb +629 -0
- data/lib/generated/azure_mgmt_automation/dsc_node_configuration_operations.rb +532 -0
- data/lib/generated/azure_mgmt_automation/dsc_node_operations.rb +530 -0
- data/lib/generated/azure_mgmt_automation/fields.rb +124 -0
- data/lib/generated/azure_mgmt_automation/hybrid_runbook_worker_group_operations.rb +524 -0
- data/lib/generated/azure_mgmt_automation/job_operations.rb +888 -0
- data/lib/generated/azure_mgmt_automation/job_schedule_operations.rb +515 -0
- data/lib/generated/azure_mgmt_automation/job_stream_operations.rb +333 -0
- data/lib/generated/azure_mgmt_automation/models/activity.rb +133 -0
- data/lib/generated/azure_mgmt_automation/models/activity_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_automation/models/activity_output_type.rb +54 -0
- data/lib/generated/azure_mgmt_automation/models/activity_parameter.rb +129 -0
- data/lib/generated/azure_mgmt_automation/models/activity_parameter_set.rb +63 -0
- data/lib/generated/azure_mgmt_automation/models/advanced_schedule.rb +89 -0
- data/lib/generated/azure_mgmt_automation/models/advanced_schedule_monthly_occurrence.rb +58 -0
- data/lib/generated/azure_mgmt_automation/models/agent_registration.rb +76 -0
- data/lib/generated/azure_mgmt_automation/models/agent_registration_key_name.rb +16 -0
- data/lib/generated/azure_mgmt_automation/models/agent_registration_keys.rb +54 -0
- data/lib/generated/azure_mgmt_automation/models/agent_registration_regenerate_key_parameter.rb +84 -0
- data/lib/generated/azure_mgmt_automation/models/automation_account.rb +154 -0
- data/lib/generated/azure_mgmt_automation/models/automation_account_create_or_update_parameters.rb +85 -0
- data/lib/generated/azure_mgmt_automation/models/automation_account_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_automation/models/automation_account_state.rb +17 -0
- data/lib/generated/azure_mgmt_automation/models/automation_account_update_parameters.rb +83 -0
- data/lib/generated/azure_mgmt_automation/models/certificate.rb +121 -0
- data/lib/generated/azure_mgmt_automation/models/certificate_create_or_update_parameters.rb +87 -0
- data/lib/generated/azure_mgmt_automation/models/certificate_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_automation/models/certificate_update_parameters.rb +54 -0
- data/lib/generated/azure_mgmt_automation/models/connection.rb +119 -0
- data/lib/generated/azure_mgmt_automation/models/connection_create_or_update_parameters.rb +84 -0
- data/lib/generated/azure_mgmt_automation/models/connection_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_automation/models/connection_type.rb +118 -0
- data/lib/generated/azure_mgmt_automation/models/connection_type_association_property.rb +44 -0
- data/lib/generated/azure_mgmt_automation/models/connection_type_create_or_update_parameters.rb +75 -0
- data/lib/generated/azure_mgmt_automation/models/connection_type_list_result.rb +95 -0
- data/lib/generated/azure_mgmt_automation/models/connection_update_parameters.rb +72 -0
- data/lib/generated/azure_mgmt_automation/models/content_hash.rb +55 -0
- data/lib/generated/azure_mgmt_automation/models/content_link.rb +65 -0
- data/lib/generated/azure_mgmt_automation/models/content_source.rb +77 -0
- data/lib/generated/azure_mgmt_automation/models/content_source_type.rb +16 -0
- data/lib/generated/azure_mgmt_automation/models/credential.rb +98 -0
- data/lib/generated/azure_mgmt_automation/models/credential_create_or_update_parameters.rb +74 -0
- data/lib/generated/azure_mgmt_automation/models/credential_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_automation/models/credential_update_parameters.rb +74 -0
- data/lib/generated/azure_mgmt_automation/models/dsc_compilation_job.rb +186 -0
- data/lib/generated/azure_mgmt_automation/models/dsc_compilation_job_create_parameters.rb +102 -0
- data/lib/generated/azure_mgmt_automation/models/dsc_compilation_job_list_result.rb +95 -0
- data/lib/generated/azure_mgmt_automation/models/dsc_configuration.rb +193 -0
- data/lib/generated/azure_mgmt_automation/models/dsc_configuration_association_property.rb +44 -0
- data/lib/generated/azure_mgmt_automation/models/dsc_configuration_create_or_update_parameters.rb +132 -0
- data/lib/generated/azure_mgmt_automation/models/dsc_configuration_list_result.rb +95 -0
- data/lib/generated/azure_mgmt_automation/models/dsc_configuration_parameter.rb +75 -0
- data/lib/generated/azure_mgmt_automation/models/dsc_configuration_provisioning_state.rb +15 -0
- data/lib/generated/azure_mgmt_automation/models/dsc_configuration_state.rb +17 -0
- data/lib/generated/azure_mgmt_automation/models/dsc_meta_configuration.rb +111 -0
- data/lib/generated/azure_mgmt_automation/models/dsc_node.rb +161 -0
- data/lib/generated/azure_mgmt_automation/models/dsc_node_configuration.rb +86 -0
- data/lib/generated/azure_mgmt_automation/models/dsc_node_configuration_association_property.rb +44 -0
- data/lib/generated/azure_mgmt_automation/models/dsc_node_configuration_create_or_update_parameters.rb +69 -0
- data/lib/generated/azure_mgmt_automation/models/dsc_node_configuration_list_result.rb +95 -0
- data/lib/generated/azure_mgmt_automation/models/dsc_node_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_automation/models/dsc_node_report.rb +265 -0
- data/lib/generated/azure_mgmt_automation/models/dsc_node_report_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_automation/models/dsc_node_update_parameters.rb +56 -0
- data/lib/generated/azure_mgmt_automation/models/dsc_report_error.rb +95 -0
- data/lib/generated/azure_mgmt_automation/models/dsc_report_resource.rb +143 -0
- data/lib/generated/azure_mgmt_automation/models/dsc_report_resource_navigation.rb +44 -0
- data/lib/generated/azure_mgmt_automation/models/error_response.rb +54 -0
- data/lib/generated/azure_mgmt_automation/models/field_definition.rb +67 -0
- data/lib/generated/azure_mgmt_automation/models/http_status_code.rb +61 -0
- data/lib/generated/azure_mgmt_automation/models/hybrid_runbook_worker.rb +65 -0
- data/lib/generated/azure_mgmt_automation/models/hybrid_runbook_worker_group.rb +85 -0
- data/lib/generated/azure_mgmt_automation/models/hybrid_runbook_worker_group_update_parameters.rb +46 -0
- data/lib/generated/azure_mgmt_automation/models/hybrid_runbook_worker_groups_list_result.rb +95 -0
- data/lib/generated/azure_mgmt_automation/models/job.rb +188 -0
- data/lib/generated/azure_mgmt_automation/models/job_create_parameters.rb +112 -0
- data/lib/generated/azure_mgmt_automation/models/job_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_automation/models/job_schedule.rb +105 -0
- data/lib/generated/azure_mgmt_automation/models/job_schedule_create_parameters.rb +84 -0
- data/lib/generated/azure_mgmt_automation/models/job_schedule_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_automation/models/job_status.rb +27 -0
- data/lib/generated/azure_mgmt_automation/models/job_stream.rb +113 -0
- data/lib/generated/azure_mgmt_automation/models/job_stream_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_automation/models/job_stream_type.rb +21 -0
- data/lib/generated/azure_mgmt_automation/models/module_create_or_update_parameters.rb +83 -0
- data/lib/generated/azure_mgmt_automation/models/module_error_info.rb +54 -0
- data/lib/generated/azure_mgmt_automation/models/module_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_automation/models/module_model.rb +198 -0
- data/lib/generated/azure_mgmt_automation/models/module_provisioning_state.rb +30 -0
- data/lib/generated/azure_mgmt_automation/models/module_update_parameters.rb +83 -0
- data/lib/generated/azure_mgmt_automation/models/operation.rb +55 -0
- data/lib/generated/azure_mgmt_automation/models/operation_display.rb +65 -0
- data/lib/generated/azure_mgmt_automation/models/operation_list_result.rb +53 -0
- data/lib/generated/azure_mgmt_automation/models/resource.rb +94 -0
- data/lib/generated/azure_mgmt_automation/models/run_as_credential_association_property.rb +44 -0
- data/lib/generated/azure_mgmt_automation/models/runbook.rb +263 -0
- data/lib/generated/azure_mgmt_automation/models/runbook_association_property.rb +44 -0
- data/lib/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_parameters.rb +44 -0
- data/lib/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_properties.rb +99 -0
- data/lib/generated/azure_mgmt_automation/models/runbook_create_or_update_parameters.rb +147 -0
- data/lib/generated/azure_mgmt_automation/models/runbook_draft.rb +112 -0
- data/lib/generated/azure_mgmt_automation/models/runbook_draft_undo_edit_result.rb +68 -0
- data/lib/generated/azure_mgmt_automation/models/runbook_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_automation/models/runbook_parameter.rb +75 -0
- data/lib/generated/azure_mgmt_automation/models/runbook_provisioning_state.rb +15 -0
- data/lib/generated/azure_mgmt_automation/models/runbook_state.rb +17 -0
- data/lib/generated/azure_mgmt_automation/models/runbook_type_enum.rb +20 -0
- data/lib/generated/azure_mgmt_automation/models/runbook_update_parameters.rb +113 -0
- data/lib/generated/azure_mgmt_automation/models/schedule.rb +199 -0
- data/lib/generated/azure_mgmt_automation/models/schedule_association_property.rb +44 -0
- data/lib/generated/azure_mgmt_automation/models/schedule_create_or_update_parameters.rb +116 -0
- data/lib/generated/azure_mgmt_automation/models/schedule_day.rb +21 -0
- data/lib/generated/azure_mgmt_automation/models/schedule_frequency.rb +19 -0
- data/lib/generated/azure_mgmt_automation/models/schedule_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_automation/models/schedule_update_parameters.rb +65 -0
- data/lib/generated/azure_mgmt_automation/models/sku.rb +65 -0
- data/lib/generated/azure_mgmt_automation/models/sku_name_enum.rb +16 -0
- data/lib/generated/azure_mgmt_automation/models/statistics.rb +89 -0
- data/lib/generated/azure_mgmt_automation/models/statistics_list_result.rb +52 -0
- data/lib/generated/azure_mgmt_automation/models/sub_resource.rb +44 -0
- data/lib/generated/azure_mgmt_automation/models/test_job.rb +144 -0
- data/lib/generated/azure_mgmt_automation/models/test_job_create_parameters.rb +73 -0
- data/lib/generated/azure_mgmt_automation/models/type_field.rb +54 -0
- data/lib/generated/azure_mgmt_automation/models/type_field_list_result.rb +52 -0
- data/lib/generated/azure_mgmt_automation/models/usage.rb +95 -0
- data/lib/generated/azure_mgmt_automation/models/usage_counter_name.rb +54 -0
- data/lib/generated/azure_mgmt_automation/models/usage_list_result.rb +52 -0
- data/lib/generated/azure_mgmt_automation/models/variable.rb +104 -0
- data/lib/generated/azure_mgmt_automation/models/variable_create_or_update_parameters.rb +74 -0
- data/lib/generated/azure_mgmt_automation/models/variable_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_automation/models/variable_update_parameters.rb +64 -0
- data/lib/generated/azure_mgmt_automation/models/webhook.rb +168 -0
- data/lib/generated/azure_mgmt_automation/models/webhook_create_or_update_parameters.rb +115 -0
- data/lib/generated/azure_mgmt_automation/models/webhook_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_automation/models/webhook_update_parameters.rb +94 -0
- data/lib/generated/azure_mgmt_automation/module_definition.rb +8 -0
- data/lib/generated/azure_mgmt_automation/module_model_operations.rb +633 -0
- data/lib/generated/azure_mgmt_automation/node_reports.rb +438 -0
- data/lib/generated/azure_mgmt_automation/object_data_types.rb +219 -0
- data/lib/generated/azure_mgmt_automation/operations.rb +106 -0
- data/lib/generated/azure_mgmt_automation/runbook_draft_operations.rb +605 -0
- data/lib/generated/azure_mgmt_automation/runbook_operations.rb +719 -0
- data/lib/generated/azure_mgmt_automation/schedule_operations.rb +626 -0
- data/lib/generated/azure_mgmt_automation/statistics_operations.rb +119 -0
- data/lib/generated/azure_mgmt_automation/test_job_streams.rb +333 -0
- data/lib/generated/azure_mgmt_automation/test_jobs.rb +486 -0
- data/lib/generated/azure_mgmt_automation/usages.rb +116 -0
- data/lib/generated/azure_mgmt_automation/variable_operations.rb +636 -0
- data/lib/generated/azure_mgmt_automation/version.rb +8 -0
- data/lib/generated/azure_mgmt_automation/webhook_operations.rb +737 -0
- metadata +275 -0
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
# encoding: utf-8
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
|
+
# regenerated.
|
|
5
|
+
|
|
6
|
+
module Azure::ARM::Automation
|
|
7
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
# The parameters supplied to the create or update dratft runbook
|
|
10
|
+
# properties.
|
|
11
|
+
#
|
|
12
|
+
class RunbookCreateOrUpdateDraftProperties
|
|
13
|
+
|
|
14
|
+
include MsRestAzure
|
|
15
|
+
|
|
16
|
+
# @return [Boolean] Gets or sets verbose log option.
|
|
17
|
+
attr_accessor :log_verbose
|
|
18
|
+
|
|
19
|
+
# @return [Boolean] Gets or sets progress log option.
|
|
20
|
+
attr_accessor :log_progress
|
|
21
|
+
|
|
22
|
+
# @return [RunbookTypeEnum] Gets or sets the type of the runbook.
|
|
23
|
+
# Possible values include: 'Script', 'Graph', 'PowerShellWorkflow',
|
|
24
|
+
# 'PowerShell', 'GraphPowerShellWorkflow', 'GraphPowerShell'
|
|
25
|
+
attr_accessor :runbook_type
|
|
26
|
+
|
|
27
|
+
# @return [RunbookDraft] Gets or sets the draft runbook properties.
|
|
28
|
+
attr_accessor :draft
|
|
29
|
+
|
|
30
|
+
# @return [String] Gets or sets the description of the runbook.
|
|
31
|
+
attr_accessor :description
|
|
32
|
+
|
|
33
|
+
# @return [Integer] Gets or sets the activity-level tracing options of
|
|
34
|
+
# the runbook.
|
|
35
|
+
attr_accessor :log_activity_trace
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
#
|
|
39
|
+
# Mapper for RunbookCreateOrUpdateDraftProperties class as Ruby Hash.
|
|
40
|
+
# This will be used for serialization/deserialization.
|
|
41
|
+
#
|
|
42
|
+
def self.mapper()
|
|
43
|
+
{
|
|
44
|
+
required: false,
|
|
45
|
+
serialized_name: 'RunbookCreateOrUpdateDraftProperties',
|
|
46
|
+
type: {
|
|
47
|
+
name: 'Composite',
|
|
48
|
+
class_name: 'RunbookCreateOrUpdateDraftProperties',
|
|
49
|
+
model_properties: {
|
|
50
|
+
log_verbose: {
|
|
51
|
+
required: false,
|
|
52
|
+
serialized_name: 'logVerbose',
|
|
53
|
+
type: {
|
|
54
|
+
name: 'Boolean'
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
log_progress: {
|
|
58
|
+
required: false,
|
|
59
|
+
serialized_name: 'logProgress',
|
|
60
|
+
type: {
|
|
61
|
+
name: 'Boolean'
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
runbook_type: {
|
|
65
|
+
required: true,
|
|
66
|
+
serialized_name: 'runbookType',
|
|
67
|
+
type: {
|
|
68
|
+
name: 'String'
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
draft: {
|
|
72
|
+
required: true,
|
|
73
|
+
serialized_name: 'draft',
|
|
74
|
+
type: {
|
|
75
|
+
name: 'Composite',
|
|
76
|
+
class_name: 'RunbookDraft'
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
description: {
|
|
80
|
+
required: false,
|
|
81
|
+
serialized_name: 'description',
|
|
82
|
+
type: {
|
|
83
|
+
name: 'String'
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
log_activity_trace: {
|
|
87
|
+
required: false,
|
|
88
|
+
serialized_name: 'logActivityTrace',
|
|
89
|
+
type: {
|
|
90
|
+
name: 'Number'
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
end
|
|
97
|
+
end
|
|
98
|
+
end
|
|
99
|
+
end
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
# encoding: utf-8
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
|
+
# regenerated.
|
|
5
|
+
|
|
6
|
+
module Azure::ARM::Automation
|
|
7
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
# The parameters supplied to the create or update runbook operation.
|
|
10
|
+
#
|
|
11
|
+
class RunbookCreateOrUpdateParameters
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [Boolean] Gets or sets verbose log option.
|
|
16
|
+
attr_accessor :log_verbose
|
|
17
|
+
|
|
18
|
+
# @return [Boolean] Gets or sets progress log option.
|
|
19
|
+
attr_accessor :log_progress
|
|
20
|
+
|
|
21
|
+
# @return [RunbookTypeEnum] Gets or sets the type of the runbook.
|
|
22
|
+
# Possible values include: 'Script', 'Graph', 'PowerShellWorkflow',
|
|
23
|
+
# 'PowerShell', 'GraphPowerShellWorkflow', 'GraphPowerShell'
|
|
24
|
+
attr_accessor :runbook_type
|
|
25
|
+
|
|
26
|
+
# @return [RunbookDraft] Gets or sets the draft runbook properties.
|
|
27
|
+
attr_accessor :draft
|
|
28
|
+
|
|
29
|
+
# @return [ContentLink] Gets or sets the published runbook content link.
|
|
30
|
+
attr_accessor :publish_content_link
|
|
31
|
+
|
|
32
|
+
# @return [String] Gets or sets the description of the runbook.
|
|
33
|
+
attr_accessor :description
|
|
34
|
+
|
|
35
|
+
# @return [Integer] Gets or sets the activity-level tracing options of
|
|
36
|
+
# the runbook.
|
|
37
|
+
attr_accessor :log_activity_trace
|
|
38
|
+
|
|
39
|
+
# @return [String] Gets or sets the name of the resource.
|
|
40
|
+
attr_accessor :name
|
|
41
|
+
|
|
42
|
+
# @return [String] Gets or sets the location of the resource.
|
|
43
|
+
attr_accessor :location
|
|
44
|
+
|
|
45
|
+
# @return [Hash{String => String}] Gets or sets the tags attached to the
|
|
46
|
+
# resource.
|
|
47
|
+
attr_accessor :tags
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
#
|
|
51
|
+
# Mapper for RunbookCreateOrUpdateParameters class as Ruby Hash.
|
|
52
|
+
# This will be used for serialization/deserialization.
|
|
53
|
+
#
|
|
54
|
+
def self.mapper()
|
|
55
|
+
{
|
|
56
|
+
required: false,
|
|
57
|
+
serialized_name: 'RunbookCreateOrUpdateParameters',
|
|
58
|
+
type: {
|
|
59
|
+
name: 'Composite',
|
|
60
|
+
class_name: 'RunbookCreateOrUpdateParameters',
|
|
61
|
+
model_properties: {
|
|
62
|
+
log_verbose: {
|
|
63
|
+
required: false,
|
|
64
|
+
serialized_name: 'properties.logVerbose',
|
|
65
|
+
type: {
|
|
66
|
+
name: 'Boolean'
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
log_progress: {
|
|
70
|
+
required: false,
|
|
71
|
+
serialized_name: 'properties.logProgress',
|
|
72
|
+
type: {
|
|
73
|
+
name: 'Boolean'
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
runbook_type: {
|
|
77
|
+
required: true,
|
|
78
|
+
serialized_name: 'properties.runbookType',
|
|
79
|
+
type: {
|
|
80
|
+
name: 'String'
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
draft: {
|
|
84
|
+
required: false,
|
|
85
|
+
serialized_name: 'properties.draft',
|
|
86
|
+
type: {
|
|
87
|
+
name: 'Composite',
|
|
88
|
+
class_name: 'RunbookDraft'
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
publish_content_link: {
|
|
92
|
+
required: false,
|
|
93
|
+
serialized_name: 'properties.publishContentLink',
|
|
94
|
+
type: {
|
|
95
|
+
name: 'Composite',
|
|
96
|
+
class_name: 'ContentLink'
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
description: {
|
|
100
|
+
required: false,
|
|
101
|
+
serialized_name: 'properties.description',
|
|
102
|
+
type: {
|
|
103
|
+
name: 'String'
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
log_activity_trace: {
|
|
107
|
+
required: false,
|
|
108
|
+
serialized_name: 'properties.logActivityTrace',
|
|
109
|
+
type: {
|
|
110
|
+
name: 'Number'
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
name: {
|
|
114
|
+
required: false,
|
|
115
|
+
serialized_name: 'name',
|
|
116
|
+
type: {
|
|
117
|
+
name: 'String'
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
location: {
|
|
121
|
+
required: false,
|
|
122
|
+
serialized_name: 'location',
|
|
123
|
+
type: {
|
|
124
|
+
name: 'String'
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
tags: {
|
|
128
|
+
required: false,
|
|
129
|
+
serialized_name: 'tags',
|
|
130
|
+
type: {
|
|
131
|
+
name: 'Dictionary',
|
|
132
|
+
value: {
|
|
133
|
+
required: false,
|
|
134
|
+
serialized_name: 'StringElementType',
|
|
135
|
+
type: {
|
|
136
|
+
name: 'String'
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
end
|
|
145
|
+
end
|
|
146
|
+
end
|
|
147
|
+
end
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
# encoding: utf-8
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
|
+
# regenerated.
|
|
5
|
+
|
|
6
|
+
module Azure::ARM::Automation
|
|
7
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
# Definition of the runbook type.
|
|
10
|
+
#
|
|
11
|
+
class RunbookDraft
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [Boolean] Gets or sets whether runbook is in edit mode.
|
|
16
|
+
attr_accessor :in_edit
|
|
17
|
+
|
|
18
|
+
# @return [ContentLink] Gets or sets the draft runbook content link.
|
|
19
|
+
attr_accessor :draft_content_link
|
|
20
|
+
|
|
21
|
+
# @return [DateTime] Gets or sets the creation time of the runbook draft.
|
|
22
|
+
attr_accessor :creation_time
|
|
23
|
+
|
|
24
|
+
# @return [DateTime] Gets or sets the last modified time of the runbook
|
|
25
|
+
# draft.
|
|
26
|
+
attr_accessor :last_modified_time
|
|
27
|
+
|
|
28
|
+
# @return [Hash{String => RunbookParameter}] Gets or sets the runbook
|
|
29
|
+
# draft parameters.
|
|
30
|
+
attr_accessor :parameters
|
|
31
|
+
|
|
32
|
+
# @return [Array<String>] Gets or sets the runbook output types.
|
|
33
|
+
attr_accessor :output_types
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
#
|
|
37
|
+
# Mapper for RunbookDraft class as Ruby Hash.
|
|
38
|
+
# This will be used for serialization/deserialization.
|
|
39
|
+
#
|
|
40
|
+
def self.mapper()
|
|
41
|
+
{
|
|
42
|
+
required: false,
|
|
43
|
+
serialized_name: 'RunbookDraft',
|
|
44
|
+
type: {
|
|
45
|
+
name: 'Composite',
|
|
46
|
+
class_name: 'RunbookDraft',
|
|
47
|
+
model_properties: {
|
|
48
|
+
in_edit: {
|
|
49
|
+
required: false,
|
|
50
|
+
serialized_name: 'inEdit',
|
|
51
|
+
type: {
|
|
52
|
+
name: 'Boolean'
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
draft_content_link: {
|
|
56
|
+
required: false,
|
|
57
|
+
serialized_name: 'draftContentLink',
|
|
58
|
+
type: {
|
|
59
|
+
name: 'Composite',
|
|
60
|
+
class_name: 'ContentLink'
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
creation_time: {
|
|
64
|
+
required: false,
|
|
65
|
+
serialized_name: 'creationTime',
|
|
66
|
+
type: {
|
|
67
|
+
name: 'DateTime'
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
last_modified_time: {
|
|
71
|
+
required: false,
|
|
72
|
+
serialized_name: 'lastModifiedTime',
|
|
73
|
+
type: {
|
|
74
|
+
name: 'DateTime'
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
parameters: {
|
|
78
|
+
required: false,
|
|
79
|
+
serialized_name: 'parameters',
|
|
80
|
+
type: {
|
|
81
|
+
name: 'Dictionary',
|
|
82
|
+
value: {
|
|
83
|
+
required: false,
|
|
84
|
+
serialized_name: 'RunbookParameterElementType',
|
|
85
|
+
type: {
|
|
86
|
+
name: 'Composite',
|
|
87
|
+
class_name: 'RunbookParameter'
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
output_types: {
|
|
93
|
+
required: false,
|
|
94
|
+
serialized_name: 'outputTypes',
|
|
95
|
+
type: {
|
|
96
|
+
name: 'Sequence',
|
|
97
|
+
element: {
|
|
98
|
+
required: false,
|
|
99
|
+
serialized_name: 'StringElementType',
|
|
100
|
+
type: {
|
|
101
|
+
name: 'String'
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
end
|
|
110
|
+
end
|
|
111
|
+
end
|
|
112
|
+
end
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# encoding: utf-8
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
|
+
# regenerated.
|
|
5
|
+
|
|
6
|
+
module Azure::ARM::Automation
|
|
7
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
# The response model for the undoedit runbook operation.
|
|
10
|
+
#
|
|
11
|
+
class RunbookDraftUndoEditResult
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [HttpStatusCode] Possible values include: 'Continue',
|
|
16
|
+
# 'SwitchingProtocols', 'OK', 'Created', 'Accepted',
|
|
17
|
+
# 'NonAuthoritativeInformation', 'NoContent', 'ResetContent',
|
|
18
|
+
# 'PartialContent', 'MultipleChoices', 'Ambiguous', 'MovedPermanently',
|
|
19
|
+
# 'Moved', 'Found', 'Redirect', 'SeeOther', 'RedirectMethod',
|
|
20
|
+
# 'NotModified', 'UseProxy', 'Unused', 'TemporaryRedirect',
|
|
21
|
+
# 'RedirectKeepVerb', 'BadRequest', 'Unauthorized', 'PaymentRequired',
|
|
22
|
+
# 'Forbidden', 'NotFound', 'MethodNotAllowed', 'NotAcceptable',
|
|
23
|
+
# 'ProxyAuthenticationRequired', 'RequestTimeout', 'Conflict', 'Gone',
|
|
24
|
+
# 'LengthRequired', 'PreconditionFailed', 'RequestEntityTooLarge',
|
|
25
|
+
# 'RequestUriTooLong', 'UnsupportedMediaType',
|
|
26
|
+
# 'RequestedRangeNotSatisfiable', 'ExpectationFailed', 'UpgradeRequired',
|
|
27
|
+
# 'InternalServerError', 'NotImplemented', 'BadGateway',
|
|
28
|
+
# 'ServiceUnavailable', 'GatewayTimeout', 'HttpVersionNotSupported'
|
|
29
|
+
attr_accessor :status_code
|
|
30
|
+
|
|
31
|
+
# @return [String]
|
|
32
|
+
attr_accessor :request_id
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
#
|
|
36
|
+
# Mapper for RunbookDraftUndoEditResult class as Ruby Hash.
|
|
37
|
+
# This will be used for serialization/deserialization.
|
|
38
|
+
#
|
|
39
|
+
def self.mapper()
|
|
40
|
+
{
|
|
41
|
+
required: false,
|
|
42
|
+
serialized_name: 'RunbookDraftUndoEditResult',
|
|
43
|
+
type: {
|
|
44
|
+
name: 'Composite',
|
|
45
|
+
class_name: 'RunbookDraftUndoEditResult',
|
|
46
|
+
model_properties: {
|
|
47
|
+
status_code: {
|
|
48
|
+
required: false,
|
|
49
|
+
serialized_name: 'statusCode',
|
|
50
|
+
type: {
|
|
51
|
+
name: 'Enum',
|
|
52
|
+
module: 'HttpStatusCode'
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
request_id: {
|
|
56
|
+
required: false,
|
|
57
|
+
serialized_name: 'requestId',
|
|
58
|
+
type: {
|
|
59
|
+
name: 'String'
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
end
|
|
66
|
+
end
|
|
67
|
+
end
|
|
68
|
+
end
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
# encoding: utf-8
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
|
+
# regenerated.
|
|
5
|
+
|
|
6
|
+
module Azure::ARM::Automation
|
|
7
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
# The response model for the list runbook operation.
|
|
10
|
+
#
|
|
11
|
+
class RunbookListResult
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
include MsRest::JSONable
|
|
16
|
+
# @return [Array<Runbook>] Gets or sets a list of runbooks.
|
|
17
|
+
attr_accessor :value
|
|
18
|
+
|
|
19
|
+
# @return [String] Gets or sets the next link.
|
|
20
|
+
attr_accessor :next_link
|
|
21
|
+
|
|
22
|
+
# return [Proc] with next page method call.
|
|
23
|
+
attr_accessor :next_method
|
|
24
|
+
|
|
25
|
+
#
|
|
26
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
|
27
|
+
#
|
|
28
|
+
# @return [Array<Runbook>] operation results.
|
|
29
|
+
#
|
|
30
|
+
def get_all_items
|
|
31
|
+
items = @value
|
|
32
|
+
page = self
|
|
33
|
+
while page.next_link != nil do
|
|
34
|
+
page = page.get_next_page
|
|
35
|
+
items.concat(page.value)
|
|
36
|
+
end
|
|
37
|
+
items
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
#
|
|
41
|
+
# Gets the next page of results.
|
|
42
|
+
#
|
|
43
|
+
# @return [RunbookListResult] with next page content.
|
|
44
|
+
#
|
|
45
|
+
def get_next_page
|
|
46
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
|
47
|
+
unless response.nil?
|
|
48
|
+
@next_link = response.body.next_link
|
|
49
|
+
@value = response.body.value
|
|
50
|
+
self
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
#
|
|
55
|
+
# Mapper for RunbookListResult class as Ruby Hash.
|
|
56
|
+
# This will be used for serialization/deserialization.
|
|
57
|
+
#
|
|
58
|
+
def self.mapper()
|
|
59
|
+
{
|
|
60
|
+
required: false,
|
|
61
|
+
serialized_name: 'RunbookListResult',
|
|
62
|
+
type: {
|
|
63
|
+
name: 'Composite',
|
|
64
|
+
class_name: 'RunbookListResult',
|
|
65
|
+
model_properties: {
|
|
66
|
+
value: {
|
|
67
|
+
required: false,
|
|
68
|
+
serialized_name: 'value',
|
|
69
|
+
type: {
|
|
70
|
+
name: 'Sequence',
|
|
71
|
+
element: {
|
|
72
|
+
required: false,
|
|
73
|
+
serialized_name: 'RunbookElementType',
|
|
74
|
+
type: {
|
|
75
|
+
name: 'Composite',
|
|
76
|
+
class_name: 'Runbook'
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
next_link: {
|
|
82
|
+
required: false,
|
|
83
|
+
serialized_name: 'nextLink',
|
|
84
|
+
type: {
|
|
85
|
+
name: 'String'
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
end
|
|
92
|
+
end
|
|
93
|
+
end
|
|
94
|
+
end
|