azure_mgmt_automation 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- 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,75 @@
|
|
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 parameter type.
|
10
|
+
#
|
11
|
+
class RunbookParameter
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Gets or sets the type of the parameter.
|
16
|
+
attr_accessor :type
|
17
|
+
|
18
|
+
# @return [Boolean] Gets or sets a Boolean value to indicate whether the
|
19
|
+
# parameter is madatory or not.
|
20
|
+
attr_accessor :is_mandatory
|
21
|
+
|
22
|
+
# @return [Integer] Get or sets the position of the parameter.
|
23
|
+
attr_accessor :position
|
24
|
+
|
25
|
+
# @return [String] Gets or sets the default value of parameter.
|
26
|
+
attr_accessor :default_value
|
27
|
+
|
28
|
+
|
29
|
+
#
|
30
|
+
# Mapper for RunbookParameter class as Ruby Hash.
|
31
|
+
# This will be used for serialization/deserialization.
|
32
|
+
#
|
33
|
+
def self.mapper()
|
34
|
+
{
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'RunbookParameter',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'RunbookParameter',
|
40
|
+
model_properties: {
|
41
|
+
type: {
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'type',
|
44
|
+
type: {
|
45
|
+
name: 'String'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
is_mandatory: {
|
49
|
+
required: false,
|
50
|
+
serialized_name: 'isMandatory',
|
51
|
+
type: {
|
52
|
+
name: 'Boolean'
|
53
|
+
}
|
54
|
+
},
|
55
|
+
position: {
|
56
|
+
required: false,
|
57
|
+
serialized_name: 'position',
|
58
|
+
type: {
|
59
|
+
name: 'Number'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
default_value: {
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'defaultValue',
|
65
|
+
type: {
|
66
|
+
name: 'String'
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
75
|
+
end
|
@@ -0,0 +1,15 @@
|
|
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
|
+
# Defines values for RunbookProvisioningState
|
10
|
+
#
|
11
|
+
module RunbookProvisioningState
|
12
|
+
Succeeded = "Succeeded"
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,17 @@
|
|
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
|
+
# Defines values for RunbookState
|
10
|
+
#
|
11
|
+
module RunbookState
|
12
|
+
New = "New"
|
13
|
+
Edit = "Edit"
|
14
|
+
Published = "Published"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,20 @@
|
|
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
|
+
# Defines values for RunbookTypeEnum
|
10
|
+
#
|
11
|
+
module RunbookTypeEnum
|
12
|
+
Script = "Script"
|
13
|
+
Graph = "Graph"
|
14
|
+
PowerShellWorkflow = "PowerShellWorkflow"
|
15
|
+
PowerShell = "PowerShell"
|
16
|
+
GraphPowerShellWorkflow = "GraphPowerShellWorkflow"
|
17
|
+
GraphPowerShell = "GraphPowerShell"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,113 @@
|
|
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 update runbook operation.
|
10
|
+
#
|
11
|
+
class RunbookUpdateParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Gets or sets the description of the runbook.
|
16
|
+
attr_accessor :description
|
17
|
+
|
18
|
+
# @return [Boolean] Gets or sets verbose log option.
|
19
|
+
attr_accessor :log_verbose
|
20
|
+
|
21
|
+
# @return [Boolean] Gets or sets progress log option.
|
22
|
+
attr_accessor :log_progress
|
23
|
+
|
24
|
+
# @return [Integer] Gets or sets the activity-level tracing options of
|
25
|
+
# the runbook.
|
26
|
+
attr_accessor :log_activity_trace
|
27
|
+
|
28
|
+
# @return [String] Gets or sets the name of the resource.
|
29
|
+
attr_accessor :name
|
30
|
+
|
31
|
+
# @return [String] Gets or sets the location of the resource.
|
32
|
+
attr_accessor :location
|
33
|
+
|
34
|
+
# @return [Hash{String => String}] Gets or sets the tags attached to the
|
35
|
+
# resource.
|
36
|
+
attr_accessor :tags
|
37
|
+
|
38
|
+
|
39
|
+
#
|
40
|
+
# Mapper for RunbookUpdateParameters class as Ruby Hash.
|
41
|
+
# This will be used for serialization/deserialization.
|
42
|
+
#
|
43
|
+
def self.mapper()
|
44
|
+
{
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'RunbookUpdateParameters',
|
47
|
+
type: {
|
48
|
+
name: 'Composite',
|
49
|
+
class_name: 'RunbookUpdateParameters',
|
50
|
+
model_properties: {
|
51
|
+
description: {
|
52
|
+
required: false,
|
53
|
+
serialized_name: 'properties.description',
|
54
|
+
type: {
|
55
|
+
name: 'String'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
log_verbose: {
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'properties.logVerbose',
|
61
|
+
type: {
|
62
|
+
name: 'Boolean'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
log_progress: {
|
66
|
+
required: false,
|
67
|
+
serialized_name: 'properties.logProgress',
|
68
|
+
type: {
|
69
|
+
name: 'Boolean'
|
70
|
+
}
|
71
|
+
},
|
72
|
+
log_activity_trace: {
|
73
|
+
required: false,
|
74
|
+
serialized_name: 'properties.logActivityTrace',
|
75
|
+
type: {
|
76
|
+
name: 'Number'
|
77
|
+
}
|
78
|
+
},
|
79
|
+
name: {
|
80
|
+
required: false,
|
81
|
+
serialized_name: 'name',
|
82
|
+
type: {
|
83
|
+
name: 'String'
|
84
|
+
}
|
85
|
+
},
|
86
|
+
location: {
|
87
|
+
required: false,
|
88
|
+
serialized_name: 'location',
|
89
|
+
type: {
|
90
|
+
name: 'String'
|
91
|
+
}
|
92
|
+
},
|
93
|
+
tags: {
|
94
|
+
required: false,
|
95
|
+
serialized_name: 'tags',
|
96
|
+
type: {
|
97
|
+
name: 'Dictionary',
|
98
|
+
value: {
|
99
|
+
required: false,
|
100
|
+
serialized_name: 'StringElementType',
|
101
|
+
type: {
|
102
|
+
name: 'String'
|
103
|
+
}
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
110
|
+
end
|
111
|
+
end
|
112
|
+
end
|
113
|
+
end
|
@@ -0,0 +1,199 @@
|
|
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 schedule.
|
10
|
+
#
|
11
|
+
class Schedule
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Gets or sets the id of the resource.
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
# @return [String] Gets or sets the name of the schedule.
|
19
|
+
attr_accessor :name
|
20
|
+
|
21
|
+
# @return [DateTime] Gets or sets the start time of the schedule.
|
22
|
+
attr_accessor :start_time
|
23
|
+
|
24
|
+
# @return [Float] Gets the start time's offset in minutes.
|
25
|
+
attr_accessor :start_time_offset_minutes
|
26
|
+
|
27
|
+
# @return [DateTime] Gets or sets the end time of the schedule.
|
28
|
+
attr_accessor :expiry_time
|
29
|
+
|
30
|
+
# @return [Float] Gets or sets the expiry time's offset in minutes.
|
31
|
+
attr_accessor :expiry_time_offset_minutes
|
32
|
+
|
33
|
+
# @return [Boolean] Gets or sets a value indicating whether this schedule
|
34
|
+
# is enabled. Default value: false .
|
35
|
+
attr_accessor :is_enabled
|
36
|
+
|
37
|
+
# @return [DateTime] Gets or sets the next run time of the schedule.
|
38
|
+
attr_accessor :next_run
|
39
|
+
|
40
|
+
# @return [Float] Gets or sets the next run time's offset in minutes.
|
41
|
+
attr_accessor :next_run_offset_minutes
|
42
|
+
|
43
|
+
# @return Gets or sets the interval of the schedule.
|
44
|
+
attr_accessor :interval
|
45
|
+
|
46
|
+
# @return [ScheduleFrequency] Gets or sets the frequency of the schedule.
|
47
|
+
# Possible values include: 'OneTime', 'Day', 'Hour', 'Week', 'Month'
|
48
|
+
attr_accessor :frequency
|
49
|
+
|
50
|
+
# @return [String] Gets or sets the time zone of the schedule.
|
51
|
+
attr_accessor :time_zone
|
52
|
+
|
53
|
+
# @return [AdvancedSchedule] Gets or sets the advanced schedule.
|
54
|
+
attr_accessor :advanced_schedule
|
55
|
+
|
56
|
+
# @return [DateTime] Gets or sets the creation time.
|
57
|
+
attr_accessor :creation_time
|
58
|
+
|
59
|
+
# @return [DateTime] Gets or sets the last modified time.
|
60
|
+
attr_accessor :last_modified_time
|
61
|
+
|
62
|
+
# @return [String] Gets or sets the description.
|
63
|
+
attr_accessor :description
|
64
|
+
|
65
|
+
|
66
|
+
#
|
67
|
+
# Mapper for Schedule class as Ruby Hash.
|
68
|
+
# This will be used for serialization/deserialization.
|
69
|
+
#
|
70
|
+
def self.mapper()
|
71
|
+
{
|
72
|
+
required: false,
|
73
|
+
serialized_name: 'Schedule',
|
74
|
+
type: {
|
75
|
+
name: 'Composite',
|
76
|
+
class_name: 'Schedule',
|
77
|
+
model_properties: {
|
78
|
+
id: {
|
79
|
+
required: false,
|
80
|
+
serialized_name: 'id',
|
81
|
+
type: {
|
82
|
+
name: 'String'
|
83
|
+
}
|
84
|
+
},
|
85
|
+
name: {
|
86
|
+
required: false,
|
87
|
+
serialized_name: 'name',
|
88
|
+
type: {
|
89
|
+
name: 'String'
|
90
|
+
}
|
91
|
+
},
|
92
|
+
start_time: {
|
93
|
+
required: false,
|
94
|
+
serialized_name: 'properties.startTime',
|
95
|
+
type: {
|
96
|
+
name: 'DateTime'
|
97
|
+
}
|
98
|
+
},
|
99
|
+
start_time_offset_minutes: {
|
100
|
+
required: false,
|
101
|
+
read_only: true,
|
102
|
+
serialized_name: 'properties.startTimeOffsetMinutes',
|
103
|
+
type: {
|
104
|
+
name: 'Double'
|
105
|
+
}
|
106
|
+
},
|
107
|
+
expiry_time: {
|
108
|
+
required: false,
|
109
|
+
serialized_name: 'properties.expiryTime',
|
110
|
+
type: {
|
111
|
+
name: 'DateTime'
|
112
|
+
}
|
113
|
+
},
|
114
|
+
expiry_time_offset_minutes: {
|
115
|
+
required: false,
|
116
|
+
serialized_name: 'properties.expiryTimeOffsetMinutes',
|
117
|
+
type: {
|
118
|
+
name: 'Double'
|
119
|
+
}
|
120
|
+
},
|
121
|
+
is_enabled: {
|
122
|
+
required: false,
|
123
|
+
serialized_name: 'properties.isEnabled',
|
124
|
+
default_value: false,
|
125
|
+
type: {
|
126
|
+
name: 'Boolean'
|
127
|
+
}
|
128
|
+
},
|
129
|
+
next_run: {
|
130
|
+
required: false,
|
131
|
+
serialized_name: 'properties.nextRun',
|
132
|
+
type: {
|
133
|
+
name: 'DateTime'
|
134
|
+
}
|
135
|
+
},
|
136
|
+
next_run_offset_minutes: {
|
137
|
+
required: false,
|
138
|
+
serialized_name: 'properties.nextRunOffsetMinutes',
|
139
|
+
type: {
|
140
|
+
name: 'Double'
|
141
|
+
}
|
142
|
+
},
|
143
|
+
interval: {
|
144
|
+
required: false,
|
145
|
+
serialized_name: 'properties.interval',
|
146
|
+
type: {
|
147
|
+
name: 'Object'
|
148
|
+
}
|
149
|
+
},
|
150
|
+
frequency: {
|
151
|
+
required: false,
|
152
|
+
serialized_name: 'properties.frequency',
|
153
|
+
type: {
|
154
|
+
name: 'String'
|
155
|
+
}
|
156
|
+
},
|
157
|
+
time_zone: {
|
158
|
+
required: false,
|
159
|
+
serialized_name: 'properties.timeZone',
|
160
|
+
type: {
|
161
|
+
name: 'String'
|
162
|
+
}
|
163
|
+
},
|
164
|
+
advanced_schedule: {
|
165
|
+
required: false,
|
166
|
+
serialized_name: 'properties.advancedSchedule',
|
167
|
+
type: {
|
168
|
+
name: 'Composite',
|
169
|
+
class_name: 'AdvancedSchedule'
|
170
|
+
}
|
171
|
+
},
|
172
|
+
creation_time: {
|
173
|
+
required: false,
|
174
|
+
serialized_name: 'properties.creationTime',
|
175
|
+
type: {
|
176
|
+
name: 'DateTime'
|
177
|
+
}
|
178
|
+
},
|
179
|
+
last_modified_time: {
|
180
|
+
required: false,
|
181
|
+
serialized_name: 'properties.lastModifiedTime',
|
182
|
+
type: {
|
183
|
+
name: 'DateTime'
|
184
|
+
}
|
185
|
+
},
|
186
|
+
description: {
|
187
|
+
required: false,
|
188
|
+
serialized_name: 'properties.description',
|
189
|
+
type: {
|
190
|
+
name: 'String'
|
191
|
+
}
|
192
|
+
}
|
193
|
+
}
|
194
|
+
}
|
195
|
+
}
|
196
|
+
end
|
197
|
+
end
|
198
|
+
end
|
199
|
+
end
|
@@ -0,0 +1,44 @@
|
|
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 schedule property associated with the entity.
|
10
|
+
#
|
11
|
+
class ScheduleAssociationProperty
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Gets or sets the name of the schedule.
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for ScheduleAssociationProperty class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
required: false,
|
26
|
+
serialized_name: 'ScheduleAssociationProperty',
|
27
|
+
type: {
|
28
|
+
name: 'Composite',
|
29
|
+
class_name: 'ScheduleAssociationProperty',
|
30
|
+
model_properties: {
|
31
|
+
name: {
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'name',
|
34
|
+
type: {
|
35
|
+
name: 'String'
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|