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,86 @@
|
|
|
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 dsc node configuration.
|
|
10
|
+
#
|
|
11
|
+
class DscNodeConfiguration
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [String] Gets or sets the node configuration name.
|
|
16
|
+
attr_accessor :name
|
|
17
|
+
|
|
18
|
+
# @return [DateTime] Gets or sets the last modified time.
|
|
19
|
+
attr_accessor :last_modified_time
|
|
20
|
+
|
|
21
|
+
# @return [DateTime] Gets or sets creation time.
|
|
22
|
+
attr_accessor :creation_time
|
|
23
|
+
|
|
24
|
+
# @return [DscConfigurationAssociationProperty] Gets or sets the
|
|
25
|
+
# configuration of the node.
|
|
26
|
+
attr_accessor :configuration
|
|
27
|
+
|
|
28
|
+
# @return [String] Gets or sets the id of the resource.
|
|
29
|
+
attr_accessor :id
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
#
|
|
33
|
+
# Mapper for DscNodeConfiguration class as Ruby Hash.
|
|
34
|
+
# This will be used for serialization/deserialization.
|
|
35
|
+
#
|
|
36
|
+
def self.mapper()
|
|
37
|
+
{
|
|
38
|
+
required: false,
|
|
39
|
+
serialized_name: 'DscNodeConfiguration',
|
|
40
|
+
type: {
|
|
41
|
+
name: 'Composite',
|
|
42
|
+
class_name: 'DscNodeConfiguration',
|
|
43
|
+
model_properties: {
|
|
44
|
+
name: {
|
|
45
|
+
required: false,
|
|
46
|
+
serialized_name: 'name',
|
|
47
|
+
type: {
|
|
48
|
+
name: 'String'
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
last_modified_time: {
|
|
52
|
+
required: false,
|
|
53
|
+
serialized_name: 'lastModifiedTime',
|
|
54
|
+
type: {
|
|
55
|
+
name: 'DateTime'
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
creation_time: {
|
|
59
|
+
required: false,
|
|
60
|
+
serialized_name: 'creationTime',
|
|
61
|
+
type: {
|
|
62
|
+
name: 'DateTime'
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
configuration: {
|
|
66
|
+
required: false,
|
|
67
|
+
serialized_name: 'configuration',
|
|
68
|
+
type: {
|
|
69
|
+
name: 'Composite',
|
|
70
|
+
class_name: 'DscConfigurationAssociationProperty'
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
id: {
|
|
74
|
+
required: false,
|
|
75
|
+
serialized_name: 'id',
|
|
76
|
+
type: {
|
|
77
|
+
name: 'String'
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
end
|
data/lib/generated/azure_mgmt_automation/models/dsc_node_configuration_association_property.rb
ADDED
|
@@ -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 nodeconfiguration property associated with the entity.
|
|
10
|
+
#
|
|
11
|
+
class DscNodeConfigurationAssociationProperty
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [String] Gets or sets the name of the dsc nodeconfiguration.
|
|
16
|
+
attr_accessor :name
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
#
|
|
20
|
+
# Mapper for DscNodeConfigurationAssociationProperty class as Ruby Hash.
|
|
21
|
+
# This will be used for serialization/deserialization.
|
|
22
|
+
#
|
|
23
|
+
def self.mapper()
|
|
24
|
+
{
|
|
25
|
+
required: false,
|
|
26
|
+
serialized_name: 'DscNodeConfigurationAssociationProperty',
|
|
27
|
+
type: {
|
|
28
|
+
name: 'Composite',
|
|
29
|
+
class_name: 'DscNodeConfigurationAssociationProperty',
|
|
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
|
|
@@ -0,0 +1,69 @@
|
|
|
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 node configuration
|
|
10
|
+
# operation.
|
|
11
|
+
#
|
|
12
|
+
class DscNodeConfigurationCreateOrUpdateParameters
|
|
13
|
+
|
|
14
|
+
include MsRestAzure
|
|
15
|
+
|
|
16
|
+
# @return [ContentSource] Gets or sets the source.
|
|
17
|
+
attr_accessor :source
|
|
18
|
+
|
|
19
|
+
# @return [String] Gets or sets the type of the parameter.
|
|
20
|
+
attr_accessor :name
|
|
21
|
+
|
|
22
|
+
# @return [DscConfigurationAssociationProperty] Gets or sets the
|
|
23
|
+
# configuration of the node.
|
|
24
|
+
attr_accessor :configuration
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
#
|
|
28
|
+
# Mapper for DscNodeConfigurationCreateOrUpdateParameters class as Ruby
|
|
29
|
+
# Hash.
|
|
30
|
+
# This will be used for serialization/deserialization.
|
|
31
|
+
#
|
|
32
|
+
def self.mapper()
|
|
33
|
+
{
|
|
34
|
+
required: false,
|
|
35
|
+
serialized_name: 'DscNodeConfigurationCreateOrUpdateParameters',
|
|
36
|
+
type: {
|
|
37
|
+
name: 'Composite',
|
|
38
|
+
class_name: 'DscNodeConfigurationCreateOrUpdateParameters',
|
|
39
|
+
model_properties: {
|
|
40
|
+
source: {
|
|
41
|
+
required: true,
|
|
42
|
+
serialized_name: 'source',
|
|
43
|
+
type: {
|
|
44
|
+
name: 'Composite',
|
|
45
|
+
class_name: 'ContentSource'
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
name: {
|
|
49
|
+
required: true,
|
|
50
|
+
serialized_name: 'name',
|
|
51
|
+
type: {
|
|
52
|
+
name: 'String'
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
configuration: {
|
|
56
|
+
required: true,
|
|
57
|
+
serialized_name: 'configuration',
|
|
58
|
+
type: {
|
|
59
|
+
name: 'Composite',
|
|
60
|
+
class_name: 'DscConfigurationAssociationProperty'
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
end
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
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 DscNodeConfigurationListResult
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
include MsRest::JSONable
|
|
16
|
+
# @return [Array<DscNodeConfiguration>] Gets or sets a list of Dsc node
|
|
17
|
+
# configurations.
|
|
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<DscNodeConfiguration>] 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 [DscNodeConfigurationListResult] 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 DscNodeConfigurationListResult class as Ruby Hash.
|
|
57
|
+
# This will be used for serialization/deserialization.
|
|
58
|
+
#
|
|
59
|
+
def self.mapper()
|
|
60
|
+
{
|
|
61
|
+
required: false,
|
|
62
|
+
serialized_name: 'DscNodeConfigurationListResult',
|
|
63
|
+
type: {
|
|
64
|
+
name: 'Composite',
|
|
65
|
+
class_name: 'DscNodeConfigurationListResult',
|
|
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: 'DscNodeConfigurationElementType',
|
|
75
|
+
type: {
|
|
76
|
+
name: 'Composite',
|
|
77
|
+
class_name: 'DscNodeConfiguration'
|
|
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,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 dsc nodes operation.
|
|
10
|
+
#
|
|
11
|
+
class DscNodeListResult
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
include MsRest::JSONable
|
|
16
|
+
# @return [Array<DscNode>] Gets or sets a list of dsc nodes.
|
|
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<DscNode>] 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 [DscNodeListResult] 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 DscNodeListResult class as Ruby Hash.
|
|
56
|
+
# This will be used for serialization/deserialization.
|
|
57
|
+
#
|
|
58
|
+
def self.mapper()
|
|
59
|
+
{
|
|
60
|
+
required: false,
|
|
61
|
+
serialized_name: 'DscNodeListResult',
|
|
62
|
+
type: {
|
|
63
|
+
name: 'Composite',
|
|
64
|
+
class_name: 'DscNodeListResult',
|
|
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: 'DscNodeElementType',
|
|
74
|
+
type: {
|
|
75
|
+
name: 'Composite',
|
|
76
|
+
class_name: 'DscNode'
|
|
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
|
|
@@ -0,0 +1,265 @@
|
|
|
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 dsc node report type.
|
|
10
|
+
#
|
|
11
|
+
class DscNodeReport
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [DateTime] Gets or sets the end time of the node report.
|
|
16
|
+
attr_accessor :end_time
|
|
17
|
+
|
|
18
|
+
# @return [DateTime] Gets or sets the lastModifiedTime of the node
|
|
19
|
+
# report.
|
|
20
|
+
attr_accessor :last_modified_time
|
|
21
|
+
|
|
22
|
+
# @return [DateTime] Gets or sets the start time of the node report.
|
|
23
|
+
attr_accessor :start_time
|
|
24
|
+
|
|
25
|
+
# @return [String] Gets or sets the type of the node report.
|
|
26
|
+
attr_accessor :type
|
|
27
|
+
|
|
28
|
+
# @return [String] Gets or sets the id of the node report.
|
|
29
|
+
attr_accessor :report_id
|
|
30
|
+
|
|
31
|
+
# @return [String] Gets or sets the status of the node report.
|
|
32
|
+
attr_accessor :status
|
|
33
|
+
|
|
34
|
+
# @return [String] Gets or sets the refreshMode of the node report.
|
|
35
|
+
attr_accessor :refresh_mode
|
|
36
|
+
|
|
37
|
+
# @return [String] Gets or sets the rebootRequested of the node report.
|
|
38
|
+
attr_accessor :reboot_requested
|
|
39
|
+
|
|
40
|
+
# @return [String] Gets or sets the reportFormatVersion of the node
|
|
41
|
+
# report.
|
|
42
|
+
attr_accessor :report_format_version
|
|
43
|
+
|
|
44
|
+
# @return [String] Gets or sets the configurationVersion of the node
|
|
45
|
+
# report.
|
|
46
|
+
attr_accessor :configuration_version
|
|
47
|
+
|
|
48
|
+
# @return [String] Gets or sets the id.
|
|
49
|
+
attr_accessor :id
|
|
50
|
+
|
|
51
|
+
# @return [Array<DscReportError>] Gets or sets the errors for the node
|
|
52
|
+
# report.
|
|
53
|
+
attr_accessor :errors
|
|
54
|
+
|
|
55
|
+
# @return [Array<DscReportResource>] Gets or sets the resource for the
|
|
56
|
+
# node report.
|
|
57
|
+
attr_accessor :resources
|
|
58
|
+
|
|
59
|
+
# @return [DscMetaConfiguration] Gets or sets the metaConfiguration of
|
|
60
|
+
# the node at the time of the report.
|
|
61
|
+
attr_accessor :meta_configuration
|
|
62
|
+
|
|
63
|
+
# @return [String] Gets or sets the hostname of the node that sent the
|
|
64
|
+
# report.
|
|
65
|
+
attr_accessor :host_name
|
|
66
|
+
|
|
67
|
+
# @return [Array<String>] Gets or sets the IPv4 address of the node that
|
|
68
|
+
# sent the report.
|
|
69
|
+
attr_accessor :i_pv4addresses
|
|
70
|
+
|
|
71
|
+
# @return [Array<String>] Gets or sets the IPv6 address of the node that
|
|
72
|
+
# sent the report.
|
|
73
|
+
attr_accessor :i_pv6addresses
|
|
74
|
+
|
|
75
|
+
# @return [Integer] Gets or sets the number of resource in the node
|
|
76
|
+
# report.
|
|
77
|
+
attr_accessor :number_of_resources
|
|
78
|
+
|
|
79
|
+
# @return [String] Gets or sets the unparsed errors for the node report.
|
|
80
|
+
attr_accessor :raw_errors
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
#
|
|
84
|
+
# Mapper for DscNodeReport class as Ruby Hash.
|
|
85
|
+
# This will be used for serialization/deserialization.
|
|
86
|
+
#
|
|
87
|
+
def self.mapper()
|
|
88
|
+
{
|
|
89
|
+
required: false,
|
|
90
|
+
serialized_name: 'DscNodeReport',
|
|
91
|
+
type: {
|
|
92
|
+
name: 'Composite',
|
|
93
|
+
class_name: 'DscNodeReport',
|
|
94
|
+
model_properties: {
|
|
95
|
+
end_time: {
|
|
96
|
+
required: false,
|
|
97
|
+
serialized_name: 'endTime',
|
|
98
|
+
type: {
|
|
99
|
+
name: 'DateTime'
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
last_modified_time: {
|
|
103
|
+
required: false,
|
|
104
|
+
serialized_name: 'lastModifiedTime',
|
|
105
|
+
type: {
|
|
106
|
+
name: 'DateTime'
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
start_time: {
|
|
110
|
+
required: false,
|
|
111
|
+
serialized_name: 'startTime',
|
|
112
|
+
type: {
|
|
113
|
+
name: 'DateTime'
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
type: {
|
|
117
|
+
required: false,
|
|
118
|
+
serialized_name: 'type',
|
|
119
|
+
type: {
|
|
120
|
+
name: 'String'
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
report_id: {
|
|
124
|
+
required: false,
|
|
125
|
+
serialized_name: 'reportId',
|
|
126
|
+
type: {
|
|
127
|
+
name: 'String'
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
status: {
|
|
131
|
+
required: false,
|
|
132
|
+
serialized_name: 'status',
|
|
133
|
+
type: {
|
|
134
|
+
name: 'String'
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
refresh_mode: {
|
|
138
|
+
required: false,
|
|
139
|
+
serialized_name: 'refreshMode',
|
|
140
|
+
type: {
|
|
141
|
+
name: 'String'
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
reboot_requested: {
|
|
145
|
+
required: false,
|
|
146
|
+
serialized_name: 'rebootRequested',
|
|
147
|
+
type: {
|
|
148
|
+
name: 'String'
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
report_format_version: {
|
|
152
|
+
required: false,
|
|
153
|
+
serialized_name: 'reportFormatVersion',
|
|
154
|
+
type: {
|
|
155
|
+
name: 'String'
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
configuration_version: {
|
|
159
|
+
required: false,
|
|
160
|
+
serialized_name: 'configurationVersion',
|
|
161
|
+
type: {
|
|
162
|
+
name: 'String'
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
id: {
|
|
166
|
+
required: false,
|
|
167
|
+
serialized_name: 'id',
|
|
168
|
+
type: {
|
|
169
|
+
name: 'String'
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
errors: {
|
|
173
|
+
required: false,
|
|
174
|
+
serialized_name: 'errors',
|
|
175
|
+
type: {
|
|
176
|
+
name: 'Sequence',
|
|
177
|
+
element: {
|
|
178
|
+
required: false,
|
|
179
|
+
serialized_name: 'DscReportErrorElementType',
|
|
180
|
+
type: {
|
|
181
|
+
name: 'Composite',
|
|
182
|
+
class_name: 'DscReportError'
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
resources: {
|
|
188
|
+
required: false,
|
|
189
|
+
serialized_name: 'resources',
|
|
190
|
+
type: {
|
|
191
|
+
name: 'Sequence',
|
|
192
|
+
element: {
|
|
193
|
+
required: false,
|
|
194
|
+
serialized_name: 'DscReportResourceElementType',
|
|
195
|
+
type: {
|
|
196
|
+
name: 'Composite',
|
|
197
|
+
class_name: 'DscReportResource'
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
meta_configuration: {
|
|
203
|
+
required: false,
|
|
204
|
+
serialized_name: 'metaConfiguration',
|
|
205
|
+
type: {
|
|
206
|
+
name: 'Composite',
|
|
207
|
+
class_name: 'DscMetaConfiguration'
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
host_name: {
|
|
211
|
+
required: false,
|
|
212
|
+
serialized_name: 'hostName',
|
|
213
|
+
type: {
|
|
214
|
+
name: 'String'
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
i_pv4addresses: {
|
|
218
|
+
required: false,
|
|
219
|
+
serialized_name: 'iPV4Addresses',
|
|
220
|
+
type: {
|
|
221
|
+
name: 'Sequence',
|
|
222
|
+
element: {
|
|
223
|
+
required: false,
|
|
224
|
+
serialized_name: 'StringElementType',
|
|
225
|
+
type: {
|
|
226
|
+
name: 'String'
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
i_pv6addresses: {
|
|
232
|
+
required: false,
|
|
233
|
+
serialized_name: 'iPV6Addresses',
|
|
234
|
+
type: {
|
|
235
|
+
name: 'Sequence',
|
|
236
|
+
element: {
|
|
237
|
+
required: false,
|
|
238
|
+
serialized_name: 'StringElementType',
|
|
239
|
+
type: {
|
|
240
|
+
name: 'String'
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
number_of_resources: {
|
|
246
|
+
required: false,
|
|
247
|
+
serialized_name: 'numberOfResources',
|
|
248
|
+
type: {
|
|
249
|
+
name: 'Number'
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
raw_errors: {
|
|
253
|
+
required: false,
|
|
254
|
+
serialized_name: 'rawErrors',
|
|
255
|
+
type: {
|
|
256
|
+
name: 'String'
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
end
|
|
263
|
+
end
|
|
264
|
+
end
|
|
265
|
+
end
|