azure_mgmt_compute 0.12.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generated/azure_mgmt_compute.rb +96 -78
- data/lib/generated/azure_mgmt_compute/availability_sets.rb +1 -1
- data/lib/generated/azure_mgmt_compute/compute_management_client.rb +6 -1
- data/lib/generated/azure_mgmt_compute/container_services.rb +1 -1
- data/lib/generated/azure_mgmt_compute/disks.rb +1 -1
- data/lib/generated/azure_mgmt_compute/images.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/access_level.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/access_uri.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/additional_unattend_content.rb +2 -2
- data/lib/generated/azure_mgmt_compute/models/api_entity_reference.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/api_error.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/api_error_base.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/availability_set.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/availability_set_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/boot_diagnostics.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/caching_types.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/component_names.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/container_service.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/container_service_agent_pool_profile.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/container_service_custom_profile.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/container_service_diagnostics_profile.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/container_service_linux_profile.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/container_service_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/container_service_master_profile.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/container_service_orchestrator_profile.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/container_service_orchestrator_types.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/container_service_service_principal_profile.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/container_service_ssh_configuration.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/container_service_ssh_public_key.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/container_service_vmdiagnostics.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/container_service_vmsize_types.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/container_service_windows_profile.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/creation_data.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/data_disk.rb +3 -3
- data/lib/generated/azure_mgmt_compute/models/data_disk_image.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/diagnostics_profile.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/disk.rb +18 -1
- data/lib/generated/azure_mgmt_compute/models/disk_create_option.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/disk_create_option_types.rb +4 -4
- data/lib/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/disk_instance_view.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/disk_list.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/disk_sku.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/disk_update.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/encryption_settings.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/grant_access_data.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/hardware_profile.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/image.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/image_data_disk.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/image_disk_reference.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/image_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/image_osdisk.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/image_reference.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/image_storage_profile.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/inner_error.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/instance_view_status.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/instance_view_types.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/ipversion.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/linux_configuration.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/list_usages_result.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/maintenance_operation_result_code_types.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/network_interface_reference.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/network_profile.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/operating_system_state_types.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/operating_system_types.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/operation_status_response.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/osdisk.rb +2 -2
- data/lib/generated/azure_mgmt_compute/models/osdisk_image.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/osprofile.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/pass_names.rb +2 -2
- data/lib/generated/azure_mgmt_compute/models/plan.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/protocol_types.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/purchase_plan.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/resource_identity_type.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/resource_sku.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/resource_sku_capabilities.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/resource_sku_capacity.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/resource_sku_capacity_scale_type.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/resource_sku_costs.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/resource_sku_restrictions.rb +2 -2
- data/lib/generated/azure_mgmt_compute/models/resource_sku_restrictions_reason_code.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/resource_sku_restrictions_type.rb +2 -2
- data/lib/generated/azure_mgmt_compute/models/resource_skus_result.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/resource_update.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/rolling_upgrade_action_type.rb +16 -0
- data/lib/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb +104 -0
- data/lib/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb +84 -0
- data/lib/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb +84 -0
- data/lib/generated/azure_mgmt_compute/models/rolling_upgrade_status_code.rb +18 -0
- data/lib/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb +131 -0
- data/lib/generated/azure_mgmt_compute/models/run_command_document.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/run_command_document_base.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/run_command_input.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/run_command_input_parameter.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/run_command_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/run_command_result.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/setting_names.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/sku.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/snapshot.rb +2 -3
- data/lib/generated/azure_mgmt_compute/models/snapshot_list.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/snapshot_update.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/source_vault.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/ssh_configuration.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/ssh_public_key.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/status_level_types.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/storage_account_types.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/storage_profile.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/sub_resource_read_only.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/update_resource.rb +52 -0
- data/lib/generated/azure_mgmt_compute/models/upgrade_mode.rb +2 -1
- data/lib/generated/azure_mgmt_compute/models/upgrade_policy.rb +27 -3
- data/lib/generated/azure_mgmt_compute/models/usage.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/usage_name.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/vault_certificate.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/vault_secret_group.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine.rb +18 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb +47 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_identity.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_image.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +18 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +2 -2
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +2 -2
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +2 -2
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +15 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +2 -2
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb +129 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb +155 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb +117 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb +55 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb +91 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb +87 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb +69 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb +76 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb +106 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +13 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_size.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_size_types.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/win_rmlistener.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/windows_configuration.rb +1 -1
- data/lib/generated/azure_mgmt_compute/module_definition.rb +1 -1
- data/lib/generated/azure_mgmt_compute/resource_skus.rb +1 -1
- data/lib/generated/azure_mgmt_compute/snapshots.rb +1 -1
- data/lib/generated/azure_mgmt_compute/usage_operations.rb +1 -1
- data/lib/generated/azure_mgmt_compute/version.rb +2 -2
- data/lib/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +1 -1
- data/lib/generated/azure_mgmt_compute/virtual_machine_extensions.rb +1 -1
- data/lib/generated/azure_mgmt_compute/virtual_machine_images.rb +1 -1
- data/lib/generated/azure_mgmt_compute/virtual_machine_run_commands.rb +1 -1
- data/lib/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb +1 -1
- data/lib/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb +390 -0
- data/lib/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +1 -1
- data/lib/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +154 -1
- data/lib/generated/azure_mgmt_compute/virtual_machine_sizes.rb +1 -1
- data/lib/generated/azure_mgmt_compute/virtual_machines.rb +92 -1
- metadata +20 -2
@@ -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::ARM::Compute
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for RollingUpgradeStatusCode
|
10
|
+
#
|
11
|
+
module RollingUpgradeStatusCode
|
12
|
+
RollingForward = "RollingForward"
|
13
|
+
Cancelled = "Cancelled"
|
14
|
+
Completed = "Completed"
|
15
|
+
Faulted = "Faulted"
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,131 @@
|
|
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::Compute
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The status of the latest virtual machine scale set rolling upgrade.
|
10
|
+
#
|
11
|
+
class RollingUpgradeStatusInfo < MsRestAzure::Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [RollingUpgradePolicy] The rolling upgrade policies applied for
|
17
|
+
# this upgrade.
|
18
|
+
attr_accessor :policy
|
19
|
+
|
20
|
+
# @return [RollingUpgradeRunningStatus] Information about the current
|
21
|
+
# running state of the overall upgrade.
|
22
|
+
attr_accessor :running_status
|
23
|
+
|
24
|
+
# @return [RollingUpgradeProgressInfo] Information about the number of
|
25
|
+
# virtual machine instances in each upgrade state.
|
26
|
+
attr_accessor :progress
|
27
|
+
|
28
|
+
# @return [ApiError] Error details for this upgrade, if there are any.
|
29
|
+
attr_accessor :error
|
30
|
+
|
31
|
+
|
32
|
+
#
|
33
|
+
# Mapper for RollingUpgradeStatusInfo class as Ruby Hash.
|
34
|
+
# This will be used for serialization/deserialization.
|
35
|
+
#
|
36
|
+
def self.mapper()
|
37
|
+
{
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'RollingUpgradeStatusInfo',
|
40
|
+
type: {
|
41
|
+
name: 'Composite',
|
42
|
+
class_name: 'RollingUpgradeStatusInfo',
|
43
|
+
model_properties: {
|
44
|
+
id: {
|
45
|
+
required: false,
|
46
|
+
read_only: true,
|
47
|
+
serialized_name: 'id',
|
48
|
+
type: {
|
49
|
+
name: 'String'
|
50
|
+
}
|
51
|
+
},
|
52
|
+
name: {
|
53
|
+
required: false,
|
54
|
+
read_only: true,
|
55
|
+
serialized_name: 'name',
|
56
|
+
type: {
|
57
|
+
name: 'String'
|
58
|
+
}
|
59
|
+
},
|
60
|
+
type: {
|
61
|
+
required: false,
|
62
|
+
read_only: true,
|
63
|
+
serialized_name: 'type',
|
64
|
+
type: {
|
65
|
+
name: 'String'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
location: {
|
69
|
+
required: true,
|
70
|
+
serialized_name: 'location',
|
71
|
+
type: {
|
72
|
+
name: 'String'
|
73
|
+
}
|
74
|
+
},
|
75
|
+
tags: {
|
76
|
+
required: false,
|
77
|
+
serialized_name: 'tags',
|
78
|
+
type: {
|
79
|
+
name: 'Dictionary',
|
80
|
+
value: {
|
81
|
+
required: false,
|
82
|
+
serialized_name: 'StringElementType',
|
83
|
+
type: {
|
84
|
+
name: 'String'
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
},
|
89
|
+
policy: {
|
90
|
+
required: false,
|
91
|
+
read_only: true,
|
92
|
+
serialized_name: 'properties.policy',
|
93
|
+
type: {
|
94
|
+
name: 'Composite',
|
95
|
+
class_name: 'RollingUpgradePolicy'
|
96
|
+
}
|
97
|
+
},
|
98
|
+
running_status: {
|
99
|
+
required: false,
|
100
|
+
read_only: true,
|
101
|
+
serialized_name: 'properties.runningStatus',
|
102
|
+
type: {
|
103
|
+
name: 'Composite',
|
104
|
+
class_name: 'RollingUpgradeRunningStatus'
|
105
|
+
}
|
106
|
+
},
|
107
|
+
progress: {
|
108
|
+
required: false,
|
109
|
+
read_only: true,
|
110
|
+
serialized_name: 'properties.progress',
|
111
|
+
type: {
|
112
|
+
name: 'Composite',
|
113
|
+
class_name: 'RollingUpgradeProgressInfo'
|
114
|
+
}
|
115
|
+
},
|
116
|
+
error: {
|
117
|
+
required: false,
|
118
|
+
read_only: true,
|
119
|
+
serialized_name: 'properties.error',
|
120
|
+
type: {
|
121
|
+
name: 'Composite',
|
122
|
+
class_name: 'ApiError'
|
123
|
+
}
|
124
|
+
}
|
125
|
+
}
|
126
|
+
}
|
127
|
+
}
|
128
|
+
end
|
129
|
+
end
|
130
|
+
end
|
131
|
+
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -13,8 +13,7 @@ module Azure::ARM::Compute
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
15
|
include MsRest::JSONable
|
16
|
-
# @return [String]
|
17
|
-
# the disk attached.
|
16
|
+
# @return [String] Unused. Always Null.
|
18
17
|
attr_accessor :managed_by
|
19
18
|
|
20
19
|
# @return [DiskSku]
|
@@ -0,0 +1,52 @@
|
|
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::Compute
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The Update Resource model definition.
|
10
|
+
#
|
11
|
+
class UpdateResource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Hash{String => String}] Resource tags
|
17
|
+
attr_accessor :tags
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for UpdateResource class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'UpdateResource',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'UpdateResource',
|
31
|
+
model_properties: {
|
32
|
+
tags: {
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'tags',
|
35
|
+
type: {
|
36
|
+
name: 'Dictionary',
|
37
|
+
value: {
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'StringElementType',
|
40
|
+
type: {
|
41
|
+
name: 'String'
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -11,6 +11,7 @@ module Azure::ARM::Compute
|
|
11
11
|
module UpgradeMode
|
12
12
|
Automatic = "Automatic"
|
13
13
|
Manual = "Manual"
|
14
|
+
Rolling = "Rolling"
|
14
15
|
end
|
15
16
|
end
|
16
17
|
end
|
@@ -1,12 +1,12 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
6
|
module Azure::ARM::Compute
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# Describes an upgrade policy - automatic or
|
9
|
+
# Describes an upgrade policy - automatic, manual, or rolling.
|
10
10
|
#
|
11
11
|
class UpgradePolicy
|
12
12
|
|
@@ -19,9 +19,18 @@ module Azure::ARM::Compute
|
|
19
19
|
# machines in the scale set. You do this by using the manualUpgrade
|
20
20
|
# action.<br /><br /> **Automatic** - All virtual machines in the scale
|
21
21
|
# set are automatically updated at the same time. Possible values
|
22
|
-
# include: 'Automatic', 'Manual'
|
22
|
+
# include: 'Automatic', 'Manual', 'Rolling'
|
23
23
|
attr_accessor :mode
|
24
24
|
|
25
|
+
# @return [RollingUpgradePolicy] The configuration parameters used while
|
26
|
+
# performing a rolling upgrade.
|
27
|
+
attr_accessor :rolling_upgrade_policy
|
28
|
+
|
29
|
+
# @return [Boolean] Whether OS upgrades should automatically be applied
|
30
|
+
# to scale set instances in a rolling fashion when a newer version of the
|
31
|
+
# image becomes available.
|
32
|
+
attr_accessor :automatic_osupgrade
|
33
|
+
|
25
34
|
|
26
35
|
#
|
27
36
|
# Mapper for UpgradePolicy class as Ruby Hash.
|
@@ -42,6 +51,21 @@ module Azure::ARM::Compute
|
|
42
51
|
name: 'Enum',
|
43
52
|
module: 'UpgradeMode'
|
44
53
|
}
|
54
|
+
},
|
55
|
+
rolling_upgrade_policy: {
|
56
|
+
required: false,
|
57
|
+
serialized_name: 'rollingUpgradePolicy',
|
58
|
+
type: {
|
59
|
+
name: 'Composite',
|
60
|
+
class_name: 'RollingUpgradePolicy'
|
61
|
+
}
|
62
|
+
},
|
63
|
+
automatic_osupgrade: {
|
64
|
+
required: false,
|
65
|
+
serialized_name: 'automaticOSUpgrade',
|
66
|
+
type: {
|
67
|
+
name: 'Boolean'
|
68
|
+
}
|
45
69
|
}
|
46
70
|
}
|
47
71
|
}
|