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,45 @@
|
|
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
|
+
# The properties of the cost summary.
|
10
|
+
#
|
11
|
+
class LabCostSummaryProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Float] The cost component of the cost item.
|
17
|
+
attr_accessor :estimated_lab_cost
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for LabCostSummaryProperties class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'LabCostSummaryProperties',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'LabCostSummaryProperties',
|
31
|
+
model_properties: {
|
32
|
+
estimated_lab_cost: {
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'estimatedLabCost',
|
35
|
+
type: {
|
36
|
+
name: 'Double'
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,127 @@
|
|
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
|
+
# A lab.
|
10
|
+
#
|
11
|
+
class LabFragment < MsRestAzure::Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [StorageType] Type of storage used by the lab. It can be either
|
17
|
+
# Premium or Standard. Default is Premium. Possible values include:
|
18
|
+
# 'Standard', 'Premium'
|
19
|
+
attr_accessor :lab_storage_type
|
20
|
+
|
21
|
+
# @return [PremiumDataDisk] The setting to enable usage of premium data
|
22
|
+
# disks.
|
23
|
+
# When its value is 'Enabled', creation of standard or premium data disks
|
24
|
+
# is allowed.
|
25
|
+
# When its value is 'Disabled', only creation of standard data disks is
|
26
|
+
# allowed. Possible values include: 'Disabled', 'Enabled'
|
27
|
+
attr_accessor :premium_data_disks
|
28
|
+
|
29
|
+
# @return [String] The provisioning status of the resource.
|
30
|
+
attr_accessor :provisioning_state
|
31
|
+
|
32
|
+
# @return [String] The unique immutable identifier of a resource (Guid).
|
33
|
+
attr_accessor :unique_identifier
|
34
|
+
|
35
|
+
|
36
|
+
#
|
37
|
+
# Mapper for LabFragment class as Ruby Hash.
|
38
|
+
# This will be used for serialization/deserialization.
|
39
|
+
#
|
40
|
+
def self.mapper()
|
41
|
+
{
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'LabFragment',
|
44
|
+
type: {
|
45
|
+
name: 'Composite',
|
46
|
+
class_name: 'LabFragment',
|
47
|
+
model_properties: {
|
48
|
+
id: {
|
49
|
+
required: false,
|
50
|
+
read_only: true,
|
51
|
+
serialized_name: 'id',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
name: {
|
57
|
+
required: false,
|
58
|
+
read_only: true,
|
59
|
+
serialized_name: 'name',
|
60
|
+
type: {
|
61
|
+
name: 'String'
|
62
|
+
}
|
63
|
+
},
|
64
|
+
type: {
|
65
|
+
required: false,
|
66
|
+
read_only: true,
|
67
|
+
serialized_name: 'type',
|
68
|
+
type: {
|
69
|
+
name: 'String'
|
70
|
+
}
|
71
|
+
},
|
72
|
+
location: {
|
73
|
+
required: false,
|
74
|
+
serialized_name: 'location',
|
75
|
+
type: {
|
76
|
+
name: 'String'
|
77
|
+
}
|
78
|
+
},
|
79
|
+
tags: {
|
80
|
+
required: false,
|
81
|
+
serialized_name: 'tags',
|
82
|
+
type: {
|
83
|
+
name: 'Dictionary',
|
84
|
+
value: {
|
85
|
+
required: false,
|
86
|
+
serialized_name: 'StringElementType',
|
87
|
+
type: {
|
88
|
+
name: 'String'
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
},
|
93
|
+
lab_storage_type: {
|
94
|
+
required: false,
|
95
|
+
serialized_name: 'properties.labStorageType',
|
96
|
+
type: {
|
97
|
+
name: 'String'
|
98
|
+
}
|
99
|
+
},
|
100
|
+
premium_data_disks: {
|
101
|
+
required: false,
|
102
|
+
serialized_name: 'properties.premiumDataDisks',
|
103
|
+
type: {
|
104
|
+
name: 'String'
|
105
|
+
}
|
106
|
+
},
|
107
|
+
provisioning_state: {
|
108
|
+
required: false,
|
109
|
+
serialized_name: 'properties.provisioningState',
|
110
|
+
type: {
|
111
|
+
name: 'String'
|
112
|
+
}
|
113
|
+
},
|
114
|
+
unique_identifier: {
|
115
|
+
required: false,
|
116
|
+
serialized_name: 'properties.uniqueIdentifier',
|
117
|
+
type: {
|
118
|
+
name: 'String'
|
119
|
+
}
|
120
|
+
}
|
121
|
+
}
|
122
|
+
}
|
123
|
+
}
|
124
|
+
end
|
125
|
+
end
|
126
|
+
end
|
127
|
+
end
|
@@ -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,45 +8,52 @@ module Azure::ARM::DevTestLabs
|
|
8
8
|
#
|
9
9
|
# The properties of a resource cost item.
|
10
10
|
#
|
11
|
-
class
|
11
|
+
class LabResourceCostProperties
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
+
include MsRest::JSONable
|
15
16
|
# @return [String] The name of the resource.
|
16
17
|
attr_accessor :resourcename
|
17
18
|
|
18
|
-
# @return [String] The
|
19
|
-
attr_accessor :
|
19
|
+
# @return [String] The unique identifier of the resource.
|
20
|
+
attr_accessor :resource_uid
|
20
21
|
|
21
22
|
# @return [Float] The cost component of the resource cost item.
|
22
23
|
attr_accessor :resource_cost
|
23
24
|
|
24
|
-
# @return [String] The email address of the owner of the resource
|
25
|
-
attr_accessor :owner
|
26
|
-
|
27
|
-
# @return [String] The category of the resource. For VM this will be set
|
28
|
-
# to its size, for storage account it will be set to standard or premium
|
29
|
-
attr_accessor :category
|
30
|
-
|
31
|
-
# @return [Boolean] Whether the resource still exists or not
|
32
|
-
attr_accessor :exists
|
33
|
-
|
34
25
|
# @return [String] The logical resource type (ex. virtualmachine,
|
35
26
|
# storageaccount)
|
36
27
|
attr_accessor :resource_type
|
37
28
|
|
29
|
+
# @return [String] The owner of the resource (ex. janedoe@microsoft.com)
|
30
|
+
attr_accessor :resource_owner
|
31
|
+
|
32
|
+
# @return [String] The category of the resource (ex. Premium_LRS,
|
33
|
+
# Standard_DS1)
|
34
|
+
attr_accessor :resource_pricing_tier
|
35
|
+
|
36
|
+
# @return [String] The status of the resource (ex. Active)
|
37
|
+
attr_accessor :resource_status
|
38
|
+
|
39
|
+
# @return [String] The ID of the resource
|
40
|
+
attr_accessor :resource_id
|
41
|
+
|
42
|
+
# @return [String] The ID of the external resource
|
43
|
+
attr_accessor :external_resource_id
|
44
|
+
|
38
45
|
|
39
46
|
#
|
40
|
-
# Mapper for
|
47
|
+
# Mapper for LabResourceCostProperties class as Ruby Hash.
|
41
48
|
# This will be used for serialization/deserialization.
|
42
49
|
#
|
43
50
|
def self.mapper()
|
44
51
|
{
|
45
52
|
required: false,
|
46
|
-
serialized_name: '
|
53
|
+
serialized_name: 'LabResourceCostProperties',
|
47
54
|
type: {
|
48
55
|
name: 'Composite',
|
49
|
-
class_name: '
|
56
|
+
class_name: 'LabResourceCostProperties',
|
50
57
|
model_properties: {
|
51
58
|
resourcename: {
|
52
59
|
required: false,
|
@@ -55,9 +62,9 @@ module Azure::ARM::DevTestLabs
|
|
55
62
|
name: 'String'
|
56
63
|
}
|
57
64
|
},
|
58
|
-
|
65
|
+
resource_uid: {
|
59
66
|
required: false,
|
60
|
-
serialized_name: '
|
67
|
+
serialized_name: 'resourceUId',
|
61
68
|
type: {
|
62
69
|
name: 'String'
|
63
70
|
}
|
@@ -69,30 +76,44 @@ module Azure::ARM::DevTestLabs
|
|
69
76
|
name: 'Double'
|
70
77
|
}
|
71
78
|
},
|
72
|
-
|
79
|
+
resource_type: {
|
73
80
|
required: false,
|
74
|
-
serialized_name: '
|
81
|
+
serialized_name: 'resourceType',
|
75
82
|
type: {
|
76
83
|
name: 'String'
|
77
84
|
}
|
78
85
|
},
|
79
|
-
|
86
|
+
resource_owner: {
|
80
87
|
required: false,
|
81
|
-
serialized_name: '
|
88
|
+
serialized_name: 'resourceOwner',
|
82
89
|
type: {
|
83
90
|
name: 'String'
|
84
91
|
}
|
85
92
|
},
|
86
|
-
|
93
|
+
resource_pricing_tier: {
|
87
94
|
required: false,
|
88
|
-
serialized_name: '
|
95
|
+
serialized_name: 'resourcePricingTier',
|
89
96
|
type: {
|
90
|
-
name: '
|
97
|
+
name: 'String'
|
91
98
|
}
|
92
99
|
},
|
93
|
-
|
100
|
+
resource_status: {
|
94
101
|
required: false,
|
95
|
-
serialized_name: '
|
102
|
+
serialized_name: 'resourceStatus',
|
103
|
+
type: {
|
104
|
+
name: 'String'
|
105
|
+
}
|
106
|
+
},
|
107
|
+
resource_id: {
|
108
|
+
required: false,
|
109
|
+
serialized_name: 'resourceId',
|
110
|
+
type: {
|
111
|
+
name: 'String'
|
112
|
+
}
|
113
|
+
},
|
114
|
+
external_resource_id: {
|
115
|
+
required: false,
|
116
|
+
serialized_name: 'externalResourceId',
|
96
117
|
type: {
|
97
118
|
name: 'String'
|
98
119
|
}
|
@@ -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,7 +12,8 @@ module Azure::ARM::DevTestLabs
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [String] The URI to the VHD.
|
16
17
|
attr_accessor :id
|
17
18
|
|
18
19
|
|
@@ -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 virtual machine.
|
10
10
|
#
|
11
|
-
class LabVirtualMachine
|
11
|
+
class LabVirtualMachine < MsRestAzure::Resource
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
+
include MsRest::JSONable
|
15
16
|
# @return [String] The notes of the virtual machine.
|
16
17
|
attr_accessor :notes
|
17
18
|
|
@@ -19,6 +20,9 @@ module Azure::ARM::DevTestLabs
|
|
19
20
|
# machine.
|
20
21
|
attr_accessor :owner_object_id
|
21
22
|
|
23
|
+
# @return [String] The user principal name of the virtual machine owner.
|
24
|
+
attr_accessor :owner_user_principal_name
|
25
|
+
|
22
26
|
# @return [String] The object identifier of the creator of the virtual
|
23
27
|
# machine.
|
24
28
|
attr_accessor :created_by_user_id
|
@@ -26,6 +30,9 @@ module Azure::ARM::DevTestLabs
|
|
26
30
|
# @return [String] The email address of creator of the virtual machine.
|
27
31
|
attr_accessor :created_by_user
|
28
32
|
|
33
|
+
# @return [DateTime] The creation date of the virtual machine.
|
34
|
+
attr_accessor :created_date
|
35
|
+
|
29
36
|
# @return [String] The resource identifier (Microsoft.Compute) of the
|
30
37
|
# virtual machine.
|
31
38
|
attr_accessor :compute_id
|
@@ -48,8 +55,8 @@ module Azure::ARM::DevTestLabs
|
|
48
55
|
# @return [String] The SSH key of the virtual machine administrator.
|
49
56
|
attr_accessor :ssh_key
|
50
57
|
|
51
|
-
# @return [Boolean]
|
52
|
-
#
|
58
|
+
# @return [Boolean] Indicates whether this virtual machine uses an SSH
|
59
|
+
# key for authentication.
|
53
60
|
attr_accessor :is_authentication_with_ssh_key
|
54
61
|
|
55
62
|
# @return [String] The fully-qualified domain name of the virtual
|
@@ -79,26 +86,41 @@ module Azure::ARM::DevTestLabs
|
|
79
86
|
# reference of the virtual machine.
|
80
87
|
attr_accessor :gallery_image_reference
|
81
88
|
|
82
|
-
# @return [
|
83
|
-
attr_accessor :
|
89
|
+
# @return [ComputeVmProperties] The compute virtual machine properties.
|
90
|
+
attr_accessor :compute_vm
|
84
91
|
|
85
|
-
# @return [
|
86
|
-
attr_accessor :
|
92
|
+
# @return [NetworkInterfaceProperties] The network interface properties.
|
93
|
+
attr_accessor :network_interface
|
94
|
+
|
95
|
+
# @return [ApplicableSchedule] The applicable schedule for the virtual
|
96
|
+
# machine.
|
97
|
+
attr_accessor :applicable_schedule
|
98
|
+
|
99
|
+
# @return [DateTime] The expiration date for VM.
|
100
|
+
attr_accessor :expiration_date
|
87
101
|
|
88
|
-
# @return [
|
89
|
-
|
102
|
+
# @return [Boolean] Indicates whether another user can take ownership of
|
103
|
+
# the virtual machine
|
104
|
+
attr_accessor :allow_claim
|
90
105
|
|
91
|
-
# @return [String]
|
92
|
-
|
106
|
+
# @return [String] Storage type to use for virtual machine (i.e.
|
107
|
+
# Standard, Premium).
|
108
|
+
attr_accessor :storage_type
|
93
109
|
|
94
|
-
# @return [
|
95
|
-
|
110
|
+
# @return [VirtualMachineCreationSource] Tells source of creation of lab
|
111
|
+
# virtual machine. Output property only. Possible values include:
|
112
|
+
# 'FromCustomImage', 'FromGalleryImage'
|
113
|
+
attr_accessor :virtual_machine_creation_source
|
96
114
|
|
97
|
-
# @return [String] The
|
98
|
-
|
115
|
+
# @return [String] The resource ID of the environment that contains this
|
116
|
+
# virtual machine, if any.
|
117
|
+
attr_accessor :environment_id
|
99
118
|
|
100
|
-
# @return [
|
101
|
-
attr_accessor :
|
119
|
+
# @return [String] The provisioning status of the resource.
|
120
|
+
attr_accessor :provisioning_state
|
121
|
+
|
122
|
+
# @return [String] The unique immutable identifier of a resource (Guid).
|
123
|
+
attr_accessor :unique_identifier
|
102
124
|
|
103
125
|
|
104
126
|
#
|
@@ -113,6 +135,51 @@ module Azure::ARM::DevTestLabs
|
|
113
135
|
name: 'Composite',
|
114
136
|
class_name: 'LabVirtualMachine',
|
115
137
|
model_properties: {
|
138
|
+
id: {
|
139
|
+
required: false,
|
140
|
+
read_only: true,
|
141
|
+
serialized_name: 'id',
|
142
|
+
type: {
|
143
|
+
name: 'String'
|
144
|
+
}
|
145
|
+
},
|
146
|
+
name: {
|
147
|
+
required: false,
|
148
|
+
read_only: true,
|
149
|
+
serialized_name: 'name',
|
150
|
+
type: {
|
151
|
+
name: 'String'
|
152
|
+
}
|
153
|
+
},
|
154
|
+
type: {
|
155
|
+
required: false,
|
156
|
+
read_only: true,
|
157
|
+
serialized_name: 'type',
|
158
|
+
type: {
|
159
|
+
name: 'String'
|
160
|
+
}
|
161
|
+
},
|
162
|
+
location: {
|
163
|
+
required: false,
|
164
|
+
serialized_name: 'location',
|
165
|
+
type: {
|
166
|
+
name: 'String'
|
167
|
+
}
|
168
|
+
},
|
169
|
+
tags: {
|
170
|
+
required: false,
|
171
|
+
serialized_name: 'tags',
|
172
|
+
type: {
|
173
|
+
name: 'Dictionary',
|
174
|
+
value: {
|
175
|
+
required: false,
|
176
|
+
serialized_name: 'StringElementType',
|
177
|
+
type: {
|
178
|
+
name: 'String'
|
179
|
+
}
|
180
|
+
}
|
181
|
+
}
|
182
|
+
},
|
116
183
|
notes: {
|
117
184
|
required: false,
|
118
185
|
serialized_name: 'properties.notes',
|
@@ -127,6 +194,13 @@ module Azure::ARM::DevTestLabs
|
|
127
194
|
name: 'String'
|
128
195
|
}
|
129
196
|
},
|
197
|
+
owner_user_principal_name: {
|
198
|
+
required: false,
|
199
|
+
serialized_name: 'properties.ownerUserPrincipalName',
|
200
|
+
type: {
|
201
|
+
name: 'String'
|
202
|
+
}
|
203
|
+
},
|
130
204
|
created_by_user_id: {
|
131
205
|
required: false,
|
132
206
|
serialized_name: 'properties.createdByUserId',
|
@@ -141,8 +215,16 @@ module Azure::ARM::DevTestLabs
|
|
141
215
|
name: 'String'
|
142
216
|
}
|
143
217
|
},
|
218
|
+
created_date: {
|
219
|
+
required: false,
|
220
|
+
serialized_name: 'properties.createdDate',
|
221
|
+
type: {
|
222
|
+
name: 'DateTime'
|
223
|
+
}
|
224
|
+
},
|
144
225
|
compute_id: {
|
145
226
|
required: false,
|
227
|
+
read_only: true,
|
146
228
|
serialized_name: 'properties.computeId',
|
147
229
|
type: {
|
148
230
|
name: 'String'
|
@@ -256,60 +338,77 @@ module Azure::ARM::DevTestLabs
|
|
256
338
|
class_name: 'GalleryImageReference'
|
257
339
|
}
|
258
340
|
},
|
259
|
-
|
341
|
+
compute_vm: {
|
260
342
|
required: false,
|
261
|
-
serialized_name: 'properties.
|
343
|
+
serialized_name: 'properties.computeVm',
|
262
344
|
type: {
|
263
|
-
name: '
|
345
|
+
name: 'Composite',
|
346
|
+
class_name: 'ComputeVmProperties'
|
264
347
|
}
|
265
348
|
},
|
266
|
-
|
349
|
+
network_interface: {
|
267
350
|
required: false,
|
268
|
-
serialized_name: 'properties.
|
351
|
+
serialized_name: 'properties.networkInterface',
|
269
352
|
type: {
|
270
|
-
name: '
|
353
|
+
name: 'Composite',
|
354
|
+
class_name: 'NetworkInterfaceProperties'
|
271
355
|
}
|
272
356
|
},
|
273
|
-
|
357
|
+
applicable_schedule: {
|
274
358
|
required: false,
|
275
|
-
serialized_name: '
|
359
|
+
serialized_name: 'properties.applicableSchedule',
|
360
|
+
type: {
|
361
|
+
name: 'Composite',
|
362
|
+
class_name: 'ApplicableSchedule'
|
363
|
+
}
|
364
|
+
},
|
365
|
+
expiration_date: {
|
366
|
+
required: false,
|
367
|
+
serialized_name: 'properties.expirationDate',
|
368
|
+
type: {
|
369
|
+
name: 'DateTime'
|
370
|
+
}
|
371
|
+
},
|
372
|
+
allow_claim: {
|
373
|
+
required: false,
|
374
|
+
serialized_name: 'properties.allowClaim',
|
375
|
+
type: {
|
376
|
+
name: 'Boolean'
|
377
|
+
}
|
378
|
+
},
|
379
|
+
storage_type: {
|
380
|
+
required: false,
|
381
|
+
serialized_name: 'properties.storageType',
|
276
382
|
type: {
|
277
383
|
name: 'String'
|
278
384
|
}
|
279
385
|
},
|
280
|
-
|
386
|
+
virtual_machine_creation_source: {
|
281
387
|
required: false,
|
282
|
-
serialized_name: '
|
388
|
+
serialized_name: 'properties.virtualMachineCreationSource',
|
283
389
|
type: {
|
284
390
|
name: 'String'
|
285
391
|
}
|
286
392
|
},
|
287
|
-
|
393
|
+
environment_id: {
|
288
394
|
required: false,
|
289
|
-
serialized_name: '
|
395
|
+
serialized_name: 'properties.environmentId',
|
290
396
|
type: {
|
291
397
|
name: 'String'
|
292
398
|
}
|
293
399
|
},
|
294
|
-
|
400
|
+
provisioning_state: {
|
295
401
|
required: false,
|
296
|
-
serialized_name: '
|
402
|
+
serialized_name: 'properties.provisioningState',
|
297
403
|
type: {
|
298
404
|
name: 'String'
|
299
405
|
}
|
300
406
|
},
|
301
|
-
|
407
|
+
unique_identifier: {
|
302
408
|
required: false,
|
303
|
-
serialized_name: '
|
409
|
+
serialized_name: 'properties.uniqueIdentifier',
|
304
410
|
type: {
|
305
|
-
name: '
|
306
|
-
value: {
|
307
|
-
required: false,
|
308
|
-
serialized_name: 'StringElementType',
|
309
|
-
type: {
|
310
|
-
name: 'String'
|
311
|
-
}
|
312
|
-
}
|
411
|
+
name: 'String'
|
313
412
|
}
|
314
413
|
}
|
315
414
|
}
|