azure_mgmt_compute 0.18.2 → 0.18.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/2015-06-15/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/boot_diagnostics.rb +3 -4
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +2 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/diagnostics_profile.rb +1 -2
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +3 -4
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +3 -4
- data/lib/2016-03-30/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/boot_diagnostics.rb +3 -4
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +2 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/diagnostics_profile.rb +1 -2
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +3 -4
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +3 -4
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/boot_diagnostics.rb +3 -4
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +2 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/diagnostics_profile.rb +1 -2
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_disk_reference.rb +1 -1
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +3 -4
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +3 -4
- data/lib/2017-03-30/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/boot_diagnostics.rb +3 -4
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +2 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/diagnostics_profile.rb +1 -2
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/image_disk_reference.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +3 -4
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +3 -4
- data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machines.rb +209 -0
- data/lib/2017-09-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2017-12-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb +3 -4
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +2 -0
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/diagnostics_profile.rb +1 -2
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +3 -4
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +3 -4
- data/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machines.rb +209 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute.rb +1 -1
- data/lib/2018-04-01/generated/azure_mgmt_compute/compute_management_client.rb +5 -5
- data/lib/2018-04-01/generated/azure_mgmt_compute/disks.rb +2 -2
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb +3 -4
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +17 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/diagnostics_profile.rb +1 -2
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/image_disk_reference.rb +1 -1
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +3 -4
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +3 -4
- data/lib/2018-04-01/generated/azure_mgmt_compute/snapshots.rb +2 -2
- data/lib/2018-04-01/generated/azure_mgmt_compute/virtual_machines.rb +209 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute.rb +43 -40
- data/lib/2018-06-01/generated/azure_mgmt_compute/compute_management_client.rb +5 -5
- data/lib/2018-06-01/generated/azure_mgmt_compute/disks.rb +2 -2
- data/lib/2018-06-01/generated/azure_mgmt_compute/galleries.rb +49 -34
- data/lib/2018-06-01/generated/azure_mgmt_compute/gallery_image_versions.rb +127 -93
- data/lib/2018-06-01/generated/azure_mgmt_compute/gallery_images.rb +84 -44
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/additional_capabilities.rb +6 -6
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/availability_set.rb +4 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/availability_set_sku_types.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb +3 -4
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/diagnostics_profile.rb +1 -2
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/diff_disk_options.rb +15 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/diff_disk_settings.rb +49 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery.rb +4 -3
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_artifact_publishing_profile_base.rb +2 -2
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_artifact_source.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_data_disk_image.rb +4 -3
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_disk_image.rb +2 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_identifier.rb +2 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image.rb +17 -14
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image_identifier.rb +4 -4
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image_list.rb +4 -3
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image_version.rb +2 -2
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image_version_list.rb +4 -4
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image_version_publishing_profile.rb +10 -6
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image_version_storage_profile.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/image_data_disk.rb +3 -3
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/image_disk_reference.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/image_osdisk.rb +3 -3
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/image_purchase_plan.rb +2 -2
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +3 -3
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/osdisk.rb +13 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/recommended_machine_configuration.rb +2 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/regional_replication_status.rb +2 -2
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/replication_status.rb +3 -3
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/target_region.rb +3 -3
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine.rb +1 -3
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +3 -4
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +3 -3
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +13 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +3 -4
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +1 -3
- data/lib/2018-06-01/generated/azure_mgmt_compute/snapshots.rb +2 -2
- data/lib/2018-06-01/generated/azure_mgmt_compute/virtual_machines.rb +209 -0
- data/lib/azure_mgmt_compute.rb +1 -0
- data/lib/profiles/latest/modules/compute_profile_module.rb +140 -128
- data/lib/profiles/v2018_03_01/compute_module_definition.rb +8 -0
- data/lib/profiles/v2018_03_01/compute_v2018_03_01_profile_client.rb +40 -0
- data/lib/profiles/v2018_03_01/modules/compute_profile_module.rb +767 -0
- data/lib/version.rb +1 -1
- metadata +8 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b2edc4c8c3b0842f4d8affc69e69bc36c9863e49
|
|
4
|
+
data.tar.gz: 4257c25c527175a6f44f023a5615ee003e1aff86
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fab3f0959258d43b7d152b853dc4e535847637e04b848f26b484d6f305b9c92acb34f85d8abb923ec8dd61f584e501d2f27bf6f70b1008f7fd29c0f29ae5cdfb
|
|
7
|
+
data.tar.gz: 321c4d6c7bdefee6d8d7dc8bd176ebab59594b47fd73a4a78e5c73ca4f9c496f53342ff2a8c0e03797c25251b0b932b8060f9da765dfd91db8a23fb735831155
|
|
@@ -158,7 +158,7 @@ module Azure::Compute::Mgmt::V2015_06_15
|
|
|
158
158
|
#
|
|
159
159
|
def add_telemetry
|
|
160
160
|
sdk_information = 'azure_mgmt_compute'
|
|
161
|
-
sdk_information = "#{sdk_information}/0.18.
|
|
161
|
+
sdk_information = "#{sdk_information}/0.18.3"
|
|
162
162
|
add_user_agent_information(sdk_information)
|
|
163
163
|
end
|
|
164
164
|
end
|
|
@@ -7,10 +7,9 @@ module Azure::Compute::Mgmt::V2015_06_15
|
|
|
7
7
|
module Models
|
|
8
8
|
#
|
|
9
9
|
# Boot Diagnostics is a debugging feature which allows you to view Console
|
|
10
|
-
# Output and Screenshot to diagnose VM status. <br><br>
|
|
11
|
-
#
|
|
12
|
-
#
|
|
13
|
-
# see a screenshot of the VM from the hypervisor.
|
|
10
|
+
# Output and Screenshot to diagnose VM status. <br><br> You can easily view
|
|
11
|
+
# the output of your console log. <br><br> Azure also enables you to see a
|
|
12
|
+
# screenshot of the VM from the hypervisor.
|
|
14
13
|
#
|
|
15
14
|
class BootDiagnostics
|
|
16
15
|
|
|
@@ -35,6 +35,7 @@ module Azure::Compute::Mgmt::V2015_06_15
|
|
|
35
35
|
console_screenshot_blob_uri: {
|
|
36
36
|
client_side_validation: true,
|
|
37
37
|
required: false,
|
|
38
|
+
read_only: true,
|
|
38
39
|
serialized_name: 'consoleScreenshotBlobUri',
|
|
39
40
|
type: {
|
|
40
41
|
name: 'String'
|
|
@@ -43,6 +44,7 @@ module Azure::Compute::Mgmt::V2015_06_15
|
|
|
43
44
|
serial_console_log_blob_uri: {
|
|
44
45
|
client_side_validation: true,
|
|
45
46
|
required: false,
|
|
47
|
+
read_only: true,
|
|
46
48
|
serialized_name: 'serialConsoleLogBlobUri',
|
|
47
49
|
type: {
|
|
48
50
|
name: 'String'
|
|
@@ -15,8 +15,7 @@ module Azure::Compute::Mgmt::V2015_06_15
|
|
|
15
15
|
|
|
16
16
|
# @return [BootDiagnostics] Boot Diagnostics is a debugging feature which
|
|
17
17
|
# allows you to view Console Output and Screenshot to diagnose VM status.
|
|
18
|
-
# <br><br>
|
|
19
|
-
# your console log. <br><br> For both Windows and Linux virtual machines,
|
|
18
|
+
# <br><br> You can easily view the output of your console log. <br><br>
|
|
20
19
|
# Azure also enables you to see a screenshot of the VM from the
|
|
21
20
|
# hypervisor.
|
|
22
21
|
attr_accessor :boot_diagnostics
|
|
@@ -34,10 +34,9 @@ module Azure::Compute::Mgmt::V2015_06_15
|
|
|
34
34
|
|
|
35
35
|
# @return [BootDiagnosticsInstanceView] Boot Diagnostics is a debugging
|
|
36
36
|
# feature which allows you to view Console Output and Screenshot to
|
|
37
|
-
# diagnose VM status. <br><br>
|
|
38
|
-
#
|
|
39
|
-
#
|
|
40
|
-
# the VM from the hypervisor.
|
|
37
|
+
# diagnose VM status. <br><br> You can easily view the output of your
|
|
38
|
+
# console log. <br><br> Azure also enables you to see a screenshot of the
|
|
39
|
+
# VM from the hypervisor.
|
|
41
40
|
attr_accessor :boot_diagnostics
|
|
42
41
|
|
|
43
42
|
# @return [Array<InstanceViewStatus>] The resource status information.
|
data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb
CHANGED
|
@@ -34,10 +34,9 @@ module Azure::Compute::Mgmt::V2015_06_15
|
|
|
34
34
|
|
|
35
35
|
# @return [BootDiagnosticsInstanceView] Boot Diagnostics is a debugging
|
|
36
36
|
# feature which allows you to view Console Output and Screenshot to
|
|
37
|
-
# diagnose VM status. <br><br>
|
|
38
|
-
#
|
|
39
|
-
#
|
|
40
|
-
# the VM from the hypervisor.
|
|
37
|
+
# diagnose VM status. <br><br> You can easily view the output of your
|
|
38
|
+
# console log. <br><br> Azure also enables you to see a screenshot of the
|
|
39
|
+
# VM from the hypervisor.
|
|
41
40
|
attr_accessor :boot_diagnostics
|
|
42
41
|
|
|
43
42
|
# @return [Array<InstanceViewStatus>] The resource status information.
|
|
@@ -158,7 +158,7 @@ module Azure::Compute::Mgmt::V2016_03_30
|
|
|
158
158
|
#
|
|
159
159
|
def add_telemetry
|
|
160
160
|
sdk_information = 'azure_mgmt_compute'
|
|
161
|
-
sdk_information = "#{sdk_information}/0.18.
|
|
161
|
+
sdk_information = "#{sdk_information}/0.18.3"
|
|
162
162
|
add_user_agent_information(sdk_information)
|
|
163
163
|
end
|
|
164
164
|
end
|
|
@@ -7,10 +7,9 @@ module Azure::Compute::Mgmt::V2016_03_30
|
|
|
7
7
|
module Models
|
|
8
8
|
#
|
|
9
9
|
# Boot Diagnostics is a debugging feature which allows you to view Console
|
|
10
|
-
# Output and Screenshot to diagnose VM status. <br><br>
|
|
11
|
-
#
|
|
12
|
-
#
|
|
13
|
-
# see a screenshot of the VM from the hypervisor.
|
|
10
|
+
# Output and Screenshot to diagnose VM status. <br><br> You can easily view
|
|
11
|
+
# the output of your console log. <br><br> Azure also enables you to see a
|
|
12
|
+
# screenshot of the VM from the hypervisor.
|
|
14
13
|
#
|
|
15
14
|
class BootDiagnostics
|
|
16
15
|
|
|
@@ -35,6 +35,7 @@ module Azure::Compute::Mgmt::V2016_03_30
|
|
|
35
35
|
console_screenshot_blob_uri: {
|
|
36
36
|
client_side_validation: true,
|
|
37
37
|
required: false,
|
|
38
|
+
read_only: true,
|
|
38
39
|
serialized_name: 'consoleScreenshotBlobUri',
|
|
39
40
|
type: {
|
|
40
41
|
name: 'String'
|
|
@@ -43,6 +44,7 @@ module Azure::Compute::Mgmt::V2016_03_30
|
|
|
43
44
|
serial_console_log_blob_uri: {
|
|
44
45
|
client_side_validation: true,
|
|
45
46
|
required: false,
|
|
47
|
+
read_only: true,
|
|
46
48
|
serialized_name: 'serialConsoleLogBlobUri',
|
|
47
49
|
type: {
|
|
48
50
|
name: 'String'
|
|
@@ -15,8 +15,7 @@ module Azure::Compute::Mgmt::V2016_03_30
|
|
|
15
15
|
|
|
16
16
|
# @return [BootDiagnostics] Boot Diagnostics is a debugging feature which
|
|
17
17
|
# allows you to view Console Output and Screenshot to diagnose VM status.
|
|
18
|
-
# <br><br>
|
|
19
|
-
# your console log. <br><br> For both Windows and Linux virtual machines,
|
|
18
|
+
# <br><br> You can easily view the output of your console log. <br><br>
|
|
20
19
|
# Azure also enables you to see a screenshot of the VM from the
|
|
21
20
|
# hypervisor.
|
|
22
21
|
attr_accessor :boot_diagnostics
|
|
@@ -34,10 +34,9 @@ module Azure::Compute::Mgmt::V2016_03_30
|
|
|
34
34
|
|
|
35
35
|
# @return [BootDiagnosticsInstanceView] Boot Diagnostics is a debugging
|
|
36
36
|
# feature which allows you to view Console Output and Screenshot to
|
|
37
|
-
# diagnose VM status. <br><br>
|
|
38
|
-
#
|
|
39
|
-
#
|
|
40
|
-
# the VM from the hypervisor.
|
|
37
|
+
# diagnose VM status. <br><br> You can easily view the output of your
|
|
38
|
+
# console log. <br><br> Azure also enables you to see a screenshot of the
|
|
39
|
+
# VM from the hypervisor.
|
|
41
40
|
attr_accessor :boot_diagnostics
|
|
42
41
|
|
|
43
42
|
# @return [Array<InstanceViewStatus>] The resource status information.
|
data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb
CHANGED
|
@@ -34,10 +34,9 @@ module Azure::Compute::Mgmt::V2016_03_30
|
|
|
34
34
|
|
|
35
35
|
# @return [BootDiagnosticsInstanceView] Boot Diagnostics is a debugging
|
|
36
36
|
# feature which allows you to view Console Output and Screenshot to
|
|
37
|
-
# diagnose VM status. <br><br>
|
|
38
|
-
#
|
|
39
|
-
#
|
|
40
|
-
# the VM from the hypervisor.
|
|
37
|
+
# diagnose VM status. <br><br> You can easily view the output of your
|
|
38
|
+
# console log. <br><br> Azure also enables you to see a screenshot of the
|
|
39
|
+
# VM from the hypervisor.
|
|
41
40
|
attr_accessor :boot_diagnostics
|
|
42
41
|
|
|
43
42
|
# @return [Array<InstanceViewStatus>] The resource status information.
|
|
@@ -170,7 +170,7 @@ module Azure::Compute::Mgmt::V2016_04_30_preview
|
|
|
170
170
|
#
|
|
171
171
|
def add_telemetry
|
|
172
172
|
sdk_information = 'azure_mgmt_compute'
|
|
173
|
-
sdk_information = "#{sdk_information}/0.18.
|
|
173
|
+
sdk_information = "#{sdk_information}/0.18.3"
|
|
174
174
|
add_user_agent_information(sdk_information)
|
|
175
175
|
end
|
|
176
176
|
end
|
|
@@ -7,10 +7,9 @@ module Azure::Compute::Mgmt::V2016_04_30_preview
|
|
|
7
7
|
module Models
|
|
8
8
|
#
|
|
9
9
|
# Boot Diagnostics is a debugging feature which allows you to view Console
|
|
10
|
-
# Output and Screenshot to diagnose VM status. <br><br>
|
|
11
|
-
#
|
|
12
|
-
#
|
|
13
|
-
# see a screenshot of the VM from the hypervisor.
|
|
10
|
+
# Output and Screenshot to diagnose VM status. <br><br> You can easily view
|
|
11
|
+
# the output of your console log. <br><br> Azure also enables you to see a
|
|
12
|
+
# screenshot of the VM from the hypervisor.
|
|
14
13
|
#
|
|
15
14
|
class BootDiagnostics
|
|
16
15
|
|
data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb
CHANGED
|
@@ -35,6 +35,7 @@ module Azure::Compute::Mgmt::V2016_04_30_preview
|
|
|
35
35
|
console_screenshot_blob_uri: {
|
|
36
36
|
client_side_validation: true,
|
|
37
37
|
required: false,
|
|
38
|
+
read_only: true,
|
|
38
39
|
serialized_name: 'consoleScreenshotBlobUri',
|
|
39
40
|
type: {
|
|
40
41
|
name: 'String'
|
|
@@ -43,6 +44,7 @@ module Azure::Compute::Mgmt::V2016_04_30_preview
|
|
|
43
44
|
serial_console_log_blob_uri: {
|
|
44
45
|
client_side_validation: true,
|
|
45
46
|
required: false,
|
|
47
|
+
read_only: true,
|
|
46
48
|
serialized_name: 'serialConsoleLogBlobUri',
|
|
47
49
|
type: {
|
|
48
50
|
name: 'String'
|
|
@@ -15,8 +15,7 @@ module Azure::Compute::Mgmt::V2016_04_30_preview
|
|
|
15
15
|
|
|
16
16
|
# @return [BootDiagnostics] Boot Diagnostics is a debugging feature which
|
|
17
17
|
# allows you to view Console Output and Screenshot to diagnose VM status.
|
|
18
|
-
# <br><br>
|
|
19
|
-
# your console log. <br><br> For both Windows and Linux virtual machines,
|
|
18
|
+
# <br><br> You can easily view the output of your console log. <br><br>
|
|
20
19
|
# Azure also enables you to see a screenshot of the VM from the
|
|
21
20
|
# hypervisor.
|
|
22
21
|
attr_accessor :boot_diagnostics
|
|
@@ -12,7 +12,7 @@ module Azure::Compute::Mgmt::V2016_04_30_preview
|
|
|
12
12
|
|
|
13
13
|
include MsRestAzure
|
|
14
14
|
|
|
15
|
-
# @return [String] A relative uri containing either a Platform
|
|
15
|
+
# @return [String] A relative uri containing either a Platform Image
|
|
16
16
|
# Repository or user image reference.
|
|
17
17
|
attr_accessor :id
|
|
18
18
|
|
data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb
CHANGED
|
@@ -34,10 +34,9 @@ module Azure::Compute::Mgmt::V2016_04_30_preview
|
|
|
34
34
|
|
|
35
35
|
# @return [BootDiagnosticsInstanceView] Boot Diagnostics is a debugging
|
|
36
36
|
# feature which allows you to view Console Output and Screenshot to
|
|
37
|
-
# diagnose VM status. <br><br>
|
|
38
|
-
#
|
|
39
|
-
#
|
|
40
|
-
# the VM from the hypervisor.
|
|
37
|
+
# diagnose VM status. <br><br> You can easily view the output of your
|
|
38
|
+
# console log. <br><br> Azure also enables you to see a screenshot of the
|
|
39
|
+
# VM from the hypervisor.
|
|
41
40
|
attr_accessor :boot_diagnostics
|
|
42
41
|
|
|
43
42
|
# @return [Array<InstanceViewStatus>] The resource status information.
|
|
@@ -34,10 +34,9 @@ module Azure::Compute::Mgmt::V2016_04_30_preview
|
|
|
34
34
|
|
|
35
35
|
# @return [BootDiagnosticsInstanceView] Boot Diagnostics is a debugging
|
|
36
36
|
# feature which allows you to view Console Output and Screenshot to
|
|
37
|
-
# diagnose VM status. <br><br>
|
|
38
|
-
#
|
|
39
|
-
#
|
|
40
|
-
# the VM from the hypervisor.
|
|
37
|
+
# diagnose VM status. <br><br> You can easily view the output of your
|
|
38
|
+
# console log. <br><br> Azure also enables you to see a screenshot of the
|
|
39
|
+
# VM from the hypervisor.
|
|
41
40
|
attr_accessor :boot_diagnostics
|
|
42
41
|
|
|
43
42
|
# @return [Array<InstanceViewStatus>] The resource status information.
|
|
@@ -188,7 +188,7 @@ module Azure::Compute::Mgmt::V2017_03_30
|
|
|
188
188
|
#
|
|
189
189
|
def add_telemetry
|
|
190
190
|
sdk_information = 'azure_mgmt_compute'
|
|
191
|
-
sdk_information = "#{sdk_information}/0.18.
|
|
191
|
+
sdk_information = "#{sdk_information}/0.18.3"
|
|
192
192
|
add_user_agent_information(sdk_information)
|
|
193
193
|
end
|
|
194
194
|
end
|
|
@@ -7,10 +7,9 @@ module Azure::Compute::Mgmt::V2017_03_30
|
|
|
7
7
|
module Models
|
|
8
8
|
#
|
|
9
9
|
# Boot Diagnostics is a debugging feature which allows you to view Console
|
|
10
|
-
# Output and Screenshot to diagnose VM status. <br><br>
|
|
11
|
-
#
|
|
12
|
-
#
|
|
13
|
-
# see a screenshot of the VM from the hypervisor.
|
|
10
|
+
# Output and Screenshot to diagnose VM status. <br><br> You can easily view
|
|
11
|
+
# the output of your console log. <br><br> Azure also enables you to see a
|
|
12
|
+
# screenshot of the VM from the hypervisor.
|
|
14
13
|
#
|
|
15
14
|
class BootDiagnostics
|
|
16
15
|
|
|
@@ -35,6 +35,7 @@ module Azure::Compute::Mgmt::V2017_03_30
|
|
|
35
35
|
console_screenshot_blob_uri: {
|
|
36
36
|
client_side_validation: true,
|
|
37
37
|
required: false,
|
|
38
|
+
read_only: true,
|
|
38
39
|
serialized_name: 'consoleScreenshotBlobUri',
|
|
39
40
|
type: {
|
|
40
41
|
name: 'String'
|
|
@@ -43,6 +44,7 @@ module Azure::Compute::Mgmt::V2017_03_30
|
|
|
43
44
|
serial_console_log_blob_uri: {
|
|
44
45
|
client_side_validation: true,
|
|
45
46
|
required: false,
|
|
47
|
+
read_only: true,
|
|
46
48
|
serialized_name: 'serialConsoleLogBlobUri',
|
|
47
49
|
type: {
|
|
48
50
|
name: 'String'
|
|
@@ -15,8 +15,7 @@ module Azure::Compute::Mgmt::V2017_03_30
|
|
|
15
15
|
|
|
16
16
|
# @return [BootDiagnostics] Boot Diagnostics is a debugging feature which
|
|
17
17
|
# allows you to view Console Output and Screenshot to diagnose VM status.
|
|
18
|
-
# <br><br>
|
|
19
|
-
# your console log. <br><br> For both Windows and Linux virtual machines,
|
|
18
|
+
# <br><br> You can easily view the output of your console log. <br><br>
|
|
20
19
|
# Azure also enables you to see a screenshot of the VM from the
|
|
21
20
|
# hypervisor.
|
|
22
21
|
attr_accessor :boot_diagnostics
|
|
@@ -12,7 +12,7 @@ module Azure::Compute::Mgmt::V2017_03_30
|
|
|
12
12
|
|
|
13
13
|
include MsRestAzure
|
|
14
14
|
|
|
15
|
-
# @return [String] A relative uri containing either a Platform
|
|
15
|
+
# @return [String] A relative uri containing either a Platform Image
|
|
16
16
|
# Repository or user image reference.
|
|
17
17
|
attr_accessor :id
|
|
18
18
|
|
|
@@ -38,10 +38,9 @@ module Azure::Compute::Mgmt::V2017_03_30
|
|
|
38
38
|
|
|
39
39
|
# @return [BootDiagnosticsInstanceView] Boot Diagnostics is a debugging
|
|
40
40
|
# feature which allows you to view Console Output and Screenshot to
|
|
41
|
-
# diagnose VM status. <br><br>
|
|
42
|
-
#
|
|
43
|
-
#
|
|
44
|
-
# the VM from the hypervisor.
|
|
41
|
+
# diagnose VM status. <br><br> You can easily view the output of your
|
|
42
|
+
# console log. <br><br> Azure also enables you to see a screenshot of the
|
|
43
|
+
# VM from the hypervisor.
|
|
45
44
|
attr_accessor :boot_diagnostics
|
|
46
45
|
|
|
47
46
|
# @return [Array<InstanceViewStatus>] The resource status information.
|
data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb
CHANGED
|
@@ -37,10 +37,9 @@ module Azure::Compute::Mgmt::V2017_03_30
|
|
|
37
37
|
|
|
38
38
|
# @return [BootDiagnosticsInstanceView] Boot Diagnostics is a debugging
|
|
39
39
|
# feature which allows you to view Console Output and Screenshot to
|
|
40
|
-
# diagnose VM status. <br><br>
|
|
41
|
-
#
|
|
42
|
-
#
|
|
43
|
-
# the VM from the hypervisor.
|
|
40
|
+
# diagnose VM status. <br><br> You can easily view the output of your
|
|
41
|
+
# console log. <br><br> Azure also enables you to see a screenshot of the
|
|
42
|
+
# VM from the hypervisor.
|
|
44
43
|
attr_accessor :boot_diagnostics
|
|
45
44
|
|
|
46
45
|
# @return [Array<InstanceViewStatus>] The resource status information.
|
|
@@ -119,6 +119,101 @@ module Azure::Compute::Mgmt::V2017_03_30
|
|
|
119
119
|
promise.execute
|
|
120
120
|
end
|
|
121
121
|
|
|
122
|
+
#
|
|
123
|
+
# Gets all the virtual machines under the specified subscription for the
|
|
124
|
+
# specified location.
|
|
125
|
+
#
|
|
126
|
+
# @param location [String] The location for which virtual machines under the
|
|
127
|
+
# subscription are queried.
|
|
128
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
129
|
+
# will be added to the HTTP request.
|
|
130
|
+
#
|
|
131
|
+
# @return [Array<VirtualMachine>] operation results.
|
|
132
|
+
#
|
|
133
|
+
def list_by_location(location, custom_headers:nil)
|
|
134
|
+
first_page = list_by_location_as_lazy(location, custom_headers:custom_headers)
|
|
135
|
+
first_page.get_all_items
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
#
|
|
139
|
+
# Gets all the virtual machines under the specified subscription for the
|
|
140
|
+
# specified location.
|
|
141
|
+
#
|
|
142
|
+
# @param location [String] The location for which virtual machines under the
|
|
143
|
+
# subscription are queried.
|
|
144
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
145
|
+
# will be added to the HTTP request.
|
|
146
|
+
#
|
|
147
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
|
148
|
+
#
|
|
149
|
+
def list_by_location_with_http_info(location, custom_headers:nil)
|
|
150
|
+
list_by_location_async(location, custom_headers:custom_headers).value!
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
#
|
|
154
|
+
# Gets all the virtual machines under the specified subscription for the
|
|
155
|
+
# specified location.
|
|
156
|
+
#
|
|
157
|
+
# @param location [String] The location for which virtual machines under the
|
|
158
|
+
# subscription are queried.
|
|
159
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
160
|
+
# to the HTTP request.
|
|
161
|
+
#
|
|
162
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
|
163
|
+
#
|
|
164
|
+
def list_by_location_async(location, custom_headers:nil)
|
|
165
|
+
fail ArgumentError, 'location is nil' if location.nil?
|
|
166
|
+
fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
|
167
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
|
168
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
request_headers = {}
|
|
172
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
|
173
|
+
|
|
174
|
+
# Set Headers
|
|
175
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
176
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
177
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachines'
|
|
178
|
+
|
|
179
|
+
request_url = @base_url || @client.base_url
|
|
180
|
+
|
|
181
|
+
options = {
|
|
182
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
|
183
|
+
path_params: {'location' => location,'subscriptionId' => @client.subscription_id},
|
|
184
|
+
query_params: {'api-version' => @client.api_version},
|
|
185
|
+
headers: request_headers.merge(custom_headers || {}),
|
|
186
|
+
base_url: request_url
|
|
187
|
+
}
|
|
188
|
+
promise = @client.make_request_async(:get, path_template, options)
|
|
189
|
+
|
|
190
|
+
promise = promise.then do |result|
|
|
191
|
+
http_response = result.response
|
|
192
|
+
status_code = http_response.status
|
|
193
|
+
response_content = http_response.body
|
|
194
|
+
unless status_code == 200
|
|
195
|
+
error_model = JSON.load(response_content)
|
|
196
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
|
197
|
+
end
|
|
198
|
+
|
|
199
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
|
200
|
+
# Deserialize Response
|
|
201
|
+
if status_code == 200
|
|
202
|
+
begin
|
|
203
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
204
|
+
result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineListResult.mapper()
|
|
205
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
206
|
+
rescue Exception => e
|
|
207
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
208
|
+
end
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
result
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
promise.execute
|
|
215
|
+
end
|
|
216
|
+
|
|
122
217
|
#
|
|
123
218
|
# Captures the VM by copying virtual hard disks of the VM and outputs a
|
|
124
219
|
# template that can be used to create similar VMs.
|
|
@@ -2235,6 +2330,97 @@ module Azure::Compute::Mgmt::V2017_03_30
|
|
|
2235
2330
|
promise.execute
|
|
2236
2331
|
end
|
|
2237
2332
|
|
|
2333
|
+
#
|
|
2334
|
+
# Gets all the virtual machines under the specified subscription for the
|
|
2335
|
+
# specified location.
|
|
2336
|
+
#
|
|
2337
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
|
2338
|
+
# to List operation.
|
|
2339
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
2340
|
+
# will be added to the HTTP request.
|
|
2341
|
+
#
|
|
2342
|
+
# @return [VirtualMachineListResult] operation results.
|
|
2343
|
+
#
|
|
2344
|
+
def list_by_location_next(next_page_link, custom_headers:nil)
|
|
2345
|
+
response = list_by_location_next_async(next_page_link, custom_headers:custom_headers).value!
|
|
2346
|
+
response.body unless response.nil?
|
|
2347
|
+
end
|
|
2348
|
+
|
|
2349
|
+
#
|
|
2350
|
+
# Gets all the virtual machines under the specified subscription for the
|
|
2351
|
+
# specified location.
|
|
2352
|
+
#
|
|
2353
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
|
2354
|
+
# to List operation.
|
|
2355
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
2356
|
+
# will be added to the HTTP request.
|
|
2357
|
+
#
|
|
2358
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
|
2359
|
+
#
|
|
2360
|
+
def list_by_location_next_with_http_info(next_page_link, custom_headers:nil)
|
|
2361
|
+
list_by_location_next_async(next_page_link, custom_headers:custom_headers).value!
|
|
2362
|
+
end
|
|
2363
|
+
|
|
2364
|
+
#
|
|
2365
|
+
# Gets all the virtual machines under the specified subscription for the
|
|
2366
|
+
# specified location.
|
|
2367
|
+
#
|
|
2368
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
|
2369
|
+
# to List operation.
|
|
2370
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
2371
|
+
# to the HTTP request.
|
|
2372
|
+
#
|
|
2373
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
|
2374
|
+
#
|
|
2375
|
+
def list_by_location_next_async(next_page_link, custom_headers:nil)
|
|
2376
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
|
2377
|
+
|
|
2378
|
+
|
|
2379
|
+
request_headers = {}
|
|
2380
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
|
2381
|
+
|
|
2382
|
+
# Set Headers
|
|
2383
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
2384
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
2385
|
+
path_template = '{nextLink}'
|
|
2386
|
+
|
|
2387
|
+
request_url = @base_url || @client.base_url
|
|
2388
|
+
|
|
2389
|
+
options = {
|
|
2390
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
|
2391
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
|
2392
|
+
headers: request_headers.merge(custom_headers || {}),
|
|
2393
|
+
base_url: request_url
|
|
2394
|
+
}
|
|
2395
|
+
promise = @client.make_request_async(:get, path_template, options)
|
|
2396
|
+
|
|
2397
|
+
promise = promise.then do |result|
|
|
2398
|
+
http_response = result.response
|
|
2399
|
+
status_code = http_response.status
|
|
2400
|
+
response_content = http_response.body
|
|
2401
|
+
unless status_code == 200
|
|
2402
|
+
error_model = JSON.load(response_content)
|
|
2403
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
|
2404
|
+
end
|
|
2405
|
+
|
|
2406
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
|
2407
|
+
# Deserialize Response
|
|
2408
|
+
if status_code == 200
|
|
2409
|
+
begin
|
|
2410
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
2411
|
+
result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineListResult.mapper()
|
|
2412
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
2413
|
+
rescue Exception => e
|
|
2414
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
2415
|
+
end
|
|
2416
|
+
end
|
|
2417
|
+
|
|
2418
|
+
result
|
|
2419
|
+
end
|
|
2420
|
+
|
|
2421
|
+
promise.execute
|
|
2422
|
+
end
|
|
2423
|
+
|
|
2238
2424
|
#
|
|
2239
2425
|
# Lists all of the virtual machines in the specified resource group. Use the
|
|
2240
2426
|
# nextLink property in the response to get the next page of virtual machines.
|
|
@@ -2417,6 +2603,29 @@ module Azure::Compute::Mgmt::V2017_03_30
|
|
|
2417
2603
|
promise.execute
|
|
2418
2604
|
end
|
|
2419
2605
|
|
|
2606
|
+
#
|
|
2607
|
+
# Gets all the virtual machines under the specified subscription for the
|
|
2608
|
+
# specified location.
|
|
2609
|
+
#
|
|
2610
|
+
# @param location [String] The location for which virtual machines under the
|
|
2611
|
+
# subscription are queried.
|
|
2612
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
2613
|
+
# will be added to the HTTP request.
|
|
2614
|
+
#
|
|
2615
|
+
# @return [VirtualMachineListResult] which provide lazy access to pages of the
|
|
2616
|
+
# response.
|
|
2617
|
+
#
|
|
2618
|
+
def list_by_location_as_lazy(location, custom_headers:nil)
|
|
2619
|
+
response = list_by_location_async(location, custom_headers:custom_headers).value!
|
|
2620
|
+
unless response.nil?
|
|
2621
|
+
page = response.body
|
|
2622
|
+
page.next_method = Proc.new do |next_page_link|
|
|
2623
|
+
list_by_location_next_async(next_page_link, custom_headers:custom_headers)
|
|
2624
|
+
end
|
|
2625
|
+
page
|
|
2626
|
+
end
|
|
2627
|
+
end
|
|
2628
|
+
|
|
2420
2629
|
#
|
|
2421
2630
|
# Lists all of the virtual machines in the specified resource group. Use the
|
|
2422
2631
|
# nextLink property in the response to get the next page of virtual machines.
|