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,105 @@
|
|
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
|
+
# Schedules applicable to a virtual machine. The schedules may have been
|
10
|
+
# defined on a VM or on lab level.
|
11
|
+
#
|
12
|
+
class ApplicableSchedule < MsRestAzure::Resource
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
include MsRest::JSONable
|
17
|
+
# @return [Schedule] The auto-shutdown schedule, if one has been set at
|
18
|
+
# the lab or lab resource level.
|
19
|
+
attr_accessor :lab_vms_shutdown
|
20
|
+
|
21
|
+
# @return [Schedule] The auto-startup schedule, if one has been set at
|
22
|
+
# the lab or lab resource level.
|
23
|
+
attr_accessor :lab_vms_startup
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for ApplicableSchedule class as Ruby Hash.
|
28
|
+
# This will be used for serialization/deserialization.
|
29
|
+
#
|
30
|
+
def self.mapper()
|
31
|
+
{
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'ApplicableSchedule',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'ApplicableSchedule',
|
37
|
+
model_properties: {
|
38
|
+
id: {
|
39
|
+
required: false,
|
40
|
+
read_only: true,
|
41
|
+
serialized_name: 'id',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
name: {
|
47
|
+
required: false,
|
48
|
+
read_only: true,
|
49
|
+
serialized_name: 'name',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
type: {
|
55
|
+
required: false,
|
56
|
+
read_only: true,
|
57
|
+
serialized_name: 'type',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
location: {
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'location',
|
65
|
+
type: {
|
66
|
+
name: 'String'
|
67
|
+
}
|
68
|
+
},
|
69
|
+
tags: {
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'tags',
|
72
|
+
type: {
|
73
|
+
name: 'Dictionary',
|
74
|
+
value: {
|
75
|
+
required: false,
|
76
|
+
serialized_name: 'StringElementType',
|
77
|
+
type: {
|
78
|
+
name: 'String'
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
},
|
83
|
+
lab_vms_shutdown: {
|
84
|
+
required: false,
|
85
|
+
serialized_name: 'properties.labVmsShutdown',
|
86
|
+
type: {
|
87
|
+
name: 'Composite',
|
88
|
+
class_name: 'Schedule'
|
89
|
+
}
|
90
|
+
},
|
91
|
+
lab_vms_startup: {
|
92
|
+
required: false,
|
93
|
+
serialized_name: 'properties.labVmsStartup',
|
94
|
+
type: {
|
95
|
+
name: 'Composite',
|
96
|
+
class_name: 'Schedule'
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}
|
102
|
+
end
|
103
|
+
end
|
104
|
+
end
|
105
|
+
end
|
@@ -0,0 +1,105 @@
|
|
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
|
+
# Schedules applicable to a virtual machine. The schedules may have been
|
10
|
+
# defined on a VM or on lab level.
|
11
|
+
#
|
12
|
+
class ApplicableScheduleFragment < MsRestAzure::Resource
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
include MsRest::JSONable
|
17
|
+
# @return [ScheduleFragment] The auto-shutdown schedule, if one has been
|
18
|
+
# set at the lab or lab resource level.
|
19
|
+
attr_accessor :lab_vms_shutdown
|
20
|
+
|
21
|
+
# @return [ScheduleFragment] The auto-startup schedule, if one has been
|
22
|
+
# set at the lab or lab resource level.
|
23
|
+
attr_accessor :lab_vms_startup
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for ApplicableScheduleFragment class as Ruby Hash.
|
28
|
+
# This will be used for serialization/deserialization.
|
29
|
+
#
|
30
|
+
def self.mapper()
|
31
|
+
{
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'ApplicableScheduleFragment',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'ApplicableScheduleFragment',
|
37
|
+
model_properties: {
|
38
|
+
id: {
|
39
|
+
required: false,
|
40
|
+
read_only: true,
|
41
|
+
serialized_name: 'id',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
name: {
|
47
|
+
required: false,
|
48
|
+
read_only: true,
|
49
|
+
serialized_name: 'name',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
type: {
|
55
|
+
required: false,
|
56
|
+
read_only: true,
|
57
|
+
serialized_name: 'type',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
location: {
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'location',
|
65
|
+
type: {
|
66
|
+
name: 'String'
|
67
|
+
}
|
68
|
+
},
|
69
|
+
tags: {
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'tags',
|
72
|
+
type: {
|
73
|
+
name: 'Dictionary',
|
74
|
+
value: {
|
75
|
+
required: false,
|
76
|
+
serialized_name: 'StringElementType',
|
77
|
+
type: {
|
78
|
+
name: 'String'
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
},
|
83
|
+
lab_vms_shutdown: {
|
84
|
+
required: false,
|
85
|
+
serialized_name: 'properties.labVmsShutdown',
|
86
|
+
type: {
|
87
|
+
name: 'Composite',
|
88
|
+
class_name: 'ScheduleFragment'
|
89
|
+
}
|
90
|
+
},
|
91
|
+
lab_vms_startup: {
|
92
|
+
required: false,
|
93
|
+
serialized_name: 'properties.labVmsStartup',
|
94
|
+
type: {
|
95
|
+
name: 'Composite',
|
96
|
+
class_name: 'ScheduleFragment'
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}
|
102
|
+
end
|
103
|
+
end
|
104
|
+
end
|
105
|
+
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
|
|
@@ -12,6 +12,7 @@ module Azure::ARM::DevTestLabs
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
+
include MsRest::JSONable
|
15
16
|
# @return [Array<ArtifactInstallProperties>] The list of artifacts to
|
16
17
|
# apply.
|
17
18
|
attr_accessor :artifacts
|
@@ -0,0 +1,167 @@
|
|
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
|
+
# An Azure Resource Manager template.
|
10
|
+
#
|
11
|
+
class ArmTemplate < MsRestAzure::Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [String] The display name of the ARM template.
|
17
|
+
attr_accessor :display_name
|
18
|
+
|
19
|
+
# @return [String] The description of the ARM template.
|
20
|
+
attr_accessor :description
|
21
|
+
|
22
|
+
# @return [String] The publisher of the ARM template.
|
23
|
+
attr_accessor :publisher
|
24
|
+
|
25
|
+
# @return [String] The URI to the icon of the ARM template.
|
26
|
+
attr_accessor :icon
|
27
|
+
|
28
|
+
# @return The contents of the ARM template.
|
29
|
+
attr_accessor :contents
|
30
|
+
|
31
|
+
# @return [DateTime] The creation date of the armTemplate.
|
32
|
+
attr_accessor :created_date
|
33
|
+
|
34
|
+
# @return [Array<ParametersValueFileInfo>] File name and parameter values
|
35
|
+
# information from all azuredeploy.*.parameters.json for the ARM
|
36
|
+
# template.
|
37
|
+
attr_accessor :parameters_value_files_info
|
38
|
+
|
39
|
+
|
40
|
+
#
|
41
|
+
# Mapper for ArmTemplate class as Ruby Hash.
|
42
|
+
# This will be used for serialization/deserialization.
|
43
|
+
#
|
44
|
+
def self.mapper()
|
45
|
+
{
|
46
|
+
required: false,
|
47
|
+
serialized_name: 'ArmTemplate',
|
48
|
+
type: {
|
49
|
+
name: 'Composite',
|
50
|
+
class_name: 'ArmTemplate',
|
51
|
+
model_properties: {
|
52
|
+
id: {
|
53
|
+
required: false,
|
54
|
+
read_only: true,
|
55
|
+
serialized_name: 'id',
|
56
|
+
type: {
|
57
|
+
name: 'String'
|
58
|
+
}
|
59
|
+
},
|
60
|
+
name: {
|
61
|
+
required: false,
|
62
|
+
read_only: true,
|
63
|
+
serialized_name: 'name',
|
64
|
+
type: {
|
65
|
+
name: 'String'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
type: {
|
69
|
+
required: false,
|
70
|
+
read_only: true,
|
71
|
+
serialized_name: 'type',
|
72
|
+
type: {
|
73
|
+
name: 'String'
|
74
|
+
}
|
75
|
+
},
|
76
|
+
location: {
|
77
|
+
required: false,
|
78
|
+
serialized_name: 'location',
|
79
|
+
type: {
|
80
|
+
name: 'String'
|
81
|
+
}
|
82
|
+
},
|
83
|
+
tags: {
|
84
|
+
required: false,
|
85
|
+
serialized_name: 'tags',
|
86
|
+
type: {
|
87
|
+
name: 'Dictionary',
|
88
|
+
value: {
|
89
|
+
required: false,
|
90
|
+
serialized_name: 'StringElementType',
|
91
|
+
type: {
|
92
|
+
name: 'String'
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
},
|
97
|
+
display_name: {
|
98
|
+
required: false,
|
99
|
+
read_only: true,
|
100
|
+
serialized_name: 'properties.displayName',
|
101
|
+
type: {
|
102
|
+
name: 'String'
|
103
|
+
}
|
104
|
+
},
|
105
|
+
description: {
|
106
|
+
required: false,
|
107
|
+
read_only: true,
|
108
|
+
serialized_name: 'properties.description',
|
109
|
+
type: {
|
110
|
+
name: 'String'
|
111
|
+
}
|
112
|
+
},
|
113
|
+
publisher: {
|
114
|
+
required: false,
|
115
|
+
read_only: true,
|
116
|
+
serialized_name: 'properties.publisher',
|
117
|
+
type: {
|
118
|
+
name: 'String'
|
119
|
+
}
|
120
|
+
},
|
121
|
+
icon: {
|
122
|
+
required: false,
|
123
|
+
read_only: true,
|
124
|
+
serialized_name: 'properties.icon',
|
125
|
+
type: {
|
126
|
+
name: 'String'
|
127
|
+
}
|
128
|
+
},
|
129
|
+
contents: {
|
130
|
+
required: false,
|
131
|
+
read_only: true,
|
132
|
+
serialized_name: 'properties.contents',
|
133
|
+
type: {
|
134
|
+
name: 'Object'
|
135
|
+
}
|
136
|
+
},
|
137
|
+
created_date: {
|
138
|
+
required: false,
|
139
|
+
read_only: true,
|
140
|
+
serialized_name: 'properties.createdDate',
|
141
|
+
type: {
|
142
|
+
name: 'DateTime'
|
143
|
+
}
|
144
|
+
},
|
145
|
+
parameters_value_files_info: {
|
146
|
+
required: false,
|
147
|
+
read_only: true,
|
148
|
+
serialized_name: 'properties.parametersValueFilesInfo',
|
149
|
+
type: {
|
150
|
+
name: 'Sequence',
|
151
|
+
element: {
|
152
|
+
required: false,
|
153
|
+
serialized_name: 'ParametersValueFileInfoElementType',
|
154
|
+
type: {
|
155
|
+
name: 'Composite',
|
156
|
+
class_name: 'ParametersValueFileInfo'
|
157
|
+
}
|
158
|
+
}
|
159
|
+
}
|
160
|
+
}
|
161
|
+
}
|
162
|
+
}
|
163
|
+
}
|
164
|
+
end
|
165
|
+
end
|
166
|
+
end
|
167
|
+
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
|
|
@@ -12,6 +12,7 @@ module Azure::ARM::DevTestLabs
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
+
include MsRest::JSONable
|
15
16
|
# @return The template's contents.
|
16
17
|
attr_accessor :template
|
17
18
|
|
@@ -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
|
+
# Properties of an Azure Resource Manager template parameter.
|
10
|
+
#
|
11
|
+
class ArmTemplateParameterProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [String] The name of the template parameter.
|
17
|
+
attr_accessor :name
|
18
|
+
|
19
|
+
# @return [String] The value of the template parameter.
|
20
|
+
attr_accessor :value
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for ArmTemplateParameterProperties class as Ruby Hash.
|
25
|
+
# This will be used for serialization/deserialization.
|
26
|
+
#
|
27
|
+
def self.mapper()
|
28
|
+
{
|
29
|
+
required: false,
|
30
|
+
serialized_name: 'ArmTemplateParameterProperties',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'ArmTemplateParameterProperties',
|
34
|
+
model_properties: {
|
35
|
+
name: {
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'name',
|
38
|
+
type: {
|
39
|
+
name: 'String'
|
40
|
+
}
|
41
|
+
},
|
42
|
+
value: {
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'value',
|
45
|
+
type: {
|
46
|
+
name: 'String'
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|