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,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 connection type property associated with the entity.
|
|
10
|
+
#
|
|
11
|
+
class ConnectionTypeAssociationProperty
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [String] Gets or sets the name of the connection type.
|
|
16
|
+
attr_accessor :name
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
#
|
|
20
|
+
# Mapper for ConnectionTypeAssociationProperty class as Ruby Hash.
|
|
21
|
+
# This will be used for serialization/deserialization.
|
|
22
|
+
#
|
|
23
|
+
def self.mapper()
|
|
24
|
+
{
|
|
25
|
+
required: false,
|
|
26
|
+
serialized_name: 'ConnectionTypeAssociationProperty',
|
|
27
|
+
type: {
|
|
28
|
+
name: 'Composite',
|
|
29
|
+
class_name: 'ConnectionTypeAssociationProperty',
|
|
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/connection_type_create_or_update_parameters.rb
ADDED
|
@@ -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
|
+
# The parameters supplied to the create or update connection type
|
|
10
|
+
# operation.
|
|
11
|
+
#
|
|
12
|
+
class ConnectionTypeCreateOrUpdateParameters
|
|
13
|
+
|
|
14
|
+
include MsRestAzure
|
|
15
|
+
|
|
16
|
+
# @return [String] Gets or sets the name of the connection type.
|
|
17
|
+
attr_accessor :name
|
|
18
|
+
|
|
19
|
+
# @return [Boolean] Gets or sets a Boolean value to indicate if the
|
|
20
|
+
# connection type is global.
|
|
21
|
+
attr_accessor :is_global
|
|
22
|
+
|
|
23
|
+
# @return [Hash{String => FieldDefinition}] Gets or sets the field
|
|
24
|
+
# definitions of the connection type.
|
|
25
|
+
attr_accessor :field_definitions
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
#
|
|
29
|
+
# Mapper for ConnectionTypeCreateOrUpdateParameters class as Ruby Hash.
|
|
30
|
+
# This will be used for serialization/deserialization.
|
|
31
|
+
#
|
|
32
|
+
def self.mapper()
|
|
33
|
+
{
|
|
34
|
+
required: false,
|
|
35
|
+
serialized_name: 'ConnectionTypeCreateOrUpdateParameters',
|
|
36
|
+
type: {
|
|
37
|
+
name: 'Composite',
|
|
38
|
+
class_name: 'ConnectionTypeCreateOrUpdateParameters',
|
|
39
|
+
model_properties: {
|
|
40
|
+
name: {
|
|
41
|
+
required: true,
|
|
42
|
+
serialized_name: 'name',
|
|
43
|
+
type: {
|
|
44
|
+
name: 'String'
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
is_global: {
|
|
48
|
+
required: false,
|
|
49
|
+
serialized_name: 'properties.isGlobal',
|
|
50
|
+
type: {
|
|
51
|
+
name: 'Boolean'
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
field_definitions: {
|
|
55
|
+
required: true,
|
|
56
|
+
serialized_name: 'properties.fieldDefinitions',
|
|
57
|
+
type: {
|
|
58
|
+
name: 'Dictionary',
|
|
59
|
+
value: {
|
|
60
|
+
required: false,
|
|
61
|
+
serialized_name: 'FieldDefinitionElementType',
|
|
62
|
+
type: {
|
|
63
|
+
name: 'Composite',
|
|
64
|
+
class_name: 'FieldDefinition'
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
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 connection type operation.
|
|
10
|
+
#
|
|
11
|
+
class ConnectionTypeListResult
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
include MsRest::JSONable
|
|
16
|
+
# @return [Array<ConnectionType>] Gets or sets a list of connection
|
|
17
|
+
# types.
|
|
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<ConnectionType>] 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 [ConnectionTypeListResult] 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 ConnectionTypeListResult class as Ruby Hash.
|
|
57
|
+
# This will be used for serialization/deserialization.
|
|
58
|
+
#
|
|
59
|
+
def self.mapper()
|
|
60
|
+
{
|
|
61
|
+
required: false,
|
|
62
|
+
serialized_name: 'ConnectionTypeListResult',
|
|
63
|
+
type: {
|
|
64
|
+
name: 'Composite',
|
|
65
|
+
class_name: 'ConnectionTypeListResult',
|
|
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: 'ConnectionTypeElementType',
|
|
75
|
+
type: {
|
|
76
|
+
name: 'Composite',
|
|
77
|
+
class_name: 'ConnectionType'
|
|
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,72 @@
|
|
|
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 connection operation.
|
|
10
|
+
#
|
|
11
|
+
class ConnectionUpdateParameters
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [String] Gets or sets the name of the connection.
|
|
16
|
+
attr_accessor :name
|
|
17
|
+
|
|
18
|
+
# @return [String] Gets or sets the description of the connection.
|
|
19
|
+
attr_accessor :description
|
|
20
|
+
|
|
21
|
+
# @return [Hash{String => String}] Gets or sets the field definition
|
|
22
|
+
# values of the connection.
|
|
23
|
+
attr_accessor :field_definition_values
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
#
|
|
27
|
+
# Mapper for ConnectionUpdateParameters class as Ruby Hash.
|
|
28
|
+
# This will be used for serialization/deserialization.
|
|
29
|
+
#
|
|
30
|
+
def self.mapper()
|
|
31
|
+
{
|
|
32
|
+
required: false,
|
|
33
|
+
serialized_name: 'ConnectionUpdateParameters',
|
|
34
|
+
type: {
|
|
35
|
+
name: 'Composite',
|
|
36
|
+
class_name: 'ConnectionUpdateParameters',
|
|
37
|
+
model_properties: {
|
|
38
|
+
name: {
|
|
39
|
+
required: false,
|
|
40
|
+
serialized_name: 'name',
|
|
41
|
+
type: {
|
|
42
|
+
name: 'String'
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
description: {
|
|
46
|
+
required: false,
|
|
47
|
+
serialized_name: 'properties.description',
|
|
48
|
+
type: {
|
|
49
|
+
name: 'String'
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
field_definition_values: {
|
|
53
|
+
required: false,
|
|
54
|
+
serialized_name: 'properties.fieldDefinitionValues',
|
|
55
|
+
type: {
|
|
56
|
+
name: 'Dictionary',
|
|
57
|
+
value: {
|
|
58
|
+
required: false,
|
|
59
|
+
serialized_name: 'StringElementType',
|
|
60
|
+
type: {
|
|
61
|
+
name: 'String'
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
end
|
|
@@ -0,0 +1,55 @@
|
|
|
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 property type.
|
|
10
|
+
#
|
|
11
|
+
class ContentHash
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [String] Gets or sets the content hash algorithm used to hash
|
|
16
|
+
# the content.
|
|
17
|
+
attr_accessor :algorithm
|
|
18
|
+
|
|
19
|
+
# @return [String] Gets or sets expected hash value of the content.
|
|
20
|
+
attr_accessor :value
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
#
|
|
24
|
+
# Mapper for ContentHash class as Ruby Hash.
|
|
25
|
+
# This will be used for serialization/deserialization.
|
|
26
|
+
#
|
|
27
|
+
def self.mapper()
|
|
28
|
+
{
|
|
29
|
+
required: false,
|
|
30
|
+
serialized_name: 'ContentHash',
|
|
31
|
+
type: {
|
|
32
|
+
name: 'Composite',
|
|
33
|
+
class_name: 'ContentHash',
|
|
34
|
+
model_properties: {
|
|
35
|
+
algorithm: {
|
|
36
|
+
required: true,
|
|
37
|
+
serialized_name: 'algorithm',
|
|
38
|
+
type: {
|
|
39
|
+
name: 'String'
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
value: {
|
|
43
|
+
required: true,
|
|
44
|
+
serialized_name: 'value',
|
|
45
|
+
type: {
|
|
46
|
+
name: 'String'
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
end
|
|
@@ -0,0 +1,65 @@
|
|
|
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 content link.
|
|
10
|
+
#
|
|
11
|
+
class ContentLink
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [String] Gets or sets the uri of the runbook content.
|
|
16
|
+
attr_accessor :uri
|
|
17
|
+
|
|
18
|
+
# @return [ContentHash] Gets or sets the hash.
|
|
19
|
+
attr_accessor :content_hash
|
|
20
|
+
|
|
21
|
+
# @return [String] Gets or sets the version of the content.
|
|
22
|
+
attr_accessor :version
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
#
|
|
26
|
+
# Mapper for ContentLink class as Ruby Hash.
|
|
27
|
+
# This will be used for serialization/deserialization.
|
|
28
|
+
#
|
|
29
|
+
def self.mapper()
|
|
30
|
+
{
|
|
31
|
+
required: false,
|
|
32
|
+
serialized_name: 'ContentLink',
|
|
33
|
+
type: {
|
|
34
|
+
name: 'Composite',
|
|
35
|
+
class_name: 'ContentLink',
|
|
36
|
+
model_properties: {
|
|
37
|
+
uri: {
|
|
38
|
+
required: false,
|
|
39
|
+
serialized_name: 'uri',
|
|
40
|
+
type: {
|
|
41
|
+
name: 'String'
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
content_hash: {
|
|
45
|
+
required: false,
|
|
46
|
+
serialized_name: 'contentHash',
|
|
47
|
+
type: {
|
|
48
|
+
name: 'Composite',
|
|
49
|
+
class_name: 'ContentHash'
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
version: {
|
|
53
|
+
required: false,
|
|
54
|
+
serialized_name: 'version',
|
|
55
|
+
type: {
|
|
56
|
+
name: 'String'
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
end
|
|
@@ -0,0 +1,77 @@
|
|
|
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 content source.
|
|
10
|
+
#
|
|
11
|
+
class ContentSource
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [ContentHash] Gets or sets the hash.
|
|
16
|
+
attr_accessor :hash
|
|
17
|
+
|
|
18
|
+
# @return [ContentSourceType] Gets or sets the content source type.
|
|
19
|
+
# Possible values include: 'embeddedContent', 'uri'
|
|
20
|
+
attr_accessor :type
|
|
21
|
+
|
|
22
|
+
# @return [String] Gets or sets the value of the content. This is based
|
|
23
|
+
# on the content source type.
|
|
24
|
+
attr_accessor :value
|
|
25
|
+
|
|
26
|
+
# @return [String] Gets or sets the version of the content.
|
|
27
|
+
attr_accessor :version
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
#
|
|
31
|
+
# Mapper for ContentSource class as Ruby Hash.
|
|
32
|
+
# This will be used for serialization/deserialization.
|
|
33
|
+
#
|
|
34
|
+
def self.mapper()
|
|
35
|
+
{
|
|
36
|
+
required: false,
|
|
37
|
+
serialized_name: 'ContentSource',
|
|
38
|
+
type: {
|
|
39
|
+
name: 'Composite',
|
|
40
|
+
class_name: 'ContentSource',
|
|
41
|
+
model_properties: {
|
|
42
|
+
hash: {
|
|
43
|
+
required: false,
|
|
44
|
+
serialized_name: 'hash',
|
|
45
|
+
type: {
|
|
46
|
+
name: 'Composite',
|
|
47
|
+
class_name: 'ContentHash'
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
type: {
|
|
51
|
+
required: false,
|
|
52
|
+
serialized_name: 'type',
|
|
53
|
+
type: {
|
|
54
|
+
name: 'String'
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
value: {
|
|
58
|
+
required: false,
|
|
59
|
+
serialized_name: 'value',
|
|
60
|
+
type: {
|
|
61
|
+
name: 'String'
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
version: {
|
|
65
|
+
required: false,
|
|
66
|
+
serialized_name: 'version',
|
|
67
|
+
type: {
|
|
68
|
+
name: 'String'
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
end
|