azure_mgmt_compute 0.7.0 → 0.8.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 +48 -46
- data/lib/generated/azure_mgmt_compute/availability_sets.rb +16 -19
- data/lib/generated/azure_mgmt_compute/compute_management_client.rb +18 -5
- data/lib/generated/azure_mgmt_compute/container_services.rb +920 -0
- data/lib/generated/azure_mgmt_compute/models/additional_unattend_content.rb +9 -10
- 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 +6 -5
- data/lib/generated/azure_mgmt_compute/models/availability_set_list_result.rb +2 -2
- data/lib/generated/azure_mgmt_compute/models/boot_diagnostics.rb +4 -4
- data/lib/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +3 -3
- 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 +36 -13
- data/lib/generated/azure_mgmt_compute/models/container_service_agent_pool_profile.rb +18 -16
- data/lib/generated/azure_mgmt_compute/models/container_service_custom_profile.rb +44 -0
- data/lib/generated/azure_mgmt_compute/models/container_service_diagnostics_profile.rb +5 -4
- data/lib/generated/azure_mgmt_compute/models/container_service_linux_profile.rb +8 -5
- data/lib/generated/azure_mgmt_compute/models/container_service_list_result.rb +45 -3
- data/lib/generated/azure_mgmt_compute/models/container_service_master_profile.rb +8 -5
- data/lib/generated/azure_mgmt_compute/models/container_service_ochestrator_types.rb +3 -1
- data/lib/generated/azure_mgmt_compute/models/container_service_orchestrator_profile.rb +7 -6
- data/lib/generated/azure_mgmt_compute/models/container_service_service_principal_profile.rb +56 -0
- data/lib/generated/azure_mgmt_compute/models/container_service_ssh_configuration.rb +5 -5
- data/lib/generated/azure_mgmt_compute/models/container_service_ssh_public_key.rb +3 -3
- data/lib/generated/azure_mgmt_compute/models/container_service_vmdiagnostics.rb +7 -7
- 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 +10 -4
- data/lib/generated/azure_mgmt_compute/models/data_disk.rb +12 -12
- data/lib/generated/azure_mgmt_compute/models/data_disk_image.rb +4 -5
- data/lib/generated/azure_mgmt_compute/models/diagnostics_profile.rb +4 -2
- data/lib/generated/azure_mgmt_compute/models/disk_create_option_types.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +7 -7
- data/lib/generated/azure_mgmt_compute/models/disk_instance_view.rb +3 -3
- data/lib/generated/azure_mgmt_compute/models/hardware_profile.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/image_reference.rb +7 -7
- data/lib/generated/azure_mgmt_compute/models/inner_error.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/instance_view_status.rb +7 -7
- data/lib/generated/azure_mgmt_compute/models/instance_view_types.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +4 -4
- data/lib/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +3 -3
- data/lib/generated/azure_mgmt_compute/models/linux_configuration.rb +5 -5
- data/lib/generated/azure_mgmt_compute/models/list_usages_result.rb +6 -6
- data/lib/generated/azure_mgmt_compute/models/network_interface_reference.rb +3 -2
- data/lib/generated/azure_mgmt_compute/models/network_profile.rb +4 -2
- data/lib/generated/azure_mgmt_compute/models/operating_system_types.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/osdisk.rb +12 -12
- data/lib/generated/azure_mgmt_compute/models/osdisk_image.rb +3 -3
- data/lib/generated/azure_mgmt_compute/models/osprofile.rb +12 -9
- data/lib/generated/azure_mgmt_compute/models/pass_names.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/plan.rb +5 -5
- data/lib/generated/azure_mgmt_compute/models/protocol_types.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/purchase_plan.rb +4 -4
- data/lib/generated/azure_mgmt_compute/models/setting_names.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/sku.rb +4 -4
- data/lib/generated/azure_mgmt_compute/models/ssh_configuration.rb +3 -3
- data/lib/generated/azure_mgmt_compute/models/ssh_public_key.rb +7 -7
- data/lib/generated/azure_mgmt_compute/models/status_level_types.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/storage_profile.rb +4 -4
- data/lib/generated/azure_mgmt_compute/models/upgrade_mode.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/upgrade_policy.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/usage.rb +6 -6
- data/lib/generated/azure_mgmt_compute/models/usage_name.rb +3 -3
- data/lib/generated/azure_mgmt_compute/models/vault_certificate.rb +3 -3
- data/lib/generated/azure_mgmt_compute/models/vault_secret_group.rb +4 -4
- data/lib/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +3 -3
- data/lib/generated/azure_mgmt_compute/models/virtual_machine.rb +18 -15
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +5 -5
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +5 -5
- 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 +3 -3
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +3 -3
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +5 -5
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.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 +4 -4
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +7 -7
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +4 -4
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +3 -3
- 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_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 +3 -3
- 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_profile.rb +3 -3
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +4 -4
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +3 -3
- 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_vm.rb +7 -7
- 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 +2 -2
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +2 -2
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +3 -3
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +3 -3
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_size.rb +12 -8
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +2 -2
- 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 +2 -2
- data/lib/generated/azure_mgmt_compute/models/win_rmlistener.rb +5 -6
- data/lib/generated/azure_mgmt_compute/models/windows_configuration.rb +11 -10
- data/lib/generated/azure_mgmt_compute/module_definition.rb +1 -1
- data/lib/generated/azure_mgmt_compute/usage_operations.rb +51 -37
- 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 +131 -131
- data/lib/generated/azure_mgmt_compute/virtual_machine_images.rb +70 -58
- data/lib/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +430 -422
- data/lib/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +729 -747
- data/lib/generated/azure_mgmt_compute/virtual_machine_sizes.rb +1 -1
- data/lib/generated/azure_mgmt_compute/virtual_machines.rb +526 -515
- metadata +7 -5
- data/lib/generated/azure_mgmt_compute/container_service_operations.rb +0 -508
@@ -1,20 +1,55 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
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
|
-
# The List Container
|
9
|
+
# The response from the List Container Services operation.
|
10
10
|
#
|
11
11
|
class ContainerServiceListResult
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [Array<ContainerService>]
|
15
|
+
# @return [Array<ContainerService>] The list of container services.
|
16
16
|
attr_accessor :value
|
17
17
|
|
18
|
+
# @return [String] The URL to get the next set of container service
|
19
|
+
# results.
|
20
|
+
attr_accessor :next_link
|
21
|
+
|
22
|
+
# return [Proc] with next page method call.
|
23
|
+
attr_accessor :next_method
|
24
|
+
|
25
|
+
#
|
26
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
27
|
+
#
|
28
|
+
# @return [Array<ContainerService>] operation results.
|
29
|
+
#
|
30
|
+
def get_all_items
|
31
|
+
items = @value
|
32
|
+
page = self
|
33
|
+
while page.next_link != nil do
|
34
|
+
page = page.get_next_page
|
35
|
+
items.concat(page.value)
|
36
|
+
end
|
37
|
+
items
|
38
|
+
end
|
39
|
+
|
40
|
+
#
|
41
|
+
# Gets the next page of results.
|
42
|
+
#
|
43
|
+
# @return [ContainerServiceListResult] with next page content.
|
44
|
+
#
|
45
|
+
def get_next_page
|
46
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
47
|
+
unless response.nil?
|
48
|
+
@next_link = response.body.next_link
|
49
|
+
@value = response.body.value
|
50
|
+
self
|
51
|
+
end
|
52
|
+
end
|
18
53
|
|
19
54
|
#
|
20
55
|
# Mapper for ContainerServiceListResult class as Ruby Hash.
|
@@ -42,6 +77,13 @@ module Azure::ARM::Compute
|
|
42
77
|
}
|
43
78
|
}
|
44
79
|
}
|
80
|
+
},
|
81
|
+
next_link: {
|
82
|
+
required: false,
|
83
|
+
serialized_name: 'nextLink',
|
84
|
+
type: {
|
85
|
+
name: 'String'
|
86
|
+
}
|
45
87
|
}
|
46
88
|
}
|
47
89
|
}
|
@@ -1,24 +1,26 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
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
|
-
# Profile for container service master
|
9
|
+
# Profile for the container service master.
|
10
10
|
#
|
11
11
|
class ContainerServiceMasterProfile
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [Integer] Number of masters (VMs) in the container
|
15
|
+
# @return [Integer] Number of masters (VMs) in the container service
|
16
|
+
# cluster. Allowed values are 1, 3, and 5. The default value is 1.
|
17
|
+
# Default value: 1 .
|
16
18
|
attr_accessor :count
|
17
19
|
|
18
|
-
# @return [String] DNS prefix to be used to create FQDN for master
|
20
|
+
# @return [String] DNS prefix to be used to create the FQDN for master.
|
19
21
|
attr_accessor :dns_prefix
|
20
22
|
|
21
|
-
# @return [String] FDQN for the master
|
23
|
+
# @return [String] FDQN for the master.
|
22
24
|
attr_accessor :fqdn
|
23
25
|
|
24
26
|
|
@@ -37,6 +39,7 @@ module Azure::ARM::Compute
|
|
37
39
|
count: {
|
38
40
|
required: false,
|
39
41
|
serialized_name: 'count',
|
42
|
+
default_value: 1,
|
40
43
|
type: {
|
41
44
|
name: 'Number'
|
42
45
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -11,6 +11,8 @@ module Azure::ARM::Compute
|
|
11
11
|
module ContainerServiceOchestratorTypes
|
12
12
|
Swarm = "Swarm"
|
13
13
|
DCOS = "DCOS"
|
14
|
+
Custom = "Custom"
|
15
|
+
Kubernetes = "Kubernetes"
|
14
16
|
end
|
15
17
|
end
|
16
18
|
end
|
@@ -1,20 +1,21 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
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
|
-
# Profile for
|
9
|
+
# Profile for the container service orchestrator.
|
10
10
|
#
|
11
11
|
class ContainerServiceOrchestratorProfile
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [ContainerServiceOchestratorTypes]
|
16
|
-
#
|
17
|
-
# include: 'Swarm', 'DCOS'
|
15
|
+
# @return [ContainerServiceOchestratorTypes] The orchestrator to use to
|
16
|
+
# manage container service cluster resources. Valid values are Swarm,
|
17
|
+
# DCOS, and Custom. Possible values include: 'Swarm', 'DCOS', 'Custom',
|
18
|
+
# 'Kubernetes'
|
18
19
|
attr_accessor :orchestrator_type
|
19
20
|
|
20
21
|
|
@@ -31,7 +32,7 @@ module Azure::ARM::Compute
|
|
31
32
|
class_name: 'ContainerServiceOrchestratorProfile',
|
32
33
|
model_properties: {
|
33
34
|
orchestrator_type: {
|
34
|
-
required:
|
35
|
+
required: true,
|
35
36
|
serialized_name: 'orchestratorType',
|
36
37
|
type: {
|
37
38
|
name: 'Enum',
|
@@ -0,0 +1,56 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
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
|
+
# Information about a service principal identity for the cluster to use for
|
10
|
+
# manipulating Azure APIs.
|
11
|
+
#
|
12
|
+
class ContainerServiceServicePrincipalProfile
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] The ID for the service principal.
|
17
|
+
attr_accessor :client_id
|
18
|
+
|
19
|
+
# @return [String] The secret password associated with the service
|
20
|
+
# principal.
|
21
|
+
attr_accessor :secret
|
22
|
+
|
23
|
+
|
24
|
+
#
|
25
|
+
# Mapper for ContainerServiceServicePrincipalProfile class as Ruby Hash.
|
26
|
+
# This will be used for serialization/deserialization.
|
27
|
+
#
|
28
|
+
def self.mapper()
|
29
|
+
{
|
30
|
+
required: false,
|
31
|
+
serialized_name: 'ContainerServiceServicePrincipalProfile',
|
32
|
+
type: {
|
33
|
+
name: 'Composite',
|
34
|
+
class_name: 'ContainerServiceServicePrincipalProfile',
|
35
|
+
model_properties: {
|
36
|
+
client_id: {
|
37
|
+
required: true,
|
38
|
+
serialized_name: 'clientId',
|
39
|
+
type: {
|
40
|
+
name: 'String'
|
41
|
+
}
|
42
|
+
},
|
43
|
+
secret: {
|
44
|
+
required: true,
|
45
|
+
serialized_name: 'secret',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -1,19 +1,19 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
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
|
-
# SSH configuration for Linux
|
9
|
+
# SSH configuration for Linux-based VMs running on Azure.
|
10
10
|
#
|
11
11
|
class ContainerServiceSshConfiguration
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [Array<ContainerServiceSshPublicKey>]
|
16
|
-
# keys used to authenticate with Linux
|
15
|
+
# @return [Array<ContainerServiceSshPublicKey>] The list of SSH public
|
16
|
+
# keys used to authenticate with Linux-based VMs.
|
17
17
|
attr_accessor :public_keys
|
18
18
|
|
19
19
|
|
@@ -30,7 +30,7 @@ module Azure::ARM::Compute
|
|
30
30
|
class_name: 'ContainerServiceSshConfiguration',
|
31
31
|
model_properties: {
|
32
32
|
public_keys: {
|
33
|
-
required:
|
33
|
+
required: true,
|
34
34
|
serialized_name: 'publicKeys',
|
35
35
|
type: {
|
36
36
|
name: 'Sequence',
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -12,8 +12,8 @@ module Azure::ARM::Compute
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [String] Certificate public key used to authenticate with
|
16
|
-
# through SSH. The certificate must be in
|
15
|
+
# @return [String] Certificate public key used to authenticate with VMs
|
16
|
+
# through SSH. The certificate must be in PEM format with or without
|
17
17
|
# headers.
|
18
18
|
attr_accessor :key_data
|
19
19
|
|
@@ -1,23 +1,23 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
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
|
-
#
|
9
|
+
# Profile for diagnostics on the container service VMs.
|
10
10
|
#
|
11
11
|
class ContainerServiceVMDiagnostics
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [Boolean]
|
16
|
-
#
|
15
|
+
# @return [Boolean] Whether the VM diagnostic agent is provisioned on the
|
16
|
+
# VM.
|
17
17
|
attr_accessor :enabled
|
18
18
|
|
19
|
-
# @return [String]
|
20
|
-
#
|
19
|
+
# @return [String] The URI of the storage account where diagnostics are
|
20
|
+
# stored.
|
21
21
|
attr_accessor :storage_uri
|
22
22
|
|
23
23
|
|
@@ -34,7 +34,7 @@ module Azure::ARM::Compute
|
|
34
34
|
class_name: 'ContainerServiceVMDiagnostics',
|
35
35
|
model_properties: {
|
36
36
|
enabled: {
|
37
|
-
required:
|
37
|
+
required: true,
|
38
38
|
serialized_name: 'enabled',
|
39
39
|
type: {
|
40
40
|
name: 'Boolean'
|
@@ -1,21 +1,21 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
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
|
-
# Profile for Windows VMs
|
9
|
+
# Profile for Windows VMs in the container service cluster.
|
10
10
|
#
|
11
11
|
class ContainerServiceWindowsProfile
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [String] The administrator
|
15
|
+
# @return [String] The administrator user name to use for Windows VMs.
|
16
16
|
attr_accessor :admin_username
|
17
17
|
|
18
|
-
# @return [String] The administrator password to use for Windows VMs
|
18
|
+
# @return [String] The administrator password to use for Windows VMs.
|
19
19
|
attr_accessor :admin_password
|
20
20
|
|
21
21
|
|
@@ -34,6 +34,9 @@ module Azure::ARM::Compute
|
|
34
34
|
admin_username: {
|
35
35
|
required: true,
|
36
36
|
serialized_name: 'adminUsername',
|
37
|
+
constraints: {
|
38
|
+
Pattern: '^[a-zA-Z0-9]+([._]?[a-zA-Z0-9]+)*$'
|
39
|
+
},
|
37
40
|
type: {
|
38
41
|
name: 'String'
|
39
42
|
}
|
@@ -41,6 +44,9 @@ module Azure::ARM::Compute
|
|
41
44
|
admin_password: {
|
42
45
|
required: true,
|
43
46
|
serialized_name: 'adminPassword',
|
47
|
+
constraints: {
|
48
|
+
Pattern: '^(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%\^&\*\(\)])[a-zA-Z\d!@#$%\^&\*\(\)]{12,123}$'
|
49
|
+
},
|
44
50
|
type: {
|
45
51
|
name: 'String'
|
46
52
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -12,31 +12,31 @@ module Azure::ARM::Compute
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [Integer]
|
15
|
+
# @return [Integer] The logical unit number.
|
16
16
|
attr_accessor :lun
|
17
17
|
|
18
|
-
# @return [String]
|
18
|
+
# @return [String] The disk name.
|
19
19
|
attr_accessor :name
|
20
20
|
|
21
|
-
# @return [VirtualHardDisk]
|
21
|
+
# @return [VirtualHardDisk] The virtual hard disk.
|
22
22
|
attr_accessor :vhd
|
23
23
|
|
24
|
-
# @return [VirtualHardDisk]
|
25
|
-
#
|
26
|
-
#
|
27
|
-
#
|
24
|
+
# @return [VirtualHardDisk] The source user image virtual hard disk. This
|
25
|
+
# virtual hard disk will be copied before using it to attach to the
|
26
|
+
# virtual machine. If SourceImage is provided, the destination virtual
|
27
|
+
# hard disk must not exist.
|
28
28
|
attr_accessor :image
|
29
29
|
|
30
|
-
# @return [CachingTypes]
|
30
|
+
# @return [CachingTypes] The caching type. Possible values include:
|
31
31
|
# 'None', 'ReadOnly', 'ReadWrite'
|
32
32
|
attr_accessor :caching
|
33
33
|
|
34
|
-
# @return [DiskCreateOptionTypes]
|
34
|
+
# @return [DiskCreateOptionTypes] The create option. Possible values
|
35
35
|
# include: 'fromImage', 'empty', 'attach'
|
36
36
|
attr_accessor :create_option
|
37
37
|
|
38
|
-
# @return [Integer]
|
39
|
-
#
|
38
|
+
# @return [Integer] The initial disk size in GB for blank data disks, and
|
39
|
+
# the new desired size for resizing existing OS and data disks.
|
40
40
|
attr_accessor :disk_size_gb
|
41
41
|
|
42
42
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -12,10 +12,9 @@ module Azure::ARM::Compute
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [Integer]
|
16
|
-
#
|
17
|
-
# unique for each data disk.
|
18
|
-
# digit.
|
15
|
+
# @return [Integer] The LUN number for a data disk. This value is used to
|
16
|
+
# identify data disk image inside the VMImage and therefore it must be
|
17
|
+
# unique for each data disk.
|
19
18
|
attr_accessor :lun
|
20
19
|
|
21
20
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -12,7 +12,9 @@ module Azure::ARM::Compute
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [BootDiagnostics]
|
15
|
+
# @return [BootDiagnostics] Boot Diagnostics is a debugging feature which
|
16
|
+
# allows the user to view console output and/or a screenshot of the
|
17
|
+
# virtual machine from the hypervisor.
|
16
18
|
attr_accessor :boot_diagnostics
|
17
19
|
|
18
20
|
|