azure_mgmt_maintenance 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2018-06-01-preview/generated/azure_mgmt_maintenance.rb +48 -0
  4. data/lib/2018-06-01-preview/generated/azure_mgmt_maintenance/apply_updates.rb +481 -0
  5. data/lib/2018-06-01-preview/generated/azure_mgmt_maintenance/configuration_assignments.rb +747 -0
  6. data/lib/2018-06-01-preview/generated/azure_mgmt_maintenance/maintenance_configurations.rb +509 -0
  7. data/lib/2018-06-01-preview/generated/azure_mgmt_maintenance/maintenance_management_client.rb +149 -0
  8. data/lib/2018-06-01-preview/generated/azure_mgmt_maintenance/models/apply_update.rb +96 -0
  9. data/lib/2018-06-01-preview/generated/azure_mgmt_maintenance/models/configuration_assignment.rb +95 -0
  10. data/lib/2018-06-01-preview/generated/azure_mgmt_maintenance/models/error_details.rb +58 -0
  11. data/lib/2018-06-01-preview/generated/azure_mgmt_maintenance/models/impact_type.rb +18 -0
  12. data/lib/2018-06-01-preview/generated/azure_mgmt_maintenance/models/list_configuration_assignments_result.rb +56 -0
  13. data/lib/2018-06-01-preview/generated/azure_mgmt_maintenance/models/list_maintenance_configurations_result.rb +56 -0
  14. data/lib/2018-06-01-preview/generated/azure_mgmt_maintenance/models/list_updates_result.rb +55 -0
  15. data/lib/2018-06-01-preview/generated/azure_mgmt_maintenance/models/maintenance_configuration.rb +136 -0
  16. data/lib/2018-06-01-preview/generated/azure_mgmt_maintenance/models/maintenance_error.rb +47 -0
  17. data/lib/2018-06-01-preview/generated/azure_mgmt_maintenance/models/maintenance_scope.rb +18 -0
  18. data/lib/2018-06-01-preview/generated/azure_mgmt_maintenance/models/operation.rb +80 -0
  19. data/lib/2018-06-01-preview/generated/azure_mgmt_maintenance/models/operation_info.rb +79 -0
  20. data/lib/2018-06-01-preview/generated/azure_mgmt_maintenance/models/operations_list_result.rb +55 -0
  21. data/lib/2018-06-01-preview/generated/azure_mgmt_maintenance/models/resource.rb +80 -0
  22. data/lib/2018-06-01-preview/generated/azure_mgmt_maintenance/models/update.rb +105 -0
  23. data/lib/2018-06-01-preview/generated/azure_mgmt_maintenance/models/update_status.rb +19 -0
  24. data/lib/2018-06-01-preview/generated/azure_mgmt_maintenance/module_definition.rb +9 -0
  25. data/lib/2018-06-01-preview/generated/azure_mgmt_maintenance/operations.rb +118 -0
  26. data/lib/2018-06-01-preview/generated/azure_mgmt_maintenance/updates.rb +249 -0
  27. data/lib/azure_mgmt_maintenance.rb +6 -0
  28. data/lib/module_definition.rb +7 -0
  29. data/lib/profiles/latest/maintenance_latest_profile_client.rb +40 -0
  30. data/lib/profiles/latest/maintenance_module_definition.rb +8 -0
  31. data/lib/profiles/latest/modules/maintenance_profile_module.rb +133 -0
  32. data/lib/version.rb +7 -0
  33. metadata +148 -0
