azure_mgmt_automanage 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage.rb +63 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/accounts.rb +646 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/automanage_client.rb +145 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/configuration_profile_assignments.rb +603 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/configuration_profile_preferences.rb +661 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/models/account.rb +98 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/models/account_identity.rb +74 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/models/account_list.rb +55 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/models/account_update.rb +63 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/models/azure_entity_resource.rb +75 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/models/configuration_profile.rb +16 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/models/configuration_profile_assignment.rb +76 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/models/configuration_profile_assignment_compliance.rb +48 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/models/configuration_profile_assignment_list.rb +56 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/models/configuration_profile_assignment_properties.rb +109 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/models/configuration_profile_preference.rb +99 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/models/configuration_profile_preference_anti_malware.rb +105 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/models/configuration_profile_preference_list.rb +56 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/models/configuration_profile_preference_properties.rb +61 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/models/configuration_profile_preference_update.rb +64 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/models/configuration_profile_preference_vm_backup.rb +81 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/models/enable_real_time_protection.rb +16 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/models/error_additional_info.rb +59 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/models/error_response.rb +47 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/models/error_response_error.rb +113 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/models/operation.rb +83 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/models/operation_display.rb +79 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/models/operation_list.rb +56 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/models/provisioning_state.rb +17 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/models/proxy_resource.rb +63 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/models/resource.rb +83 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/models/resource_identity_type.rb +16 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/models/run_scheduled_scan.rb +16 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/models/scan_type.rb +16 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/models/tracked_resource.rb +92 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/models/update_resource.rb +54 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/models/update_status.rb +17 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/module_definition.rb +9 -0
- data/lib/2020-06-30-preview/generated/azure_mgmt_automanage/operations.rb +110 -0
- data/lib/azure_mgmt_automanage.rb +6 -0
- data/lib/module_definition.rb +7 -0
- data/lib/profiles/latest/automanage_latest_profile_client.rb +40 -0
- data/lib/profiles/latest/automanage_module_definition.rb +8 -0
- data/lib/profiles/latest/modules/automanage_profile_module.rb +195 -0
- data/lib/version.rb +7 -0
- metadata +163 -0
@@ -0,0 +1,48 @@
|
|
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::Automanage::Mgmt::V2020_06_30_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The compliance status for the configuration profile assignment.
|
10
|
+
#
|
11
|
+
class ConfigurationProfileAssignmentCompliance
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [UpdateStatus] The state of compliance, which only appears in
|
16
|
+
# the response. Possible values include: 'Succeeded', 'Failed', 'Created'
|
17
|
+
attr_accessor :update_status
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for ConfigurationProfileAssignmentCompliance 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: 'ConfigurationProfileAssignmentCompliance',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'ConfigurationProfileAssignmentCompliance',
|
32
|
+
model_properties: {
|
33
|
+
update_status: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
read_only: true,
|
37
|
+
serialized_name: 'updateStatus',
|
38
|
+
type: {
|
39
|
+
name: 'String'
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
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::Automanage::Mgmt::V2020_06_30_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The response of the list configuration profile assignment operation.
|
10
|
+
#
|
11
|
+
class ConfigurationProfileAssignmentList
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<ConfigurationProfileAssignment>] Result of the list
|
16
|
+
# configuration profile assignment operation.
|
17
|
+
attr_accessor :value
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for ConfigurationProfileAssignmentList 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: 'ConfigurationProfileAssignmentList',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'ConfigurationProfileAssignmentList',
|
32
|
+
model_properties: {
|
33
|
+
value: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'value',
|
37
|
+
type: {
|
38
|
+
name: 'Sequence',
|
39
|
+
element: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'ConfigurationProfileAssignmentElementType',
|
43
|
+
type: {
|
44
|
+
name: 'Composite',
|
45
|
+
class_name: 'ConfigurationProfileAssignment'
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,109 @@
|
|
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::Automanage::Mgmt::V2020_06_30_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Automanage configuration profile assignment properties.
|
10
|
+
#
|
11
|
+
class ConfigurationProfileAssignmentProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [ConfigurationProfile] A value indicating configuration
|
16
|
+
# profile. Possible values include: 'Azure virtual machine best practices
|
17
|
+
# – Dev/Test', 'Azure virtual machine best practices – Production'
|
18
|
+
attr_accessor :configuration_profile
|
19
|
+
|
20
|
+
# @return [String] The target VM resource URI
|
21
|
+
attr_accessor :target_id
|
22
|
+
|
23
|
+
# @return [String] The Automanage account ARM Resource URI
|
24
|
+
attr_accessor :account_id
|
25
|
+
|
26
|
+
# @return [String] The configuration profile custom preferences ARM
|
27
|
+
# resource URI
|
28
|
+
attr_accessor :configuration_profile_preference_id
|
29
|
+
|
30
|
+
# @return [ProvisioningState] The state of onboarding, which only appears
|
31
|
+
# in the response. Possible values include: 'Succeeded', 'Failed',
|
32
|
+
# 'Created'
|
33
|
+
attr_accessor :provisioning_state
|
34
|
+
|
35
|
+
# @return [ConfigurationProfileAssignmentCompliance] The configuration
|
36
|
+
# setting for the configuration profile.
|
37
|
+
attr_accessor :compliance
|
38
|
+
|
39
|
+
|
40
|
+
#
|
41
|
+
# Mapper for ConfigurationProfileAssignmentProperties class as Ruby Hash.
|
42
|
+
# This will be used for serialization/deserialization.
|
43
|
+
#
|
44
|
+
def self.mapper()
|
45
|
+
{
|
46
|
+
client_side_validation: true,
|
47
|
+
required: false,
|
48
|
+
serialized_name: 'ConfigurationProfileAssignmentProperties',
|
49
|
+
type: {
|
50
|
+
name: 'Composite',
|
51
|
+
class_name: 'ConfigurationProfileAssignmentProperties',
|
52
|
+
model_properties: {
|
53
|
+
configuration_profile: {
|
54
|
+
client_side_validation: true,
|
55
|
+
required: false,
|
56
|
+
serialized_name: 'configurationProfile',
|
57
|
+
type: {
|
58
|
+
name: 'String'
|
59
|
+
}
|
60
|
+
},
|
61
|
+
target_id: {
|
62
|
+
client_side_validation: true,
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'targetId',
|
65
|
+
type: {
|
66
|
+
name: 'String'
|
67
|
+
}
|
68
|
+
},
|
69
|
+
account_id: {
|
70
|
+
client_side_validation: true,
|
71
|
+
required: false,
|
72
|
+
serialized_name: 'accountId',
|
73
|
+
type: {
|
74
|
+
name: 'String'
|
75
|
+
}
|
76
|
+
},
|
77
|
+
configuration_profile_preference_id: {
|
78
|
+
client_side_validation: true,
|
79
|
+
required: false,
|
80
|
+
serialized_name: 'configurationProfilePreferenceId',
|
81
|
+
type: {
|
82
|
+
name: 'String'
|
83
|
+
}
|
84
|
+
},
|
85
|
+
provisioning_state: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
read_only: true,
|
89
|
+
serialized_name: 'provisioningState',
|
90
|
+
type: {
|
91
|
+
name: 'String'
|
92
|
+
}
|
93
|
+
},
|
94
|
+
compliance: {
|
95
|
+
client_side_validation: true,
|
96
|
+
required: false,
|
97
|
+
serialized_name: 'compliance',
|
98
|
+
type: {
|
99
|
+
name: 'Composite',
|
100
|
+
class_name: 'ConfigurationProfileAssignmentCompliance'
|
101
|
+
}
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
}
|
106
|
+
end
|
107
|
+
end
|
108
|
+
end
|
109
|
+
end
|
@@ -0,0 +1,99 @@
|
|
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::Automanage::Mgmt::V2020_06_30_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Definition of the configuration profile preference.
|
10
|
+
#
|
11
|
+
class ConfigurationProfilePreference < TrackedResource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [ConfigurationProfilePreferenceProperties] Properties of the
|
16
|
+
# configuration profile preference.
|
17
|
+
attr_accessor :properties
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for ConfigurationProfilePreference 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: 'ConfigurationProfilePreference',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'ConfigurationProfilePreference',
|
32
|
+
model_properties: {
|
33
|
+
id: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
read_only: true,
|
37
|
+
serialized_name: 'id',
|
38
|
+
type: {
|
39
|
+
name: 'String'
|
40
|
+
}
|
41
|
+
},
|
42
|
+
name: {
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
read_only: true,
|
46
|
+
serialized_name: 'name',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
},
|
51
|
+
type: {
|
52
|
+
client_side_validation: true,
|
53
|
+
required: false,
|
54
|
+
read_only: true,
|
55
|
+
serialized_name: 'type',
|
56
|
+
type: {
|
57
|
+
name: 'String'
|
58
|
+
}
|
59
|
+
},
|
60
|
+
tags: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'tags',
|
64
|
+
type: {
|
65
|
+
name: 'Dictionary',
|
66
|
+
value: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: false,
|
69
|
+
serialized_name: 'StringElementType',
|
70
|
+
type: {
|
71
|
+
name: 'String'
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
},
|
76
|
+
location: {
|
77
|
+
client_side_validation: true,
|
78
|
+
required: true,
|
79
|
+
serialized_name: 'location',
|
80
|
+
type: {
|
81
|
+
name: 'String'
|
82
|
+
}
|
83
|
+
},
|
84
|
+
properties: {
|
85
|
+
client_side_validation: true,
|
86
|
+
required: false,
|
87
|
+
serialized_name: 'properties',
|
88
|
+
type: {
|
89
|
+
name: 'Composite',
|
90
|
+
class_name: 'ConfigurationProfilePreferenceProperties'
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
@@ -0,0 +1,105 @@
|
|
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::Automanage::Mgmt::V2020_06_30_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Automanage configuration profile Antimalware preferences.
|
10
|
+
#
|
11
|
+
class ConfigurationProfilePreferenceAntiMalware
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [EnableRealTimeProtection] Enables or disables Real Time
|
16
|
+
# Protection. Possible values include: 'True', 'False'
|
17
|
+
attr_accessor :enable_real_time_protection
|
18
|
+
|
19
|
+
# @return Extensions, Paths and Processes that must be excluded from scan
|
20
|
+
attr_accessor :exclusions
|
21
|
+
|
22
|
+
# @return [RunScheduledScan] Enables or disables a periodic scan for
|
23
|
+
# antimalware. Possible values include: 'True', 'False'
|
24
|
+
attr_accessor :run_scheduled_scan
|
25
|
+
|
26
|
+
# @return [ScanType] Type of scheduled scan. Possible values include:
|
27
|
+
# 'Quick', 'Full'
|
28
|
+
attr_accessor :scan_type
|
29
|
+
|
30
|
+
# @return [String] Schedule scan settings day
|
31
|
+
attr_accessor :scan_day
|
32
|
+
|
33
|
+
# @return [String] Schedule scan settings time
|
34
|
+
attr_accessor :scan_time_in_minutes
|
35
|
+
|
36
|
+
|
37
|
+
#
|
38
|
+
# Mapper for ConfigurationProfilePreferenceAntiMalware class as Ruby
|
39
|
+
# Hash.
|
40
|
+
# This will be used for serialization/deserialization.
|
41
|
+
#
|
42
|
+
def self.mapper()
|
43
|
+
{
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'ConfigurationProfilePreferenceAntiMalware',
|
47
|
+
type: {
|
48
|
+
name: 'Composite',
|
49
|
+
class_name: 'ConfigurationProfilePreferenceAntiMalware',
|
50
|
+
model_properties: {
|
51
|
+
enable_real_time_protection: {
|
52
|
+
client_side_validation: true,
|
53
|
+
required: false,
|
54
|
+
serialized_name: 'enableRealTimeProtection',
|
55
|
+
type: {
|
56
|
+
name: 'String'
|
57
|
+
}
|
58
|
+
},
|
59
|
+
exclusions: {
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
serialized_name: 'exclusions',
|
63
|
+
type: {
|
64
|
+
name: 'Object'
|
65
|
+
}
|
66
|
+
},
|
67
|
+
run_scheduled_scan: {
|
68
|
+
client_side_validation: true,
|
69
|
+
required: false,
|
70
|
+
serialized_name: 'runScheduledScan',
|
71
|
+
type: {
|
72
|
+
name: 'String'
|
73
|
+
}
|
74
|
+
},
|
75
|
+
scan_type: {
|
76
|
+
client_side_validation: true,
|
77
|
+
required: false,
|
78
|
+
serialized_name: 'scanType',
|
79
|
+
type: {
|
80
|
+
name: 'String'
|
81
|
+
}
|
82
|
+
},
|
83
|
+
scan_day: {
|
84
|
+
client_side_validation: true,
|
85
|
+
required: false,
|
86
|
+
serialized_name: 'scanDay',
|
87
|
+
type: {
|
88
|
+
name: 'String'
|
89
|
+
}
|
90
|
+
},
|
91
|
+
scan_time_in_minutes: {
|
92
|
+
client_side_validation: true,
|
93
|
+
required: false,
|
94
|
+
serialized_name: 'scanTimeInMinutes',
|
95
|
+
type: {
|
96
|
+
name: 'String'
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}
|
102
|
+
end
|
103
|
+
end
|
104
|
+
end
|
105
|
+
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::Automanage::Mgmt::V2020_06_30_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The response of the list ConfigurationProfilePreference operation.
|
10
|
+
#
|
11
|
+
class ConfigurationProfilePreferenceList
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<ConfigurationProfilePreference>] Result of the list
|
16
|
+
# ConfigurationProfilePreference operation.
|
17
|
+
attr_accessor :value
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for ConfigurationProfilePreferenceList 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: 'ConfigurationProfilePreferenceList',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'ConfigurationProfilePreferenceList',
|
32
|
+
model_properties: {
|
33
|
+
value: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'value',
|
37
|
+
type: {
|
38
|
+
name: 'Sequence',
|
39
|
+
element: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'ConfigurationProfilePreferenceElementType',
|
43
|
+
type: {
|
44
|
+
name: 'Composite',
|
45
|
+
class_name: 'ConfigurationProfilePreference'
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|