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,102 @@
|
|
|
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 compilation job operation.
|
|
10
|
+
#
|
|
11
|
+
class DscCompilationJobCreateParameters
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [DscConfigurationAssociationProperty] Gets or sets the
|
|
16
|
+
# configuration.
|
|
17
|
+
attr_accessor :configuration
|
|
18
|
+
|
|
19
|
+
# @return [Hash{String => String}] Gets or sets the parameters of the
|
|
20
|
+
# job.
|
|
21
|
+
attr_accessor :parameters
|
|
22
|
+
|
|
23
|
+
# @return [String] Gets or sets name of the resource.
|
|
24
|
+
attr_accessor :name
|
|
25
|
+
|
|
26
|
+
# @return [String] Gets or sets the location of the resource.
|
|
27
|
+
attr_accessor :location
|
|
28
|
+
|
|
29
|
+
# @return [Hash{String => String}] Gets or sets the tags attached to the
|
|
30
|
+
# resource.
|
|
31
|
+
attr_accessor :tags
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
#
|
|
35
|
+
# Mapper for DscCompilationJobCreateParameters class as Ruby Hash.
|
|
36
|
+
# This will be used for serialization/deserialization.
|
|
37
|
+
#
|
|
38
|
+
def self.mapper()
|
|
39
|
+
{
|
|
40
|
+
required: false,
|
|
41
|
+
serialized_name: 'DscCompilationJobCreateParameters',
|
|
42
|
+
type: {
|
|
43
|
+
name: 'Composite',
|
|
44
|
+
class_name: 'DscCompilationJobCreateParameters',
|
|
45
|
+
model_properties: {
|
|
46
|
+
configuration: {
|
|
47
|
+
required: true,
|
|
48
|
+
serialized_name: 'properties.configuration',
|
|
49
|
+
type: {
|
|
50
|
+
name: 'Composite',
|
|
51
|
+
class_name: 'DscConfigurationAssociationProperty'
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
parameters: {
|
|
55
|
+
required: false,
|
|
56
|
+
serialized_name: 'properties.parameters',
|
|
57
|
+
type: {
|
|
58
|
+
name: 'Dictionary',
|
|
59
|
+
value: {
|
|
60
|
+
required: false,
|
|
61
|
+
serialized_name: 'StringElementType',
|
|
62
|
+
type: {
|
|
63
|
+
name: 'String'
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
name: {
|
|
69
|
+
required: false,
|
|
70
|
+
serialized_name: 'name',
|
|
71
|
+
type: {
|
|
72
|
+
name: 'String'
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
location: {
|
|
76
|
+
required: false,
|
|
77
|
+
serialized_name: 'location',
|
|
78
|
+
type: {
|
|
79
|
+
name: 'String'
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
tags: {
|
|
83
|
+
required: false,
|
|
84
|
+
serialized_name: 'tags',
|
|
85
|
+
type: {
|
|
86
|
+
name: 'Dictionary',
|
|
87
|
+
value: {
|
|
88
|
+
required: false,
|
|
89
|
+
serialized_name: 'StringElementType',
|
|
90
|
+
type: {
|
|
91
|
+
name: 'String'
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
end
|
|
102
|
+
end
|
|
@@ -0,0 +1,95 @@
|
|
|
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 job operation.
|
|
10
|
+
#
|
|
11
|
+
class DscCompilationJobListResult
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
include MsRest::JSONable
|
|
16
|
+
# @return [Array<DscCompilationJob>] Gets or sets a list of Dsc
|
|
17
|
+
# Compilation jobs.
|
|
18
|
+
attr_accessor :value
|
|
19
|
+
|
|
20
|
+
# @return [String] Gets or sets the next link.
|
|
21
|
+
attr_accessor :next_link
|
|
22
|
+
|
|
23
|
+
# return [Proc] with next page method call.
|
|
24
|
+
attr_accessor :next_method
|
|
25
|
+
|
|
26
|
+
#
|
|
27
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
|
28
|
+
#
|
|
29
|
+
# @return [Array<DscCompilationJob>] operation results.
|
|
30
|
+
#
|
|
31
|
+
def get_all_items
|
|
32
|
+
items = @value
|
|
33
|
+
page = self
|
|
34
|
+
while page.next_link != nil do
|
|
35
|
+
page = page.get_next_page
|
|
36
|
+
items.concat(page.value)
|
|
37
|
+
end
|
|
38
|
+
items
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
#
|
|
42
|
+
# Gets the next page of results.
|
|
43
|
+
#
|
|
44
|
+
# @return [DscCompilationJobListResult] with next page content.
|
|
45
|
+
#
|
|
46
|
+
def get_next_page
|
|
47
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
|
48
|
+
unless response.nil?
|
|
49
|
+
@next_link = response.body.next_link
|
|
50
|
+
@value = response.body.value
|
|
51
|
+
self
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
#
|
|
56
|
+
# Mapper for DscCompilationJobListResult class as Ruby Hash.
|
|
57
|
+
# This will be used for serialization/deserialization.
|
|
58
|
+
#
|
|
59
|
+
def self.mapper()
|
|
60
|
+
{
|
|
61
|
+
required: false,
|
|
62
|
+
serialized_name: 'DscCompilationJobListResult',
|
|
63
|
+
type: {
|
|
64
|
+
name: 'Composite',
|
|
65
|
+
class_name: 'DscCompilationJobListResult',
|
|
66
|
+
model_properties: {
|
|
67
|
+
value: {
|
|
68
|
+
required: false,
|
|
69
|
+
serialized_name: 'value',
|
|
70
|
+
type: {
|
|
71
|
+
name: 'Sequence',
|
|
72
|
+
element: {
|
|
73
|
+
required: false,
|
|
74
|
+
serialized_name: 'DscCompilationJobElementType',
|
|
75
|
+
type: {
|
|
76
|
+
name: 'Composite',
|
|
77
|
+
class_name: 'DscCompilationJob'
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
next_link: {
|
|
83
|
+
required: false,
|
|
84
|
+
serialized_name: 'nextLink',
|
|
85
|
+
type: {
|
|
86
|
+
name: 'String'
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
end
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
end
|
|
@@ -0,0 +1,193 @@
|
|
|
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 configuration type.
|
|
10
|
+
#
|
|
11
|
+
class DscConfiguration < Resource
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [DscConfigurationProvisioningState] Gets or sets the
|
|
16
|
+
# provisioning state of the configuration. Possible values include:
|
|
17
|
+
# 'Succeeded'
|
|
18
|
+
attr_accessor :provisioning_state
|
|
19
|
+
|
|
20
|
+
# @return [Integer] Gets or sets the job count of the configuration.
|
|
21
|
+
attr_accessor :job_count
|
|
22
|
+
|
|
23
|
+
# @return [Hash{String => DscConfigurationParameter}] Gets or sets the
|
|
24
|
+
# configuration parameters.
|
|
25
|
+
attr_accessor :parameters
|
|
26
|
+
|
|
27
|
+
# @return [ContentSource] Gets or sets the source.
|
|
28
|
+
attr_accessor :source
|
|
29
|
+
|
|
30
|
+
# @return [DscConfigurationState] Gets or sets the state of the
|
|
31
|
+
# configuration. Possible values include: 'New', 'Edit', 'Published'
|
|
32
|
+
attr_accessor :state
|
|
33
|
+
|
|
34
|
+
# @return [Boolean] Gets or sets verbose log option.
|
|
35
|
+
attr_accessor :log_verbose
|
|
36
|
+
|
|
37
|
+
# @return [DateTime] Gets or sets the creation time.
|
|
38
|
+
attr_accessor :creation_time
|
|
39
|
+
|
|
40
|
+
# @return [DateTime] Gets or sets the last modified time.
|
|
41
|
+
attr_accessor :last_modified_time
|
|
42
|
+
|
|
43
|
+
# @return [String] Gets or sets the description.
|
|
44
|
+
attr_accessor :description
|
|
45
|
+
|
|
46
|
+
# @return [String] Gets or sets the etag of the resource.
|
|
47
|
+
attr_accessor :etag
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
#
|
|
51
|
+
# Mapper for DscConfiguration class as Ruby Hash.
|
|
52
|
+
# This will be used for serialization/deserialization.
|
|
53
|
+
#
|
|
54
|
+
def self.mapper()
|
|
55
|
+
{
|
|
56
|
+
required: false,
|
|
57
|
+
serialized_name: 'DscConfiguration',
|
|
58
|
+
type: {
|
|
59
|
+
name: 'Composite',
|
|
60
|
+
class_name: 'DscConfiguration',
|
|
61
|
+
model_properties: {
|
|
62
|
+
id: {
|
|
63
|
+
required: false,
|
|
64
|
+
read_only: true,
|
|
65
|
+
serialized_name: 'id',
|
|
66
|
+
type: {
|
|
67
|
+
name: 'String'
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
name: {
|
|
71
|
+
required: false,
|
|
72
|
+
read_only: true,
|
|
73
|
+
serialized_name: 'name',
|
|
74
|
+
type: {
|
|
75
|
+
name: 'String'
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
type: {
|
|
79
|
+
required: false,
|
|
80
|
+
read_only: true,
|
|
81
|
+
serialized_name: 'type',
|
|
82
|
+
type: {
|
|
83
|
+
name: 'String'
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
location: {
|
|
87
|
+
required: true,
|
|
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
|
+
provisioning_state: {
|
|
108
|
+
required: false,
|
|
109
|
+
serialized_name: 'properties.provisioningState',
|
|
110
|
+
type: {
|
|
111
|
+
name: 'Enum',
|
|
112
|
+
module: 'DscConfigurationProvisioningState'
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
job_count: {
|
|
116
|
+
required: false,
|
|
117
|
+
serialized_name: 'properties.jobCount',
|
|
118
|
+
type: {
|
|
119
|
+
name: 'Number'
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
parameters: {
|
|
123
|
+
required: false,
|
|
124
|
+
serialized_name: 'properties.parameters',
|
|
125
|
+
type: {
|
|
126
|
+
name: 'Dictionary',
|
|
127
|
+
value: {
|
|
128
|
+
required: false,
|
|
129
|
+
serialized_name: 'DscConfigurationParameterElementType',
|
|
130
|
+
type: {
|
|
131
|
+
name: 'Composite',
|
|
132
|
+
class_name: 'DscConfigurationParameter'
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
source: {
|
|
138
|
+
required: false,
|
|
139
|
+
serialized_name: 'properties.source',
|
|
140
|
+
type: {
|
|
141
|
+
name: 'Composite',
|
|
142
|
+
class_name: 'ContentSource'
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
state: {
|
|
146
|
+
required: false,
|
|
147
|
+
serialized_name: 'properties.state',
|
|
148
|
+
type: {
|
|
149
|
+
name: 'String'
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
log_verbose: {
|
|
153
|
+
required: false,
|
|
154
|
+
serialized_name: 'properties.logVerbose',
|
|
155
|
+
type: {
|
|
156
|
+
name: 'Boolean'
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
creation_time: {
|
|
160
|
+
required: false,
|
|
161
|
+
serialized_name: 'properties.creationTime',
|
|
162
|
+
type: {
|
|
163
|
+
name: 'DateTime'
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
last_modified_time: {
|
|
167
|
+
required: false,
|
|
168
|
+
serialized_name: 'properties.lastModifiedTime',
|
|
169
|
+
type: {
|
|
170
|
+
name: 'DateTime'
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
description: {
|
|
174
|
+
required: false,
|
|
175
|
+
serialized_name: 'properties.description',
|
|
176
|
+
type: {
|
|
177
|
+
name: 'String'
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
etag: {
|
|
181
|
+
required: false,
|
|
182
|
+
serialized_name: 'etag',
|
|
183
|
+
type: {
|
|
184
|
+
name: 'String'
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
end
|
|
191
|
+
end
|
|
192
|
+
end
|
|
193
|
+
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 Dsc configuration property associated with the entity.
|
|
10
|
+
#
|
|
11
|
+
class DscConfigurationAssociationProperty
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [String] Gets or sets the name of the Dsc configuration.
|
|
16
|
+
attr_accessor :name
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
#
|
|
20
|
+
# Mapper for DscConfigurationAssociationProperty class as Ruby Hash.
|
|
21
|
+
# This will be used for serialization/deserialization.
|
|
22
|
+
#
|
|
23
|
+
def self.mapper()
|
|
24
|
+
{
|
|
25
|
+
required: false,
|
|
26
|
+
serialized_name: 'DscConfigurationAssociationProperty',
|
|
27
|
+
type: {
|
|
28
|
+
name: 'Composite',
|
|
29
|
+
class_name: 'DscConfigurationAssociationProperty',
|
|
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
|
data/lib/generated/azure_mgmt_automation/models/dsc_configuration_create_or_update_parameters.rb
ADDED
|
@@ -0,0 +1,132 @@
|
|
|
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 configuration operation.
|
|
10
|
+
#
|
|
11
|
+
class DscConfigurationCreateOrUpdateParameters
|
|
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 [ContentSource] Gets or sets the source.
|
|
22
|
+
attr_accessor :source
|
|
23
|
+
|
|
24
|
+
# @return [Hash{String => DscConfigurationParameter}] Gets or sets the
|
|
25
|
+
# configuration parameters.
|
|
26
|
+
attr_accessor :parameters
|
|
27
|
+
|
|
28
|
+
# @return [String] Gets or sets the description of the configuration.
|
|
29
|
+
attr_accessor :description
|
|
30
|
+
|
|
31
|
+
# @return [String] Gets or sets name of the resource.
|
|
32
|
+
attr_accessor :name
|
|
33
|
+
|
|
34
|
+
# @return [String] Gets or sets the location of the resource.
|
|
35
|
+
attr_accessor :location
|
|
36
|
+
|
|
37
|
+
# @return [Hash{String => String}] Gets or sets the tags attached to the
|
|
38
|
+
# resource.
|
|
39
|
+
attr_accessor :tags
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
#
|
|
43
|
+
# Mapper for DscConfigurationCreateOrUpdateParameters class as Ruby Hash.
|
|
44
|
+
# This will be used for serialization/deserialization.
|
|
45
|
+
#
|
|
46
|
+
def self.mapper()
|
|
47
|
+
{
|
|
48
|
+
required: false,
|
|
49
|
+
serialized_name: 'DscConfigurationCreateOrUpdateParameters',
|
|
50
|
+
type: {
|
|
51
|
+
name: 'Composite',
|
|
52
|
+
class_name: 'DscConfigurationCreateOrUpdateParameters',
|
|
53
|
+
model_properties: {
|
|
54
|
+
log_verbose: {
|
|
55
|
+
required: false,
|
|
56
|
+
serialized_name: 'properties.logVerbose',
|
|
57
|
+
type: {
|
|
58
|
+
name: 'Boolean'
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
log_progress: {
|
|
62
|
+
required: false,
|
|
63
|
+
serialized_name: 'properties.logProgress',
|
|
64
|
+
type: {
|
|
65
|
+
name: 'Boolean'
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
source: {
|
|
69
|
+
required: true,
|
|
70
|
+
serialized_name: 'properties.source',
|
|
71
|
+
type: {
|
|
72
|
+
name: 'Composite',
|
|
73
|
+
class_name: 'ContentSource'
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
parameters: {
|
|
77
|
+
required: false,
|
|
78
|
+
serialized_name: 'properties.parameters',
|
|
79
|
+
type: {
|
|
80
|
+
name: 'Dictionary',
|
|
81
|
+
value: {
|
|
82
|
+
required: false,
|
|
83
|
+
serialized_name: 'DscConfigurationParameterElementType',
|
|
84
|
+
type: {
|
|
85
|
+
name: 'Composite',
|
|
86
|
+
class_name: 'DscConfigurationParameter'
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
description: {
|
|
92
|
+
required: false,
|
|
93
|
+
serialized_name: 'properties.description',
|
|
94
|
+
type: {
|
|
95
|
+
name: 'String'
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
name: {
|
|
99
|
+
required: false,
|
|
100
|
+
serialized_name: 'name',
|
|
101
|
+
type: {
|
|
102
|
+
name: 'String'
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
location: {
|
|
106
|
+
required: false,
|
|
107
|
+
serialized_name: 'location',
|
|
108
|
+
type: {
|
|
109
|
+
name: 'String'
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
tags: {
|
|
113
|
+
required: false,
|
|
114
|
+
serialized_name: 'tags',
|
|
115
|
+
type: {
|
|
116
|
+
name: 'Dictionary',
|
|
117
|
+
value: {
|
|
118
|
+
required: false,
|
|
119
|
+
serialized_name: 'StringElementType',
|
|
120
|
+
type: {
|
|
121
|
+
name: 'String'
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
end
|
|
130
|
+
end
|
|
131
|
+
end
|
|
132
|
+
end
|