@@ -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::Maintenance::Mgmt::V2018_06_01_preview
7
+ module Models
8
+ #
9
+ # Response for MaintenanceConfigurations list
10
+ #
11
+ class ListMaintenanceConfigurationsResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<MaintenanceConfiguration>] The list of maintenance
16
+ # Configurations
17
+ attr_accessor :value
18
+
19
+
20
+ #
21
+ # Mapper for ListMaintenanceConfigurationsResult 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: 'ListMaintenanceConfigurationsResult',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'ListMaintenanceConfigurationsResult',
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: 'MaintenanceConfigurationElementType',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'MaintenanceConfiguration'
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ end
54
+ end
55
+ end
56
+ 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::Maintenance::Mgmt::V2018_06_01_preview
7
+ module Models
8
+ #
9
+ # Response for Updates list
10
+ #
11
+ class ListUpdatesResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<Update>] The pending updates
16
+ attr_accessor :value
17
+
18
+
19
+ #
20
+ # Mapper for ListUpdatesResult class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'ListUpdatesResult',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'ListUpdatesResult',
31
+ model_properties: {
32
+ value: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'value',
36
+ type: {
37
+ name: 'Sequence',
38
+ element: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'UpdateElementType',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'Update'
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ end
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,136 @@
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::Maintenance::Mgmt::V2018_06_01_preview
7
+ module Models
8
+ #
9
+ # Maintenance configuration record type
10
+ #
11
+ class MaintenanceConfiguration < Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Gets or sets location of the resource
16
+ attr_accessor :location
17
+
18
+ # @return [Hash{String => String}] Gets or sets tags of the resource
19
+ attr_accessor :tags
20
+
21
+ # @return [String] Gets or sets namespace of the resource
22
+ attr_accessor :namespace
23
+
24
+ # @return [Hash{String => String}] Gets or sets extensionProperties of
25
+ # the maintenanceConfiguration
26
+ attr_accessor :extension_properties
27
+
28
+ # @return [MaintenanceScope] Gets or sets maintenanceScope of the
29
+ # configuration. Possible values include: 'All', 'Host', 'Resource',
30
+ # 'InResource'
31
+ attr_accessor :maintenance_scope
32
+
33
+
34
+ #
35
+ # Mapper for MaintenanceConfiguration class as Ruby Hash.
36
+ # This will be used for serialization/deserialization.
37
+ #
38
+ def self.mapper()
39
+ {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'MaintenanceConfiguration',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'MaintenanceConfiguration',
46
+ model_properties: {
47
+ id: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ read_only: true,
51
+ serialized_name: 'id',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ name: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ read_only: true,
60
+ serialized_name: 'name',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ type: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ read_only: true,
69
+ serialized_name: 'type',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ },
74
+ location: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ serialized_name: 'location',
78
+ type: {
79
+ name: 'String'
80
+ }
81
+ },
82
+ tags: {
83
+ client_side_validation: true,
84
+ required: false,
85
+ serialized_name: 'tags',
86
+ type: {
87
+ name: 'Dictionary',
88
+ value: {
89
+ client_side_validation: true,
90
+ required: false,
91
+ serialized_name: 'StringElementType',
92
+ type: {
93
+ name: 'String'
94
+ }
95
+ }
96
+ }
97
+ },
98
+ namespace: {
99
+ client_side_validation: true,
100
+ required: false,
101
+ serialized_name: 'properties.namespace',
102
+ type: {
103
+ name: 'String'
104
+ }
105
+ },
106
+ extension_properties: {
107
+ client_side_validation: true,
108
+ required: false,
109
+ serialized_name: 'properties.extensionProperties',
110
+ type: {
111
+ name: 'Dictionary',
112
+ value: {
113
+ client_side_validation: true,
114
+ required: false,
115
+ serialized_name: 'StringElementType',
116
+ type: {
117
+ name: 'String'
118
+ }
119
+ }
120
+ }
121
+ },
122
+ maintenance_scope: {
123
+ client_side_validation: true,
124
+ required: false,
125
+ serialized_name: 'properties.maintenanceScope',
126
+ type: {
127
+ name: 'String'
128
+ }
129
+ }
130
+ }
131
+ }
132
+ }
133
+ end
134
+ end
135
+ end
136
+ end
@@ -0,0 +1,47 @@
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::Maintenance::Mgmt::V2018_06_01_preview
7
+ module Models
8
+ #
9
+ # An error response received from the Azure Maintenance service.
10
+ #
11
+ class MaintenanceError
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [ErrorDetails] Details of the error
16
+ attr_accessor :error
17
+
18
+
19
+ #
20
+ # Mapper for MaintenanceError class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'MaintenanceError',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'MaintenanceError',
31
+ model_properties: {
32
+ error: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'error',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'ErrorDetails'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ 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::Maintenance::Mgmt::V2018_06_01_preview
7
+ module Models
8
+ #
9
+ # Defines values for MaintenanceScope
10
+ #
11
+ module MaintenanceScope
12
+ All = "All"
13
+ Host = "Host"
14
+ Resource = "Resource"
15
+ InResource = "InResource"
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,80 @@
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::Maintenance::Mgmt::V2018_06_01_preview
7
+ module Models
8
+ #
9
+ # Represents an operation returned by the GetOperations request
10
+ #
11
+ class Operation
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Name of the operation
16
+ attr_accessor :name
17
+
18
+ # @return [OperationInfo] Display name of the operation
19
+ attr_accessor :display
20
+
21
+ # @return [String] Origin of the operation
22
+ attr_accessor :origin
23
+
24
+ # @return Properties of the operation
25
+ attr_accessor :properties
26
+
27
+
28
+ #
29
+ # Mapper for Operation class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'Operation',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'Operation',
40
+ model_properties: {
41
+ name: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'name',
45
+ type: {
46
+ name: 'String'
47
+ }
48
+ },
49
+ display: {
50
+ client_side_validation: true,
51
+ required: false,
52
+ serialized_name: 'display',
53
+ type: {
54
+ name: 'Composite',
55
+ class_name: 'OperationInfo'
56
+ }
57
+ },
58
+ origin: {
59
+ client_side_validation: true,
60
+ required: false,
61
+ serialized_name: 'origin',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ properties: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ serialized_name: 'properties',
70
+ type: {
71
+ name: 'Object'
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ end
78
+ end
79
+ end
80
+ end
@@ -0,0 +1,79 @@
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::Maintenance::Mgmt::V2018_06_01_preview
7
+ module Models
8
+ #
9
+ # Information about an operation
10
+ #
11
+ class OperationInfo
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Name of the provider
16
+ attr_accessor :provider
17
+
18
+ # @return [String] Name of the resource type
19
+ attr_accessor :resource
20
+
21
+ # @return [String] Name of the operation
22
+ attr_accessor :operation
23
+
24
+ # @return [String] Description of the operation
25
+ attr_accessor :description
26
+
27
+
28
+ #
29
+ # Mapper for OperationInfo class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'OperationInfo',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'OperationInfo',
40
+ model_properties: {
41
+ provider: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'provider',
45
+ type: {
46
+ name: 'String'
47
+ }
48
+ },
49
+ resource: {
50
+ client_side_validation: true,
51
+ required: false,
52
+ serialized_name: 'resource',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ operation: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ serialized_name: 'operation',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ description: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ serialized_name: 'description',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ }
73
+ }
74
+ }
75
+ }
76
+ end
77
+ end
78
+ end
79
+ end