azure_mgmt_devtestlabs 0.10.0 → 0.11.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_devtestlabs.rb +149 -55
- data/lib/generated/azure_mgmt_devtestlabs/arm_templates.rb +363 -0
- data/lib/generated/azure_mgmt_devtestlabs/{artifact_source_operations.rb → artifact_sources.rb} +85 -69
- data/lib/generated/azure_mgmt_devtestlabs/{artifact_operations.rb → artifacts.rb} +59 -43
- data/lib/generated/azure_mgmt_devtestlabs/costs.rb +244 -0
- data/lib/generated/azure_mgmt_devtestlabs/{custom_image_operations.rb → custom_images.rb} +81 -68
- data/lib/generated/azure_mgmt_devtestlabs/dev_test_labs_client.rb +73 -37
- data/lib/generated/azure_mgmt_devtestlabs/disks.rb +975 -0
- data/lib/generated/azure_mgmt_devtestlabs/environments.rb +672 -0
- data/lib/generated/azure_mgmt_devtestlabs/{formula_operations.rb → formulas.rb} +82 -64
- data/lib/generated/azure_mgmt_devtestlabs/{gallery_image_operations.rb → gallery_images.rb} +33 -26
- data/lib/generated/azure_mgmt_devtestlabs/global_schedules.rb +1121 -0
- data/lib/generated/azure_mgmt_devtestlabs/{lab_operations.rb → labs.rb} +439 -141
- data/lib/generated/azure_mgmt_devtestlabs/models/applicable_schedule.rb +105 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/applicable_schedule_fragment.rb +105 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/apply_artifacts_request.rb +2 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/arm_template.rb +167 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/arm_template_info.rb +2 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/arm_template_parameter_properties.rb +55 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/artifact.rb +70 -53
- data/lib/generated/azure_mgmt_devtestlabs/models/artifact_deployment_status_properties.rb +2 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/artifact_deployment_status_properties_fragment.rb +68 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/artifact_install_properties.rb +43 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/artifact_install_properties_fragment.rb +105 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/artifact_parameter_properties.rb +2 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/artifact_parameter_properties_fragment.rb +55 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/artifact_source.rb +75 -62
- data/lib/generated/azure_mgmt_devtestlabs/models/artifact_source_fragment.rb +185 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/attach_disk_properties.rb +46 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/attach_new_data_disk_options.rb +66 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/bulk_creation_parameters.rb +45 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/compute_data_disk.rb +76 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/compute_data_disk_fragment.rb +76 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/compute_vm_instance_view_status.rb +65 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/compute_vm_instance_view_status_fragment.rb +65 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/compute_vm_properties.rb +131 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/compute_vm_properties_fragment.rb +131 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/cost_threshold_properties.rb +92 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/cost_threshold_status.rb +16 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/{lab_cost_type.rb → cost_type.rb} +3 -3
- data/lib/generated/azure_mgmt_devtestlabs/models/custom_image.rb +58 -57
- data/lib/generated/azure_mgmt_devtestlabs/models/custom_image_os_type.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/custom_image_properties_custom.rb +5 -4
- data/lib/generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_vm.rb +2 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/data_disk_properties.rb +70 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/day_details.rb +3 -2
- data/lib/generated/azure_mgmt_devtestlabs/models/{subscription_notification_properties.rb → day_details_fragment.rb} +11 -11
- data/lib/generated/azure_mgmt_devtestlabs/models/detach_data_disk_properties.rb +46 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/detach_disk_properties.rb +46 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/disk.rb +186 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/dtl_environment.rb +146 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/enable_status.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/environment_deployment_properties.rb +64 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/evaluate_policies_properties.rb +2 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/evaluate_policies_request.rb +2 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/evaluate_policies_response.rb +2 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/event.rb +47 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/event_fragment.rb +47 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/export_resource_usage_parameters.rb +58 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/external_subnet.rb +55 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/external_subnet_fragment.rb +55 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/file_upload_options.rb +16 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/formula.rb +53 -61
- data/lib/generated/azure_mgmt_devtestlabs/models/formula_properties_from_vm.rb +2 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/gallery_image.rb +44 -54
- data/lib/generated/azure_mgmt_devtestlabs/models/gallery_image_reference.rb +2 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/gallery_image_reference_fragment.rb +85 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/generate_arm_template_request.rb +14 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/generate_upload_uri_parameter.rb +2 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/generate_upload_uri_response.rb +2 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/host_caching_options.rb +17 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/hour_details.rb +2 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/hour_details_fragment.rb +45 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/identity_properties.rb +75 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/inbound_nat_rule.rb +70 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/inbound_nat_rule_fragment.rb +70 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/lab.rb +85 -54
- data/lib/generated/azure_mgmt_devtestlabs/models/lab_cost.rb +204 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/{cost_per_day_properties.rb → lab_cost_details_properties.rb} +7 -6
- data/lib/generated/azure_mgmt_devtestlabs/models/lab_cost_summary_properties.rb +45 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/lab_fragment.rb +127 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/{resource_cost_properties.rb → lab_resource_cost_properties.rb} +49 -28
- data/lib/generated/azure_mgmt_devtestlabs/models/lab_vhd.rb +3 -2
- data/lib/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine.rb +141 -42
- data/lib/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_creation_parameter.rb +412 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_fragment.rb +410 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/linux_os_info.rb +5 -3
- data/lib/generated/azure_mgmt_devtestlabs/models/linux_os_state.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/network_interface_properties.rb +130 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/network_interface_properties_fragment.rb +130 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/notification_channel.rb +150 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/notification_channel_event_type.rb +16 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/{cost.rb → notification_channel_fragment.rb} +64 -64
- data/lib/generated/azure_mgmt_devtestlabs/models/notification_settings.rb +69 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/notification_settings_fragment.rb +69 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/notification_status.rb +16 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/notify_parameters.rb +56 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/parameter_info.rb +5 -5
- data/lib/generated/azure_mgmt_devtestlabs/models/parameters_value_file_info.rb +55 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/percentage_cost_threshold_properties.rb +45 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/policy.rb +62 -58
- data/lib/generated/azure_mgmt_devtestlabs/models/policy_evaluator_type.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/policy_fact_name.rb +4 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/policy_fragment.rb +168 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/policy_set_result.rb +2 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/policy_status.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/policy_violation.rb +2 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/port.rb +56 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/port_fragment.rb +56 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/premium_data_disk.rb +16 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/reporting_cycle_type.rb +16 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_arm_template.rb +94 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_artifact.rb +2 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_artifact_source.rb +2 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_custom_image.rb +2 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_disk.rb +94 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_dtl_environment.rb +95 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_formula.rb +2 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_gallery_image.rb +2 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab.rb +2 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab_vhd.rb +2 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab_virtual_machine.rb +2 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_notification_channel.rb +96 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_policy.rb +2 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_schedule.rb +2 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_secret.rb +94 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_service_runner.rb +94 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_user.rb +94 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_virtual_network.rb +2 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/retarget_schedule_properties.rb +57 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/schedule.rb +82 -57
- data/lib/generated/azure_mgmt_devtestlabs/models/schedule_fragment.rb +189 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/secret.rb +110 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/service_runner.rb +91 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/shared_public_ip_address_configuration.rb +54 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/shared_public_ip_address_configuration_fragment.rb +55 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/shutdown_notification_content.rb +147 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/source_control_type.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/{lab_storage_type.rb → storage_type.rb} +3 -3
- data/lib/generated/azure_mgmt_devtestlabs/models/subnet.rb +8 -7
- data/lib/generated/azure_mgmt_devtestlabs/models/subnet_fragment.rb +67 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/subnet_override.rb +29 -6
- data/lib/generated/azure_mgmt_devtestlabs/models/subnet_override_fragment.rb +101 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/subnet_shared_public_ip_address_configuration.rb +54 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/subnet_shared_public_ip_address_configuration_fragment.rb +55 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/target_cost_properties.rb +105 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/target_cost_status.rb +16 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/transport_protocol.rb +16 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/usage_permission_type.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/user.rb +133 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/user_fragment.rb +122 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/user_identity.rb +91 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/user_identity_fragment.rb +91 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/user_secret_store.rb +55 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/user_secret_store_fragment.rb +55 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/virtual_machine_creation_source.rb +16 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/virtual_network.rb +77 -59
- data/lib/generated/azure_mgmt_devtestlabs/models/virtual_network_fragment.rb +177 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/week_details.rb +5 -3
- data/lib/generated/azure_mgmt_devtestlabs/models/week_details_fragment.rb +63 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/windows_os_info.rb +4 -2
- data/lib/generated/azure_mgmt_devtestlabs/models/windows_os_state.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/module_definition.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/notification_channels.rb +764 -0
- data/lib/generated/azure_mgmt_devtestlabs/{policy_operations.rb → policies.rb} +82 -69
- data/lib/generated/azure_mgmt_devtestlabs/{policy_set.rb → policy_sets.rb} +18 -16
- data/lib/generated/azure_mgmt_devtestlabs/{virtual_machine.rb → schedules.rb} +282 -417
- data/lib/generated/azure_mgmt_devtestlabs/secrets.rb +573 -0
- data/lib/generated/azure_mgmt_devtestlabs/service_runners.rb +545 -0
- data/lib/generated/azure_mgmt_devtestlabs/users.rb +704 -0
- data/lib/generated/azure_mgmt_devtestlabs/version.rb +2 -2
- data/lib/generated/azure_mgmt_devtestlabs/{schedule_operations.rb → virtual_machine_schedules.rb} +132 -92
- data/lib/generated/azure_mgmt_devtestlabs/virtual_machines.rb +1669 -0
- data/lib/generated/azure_mgmt_devtestlabs/{virtual_network_operations.rb → virtual_networks.rb} +94 -81
- metadata +118 -24
- data/lib/generated/azure_mgmt_devtestlabs/cost_operations.rb +0 -121
- data/lib/generated/azure_mgmt_devtestlabs/models/subscription_notification.rb +0 -68
- data/lib/generated/azure_mgmt_devtestlabs/models/subscription_notification_state.rb +0 -20
@@ -0,0 +1,55 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::DevTestLabs
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Subnet information as returned by the Microsoft.Network API.
|
10
|
+
#
|
11
|
+
class ExternalSubnetFragment
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [String] Gets or sets the identifier.
|
17
|
+
attr_accessor :id
|
18
|
+
|
19
|
+
# @return [String] Gets or sets the name.
|
20
|
+
attr_accessor :name
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for ExternalSubnetFragment class as Ruby Hash.
|
25
|
+
# This will be used for serialization/deserialization.
|
26
|
+
#
|
27
|
+
def self.mapper()
|
28
|
+
{
|
29
|
+
required: false,
|
30
|
+
serialized_name: 'ExternalSubnetFragment',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'ExternalSubnetFragment',
|
34
|
+
model_properties: {
|
35
|
+
id: {
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'id',
|
38
|
+
type: {
|
39
|
+
name: 'String'
|
40
|
+
}
|
41
|
+
},
|
42
|
+
name: {
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'name',
|
45
|
+
type: {
|
46
|
+
name: 'String'
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::DevTestLabs
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for FileUploadOptions
|
10
|
+
#
|
11
|
+
module FileUploadOptions
|
12
|
+
UploadFilesAndGenerateSasTokens = "UploadFilesAndGenerateSasTokens"
|
13
|
+
None = "None"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -1,17 +1,19 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.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::DevTestLabs
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# A formula
|
9
|
+
# A formula for creating a VM, specifying an image base and other
|
10
|
+
# parameters
|
10
11
|
#
|
11
|
-
class Formula
|
12
|
+
class Formula < MsRestAzure::Resource
|
12
13
|
|
13
14
|
include MsRestAzure
|
14
15
|
|
16
|
+
include MsRest::JSONable
|
15
17
|
# @return [String] The description of the formula.
|
16
18
|
attr_accessor :description
|
17
19
|
|
@@ -24,7 +26,8 @@ module Azure::ARM::DevTestLabs
|
|
24
26
|
# @return [DateTime] The creation date of the formula.
|
25
27
|
attr_accessor :creation_date
|
26
28
|
|
27
|
-
# @return [
|
29
|
+
# @return [LabVirtualMachineCreationParameter] The content of the
|
30
|
+
# formula.
|
28
31
|
attr_accessor :formula_content
|
29
32
|
|
30
33
|
# @return [FormulaPropertiesFromVm] Information about a VM from which a
|
@@ -37,21 +40,6 @@ module Azure::ARM::DevTestLabs
|
|
37
40
|
# @return [String] The unique immutable identifier of a resource (Guid).
|
38
41
|
attr_accessor :unique_identifier
|
39
42
|
|
40
|
-
# @return [String] The identifier of the resource.
|
41
|
-
attr_accessor :id
|
42
|
-
|
43
|
-
# @return [String] The name of the resource.
|
44
|
-
attr_accessor :name
|
45
|
-
|
46
|
-
# @return [String] The type of the resource.
|
47
|
-
attr_accessor :type
|
48
|
-
|
49
|
-
# @return [String] The location of the resource.
|
50
|
-
attr_accessor :location
|
51
|
-
|
52
|
-
# @return [Hash{String => String}] The tags of the resource.
|
53
|
-
attr_accessor :tags
|
54
|
-
|
55
43
|
|
56
44
|
#
|
57
45
|
# Mapper for Formula class as Ruby Hash.
|
@@ -65,104 +53,108 @@ module Azure::ARM::DevTestLabs
|
|
65
53
|
name: 'Composite',
|
66
54
|
class_name: 'Formula',
|
67
55
|
model_properties: {
|
68
|
-
|
56
|
+
id: {
|
69
57
|
required: false,
|
70
|
-
|
58
|
+
read_only: true,
|
59
|
+
serialized_name: 'id',
|
71
60
|
type: {
|
72
61
|
name: 'String'
|
73
62
|
}
|
74
63
|
},
|
75
|
-
|
64
|
+
name: {
|
76
65
|
required: false,
|
77
|
-
|
66
|
+
read_only: true,
|
67
|
+
serialized_name: 'name',
|
78
68
|
type: {
|
79
69
|
name: 'String'
|
80
70
|
}
|
81
71
|
},
|
82
|
-
|
72
|
+
type: {
|
83
73
|
required: false,
|
84
|
-
|
74
|
+
read_only: true,
|
75
|
+
serialized_name: 'type',
|
85
76
|
type: {
|
86
77
|
name: 'String'
|
87
78
|
}
|
88
79
|
},
|
89
|
-
|
80
|
+
location: {
|
90
81
|
required: false,
|
91
|
-
serialized_name: '
|
82
|
+
serialized_name: 'location',
|
92
83
|
type: {
|
93
|
-
name: '
|
84
|
+
name: 'String'
|
94
85
|
}
|
95
86
|
},
|
96
|
-
|
87
|
+
tags: {
|
97
88
|
required: false,
|
98
|
-
serialized_name: '
|
89
|
+
serialized_name: 'tags',
|
99
90
|
type: {
|
100
|
-
name: '
|
101
|
-
|
91
|
+
name: 'Dictionary',
|
92
|
+
value: {
|
93
|
+
required: false,
|
94
|
+
serialized_name: 'StringElementType',
|
95
|
+
type: {
|
96
|
+
name: 'String'
|
97
|
+
}
|
98
|
+
}
|
102
99
|
}
|
103
100
|
},
|
104
|
-
|
101
|
+
description: {
|
105
102
|
required: false,
|
106
|
-
serialized_name: 'properties.
|
103
|
+
serialized_name: 'properties.description',
|
107
104
|
type: {
|
108
|
-
name: '
|
109
|
-
class_name: 'FormulaPropertiesFromVm'
|
105
|
+
name: 'String'
|
110
106
|
}
|
111
107
|
},
|
112
|
-
|
108
|
+
author: {
|
113
109
|
required: false,
|
114
|
-
serialized_name: 'properties.
|
110
|
+
serialized_name: 'properties.author',
|
115
111
|
type: {
|
116
112
|
name: 'String'
|
117
113
|
}
|
118
114
|
},
|
119
|
-
|
115
|
+
os_type: {
|
120
116
|
required: false,
|
121
|
-
serialized_name: 'properties.
|
117
|
+
serialized_name: 'properties.osType',
|
122
118
|
type: {
|
123
119
|
name: 'String'
|
124
120
|
}
|
125
121
|
},
|
126
|
-
|
122
|
+
creation_date: {
|
127
123
|
required: false,
|
128
|
-
|
124
|
+
read_only: true,
|
125
|
+
serialized_name: 'properties.creationDate',
|
129
126
|
type: {
|
130
|
-
name: '
|
127
|
+
name: 'DateTime'
|
131
128
|
}
|
132
129
|
},
|
133
|
-
|
130
|
+
formula_content: {
|
134
131
|
required: false,
|
135
|
-
serialized_name: '
|
132
|
+
serialized_name: 'properties.formulaContent',
|
136
133
|
type: {
|
137
|
-
name: '
|
134
|
+
name: 'Composite',
|
135
|
+
class_name: 'LabVirtualMachineCreationParameter'
|
138
136
|
}
|
139
137
|
},
|
140
|
-
|
138
|
+
vm: {
|
141
139
|
required: false,
|
142
|
-
serialized_name: '
|
140
|
+
serialized_name: 'properties.vm',
|
143
141
|
type: {
|
144
|
-
name: '
|
142
|
+
name: 'Composite',
|
143
|
+
class_name: 'FormulaPropertiesFromVm'
|
145
144
|
}
|
146
145
|
},
|
147
|
-
|
146
|
+
provisioning_state: {
|
148
147
|
required: false,
|
149
|
-
serialized_name: '
|
148
|
+
serialized_name: 'properties.provisioningState',
|
150
149
|
type: {
|
151
150
|
name: 'String'
|
152
151
|
}
|
153
152
|
},
|
154
|
-
|
153
|
+
unique_identifier: {
|
155
154
|
required: false,
|
156
|
-
serialized_name: '
|
155
|
+
serialized_name: 'properties.uniqueIdentifier',
|
157
156
|
type: {
|
158
|
-
name: '
|
159
|
-
value: {
|
160
|
-
required: false,
|
161
|
-
serialized_name: 'StringElementType',
|
162
|
-
type: {
|
163
|
-
name: 'String'
|
164
|
-
}
|
165
|
-
}
|
157
|
+
name: 'String'
|
166
158
|
}
|
167
159
|
}
|
168
160
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -12,6 +12,7 @@ module Azure::ARM::DevTestLabs
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
+
include MsRest::JSONable
|
15
16
|
# @return [String] The identifier of the VM from which a formula is to be
|
16
17
|
# created.
|
17
18
|
attr_accessor :lab_vm_id
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -8,10 +8,11 @@ module Azure::ARM::DevTestLabs
|
|
8
8
|
#
|
9
9
|
# A gallery image.
|
10
10
|
#
|
11
|
-
class GalleryImage
|
11
|
+
class GalleryImage < MsRestAzure::Resource
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
+
include MsRest::JSONable
|
15
16
|
# @return [String] The author of the gallery image.
|
16
17
|
attr_accessor :author
|
17
18
|
|
@@ -31,21 +32,6 @@ module Azure::ARM::DevTestLabs
|
|
31
32
|
# @return [Boolean] Indicates whether this gallery image is enabled.
|
32
33
|
attr_accessor :enabled
|
33
34
|
|
34
|
-
# @return [String] The identifier of the resource.
|
35
|
-
attr_accessor :id
|
36
|
-
|
37
|
-
# @return [String] The name of the resource.
|
38
|
-
attr_accessor :name
|
39
|
-
|
40
|
-
# @return [String] The type of the resource.
|
41
|
-
attr_accessor :type
|
42
|
-
|
43
|
-
# @return [String] The location of the resource.
|
44
|
-
attr_accessor :location
|
45
|
-
|
46
|
-
# @return [Hash{String => String}] The tags of the resource.
|
47
|
-
attr_accessor :tags
|
48
|
-
|
49
35
|
|
50
36
|
#
|
51
37
|
# Mapper for GalleryImage class as Ruby Hash.
|
@@ -59,89 +45,93 @@ module Azure::ARM::DevTestLabs
|
|
59
45
|
name: 'Composite',
|
60
46
|
class_name: 'GalleryImage',
|
61
47
|
model_properties: {
|
62
|
-
|
48
|
+
id: {
|
63
49
|
required: false,
|
64
|
-
|
50
|
+
read_only: true,
|
51
|
+
serialized_name: 'id',
|
65
52
|
type: {
|
66
53
|
name: 'String'
|
67
54
|
}
|
68
55
|
},
|
69
|
-
|
56
|
+
name: {
|
70
57
|
required: false,
|
71
|
-
|
58
|
+
read_only: true,
|
59
|
+
serialized_name: 'name',
|
72
60
|
type: {
|
73
|
-
name: '
|
61
|
+
name: 'String'
|
74
62
|
}
|
75
63
|
},
|
76
|
-
|
64
|
+
type: {
|
77
65
|
required: false,
|
78
|
-
|
66
|
+
read_only: true,
|
67
|
+
serialized_name: 'type',
|
79
68
|
type: {
|
80
69
|
name: 'String'
|
81
70
|
}
|
82
71
|
},
|
83
|
-
|
72
|
+
location: {
|
84
73
|
required: false,
|
85
|
-
serialized_name: '
|
74
|
+
serialized_name: 'location',
|
86
75
|
type: {
|
87
|
-
name: '
|
88
|
-
class_name: 'GalleryImageReference'
|
76
|
+
name: 'String'
|
89
77
|
}
|
90
78
|
},
|
91
|
-
|
79
|
+
tags: {
|
92
80
|
required: false,
|
93
|
-
serialized_name: '
|
81
|
+
serialized_name: 'tags',
|
94
82
|
type: {
|
95
|
-
name: '
|
83
|
+
name: 'Dictionary',
|
84
|
+
value: {
|
85
|
+
required: false,
|
86
|
+
serialized_name: 'StringElementType',
|
87
|
+
type: {
|
88
|
+
name: 'String'
|
89
|
+
}
|
90
|
+
}
|
96
91
|
}
|
97
92
|
},
|
98
|
-
|
93
|
+
author: {
|
99
94
|
required: false,
|
100
|
-
serialized_name: 'properties.
|
95
|
+
serialized_name: 'properties.author',
|
101
96
|
type: {
|
102
|
-
name: '
|
97
|
+
name: 'String'
|
103
98
|
}
|
104
99
|
},
|
105
|
-
|
100
|
+
created_date: {
|
106
101
|
required: false,
|
107
|
-
|
102
|
+
read_only: true,
|
103
|
+
serialized_name: 'properties.createdDate',
|
108
104
|
type: {
|
109
|
-
name: '
|
105
|
+
name: 'DateTime'
|
110
106
|
}
|
111
107
|
},
|
112
|
-
|
108
|
+
description: {
|
113
109
|
required: false,
|
114
|
-
serialized_name: '
|
110
|
+
serialized_name: 'properties.description',
|
115
111
|
type: {
|
116
112
|
name: 'String'
|
117
113
|
}
|
118
114
|
},
|
119
|
-
|
115
|
+
image_reference: {
|
120
116
|
required: false,
|
121
|
-
serialized_name: '
|
117
|
+
serialized_name: 'properties.imageReference',
|
122
118
|
type: {
|
123
|
-
name: '
|
119
|
+
name: 'Composite',
|
120
|
+
class_name: 'GalleryImageReference'
|
124
121
|
}
|
125
122
|
},
|
126
|
-
|
123
|
+
icon: {
|
127
124
|
required: false,
|
128
|
-
serialized_name: '
|
125
|
+
serialized_name: 'properties.icon',
|
129
126
|
type: {
|
130
127
|
name: 'String'
|
131
128
|
}
|
132
129
|
},
|
133
|
-
|
130
|
+
enabled: {
|
134
131
|
required: false,
|
135
|
-
serialized_name: '
|
132
|
+
serialized_name: 'properties.enabled',
|
136
133
|
type: {
|
137
|
-
name: '
|
138
|
-
value: {
|
139
|
-
required: false,
|
140
|
-
serialized_name: 'StringElementType',
|
141
|
-
type: {
|
142
|
-
name: 'String'
|
143
|
-
}
|
144
|
-
}
|
134
|
+
name: 'Boolean'
|
145
135
|
}
|
146
136
|
}
|
147
137
|
}
|