azure_mgmt_compute 0.17.0 → 0.17.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2015-06-15/generated/azure_mgmt_compute.rb +5 -3
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/update_resource.rb +54 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +134 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_extensions.rb +168 -5
- data/lib/2016-03-30/generated/azure_mgmt_compute.rb +28 -25
- data/lib/2016-03-30/generated/azure_mgmt_compute/compute_management_client.rb +4 -4
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/update_resource.rb +54 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +134 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb +55 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_extensions.rb +168 -5
- data/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machines.rb +98 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute.rb +35 -32
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/compute_management_client.rb +4 -4
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/update_resource.rb +54 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +134 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb +55 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_extensions.rb +168 -5
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machines.rb +98 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute.rb +69 -67
- data/lib/2017-03-30/generated/azure_mgmt_compute/availability_sets.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/compute_management_client.rb +4 -4
- data/lib/2017-03-30/generated/azure_mgmt_compute/disks.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/images.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +134 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb +55 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/resource_skus.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/snapshots.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/usage_operations.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_extensions.rb +169 -6
- data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_images.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_run_commands.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_sizes.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machines.rb +99 -1
- data/lib/2017-12-01/generated/azure_mgmt_compute.rb +75 -64
- data/lib/2017-12-01/generated/azure_mgmt_compute/compute_management_client.rb +4 -4
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/auto_osupgrade_policy.rb +47 -0
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/availability_set_update.rb +1 -10
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/data_disk.rb +7 -7
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/image_update.rb +1 -3
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/osdisk.rb +7 -7
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/rollback_status_info.rb +74 -0
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info.rb +73 -0
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb +116 -0
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_history_status.rb +74 -0
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_invoker.rb +17 -0
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_policy.rb +13 -0
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_state.rb +18 -0
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_eviction_policy_types.rb +16 -0
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +134 -0
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb +55 -0
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_osupgrade_history.rb +104 -0
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +3 -3
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +14 -0
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +1 -1
- data/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_extensions.rb +168 -5
- data/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +202 -0
- data/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machines.rb +98 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute.rb +56 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/compute_management_client.rb +136 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/disks.rb +1304 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/access_level.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/access_uri.rb +47 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/api_error.rb +100 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/api_error_base.rb +68 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/creation_data.rb +97 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/disk.rb +207 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_create_option.rb +20 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_list.rb +99 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_sku.rb +60 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_update.rb +100 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/encryption_settings.rb +76 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/grant_access_data.rb +58 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/image_disk_reference.rb +60 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/inner_error.rb +57 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb +60 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb +59 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/operation_status_response.rb +96 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/resource.rb +101 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/resource_update.rb +66 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot.rb +187 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot_list.rb +99 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot_sku.rb +61 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot_storage_account_types.rb +17 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot_update.rb +100 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/source_vault.rb +47 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/storage_account_types.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/module_definition.rb +9 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/snapshots.rb +1304 -0
- data/lib/azure_mgmt_compute.rb +1 -0
- data/lib/profiles/latest/modules/compute_profile_module.rb +303 -251
- data/lib/profiles/v2017_03_09/modules/compute_profile_module.rb +90 -78
- data/lib/version.rb +1 -1
- metadata +55 -2
@@ -7,16 +7,7 @@ module Azure::Compute::Mgmt::V2017_12_01
|
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Specifies information about the availability set that the virtual machine
|
10
|
-
# should be assigned to.
|
11
|
-
# availability set are allocated to different nodes to maximize
|
12
|
-
# availability. For more information about availability sets, see [Manage
|
13
|
-
# the availability of virtual
|
14
|
-
# machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
|
15
|
-
# <br><br> For more information on Azure planned maintainance, see [Planned
|
16
|
-
# maintenance for virtual machines in
|
17
|
-
# Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
|
18
|
-
# <br><br> Currently, a VM can only be added to availability set at
|
19
|
-
# creation time. An existing VM cannot be added to an availability set.
|
10
|
+
# should be assigned to. Only tags may be updated.
|
20
11
|
#
|
21
12
|
class AvailabilitySetUpdate < UpdateResource
|
22
13
|
|
@@ -42,13 +42,13 @@ module Azure::Compute::Mgmt::V2017_12_01
|
|
42
42
|
|
43
43
|
# @return [DiskCreateOptionTypes] Specifies how the virtual machine
|
44
44
|
# should be created.<br><br> Possible values are:<br><br> **Attach**
|
45
|
-
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
#
|
49
|
-
#
|
50
|
-
#
|
51
|
-
# '
|
45
|
+
# This value is used when you are using a specialized disk to create the
|
46
|
+
# virtual machine.<br><br> **FromImage** This value is used when you are
|
47
|
+
# using an image to create the virtual machine. If you are using a
|
48
|
+
# platform image, you also use the imageReference element described
|
49
|
+
# above. If you are using a marketplace image, you also use the plan
|
50
|
+
# element previously described. Possible values include: 'FromImage',
|
51
|
+
# 'Empty', 'Attach'
|
52
52
|
attr_accessor :create_option
|
53
53
|
|
54
54
|
# @return [Integer] Specifies the size of an empty data disk in
|
@@ -6,9 +6,7 @@
|
|
6
6
|
module Azure::Compute::Mgmt::V2017_12_01
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# The source user image virtual hard disk.
|
10
|
-
# copied before being attached to the virtual machine. If SourceImage is
|
11
|
-
# provided, the destination virtual hard drive must not exist.
|
9
|
+
# The source user image virtual hard disk. Only tags may be updated.
|
12
10
|
#
|
13
11
|
class ImageUpdate < UpdateResource
|
14
12
|
|
@@ -51,13 +51,13 @@ module Azure::Compute::Mgmt::V2017_12_01
|
|
51
51
|
|
52
52
|
# @return [DiskCreateOptionTypes] Specifies how the virtual machine
|
53
53
|
# should be created.<br><br> Possible values are:<br><br> **Attach**
|
54
|
-
#
|
55
|
-
#
|
56
|
-
#
|
57
|
-
#
|
58
|
-
#
|
59
|
-
#
|
60
|
-
# '
|
54
|
+
# This value is used when you are using a specialized disk to create the
|
55
|
+
# virtual machine.<br><br> **FromImage** This value is used when you are
|
56
|
+
# using an image to create the virtual machine. If you are using a
|
57
|
+
# platform image, you also use the imageReference element described
|
58
|
+
# above. If you are using a marketplace image, you also use the plan
|
59
|
+
# element previously described. Possible values include: 'FromImage',
|
60
|
+
# 'Empty', 'Attach'
|
61
61
|
attr_accessor :create_option
|
62
62
|
|
63
63
|
# @return [Integer] Specifies the size of an empty data disk in
|
@@ -0,0 +1,74 @@
|
|
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::Compute::Mgmt::V2017_12_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Information about rollback on failed VM instances after a OS Upgrade
|
10
|
+
# operation
|
11
|
+
#
|
12
|
+
class RollbackStatusInfo
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [Integer] The number of instances which have been successfully
|
17
|
+
# rolled back.
|
18
|
+
attr_accessor :successfully_rolledback_instance_count
|
19
|
+
|
20
|
+
# @return [Integer] The number of instances which failed to rollback.
|
21
|
+
attr_accessor :failed_rolledback_instance_count
|
22
|
+
|
23
|
+
# @return [ApiError] Error Details if OS rollback failed.
|
24
|
+
attr_accessor :rollback_error
|
25
|
+
|
26
|
+
|
27
|
+
#
|
28
|
+
# Mapper for RollbackStatusInfo 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: 'RollbackStatusInfo',
|
36
|
+
type: {
|
37
|
+
name: 'Composite',
|
38
|
+
class_name: 'RollbackStatusInfo',
|
39
|
+
model_properties: {
|
40
|
+
successfully_rolledback_instance_count: {
|
41
|
+
client_side_validation: true,
|
42
|
+
required: false,
|
43
|
+
read_only: true,
|
44
|
+
serialized_name: 'successfullyRolledbackInstanceCount',
|
45
|
+
type: {
|
46
|
+
name: 'Number'
|
47
|
+
}
|
48
|
+
},
|
49
|
+
failed_rolledback_instance_count: {
|
50
|
+
client_side_validation: true,
|
51
|
+
required: false,
|
52
|
+
read_only: true,
|
53
|
+
serialized_name: 'failedRolledbackInstanceCount',
|
54
|
+
type: {
|
55
|
+
name: 'Number'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
rollback_error: {
|
59
|
+
client_side_validation: true,
|
60
|
+
required: false,
|
61
|
+
read_only: true,
|
62
|
+
serialized_name: 'rollbackError',
|
63
|
+
type: {
|
64
|
+
name: 'Composite',
|
65
|
+
class_name: 'ApiError'
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
data/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info.rb
ADDED
@@ -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::Compute::Mgmt::V2017_12_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Virtual Machine Scale Set OS Upgrade History operation response.
|
10
|
+
#
|
11
|
+
class UpgradeOperationHistoricalStatusInfo
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [UpgradeOperationHistoricalStatusInfoProperties] Information
|
16
|
+
# about the properties of the upgrade operation.
|
17
|
+
attr_accessor :properties
|
18
|
+
|
19
|
+
# @return [String] Resource type
|
20
|
+
attr_accessor :type
|
21
|
+
|
22
|
+
# @return [String] Resource location
|
23
|
+
attr_accessor :location
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for UpgradeOperationHistoricalStatusInfo class as Ruby Hash.
|
28
|
+
# This will be used for serialization/deserialization.
|
29
|
+
#
|
30
|
+
def self.mapper()
|
31
|
+
{
|
32
|
+
client_side_validation: true,
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'UpgradeOperationHistoricalStatusInfo',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'UpgradeOperationHistoricalStatusInfo',
|
38
|
+
model_properties: {
|
39
|
+
properties: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
read_only: true,
|
43
|
+
serialized_name: 'properties',
|
44
|
+
type: {
|
45
|
+
name: 'Composite',
|
46
|
+
class_name: 'UpgradeOperationHistoricalStatusInfoProperties'
|
47
|
+
}
|
48
|
+
},
|
49
|
+
type: {
|
50
|
+
client_side_validation: true,
|
51
|
+
required: false,
|
52
|
+
read_only: true,
|
53
|
+
serialized_name: 'type',
|
54
|
+
type: {
|
55
|
+
name: 'String'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
location: {
|
59
|
+
client_side_validation: true,
|
60
|
+
required: false,
|
61
|
+
read_only: true,
|
62
|
+
serialized_name: 'location',
|
63
|
+
type: {
|
64
|
+
name: 'String'
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
@@ -0,0 +1,116 @@
|
|
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::Compute::Mgmt::V2017_12_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Describes each OS upgrade on the Virtual Machine Scale Set.
|
10
|
+
#
|
11
|
+
class UpgradeOperationHistoricalStatusInfoProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [UpgradeOperationHistoryStatus] Information about the overall
|
16
|
+
# status of the upgrade operation.
|
17
|
+
attr_accessor :running_status
|
18
|
+
|
19
|
+
# @return [RollingUpgradeProgressInfo] Counts of the VM's in each state.
|
20
|
+
attr_accessor :progress
|
21
|
+
|
22
|
+
# @return [ApiError] Error Details for this upgrade if there are any.
|
23
|
+
attr_accessor :error
|
24
|
+
|
25
|
+
# @return [UpgradeOperationInvoker] Invoker of the Upgrade Operation.
|
26
|
+
# Possible values include: 'Unknown', 'User', 'Platform'
|
27
|
+
attr_accessor :started_by
|
28
|
+
|
29
|
+
# @return [ImageReference] Image Reference details
|
30
|
+
attr_accessor :target_image_reference
|
31
|
+
|
32
|
+
# @return [RollbackStatusInfo] Information about OS rollback if performed
|
33
|
+
attr_accessor :rollback_info
|
34
|
+
|
35
|
+
|
36
|
+
#
|
37
|
+
# Mapper for UpgradeOperationHistoricalStatusInfoProperties class as Ruby
|
38
|
+
# Hash.
|
39
|
+
# This will be used for serialization/deserialization.
|
40
|
+
#
|
41
|
+
def self.mapper()
|
42
|
+
{
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'UpgradeOperationHistoricalStatusInfoProperties',
|
46
|
+
type: {
|
47
|
+
name: 'Composite',
|
48
|
+
class_name: 'UpgradeOperationHistoricalStatusInfoProperties',
|
49
|
+
model_properties: {
|
50
|
+
running_status: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
read_only: true,
|
54
|
+
serialized_name: 'runningStatus',
|
55
|
+
type: {
|
56
|
+
name: 'Composite',
|
57
|
+
class_name: 'UpgradeOperationHistoryStatus'
|
58
|
+
}
|
59
|
+
},
|
60
|
+
progress: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
read_only: true,
|
64
|
+
serialized_name: 'progress',
|
65
|
+
type: {
|
66
|
+
name: 'Composite',
|
67
|
+
class_name: 'RollingUpgradeProgressInfo'
|
68
|
+
}
|
69
|
+
},
|
70
|
+
error: {
|
71
|
+
client_side_validation: true,
|
72
|
+
required: false,
|
73
|
+
read_only: true,
|
74
|
+
serialized_name: 'error',
|
75
|
+
type: {
|
76
|
+
name: 'Composite',
|
77
|
+
class_name: 'ApiError'
|
78
|
+
}
|
79
|
+
},
|
80
|
+
started_by: {
|
81
|
+
client_side_validation: true,
|
82
|
+
required: false,
|
83
|
+
read_only: true,
|
84
|
+
serialized_name: 'startedBy',
|
85
|
+
type: {
|
86
|
+
name: 'Enum',
|
87
|
+
module: 'UpgradeOperationInvoker'
|
88
|
+
}
|
89
|
+
},
|
90
|
+
target_image_reference: {
|
91
|
+
client_side_validation: true,
|
92
|
+
required: false,
|
93
|
+
read_only: true,
|
94
|
+
serialized_name: 'targetImageReference',
|
95
|
+
type: {
|
96
|
+
name: 'Composite',
|
97
|
+
class_name: 'ImageReference'
|
98
|
+
}
|
99
|
+
},
|
100
|
+
rollback_info: {
|
101
|
+
client_side_validation: true,
|
102
|
+
required: false,
|
103
|
+
read_only: true,
|
104
|
+
serialized_name: 'rollbackInfo',
|
105
|
+
type: {
|
106
|
+
name: 'Composite',
|
107
|
+
class_name: 'RollbackStatusInfo'
|
108
|
+
}
|
109
|
+
}
|
110
|
+
}
|
111
|
+
}
|
112
|
+
}
|
113
|
+
end
|
114
|
+
end
|
115
|
+
end
|
116
|
+
end
|
@@ -0,0 +1,74 @@
|
|
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::Compute::Mgmt::V2017_12_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Information about the current running state of the overall upgrade.
|
10
|
+
#
|
11
|
+
class UpgradeOperationHistoryStatus
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [UpgradeState] Code indicating the current status of the
|
16
|
+
# upgrade. Possible values include: 'RollingForward', 'Cancelled',
|
17
|
+
# 'Completed', 'Faulted'
|
18
|
+
attr_accessor :code
|
19
|
+
|
20
|
+
# @return [DateTime] Start time of the upgrade.
|
21
|
+
attr_accessor :start_time
|
22
|
+
|
23
|
+
# @return [DateTime] End time of the upgrade.
|
24
|
+
attr_accessor :end_time
|
25
|
+
|
26
|
+
|
27
|
+
#
|
28
|
+
# Mapper for UpgradeOperationHistoryStatus 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: 'UpgradeOperationHistoryStatus',
|
36
|
+
type: {
|
37
|
+
name: 'Composite',
|
38
|
+
class_name: 'UpgradeOperationHistoryStatus',
|
39
|
+
model_properties: {
|
40
|
+
code: {
|
41
|
+
client_side_validation: true,
|
42
|
+
required: false,
|
43
|
+
read_only: true,
|
44
|
+
serialized_name: 'code',
|
45
|
+
type: {
|
46
|
+
name: 'Enum',
|
47
|
+
module: 'UpgradeState'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
start_time: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
read_only: true,
|
54
|
+
serialized_name: 'startTime',
|
55
|
+
type: {
|
56
|
+
name: 'DateTime'
|
57
|
+
}
|
58
|
+
},
|
59
|
+
end_time: {
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
read_only: true,
|
63
|
+
serialized_name: 'endTime',
|
64
|
+
type: {
|
65
|
+
name: 'DateTime'
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
@@ -0,0 +1,17 @@
|
|
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::Compute::Mgmt::V2017_12_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for UpgradeOperationInvoker
|
10
|
+
#
|
11
|
+
module UpgradeOperationInvoker
|
12
|
+
Unknown = "Unknown"
|
13
|
+
User = "User"
|
14
|
+
Platform = "Platform"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -30,6 +30,10 @@ module Azure::Compute::Mgmt::V2017_12_01
|
|
30
30
|
# image becomes available.
|
31
31
|
attr_accessor :automatic_osupgrade
|
32
32
|
|
33
|
+
# @return [AutoOSUpgradePolicy] Configuration parameters used for
|
34
|
+
# performing automatic OS Upgrade.
|
35
|
+
attr_accessor :auto_osupgrade_policy
|
36
|
+
|
33
37
|
|
34
38
|
#
|
35
39
|
# Mapper for UpgradePolicy class as Ruby Hash.
|
@@ -69,6 +73,15 @@ module Azure::Compute::Mgmt::V2017_12_01
|
|
69
73
|
type: {
|
70
74
|
name: 'Boolean'
|
71
75
|
}
|
76
|
+
},
|
77
|
+
auto_osupgrade_policy: {
|
78
|
+
client_side_validation: true,
|
79
|
+
required: false,
|
80
|
+
serialized_name: 'autoOSUpgradePolicy',
|
81
|
+
type: {
|
82
|
+
name: 'Composite',
|
83
|
+
class_name: 'AutoOSUpgradePolicy'
|
84
|
+
}
|
72
85
|
}
|
73
86
|
}
|
74
87
|
}
|