azure_mgmt_automation 0.15.2 → 0.17.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/2015-10-31/generated/azure_mgmt_automation.rb +111 -97
- data/lib/2015-10-31/generated/azure_mgmt_automation/activity_operations.rb +39 -32
- data/lib/2015-10-31/generated/azure_mgmt_automation/agent_registration_information.rb +28 -24
- data/lib/2015-10-31/generated/azure_mgmt_automation/automation_account_operations.rb +92 -81
- data/lib/2015-10-31/generated/azure_mgmt_automation/automation_client.rb +25 -9
- data/lib/2015-10-31/generated/azure_mgmt_automation/certificate_operations.rb +81 -69
- data/lib/2015-10-31/generated/azure_mgmt_automation/connection_operations.rb +81 -69
- data/lib/2015-10-31/generated/azure_mgmt_automation/connection_type_operations.rb +67 -56
- data/lib/2015-10-31/generated/azure_mgmt_automation/credential_operations.rb +81 -69
- data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_compilation_job_operations.rb +67 -56
- data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_compilation_job_stream.rb +124 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_configuration_operations.rb +215 -70
- data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_configuration_operations.rb +68 -67
- data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_operations.rb +67 -56
- data/lib/2015-10-31/generated/azure_mgmt_automation/fields.rb +14 -11
- data/lib/2015-10-31/generated/azure_mgmt_automation/hybrid_runbook_worker_group_operations.rb +72 -57
- data/lib/2015-10-31/generated/azure_mgmt_automation/job_operations.rb +123 -100
- data/lib/2015-10-31/generated/azure_mgmt_automation/job_schedule_operations.rb +72 -57
- data/lib/2015-10-31/generated/azure_mgmt_automation/job_stream_operations.rb +39 -32
- data/lib/2015-10-31/generated/azure_mgmt_automation/keys.rb +120 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/linked_workspace_operations.rb +120 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_parameter.rb +35 -2
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_parameter_validation_set.rb +47 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule_monthly_occurrence.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration_key_name.rb +2 -2
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration_regenerate_key_parameter.rb +2 -2
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_account.rb +9 -9
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_account_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_key_name.rb +16 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_key_permissions.rb +16 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate.rb +10 -7
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_update_parameters.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection.rb +10 -7
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type.rb +12 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/credential.rb +11 -7
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/credential_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/credential_update_parameters.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job.rb +44 -4
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_create_parameters.rb +12 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration.rb +20 -9
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_list_result.rb +13 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_update_parameters.rb +132 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node.rb +22 -25
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration.rb +20 -15
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_create_or_update_parameters.rb +13 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_extension_handler_association_property.rb +58 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_report_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/group_type_enum.rb +16 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker.rb +11 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_group.rb +12 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_groups_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/job.rb +37 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_create_parameters.rb +0 -42
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_provisioning_state.rb +18 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule.rb +26 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_stream_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/key.rb +73 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/key_list_result.rb +56 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/{sub_resource.rb → linked_workspace.rb} +7 -6
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/module_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/module_model.rb +20 -9
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/proxy_resource.rb +62 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/resource.rb +11 -32
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook.rb +9 -9
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_draft.rb +2 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule.rb +12 -7
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_association_property.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_create_or_update_parameters.rb +3 -3
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_update_parameters.rb +2 -2
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/test_job.rb +11 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/test_job_create_parameters.rb +0 -11
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/tracked_resource.rb +92 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/variable.rb +12 -7
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/variable_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/variable_update_parameters.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook.rb +23 -7
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_update_parameters.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/module_model_operations.rb +81 -69
- data/lib/2015-10-31/generated/azure_mgmt_automation/node_reports.rb +54 -61
- data/lib/2015-10-31/generated/azure_mgmt_automation/object_data_types.rb +28 -22
- data/lib/2015-10-31/generated/azure_mgmt_automation/operations.rb +6 -5
- data/lib/2015-10-31/generated/azure_mgmt_automation/runbook_draft_operations.rb +144 -118
- data/lib/2015-10-31/generated/azure_mgmt_automation/runbook_operations.rb +131 -95
- data/lib/2015-10-31/generated/azure_mgmt_automation/schedule_operations.rb +93 -71
- data/lib/2015-10-31/generated/azure_mgmt_automation/statistics_operations.rb +14 -11
- data/lib/2015-10-31/generated/azure_mgmt_automation/{test_jobs.rb → test_job_operations.rb} +82 -69
- data/lib/2015-10-31/generated/azure_mgmt_automation/test_job_streams.rb +49 -39
- data/lib/2015-10-31/generated/azure_mgmt_automation/usages.rb +14 -11
- data/lib/2015-10-31/generated/azure_mgmt_automation/variable_operations.rb +81 -69
- data/lib/2015-10-31/generated/azure_mgmt_automation/webhook_operations.rb +95 -80
- data/lib/profiles/latest/automation_latest_profile_client.rb +28 -9
- data/lib/profiles/latest/automation_module_definition.rb +0 -1
- data/lib/profiles/latest/modules/automation_profile_module.rb +585 -516
- data/lib/version.rb +1 -1
- metadata +21 -7
@@ -30,7 +30,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
30
30
|
def get_all_items
|
31
31
|
items = @value
|
32
32
|
page = self
|
33
|
-
while page.next_link != nil do
|
33
|
+
while page.next_link != nil && !page.next_link.strip.empty? do
|
34
34
|
page = page.get_next_page
|
35
35
|
items.concat(page.value)
|
36
36
|
end
|
@@ -0,0 +1,18 @@
|
|
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::Automation::Mgmt::V2015_10_31
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for JobProvisioningState
|
10
|
+
#
|
11
|
+
module JobProvisioningState
|
12
|
+
Failed = "Failed"
|
13
|
+
Succeeded = "Succeeded"
|
14
|
+
Suspended = "Suspended"
|
15
|
+
Processing = "Processing"
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -12,9 +12,15 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [String] Gets
|
15
|
+
# @return [String] Gets the id of the resource.
|
16
16
|
attr_accessor :id
|
17
17
|
|
18
|
+
# @return [String] Gets the name of the variable.
|
19
|
+
attr_accessor :name
|
20
|
+
|
21
|
+
# @return [String] Resource type
|
22
|
+
attr_accessor :type
|
23
|
+
|
18
24
|
# @return [String] Gets or sets the id of job schedule.
|
19
25
|
attr_accessor :job_schedule_id
|
20
26
|
|
@@ -49,11 +55,30 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
49
55
|
id: {
|
50
56
|
client_side_validation: true,
|
51
57
|
required: false,
|
58
|
+
read_only: true,
|
52
59
|
serialized_name: 'id',
|
53
60
|
type: {
|
54
61
|
name: 'String'
|
55
62
|
}
|
56
63
|
},
|
64
|
+
name: {
|
65
|
+
client_side_validation: true,
|
66
|
+
required: false,
|
67
|
+
read_only: true,
|
68
|
+
serialized_name: 'name',
|
69
|
+
type: {
|
70
|
+
name: 'String'
|
71
|
+
}
|
72
|
+
},
|
73
|
+
type: {
|
74
|
+
client_side_validation: true,
|
75
|
+
required: false,
|
76
|
+
read_only: true,
|
77
|
+
serialized_name: 'type',
|
78
|
+
type: {
|
79
|
+
name: 'String'
|
80
|
+
}
|
81
|
+
},
|
57
82
|
job_schedule_id: {
|
58
83
|
client_side_validation: true,
|
59
84
|
required: false,
|
@@ -30,7 +30,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
30
30
|
def get_all_items
|
31
31
|
items = @value
|
32
32
|
page = self
|
33
|
-
while page.next_link != nil do
|
33
|
+
while page.next_link != nil && !page.next_link.strip.empty? do
|
34
34
|
page = page.get_next_page
|
35
35
|
items.concat(page.value)
|
36
36
|
end
|
@@ -30,7 +30,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
30
30
|
def get_all_items
|
31
31
|
items = @value
|
32
32
|
page = self
|
33
|
-
while page.next_link != nil do
|
33
|
+
while page.next_link != nil && !page.next_link.strip.empty? do
|
34
34
|
page = page.get_next_page
|
35
35
|
items.concat(page.value)
|
36
36
|
end
|
@@ -0,0 +1,73 @@
|
|
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::Automation::Mgmt::V2015_10_31
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Automation key which is used to register a DSC Node
|
10
|
+
#
|
11
|
+
class Key
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [AutomationKeyName] Automation key name. Possible values
|
16
|
+
# include: 'Primary', 'Secondary'
|
17
|
+
attr_accessor :key_name
|
18
|
+
|
19
|
+
# @return [AutomationKeyPermissions] Automation key permissions. Possible
|
20
|
+
# values include: 'Read', 'Full'
|
21
|
+
attr_accessor :permissions
|
22
|
+
|
23
|
+
# @return [String] Value of the Automation Key used for registration.
|
24
|
+
attr_accessor :value
|
25
|
+
|
26
|
+
|
27
|
+
#
|
28
|
+
# Mapper for Key class as Ruby Hash.
|
29
|
+
# This will be used for serialization/deserialization.
|
30
|
+
#
|
31
|
+
def self.mapper()
|
32
|
+
{
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'Key',
|
36
|
+
type: {
|
37
|
+
name: 'Composite',
|
38
|
+
class_name: 'Key',
|
39
|
+
model_properties: {
|
40
|
+
key_name: {
|
41
|
+
client_side_validation: true,
|
42
|
+
required: false,
|
43
|
+
read_only: true,
|
44
|
+
serialized_name: 'KeyName',
|
45
|
+
type: {
|
46
|
+
name: 'String'
|
47
|
+
}
|
48
|
+
},
|
49
|
+
permissions: {
|
50
|
+
client_side_validation: true,
|
51
|
+
required: false,
|
52
|
+
read_only: true,
|
53
|
+
serialized_name: 'Permissions',
|
54
|
+
type: {
|
55
|
+
name: 'String'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
value: {
|
59
|
+
client_side_validation: true,
|
60
|
+
required: false,
|
61
|
+
read_only: true,
|
62
|
+
serialized_name: 'Value',
|
63
|
+
type: {
|
64
|
+
name: 'String'
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
@@ -0,0 +1,56 @@
|
|
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::Automation::Mgmt::V2015_10_31
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class KeyListResult
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [Array<Key>] Lists the automation keys.
|
17
|
+
attr_accessor :keys
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for KeyListResult class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
client_side_validation: true,
|
27
|
+
required: false,
|
28
|
+
serialized_name: 'KeyListResult',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'KeyListResult',
|
32
|
+
model_properties: {
|
33
|
+
keys: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'keys',
|
37
|
+
type: {
|
38
|
+
name: 'Sequence',
|
39
|
+
element: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'KeyElementType',
|
43
|
+
type: {
|
44
|
+
name: 'Composite',
|
45
|
+
class_name: 'Key'
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
data/lib/2015-10-31/generated/azure_mgmt_automation/models/{sub_resource.rb → linked_workspace.rb}
RENAMED
@@ -6,32 +6,33 @@
|
|
6
6
|
module Azure::Automation::Mgmt::V2015_10_31
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
#
|
9
|
+
# Definition of the linked workspace.
|
10
10
|
#
|
11
|
-
class
|
11
|
+
class LinkedWorkspace
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [String]
|
15
|
+
# @return [String] Gets the id of the linked workspace.
|
16
16
|
attr_accessor :id
|
17
17
|
|
18
18
|
|
19
19
|
#
|
20
|
-
# Mapper for
|
20
|
+
# Mapper for LinkedWorkspace class as Ruby Hash.
|
21
21
|
# This will be used for serialization/deserialization.
|
22
22
|
#
|
23
23
|
def self.mapper()
|
24
24
|
{
|
25
25
|
client_side_validation: true,
|
26
26
|
required: false,
|
27
|
-
serialized_name: '
|
27
|
+
serialized_name: 'LinkedWorkspace',
|
28
28
|
type: {
|
29
29
|
name: 'Composite',
|
30
|
-
class_name: '
|
30
|
+
class_name: 'LinkedWorkspace',
|
31
31
|
model_properties: {
|
32
32
|
id: {
|
33
33
|
client_side_validation: true,
|
34
34
|
required: false,
|
35
|
+
read_only: true,
|
35
36
|
serialized_name: 'id',
|
36
37
|
type: {
|
37
38
|
name: 'String'
|
@@ -30,7 +30,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
30
30
|
def get_all_items
|
31
31
|
items = @value
|
32
32
|
page = self
|
33
|
-
while page.next_link != nil do
|
33
|
+
while page.next_link != nil && !page.next_link.strip.empty? do
|
34
34
|
page = page.get_next_page
|
35
35
|
items.concat(page.value)
|
36
36
|
end
|
@@ -8,7 +8,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
8
8
|
#
|
9
9
|
# Definition of the module type.
|
10
10
|
#
|
11
|
-
class ModuleModel <
|
11
|
+
class ModuleModel < TrackedResource
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
@@ -48,6 +48,9 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
48
48
|
# @return [String] Gets or sets the description.
|
49
49
|
attr_accessor :description
|
50
50
|
|
51
|
+
# @return [Boolean] Gets or sets type of module, if its composite or not.
|
52
|
+
attr_accessor :is_composite
|
53
|
+
|
51
54
|
# @return [String] Gets or sets the etag of the resource.
|
52
55
|
attr_accessor :etag
|
53
56
|
|
@@ -92,14 +95,6 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
92
95
|
name: 'String'
|
93
96
|
}
|
94
97
|
},
|
95
|
-
location: {
|
96
|
-
client_side_validation: true,
|
97
|
-
required: true,
|
98
|
-
serialized_name: 'location',
|
99
|
-
type: {
|
100
|
-
name: 'String'
|
101
|
-
}
|
102
|
-
},
|
103
98
|
tags: {
|
104
99
|
client_side_validation: true,
|
105
100
|
required: false,
|
@@ -116,6 +111,14 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
116
111
|
}
|
117
112
|
}
|
118
113
|
},
|
114
|
+
location: {
|
115
|
+
client_side_validation: true,
|
116
|
+
required: false,
|
117
|
+
serialized_name: 'location',
|
118
|
+
type: {
|
119
|
+
name: 'String'
|
120
|
+
}
|
121
|
+
},
|
119
122
|
is_global: {
|
120
123
|
client_side_validation: true,
|
121
124
|
required: false,
|
@@ -199,6 +202,14 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
199
202
|
name: 'String'
|
200
203
|
}
|
201
204
|
},
|
205
|
+
is_composite: {
|
206
|
+
client_side_validation: true,
|
207
|
+
required: false,
|
208
|
+
serialized_name: 'properties.isComposite',
|
209
|
+
type: {
|
210
|
+
name: 'Boolean'
|
211
|
+
}
|
212
|
+
},
|
202
213
|
etag: {
|
203
214
|
client_side_validation: true,
|
204
215
|
required: false,
|
@@ -0,0 +1,62 @@
|
|
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::Automation::Mgmt::V2015_10_31
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# ARM proxy resource.
|
10
|
+
#
|
11
|
+
class ProxyResource < Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
#
|
17
|
+
# Mapper for ProxyResource class as Ruby Hash.
|
18
|
+
# This will be used for serialization/deserialization.
|
19
|
+
#
|
20
|
+
def self.mapper()
|
21
|
+
{
|
22
|
+
client_side_validation: true,
|
23
|
+
required: false,
|
24
|
+
serialized_name: 'ProxyResource',
|
25
|
+
type: {
|
26
|
+
name: 'Composite',
|
27
|
+
class_name: 'ProxyResource',
|
28
|
+
model_properties: {
|
29
|
+
id: {
|
30
|
+
client_side_validation: true,
|
31
|
+
required: false,
|
32
|
+
read_only: true,
|
33
|
+
serialized_name: 'id',
|
34
|
+
type: {
|
35
|
+
name: 'String'
|
36
|
+
}
|
37
|
+
},
|
38
|
+
name: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
read_only: true,
|
42
|
+
serialized_name: 'name',
|
43
|
+
type: {
|
44
|
+
name: 'String'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
type: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
read_only: true,
|
51
|
+
serialized_name: 'type',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
@@ -6,26 +6,29 @@
|
|
6
6
|
module Azure::Automation::Mgmt::V2015_10_31
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# The
|
9
|
+
# The core properties of ARM resources
|
10
10
|
#
|
11
11
|
class Resource
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [String]
|
15
|
+
# @return [String] Fully qualified resource Id for the resource
|
16
16
|
attr_accessor :id
|
17
17
|
|
18
|
-
# @return [String]
|
18
|
+
# @return [String] The name of the resource
|
19
19
|
attr_accessor :name
|
20
20
|
|
21
|
-
# @return [String]
|
21
|
+
# @return [String] The type of the resource.
|
22
22
|
attr_accessor :type
|
23
23
|
|
24
|
-
# @return [String] Resource location
|
25
|
-
attr_accessor :location
|
26
24
|
|
27
|
-
# @return [
|
28
|
-
|
25
|
+
# @return [String] the name of the resource group of the resource.
|
26
|
+
def resource_group
|
27
|
+
unless self.id.nil?
|
28
|
+
groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
|
29
|
+
groups.captures[0].strip if groups
|
30
|
+
end
|
31
|
+
end
|
29
32
|
|
30
33
|
|
31
34
|
#
|
@@ -67,30 +70,6 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
67
70
|
type: {
|
68
71
|
name: 'String'
|
69
72
|
}
|
70
|
-
},
|
71
|
-
location: {
|
72
|
-
client_side_validation: true,
|
73
|
-
required: true,
|
74
|
-
serialized_name: 'location',
|
75
|
-
type: {
|
76
|
-
name: 'String'
|
77
|
-
}
|
78
|
-
},
|
79
|
-
tags: {
|
80
|
-
client_side_validation: true,
|
81
|
-
required: false,
|
82
|
-
serialized_name: 'tags',
|
83
|
-
type: {
|
84
|
-
name: 'Dictionary',
|
85
|
-
value: {
|
86
|
-
client_side_validation: true,
|
87
|
-
required: false,
|
88
|
-
serialized_name: 'StringElementType',
|
89
|
-
type: {
|
90
|
-
name: 'String'
|
91
|
-
}
|
92
|
-
}
|
93
|
-
}
|
94
73
|
}
|
95
74
|
}
|
96
75
|
}
|