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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5fbc05871385bac3e3d03caa56c4f28af52709fe
|
4
|
+
data.tar.gz: 9973435293bd7aebcf0c929e26acd0981abeb82c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4b208b40c0221b6d83cbc406df152f58cf6cf2ecccdb989ff94c1ed7eabb1ef2c22e7cb195ffbd34cf8eeff7bcf8049fb3574ac76f61e9a5906e29e835d9460
|
7
|
+
data.tar.gz: 2c7fc0a90828ee23e01a075af23bb76745ba26dfed1ee7c0114650371c70648a6f203bc9c156fca2af30183fcbb031aeeee169d15d2f5bf57aa29d0af726bd41
|
@@ -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
|
|
@@ -20,84 +20,178 @@ require 'generated/azure_mgmt_devtestlabs/module_definition'
|
|
20
20
|
require 'ms_rest_azure'
|
21
21
|
|
22
22
|
module Azure::ARM::DevTestLabs
|
23
|
-
autoload :
|
24
|
-
autoload :
|
25
|
-
autoload :
|
26
|
-
autoload :
|
27
|
-
autoload :
|
28
|
-
autoload :
|
29
|
-
autoload :
|
30
|
-
autoload :
|
31
|
-
autoload :
|
32
|
-
autoload :
|
33
|
-
autoload :
|
34
|
-
autoload :
|
23
|
+
autoload :Labs, 'generated/azure_mgmt_devtestlabs/labs.rb'
|
24
|
+
autoload :GlobalSchedules, 'generated/azure_mgmt_devtestlabs/global_schedules.rb'
|
25
|
+
autoload :ArtifactSources, 'generated/azure_mgmt_devtestlabs/artifact_sources.rb'
|
26
|
+
autoload :ArmTemplates, 'generated/azure_mgmt_devtestlabs/arm_templates.rb'
|
27
|
+
autoload :Artifacts, 'generated/azure_mgmt_devtestlabs/artifacts.rb'
|
28
|
+
autoload :Costs, 'generated/azure_mgmt_devtestlabs/costs.rb'
|
29
|
+
autoload :CustomImages, 'generated/azure_mgmt_devtestlabs/custom_images.rb'
|
30
|
+
autoload :Formulas, 'generated/azure_mgmt_devtestlabs/formulas.rb'
|
31
|
+
autoload :GalleryImages, 'generated/azure_mgmt_devtestlabs/gallery_images.rb'
|
32
|
+
autoload :NotificationChannels, 'generated/azure_mgmt_devtestlabs/notification_channels.rb'
|
33
|
+
autoload :PolicySets, 'generated/azure_mgmt_devtestlabs/policy_sets.rb'
|
34
|
+
autoload :Policies, 'generated/azure_mgmt_devtestlabs/policies.rb'
|
35
|
+
autoload :Schedules, 'generated/azure_mgmt_devtestlabs/schedules.rb'
|
36
|
+
autoload :ServiceRunners, 'generated/azure_mgmt_devtestlabs/service_runners.rb'
|
37
|
+
autoload :Users, 'generated/azure_mgmt_devtestlabs/users.rb'
|
38
|
+
autoload :Disks, 'generated/azure_mgmt_devtestlabs/disks.rb'
|
39
|
+
autoload :Environments, 'generated/azure_mgmt_devtestlabs/environments.rb'
|
40
|
+
autoload :Secrets, 'generated/azure_mgmt_devtestlabs/secrets.rb'
|
41
|
+
autoload :VirtualMachines, 'generated/azure_mgmt_devtestlabs/virtual_machines.rb'
|
42
|
+
autoload :VirtualMachineSchedules, 'generated/azure_mgmt_devtestlabs/virtual_machine_schedules.rb'
|
43
|
+
autoload :VirtualNetworks, 'generated/azure_mgmt_devtestlabs/virtual_networks.rb'
|
35
44
|
autoload :DevTestLabsClient, 'generated/azure_mgmt_devtestlabs/dev_test_labs_client.rb'
|
36
45
|
|
37
46
|
module Models
|
38
|
-
autoload :
|
39
|
-
autoload :
|
40
|
-
autoload :
|
47
|
+
autoload :FormulaPropertiesFromVm, 'generated/azure_mgmt_devtestlabs/models/formula_properties_from_vm.rb'
|
48
|
+
autoload :WeekDetails, 'generated/azure_mgmt_devtestlabs/models/week_details.rb'
|
49
|
+
autoload :ExportResourceUsageParameters, 'generated/azure_mgmt_devtestlabs/models/export_resource_usage_parameters.rb'
|
50
|
+
autoload :ExternalSubnet, 'generated/azure_mgmt_devtestlabs/models/external_subnet.rb'
|
51
|
+
autoload :NotificationSettings, 'generated/azure_mgmt_devtestlabs/models/notification_settings.rb'
|
52
|
+
autoload :ExternalSubnetFragment, 'generated/azure_mgmt_devtestlabs/models/external_subnet_fragment.rb'
|
53
|
+
autoload :EvaluatePoliciesResponse, 'generated/azure_mgmt_devtestlabs/models/evaluate_policies_response.rb'
|
54
|
+
autoload :Event, 'generated/azure_mgmt_devtestlabs/models/event.rb'
|
55
|
+
autoload :DayDetailsFragment, 'generated/azure_mgmt_devtestlabs/models/day_details_fragment.rb'
|
56
|
+
autoload :EventFragment, 'generated/azure_mgmt_devtestlabs/models/event_fragment.rb'
|
57
|
+
autoload :NotificationSettingsFragment, 'generated/azure_mgmt_devtestlabs/models/notification_settings_fragment.rb'
|
58
|
+
autoload :HourDetails, 'generated/azure_mgmt_devtestlabs/models/hour_details.rb'
|
59
|
+
autoload :ResponseWithContinuationServiceRunner, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_service_runner.rb'
|
60
|
+
autoload :ArtifactParameterProperties, 'generated/azure_mgmt_devtestlabs/models/artifact_parameter_properties.rb'
|
61
|
+
autoload :ResponseWithContinuationLab, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab.rb'
|
62
|
+
autoload :ApplyArtifactsRequest, 'generated/azure_mgmt_devtestlabs/models/apply_artifacts_request.rb'
|
63
|
+
autoload :ResponseWithContinuationLabVhd, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab_vhd.rb'
|
64
|
+
autoload :UserSecretStore, 'generated/azure_mgmt_devtestlabs/models/user_secret_store.rb'
|
65
|
+
autoload :GalleryImageReference, 'generated/azure_mgmt_devtestlabs/models/gallery_image_reference.rb'
|
66
|
+
autoload :ArmTemplateParameterProperties, 'generated/azure_mgmt_devtestlabs/models/arm_template_parameter_properties.rb'
|
67
|
+
autoload :InboundNatRule, 'generated/azure_mgmt_devtestlabs/models/inbound_nat_rule.rb'
|
68
|
+
autoload :ArtifactDeploymentStatusProperties, 'generated/azure_mgmt_devtestlabs/models/artifact_deployment_status_properties.rb'
|
69
|
+
autoload :SharedPublicIpAddressConfiguration, 'generated/azure_mgmt_devtestlabs/models/shared_public_ip_address_configuration.rb'
|
70
|
+
autoload :ArtifactParameterPropertiesFragment, 'generated/azure_mgmt_devtestlabs/models/artifact_parameter_properties_fragment.rb'
|
71
|
+
autoload :NetworkInterfaceProperties, 'generated/azure_mgmt_devtestlabs/models/network_interface_properties.rb'
|
72
|
+
autoload :ResponseWithContinuationUser, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_user.rb'
|
73
|
+
autoload :LabVirtualMachineCreationParameter, 'generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_creation_parameter.rb'
|
74
|
+
autoload :AttachDiskProperties, 'generated/azure_mgmt_devtestlabs/models/attach_disk_properties.rb'
|
75
|
+
autoload :DayDetails, 'generated/azure_mgmt_devtestlabs/models/day_details.rb'
|
76
|
+
autoload :BulkCreationParameters, 'generated/azure_mgmt_devtestlabs/models/bulk_creation_parameters.rb'
|
77
|
+
autoload :UserSecretStoreFragment, 'generated/azure_mgmt_devtestlabs/models/user_secret_store_fragment.rb'
|
78
|
+
autoload :UserIdentityFragment, 'generated/azure_mgmt_devtestlabs/models/user_identity_fragment.rb'
|
79
|
+
autoload :ComputeDataDiskFragment, 'generated/azure_mgmt_devtestlabs/models/compute_data_disk_fragment.rb'
|
80
|
+
autoload :GalleryImageReferenceFragment, 'generated/azure_mgmt_devtestlabs/models/gallery_image_reference_fragment.rb'
|
81
|
+
autoload :ComputeVmInstanceViewStatusFragment, 'generated/azure_mgmt_devtestlabs/models/compute_vm_instance_view_status_fragment.rb'
|
41
82
|
autoload :ParameterInfo, 'generated/azure_mgmt_devtestlabs/models/parameter_info.rb'
|
42
|
-
autoload :
|
83
|
+
autoload :ComputeVmPropertiesFragment, 'generated/azure_mgmt_devtestlabs/models/compute_vm_properties_fragment.rb'
|
43
84
|
autoload :GenerateArmTemplateRequest, 'generated/azure_mgmt_devtestlabs/models/generate_arm_template_request.rb'
|
44
|
-
autoload :
|
85
|
+
autoload :CostThresholdProperties, 'generated/azure_mgmt_devtestlabs/models/cost_threshold_properties.rb'
|
45
86
|
autoload :GenerateUploadUriParameter, 'generated/azure_mgmt_devtestlabs/models/generate_upload_uri_parameter.rb'
|
46
|
-
autoload :GenerateUploadUriResponse, 'generated/azure_mgmt_devtestlabs/models/generate_upload_uri_response.rb'
|
47
|
-
autoload :CostPerDayProperties, 'generated/azure_mgmt_devtestlabs/models/cost_per_day_properties.rb'
|
48
|
-
autoload :HourDetails, 'generated/azure_mgmt_devtestlabs/models/hour_details.rb'
|
49
|
-
autoload :Cost, 'generated/azure_mgmt_devtestlabs/models/cost.rb'
|
50
|
-
autoload :Lab, 'generated/azure_mgmt_devtestlabs/models/lab.rb'
|
51
87
|
autoload :LinuxOsInfo, 'generated/azure_mgmt_devtestlabs/models/linux_os_info.rb'
|
52
|
-
autoload :
|
88
|
+
autoload :GenerateUploadUriResponse, 'generated/azure_mgmt_devtestlabs/models/generate_upload_uri_response.rb'
|
53
89
|
autoload :CustomImagePropertiesCustom, 'generated/azure_mgmt_devtestlabs/models/custom_image_properties_custom.rb'
|
54
|
-
autoload :
|
55
|
-
autoload :
|
56
|
-
autoload :
|
90
|
+
autoload :IdentityProperties, 'generated/azure_mgmt_devtestlabs/models/identity_properties.rb'
|
91
|
+
autoload :DataDiskProperties, 'generated/azure_mgmt_devtestlabs/models/data_disk_properties.rb'
|
92
|
+
autoload :InboundNatRuleFragment, 'generated/azure_mgmt_devtestlabs/models/inbound_nat_rule_fragment.rb'
|
93
|
+
autoload :DetachDiskProperties, 'generated/azure_mgmt_devtestlabs/models/detach_disk_properties.rb'
|
94
|
+
autoload :SubnetOverrideFragment, 'generated/azure_mgmt_devtestlabs/models/subnet_override_fragment.rb'
|
95
|
+
autoload :EnvironmentDeploymentProperties, 'generated/azure_mgmt_devtestlabs/models/environment_deployment_properties.rb'
|
96
|
+
autoload :TargetCostProperties, 'generated/azure_mgmt_devtestlabs/models/target_cost_properties.rb'
|
97
|
+
autoload :EvaluatePoliciesProperties, 'generated/azure_mgmt_devtestlabs/models/evaluate_policies_properties.rb'
|
98
|
+
autoload :LabCostSummaryProperties, 'generated/azure_mgmt_devtestlabs/models/lab_cost_summary_properties.rb'
|
99
|
+
autoload :PolicyViolation, 'generated/azure_mgmt_devtestlabs/models/policy_violation.rb'
|
100
|
+
autoload :LabCostDetailsProperties, 'generated/azure_mgmt_devtestlabs/models/lab_cost_details_properties.rb'
|
101
|
+
autoload :WeekDetailsFragment, 'generated/azure_mgmt_devtestlabs/models/week_details_fragment.rb'
|
102
|
+
autoload :LabResourceCostProperties, 'generated/azure_mgmt_devtestlabs/models/lab_resource_cost_properties.rb'
|
103
|
+
autoload :UserIdentity, 'generated/azure_mgmt_devtestlabs/models/user_identity.rb'
|
104
|
+
autoload :SubnetSharedPublicIpAddressConfigurationFragment, 'generated/azure_mgmt_devtestlabs/models/subnet_shared_public_ip_address_configuration_fragment.rb'
|
105
|
+
autoload :ParametersValueFileInfo, 'generated/azure_mgmt_devtestlabs/models/parameters_value_file_info.rb'
|
106
|
+
autoload :SubnetFragment, 'generated/azure_mgmt_devtestlabs/models/subnet_fragment.rb'
|
107
|
+
autoload :ResponseWithContinuationSecret, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_secret.rb'
|
108
|
+
autoload :LabVhd, 'generated/azure_mgmt_devtestlabs/models/lab_vhd.rb'
|
109
|
+
autoload :ArtifactInstallPropertiesFragment, 'generated/azure_mgmt_devtestlabs/models/artifact_install_properties_fragment.rb'
|
110
|
+
autoload :ShutdownNotificationContent, 'generated/azure_mgmt_devtestlabs/models/shutdown_notification_content.rb'
|
111
|
+
autoload :AttachNewDataDiskOptions, 'generated/azure_mgmt_devtestlabs/models/attach_new_data_disk_options.rb'
|
112
|
+
autoload :SharedPublicIpAddressConfigurationFragment, 'generated/azure_mgmt_devtestlabs/models/shared_public_ip_address_configuration_fragment.rb'
|
113
|
+
autoload :ComputeDataDisk, 'generated/azure_mgmt_devtestlabs/models/compute_data_disk.rb'
|
114
|
+
autoload :NetworkInterfacePropertiesFragment, 'generated/azure_mgmt_devtestlabs/models/network_interface_properties_fragment.rb'
|
115
|
+
autoload :ComputeVmProperties, 'generated/azure_mgmt_devtestlabs/models/compute_vm_properties.rb'
|
116
|
+
autoload :RetargetScheduleProperties, 'generated/azure_mgmt_devtestlabs/models/retarget_schedule_properties.rb'
|
117
|
+
autoload :WindowsOsInfo, 'generated/azure_mgmt_devtestlabs/models/windows_os_info.rb'
|
118
|
+
autoload :ResponseWithContinuationVirtualNetwork, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_virtual_network.rb'
|
119
|
+
autoload :ResponseWithContinuationPolicy, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_policy.rb'
|
120
|
+
autoload :SubnetOverride, 'generated/azure_mgmt_devtestlabs/models/subnet_override.rb'
|
121
|
+
autoload :ResponseWithContinuationNotificationChannel, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_notification_channel.rb'
|
122
|
+
autoload :NotifyParameters, 'generated/azure_mgmt_devtestlabs/models/notify_parameters.rb'
|
57
123
|
autoload :EvaluatePoliciesRequest, 'generated/azure_mgmt_devtestlabs/models/evaluate_policies_request.rb'
|
124
|
+
autoload :SubnetSharedPublicIpAddressConfiguration, 'generated/azure_mgmt_devtestlabs/models/subnet_shared_public_ip_address_configuration.rb'
|
125
|
+
autoload :HourDetailsFragment, 'generated/azure_mgmt_devtestlabs/models/hour_details_fragment.rb'
|
126
|
+
autoload :Subnet, 'generated/azure_mgmt_devtestlabs/models/subnet.rb'
|
127
|
+
autoload :ArmTemplateInfo, 'generated/azure_mgmt_devtestlabs/models/arm_template_info.rb'
|
128
|
+
autoload :Port, 'generated/azure_mgmt_devtestlabs/models/port.rb'
|
129
|
+
autoload :ResponseWithContinuationSchedule, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_schedule.rb'
|
130
|
+
autoload :PortFragment, 'generated/azure_mgmt_devtestlabs/models/port_fragment.rb'
|
131
|
+
autoload :ComputeVmInstanceViewStatus, 'generated/azure_mgmt_devtestlabs/models/compute_vm_instance_view_status.rb'
|
132
|
+
autoload :CustomImagePropertiesFromVm, 'generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_vm.rb'
|
133
|
+
autoload :ResponseWithContinuationArmTemplate, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_arm_template.rb'
|
134
|
+
autoload :ResponseWithContinuationLabVirtualMachine, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab_virtual_machine.rb'
|
135
|
+
autoload :ResponseWithContinuationArtifact, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_artifact.rb'
|
136
|
+
autoload :ArtifactInstallProperties, 'generated/azure_mgmt_devtestlabs/models/artifact_install_properties.rb'
|
58
137
|
autoload :ResponseWithContinuationArtifactSource, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_artifact_source.rb'
|
59
|
-
autoload :PolicySetResult, 'generated/azure_mgmt_devtestlabs/models/policy_set_result.rb'
|
60
138
|
autoload :ResponseWithContinuationCustomImage, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_custom_image.rb'
|
61
|
-
autoload :
|
139
|
+
autoload :DetachDataDiskProperties, 'generated/azure_mgmt_devtestlabs/models/detach_data_disk_properties.rb'
|
140
|
+
autoload :ResponseWithContinuationDisk, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_disk.rb'
|
141
|
+
autoload :ArtifactDeploymentStatusPropertiesFragment, 'generated/azure_mgmt_devtestlabs/models/artifact_deployment_status_properties_fragment.rb'
|
142
|
+
autoload :ResponseWithContinuationDtlEnvironment, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_dtl_environment.rb'
|
143
|
+
autoload :PolicySetResult, 'generated/azure_mgmt_devtestlabs/models/policy_set_result.rb'
|
62
144
|
autoload :ResponseWithContinuationFormula, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_formula.rb'
|
63
|
-
autoload :
|
145
|
+
autoload :PercentageCostThresholdProperties, 'generated/azure_mgmt_devtestlabs/models/percentage_cost_threshold_properties.rb'
|
64
146
|
autoload :ResponseWithContinuationGalleryImage, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_gallery_image.rb'
|
65
|
-
autoload :ApplyArtifactsRequest, 'generated/azure_mgmt_devtestlabs/models/apply_artifacts_request.rb'
|
66
|
-
autoload :ResponseWithContinuationLab, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab.rb'
|
67
|
-
autoload :ArtifactSource, 'generated/azure_mgmt_devtestlabs/models/artifact_source.rb'
|
68
|
-
autoload :ResponseWithContinuationLabVhd, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab_vhd.rb'
|
69
|
-
autoload :ResourceCostProperties, 'generated/azure_mgmt_devtestlabs/models/resource_cost_properties.rb'
|
70
|
-
autoload :ResponseWithContinuationLabVirtualMachine, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab_virtual_machine.rb'
|
71
|
-
autoload :CustomImagePropertiesFromVm, 'generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_vm.rb'
|
72
|
-
autoload :ResponseWithContinuationPolicy, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_policy.rb'
|
73
|
-
autoload :EvaluatePoliciesProperties, 'generated/azure_mgmt_devtestlabs/models/evaluate_policies_properties.rb'
|
74
|
-
autoload :WeekDetails, 'generated/azure_mgmt_devtestlabs/models/week_details.rb'
|
75
|
-
autoload :EvaluatePoliciesResponse, 'generated/azure_mgmt_devtestlabs/models/evaluate_policies_response.rb'
|
76
147
|
autoload :Schedule, 'generated/azure_mgmt_devtestlabs/models/schedule.rb'
|
77
|
-
autoload :
|
78
|
-
autoload :
|
79
|
-
autoload :
|
148
|
+
autoload :ApplicableSchedule, 'generated/azure_mgmt_devtestlabs/models/applicable_schedule.rb'
|
149
|
+
autoload :ScheduleFragment, 'generated/azure_mgmt_devtestlabs/models/schedule_fragment.rb'
|
150
|
+
autoload :ApplicableScheduleFragment, 'generated/azure_mgmt_devtestlabs/models/applicable_schedule_fragment.rb'
|
151
|
+
autoload :ArmTemplate, 'generated/azure_mgmt_devtestlabs/models/arm_template.rb'
|
152
|
+
autoload :Artifact, 'generated/azure_mgmt_devtestlabs/models/artifact.rb'
|
153
|
+
autoload :ArtifactSource, 'generated/azure_mgmt_devtestlabs/models/artifact_source.rb'
|
154
|
+
autoload :ArtifactSourceFragment, 'generated/azure_mgmt_devtestlabs/models/artifact_source_fragment.rb'
|
80
155
|
autoload :CustomImage, 'generated/azure_mgmt_devtestlabs/models/custom_image.rb'
|
81
|
-
autoload :
|
156
|
+
autoload :Disk, 'generated/azure_mgmt_devtestlabs/models/disk.rb'
|
157
|
+
autoload :DtlEnvironment, 'generated/azure_mgmt_devtestlabs/models/dtl_environment.rb'
|
158
|
+
autoload :Formula, 'generated/azure_mgmt_devtestlabs/models/formula.rb'
|
159
|
+
autoload :GalleryImage, 'generated/azure_mgmt_devtestlabs/models/gallery_image.rb'
|
160
|
+
autoload :Lab, 'generated/azure_mgmt_devtestlabs/models/lab.rb'
|
161
|
+
autoload :LabCost, 'generated/azure_mgmt_devtestlabs/models/lab_cost.rb'
|
162
|
+
autoload :LabFragment, 'generated/azure_mgmt_devtestlabs/models/lab_fragment.rb'
|
82
163
|
autoload :LabVirtualMachine, 'generated/azure_mgmt_devtestlabs/models/lab_virtual_machine.rb'
|
164
|
+
autoload :LabVirtualMachineFragment, 'generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_fragment.rb'
|
165
|
+
autoload :NotificationChannel, 'generated/azure_mgmt_devtestlabs/models/notification_channel.rb'
|
166
|
+
autoload :NotificationChannelFragment, 'generated/azure_mgmt_devtestlabs/models/notification_channel_fragment.rb'
|
167
|
+
autoload :Policy, 'generated/azure_mgmt_devtestlabs/models/policy.rb'
|
168
|
+
autoload :PolicyFragment, 'generated/azure_mgmt_devtestlabs/models/policy_fragment.rb'
|
169
|
+
autoload :Secret, 'generated/azure_mgmt_devtestlabs/models/secret.rb'
|
170
|
+
autoload :ServiceRunner, 'generated/azure_mgmt_devtestlabs/models/service_runner.rb'
|
171
|
+
autoload :User, 'generated/azure_mgmt_devtestlabs/models/user.rb'
|
83
172
|
autoload :VirtualNetwork, 'generated/azure_mgmt_devtestlabs/models/virtual_network.rb'
|
84
|
-
autoload :
|
85
|
-
autoload :
|
86
|
-
autoload :Artifact, 'generated/azure_mgmt_devtestlabs/models/artifact.rb'
|
87
|
-
autoload :SubscriptionNotificationProperties, 'generated/azure_mgmt_devtestlabs/models/subscription_notification_properties.rb'
|
88
|
-
autoload :PolicyViolation, 'generated/azure_mgmt_devtestlabs/models/policy_violation.rb'
|
89
|
-
autoload :SubscriptionNotification, 'generated/azure_mgmt_devtestlabs/models/subscription_notification.rb'
|
90
|
-
autoload :SourceControlType, 'generated/azure_mgmt_devtestlabs/models/source_control_type.rb'
|
173
|
+
autoload :UserFragment, 'generated/azure_mgmt_devtestlabs/models/user_fragment.rb'
|
174
|
+
autoload :VirtualNetworkFragment, 'generated/azure_mgmt_devtestlabs/models/virtual_network_fragment.rb'
|
91
175
|
autoload :EnableStatus, 'generated/azure_mgmt_devtestlabs/models/enable_status.rb'
|
92
|
-
autoload :
|
176
|
+
autoload :NotificationStatus, 'generated/azure_mgmt_devtestlabs/models/notification_status.rb'
|
177
|
+
autoload :SourceControlType, 'generated/azure_mgmt_devtestlabs/models/source_control_type.rb'
|
178
|
+
autoload :StorageType, 'generated/azure_mgmt_devtestlabs/models/storage_type.rb'
|
179
|
+
autoload :CostThresholdStatus, 'generated/azure_mgmt_devtestlabs/models/cost_threshold_status.rb'
|
93
180
|
autoload :WindowsOsState, 'generated/azure_mgmt_devtestlabs/models/windows_os_state.rb'
|
94
181
|
autoload :LinuxOsState, 'generated/azure_mgmt_devtestlabs/models/linux_os_state.rb'
|
95
182
|
autoload :CustomImageOsType, 'generated/azure_mgmt_devtestlabs/models/custom_image_os_type.rb'
|
96
|
-
autoload :
|
183
|
+
autoload :HostCachingOptions, 'generated/azure_mgmt_devtestlabs/models/host_caching_options.rb'
|
184
|
+
autoload :NotificationChannelEventType, 'generated/azure_mgmt_devtestlabs/models/notification_channel_event_type.rb'
|
185
|
+
autoload :TransportProtocol, 'generated/azure_mgmt_devtestlabs/models/transport_protocol.rb'
|
186
|
+
autoload :VirtualMachineCreationSource, 'generated/azure_mgmt_devtestlabs/models/virtual_machine_creation_source.rb'
|
187
|
+
autoload :FileUploadOptions, 'generated/azure_mgmt_devtestlabs/models/file_upload_options.rb'
|
188
|
+
autoload :PremiumDataDisk, 'generated/azure_mgmt_devtestlabs/models/premium_data_disk.rb'
|
189
|
+
autoload :TargetCostStatus, 'generated/azure_mgmt_devtestlabs/models/target_cost_status.rb'
|
190
|
+
autoload :ReportingCycleType, 'generated/azure_mgmt_devtestlabs/models/reporting_cycle_type.rb'
|
191
|
+
autoload :CostType, 'generated/azure_mgmt_devtestlabs/models/cost_type.rb'
|
97
192
|
autoload :PolicyStatus, 'generated/azure_mgmt_devtestlabs/models/policy_status.rb'
|
98
193
|
autoload :PolicyFactName, 'generated/azure_mgmt_devtestlabs/models/policy_fact_name.rb'
|
99
194
|
autoload :PolicyEvaluatorType, 'generated/azure_mgmt_devtestlabs/models/policy_evaluator_type.rb'
|
100
195
|
autoload :UsagePermissionType, 'generated/azure_mgmt_devtestlabs/models/usage_permission_type.rb'
|
101
|
-
autoload :SubscriptionNotificationState, 'generated/azure_mgmt_devtestlabs/models/subscription_notification_state.rb'
|
102
196
|
end
|
103
197
|
end
|
@@ -0,0 +1,363 @@
|
|
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
|
+
#
|
8
|
+
# The DevTest Labs Client.
|
9
|
+
#
|
10
|
+
class ArmTemplates
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the ArmTemplates class.
|
15
|
+
# @param client service class for accessing basic functionality.
|
16
|
+
#
|
17
|
+
def initialize(client)
|
18
|
+
@client = client
|
19
|
+
end
|
20
|
+
|
21
|
+
# @return [DevTestLabsClient] reference to the DevTestLabsClient
|
22
|
+
attr_reader :client
|
23
|
+
|
24
|
+
#
|
25
|
+
# List azure resource manager templates in a given artifact source.
|
26
|
+
#
|
27
|
+
# @param resource_group_name [String] The name of the resource group.
|
28
|
+
# @param lab_name [String] The name of the lab.
|
29
|
+
# @param artifact_source_name [String] The name of the artifact source.
|
30
|
+
# @param expand [String] Specify the $expand query. Example:
|
31
|
+
# 'properties($select=displayName)'
|
32
|
+
# @param filter [String] The filter to apply to the operation.
|
33
|
+
# @param top [Integer] The maximum number of resources to return from the
|
34
|
+
# operation.
|
35
|
+
# @param orderby [String] The ordering expression for the results, using OData
|
36
|
+
# notation.
|
37
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
38
|
+
# will be added to the HTTP request.
|
39
|
+
#
|
40
|
+
# @return [Array<ArmTemplate>] operation results.
|
41
|
+
#
|
42
|
+
def list(resource_group_name, lab_name, artifact_source_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil)
|
43
|
+
first_page = list_as_lazy(resource_group_name, lab_name, artifact_source_name, expand, filter, top, orderby, custom_headers)
|
44
|
+
first_page.get_all_items
|
45
|
+
end
|
46
|
+
|
47
|
+
#
|
48
|
+
# List azure resource manager templates in a given artifact source.
|
49
|
+
#
|
50
|
+
# @param resource_group_name [String] The name of the resource group.
|
51
|
+
# @param lab_name [String] The name of the lab.
|
52
|
+
# @param artifact_source_name [String] The name of the artifact source.
|
53
|
+
# @param expand [String] Specify the $expand query. Example:
|
54
|
+
# 'properties($select=displayName)'
|
55
|
+
# @param filter [String] The filter to apply to the operation.
|
56
|
+
# @param top [Integer] The maximum number of resources to return from the
|
57
|
+
# operation.
|
58
|
+
# @param orderby [String] The ordering expression for the results, using OData
|
59
|
+
# notation.
|
60
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
61
|
+
# will be added to the HTTP request.
|
62
|
+
#
|
63
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
64
|
+
#
|
65
|
+
def list_with_http_info(resource_group_name, lab_name, artifact_source_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil)
|
66
|
+
list_async(resource_group_name, lab_name, artifact_source_name, expand, filter, top, orderby, custom_headers).value!
|
67
|
+
end
|
68
|
+
|
69
|
+
#
|
70
|
+
# List azure resource manager templates in a given artifact source.
|
71
|
+
#
|
72
|
+
# @param resource_group_name [String] The name of the resource group.
|
73
|
+
# @param lab_name [String] The name of the lab.
|
74
|
+
# @param artifact_source_name [String] The name of the artifact source.
|
75
|
+
# @param expand [String] Specify the $expand query. Example:
|
76
|
+
# 'properties($select=displayName)'
|
77
|
+
# @param filter [String] The filter to apply to the operation.
|
78
|
+
# @param top [Integer] The maximum number of resources to return from the
|
79
|
+
# operation.
|
80
|
+
# @param orderby [String] The ordering expression for the results, using OData
|
81
|
+
# notation.
|
82
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
83
|
+
# to the HTTP request.
|
84
|
+
#
|
85
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
86
|
+
#
|
87
|
+
def list_async(resource_group_name, lab_name, artifact_source_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil)
|
88
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
89
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
90
|
+
fail ArgumentError, 'lab_name is nil' if lab_name.nil?
|
91
|
+
fail ArgumentError, 'artifact_source_name is nil' if artifact_source_name.nil?
|
92
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
93
|
+
|
94
|
+
|
95
|
+
request_headers = {}
|
96
|
+
|
97
|
+
# Set Headers
|
98
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
99
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
100
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}/armtemplates'
|
101
|
+
|
102
|
+
request_url = @base_url || @client.base_url
|
103
|
+
|
104
|
+
options = {
|
105
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
106
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'labName' => lab_name,'artifactSourceName' => artifact_source_name},
|
107
|
+
query_params: {'$expand' => expand,'$filter' => filter,'$top' => top,'$orderby' => orderby,'api-version' => @client.api_version},
|
108
|
+
headers: request_headers.merge(custom_headers || {}),
|
109
|
+
base_url: request_url
|
110
|
+
}
|
111
|
+
promise = @client.make_request_async(:get, path_template, options)
|
112
|
+
|
113
|
+
promise = promise.then do |result|
|
114
|
+
http_response = result.response
|
115
|
+
status_code = http_response.status
|
116
|
+
response_content = http_response.body
|
117
|
+
unless status_code == 200
|
118
|
+
error_model = JSON.load(response_content)
|
119
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
120
|
+
end
|
121
|
+
|
122
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
123
|
+
# Deserialize Response
|
124
|
+
if status_code == 200
|
125
|
+
begin
|
126
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
127
|
+
result_mapper = Azure::ARM::DevTestLabs::Models::ResponseWithContinuationArmTemplate.mapper()
|
128
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
129
|
+
rescue Exception => e
|
130
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
131
|
+
end
|
132
|
+
end
|
133
|
+
|
134
|
+
result
|
135
|
+
end
|
136
|
+
|
137
|
+
promise.execute
|
138
|
+
end
|
139
|
+
|
140
|
+
#
|
141
|
+
# Get azure resource manager template.
|
142
|
+
#
|
143
|
+
# @param resource_group_name [String] The name of the resource group.
|
144
|
+
# @param lab_name [String] The name of the lab.
|
145
|
+
# @param artifact_source_name [String] The name of the artifact source.
|
146
|
+
# @param name [String] The name of the azure Resource Manager template.
|
147
|
+
# @param expand [String] Specify the $expand query. Example:
|
148
|
+
# 'properties($select=displayName)'
|
149
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
150
|
+
# will be added to the HTTP request.
|
151
|
+
#
|
152
|
+
# @return [ArmTemplate] operation results.
|
153
|
+
#
|
154
|
+
def get(resource_group_name, lab_name, artifact_source_name, name, expand = nil, custom_headers = nil)
|
155
|
+
response = get_async(resource_group_name, lab_name, artifact_source_name, name, expand, custom_headers).value!
|
156
|
+
response.body unless response.nil?
|
157
|
+
end
|
158
|
+
|
159
|
+
#
|
160
|
+
# Get azure resource manager template.
|
161
|
+
#
|
162
|
+
# @param resource_group_name [String] The name of the resource group.
|
163
|
+
# @param lab_name [String] The name of the lab.
|
164
|
+
# @param artifact_source_name [String] The name of the artifact source.
|
165
|
+
# @param name [String] The name of the azure Resource Manager template.
|
166
|
+
# @param expand [String] Specify the $expand query. Example:
|
167
|
+
# 'properties($select=displayName)'
|
168
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
169
|
+
# will be added to the HTTP request.
|
170
|
+
#
|
171
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
172
|
+
#
|
173
|
+
def get_with_http_info(resource_group_name, lab_name, artifact_source_name, name, expand = nil, custom_headers = nil)
|
174
|
+
get_async(resource_group_name, lab_name, artifact_source_name, name, expand, custom_headers).value!
|
175
|
+
end
|
176
|
+
|
177
|
+
#
|
178
|
+
# Get azure resource manager template.
|
179
|
+
#
|
180
|
+
# @param resource_group_name [String] The name of the resource group.
|
181
|
+
# @param lab_name [String] The name of the lab.
|
182
|
+
# @param artifact_source_name [String] The name of the artifact source.
|
183
|
+
# @param name [String] The name of the azure Resource Manager template.
|
184
|
+
# @param expand [String] Specify the $expand query. Example:
|
185
|
+
# 'properties($select=displayName)'
|
186
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
187
|
+
# to the HTTP request.
|
188
|
+
#
|
189
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
190
|
+
#
|
191
|
+
def get_async(resource_group_name, lab_name, artifact_source_name, name, expand = nil, custom_headers = nil)
|
192
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
193
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
194
|
+
fail ArgumentError, 'lab_name is nil' if lab_name.nil?
|
195
|
+
fail ArgumentError, 'artifact_source_name is nil' if artifact_source_name.nil?
|
196
|
+
fail ArgumentError, 'name is nil' if name.nil?
|
197
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
198
|
+
|
199
|
+
|
200
|
+
request_headers = {}
|
201
|
+
|
202
|
+
# Set Headers
|
203
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
204
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
205
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}/armtemplates/{name}'
|
206
|
+
|
207
|
+
request_url = @base_url || @client.base_url
|
208
|
+
|
209
|
+
options = {
|
210
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
211
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'labName' => lab_name,'artifactSourceName' => artifact_source_name,'name' => name},
|
212
|
+
query_params: {'$expand' => expand,'api-version' => @client.api_version},
|
213
|
+
headers: request_headers.merge(custom_headers || {}),
|
214
|
+
base_url: request_url
|
215
|
+
}
|
216
|
+
promise = @client.make_request_async(:get, path_template, options)
|
217
|
+
|
218
|
+
promise = promise.then do |result|
|
219
|
+
http_response = result.response
|
220
|
+
status_code = http_response.status
|
221
|
+
response_content = http_response.body
|
222
|
+
unless status_code == 200
|
223
|
+
error_model = JSON.load(response_content)
|
224
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
225
|
+
end
|
226
|
+
|
227
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
228
|
+
# Deserialize Response
|
229
|
+
if status_code == 200
|
230
|
+
begin
|
231
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
232
|
+
result_mapper = Azure::ARM::DevTestLabs::Models::ArmTemplate.mapper()
|
233
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
234
|
+
rescue Exception => e
|
235
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
236
|
+
end
|
237
|
+
end
|
238
|
+
|
239
|
+
result
|
240
|
+
end
|
241
|
+
|
242
|
+
promise.execute
|
243
|
+
end
|
244
|
+
|
245
|
+
#
|
246
|
+
# List azure resource manager templates in a given artifact source.
|
247
|
+
#
|
248
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
249
|
+
# to List operation.
|
250
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
251
|
+
# will be added to the HTTP request.
|
252
|
+
#
|
253
|
+
# @return [ResponseWithContinuationArmTemplate] operation results.
|
254
|
+
#
|
255
|
+
def list_next(next_page_link, custom_headers = nil)
|
256
|
+
response = list_next_async(next_page_link, custom_headers).value!
|
257
|
+
response.body unless response.nil?
|
258
|
+
end
|
259
|
+
|
260
|
+
#
|
261
|
+
# List azure resource manager templates in a given artifact source.
|
262
|
+
#
|
263
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
264
|
+
# to List operation.
|
265
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
266
|
+
# will be added to the HTTP request.
|
267
|
+
#
|
268
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
269
|
+
#
|
270
|
+
def list_next_with_http_info(next_page_link, custom_headers = nil)
|
271
|
+
list_next_async(next_page_link, custom_headers).value!
|
272
|
+
end
|
273
|
+
|
274
|
+
#
|
275
|
+
# List azure resource manager templates in a given artifact source.
|
276
|
+
#
|
277
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
278
|
+
# to List operation.
|
279
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
280
|
+
# to the HTTP request.
|
281
|
+
#
|
282
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
283
|
+
#
|
284
|
+
def list_next_async(next_page_link, custom_headers = nil)
|
285
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
286
|
+
|
287
|
+
|
288
|
+
request_headers = {}
|
289
|
+
|
290
|
+
# Set Headers
|
291
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
292
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
293
|
+
path_template = '{nextLink}'
|
294
|
+
|
295
|
+
request_url = @base_url || @client.base_url
|
296
|
+
|
297
|
+
options = {
|
298
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
299
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
300
|
+
headers: request_headers.merge(custom_headers || {}),
|
301
|
+
base_url: request_url
|
302
|
+
}
|
303
|
+
promise = @client.make_request_async(:get, path_template, options)
|
304
|
+
|
305
|
+
promise = promise.then do |result|
|
306
|
+
http_response = result.response
|
307
|
+
status_code = http_response.status
|
308
|
+
response_content = http_response.body
|
309
|
+
unless status_code == 200
|
310
|
+
error_model = JSON.load(response_content)
|
311
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
312
|
+
end
|
313
|
+
|
314
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
315
|
+
# Deserialize Response
|
316
|
+
if status_code == 200
|
317
|
+
begin
|
318
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
319
|
+
result_mapper = Azure::ARM::DevTestLabs::Models::ResponseWithContinuationArmTemplate.mapper()
|
320
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
321
|
+
rescue Exception => e
|
322
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
323
|
+
end
|
324
|
+
end
|
325
|
+
|
326
|
+
result
|
327
|
+
end
|
328
|
+
|
329
|
+
promise.execute
|
330
|
+
end
|
331
|
+
|
332
|
+
#
|
333
|
+
# List azure resource manager templates in a given artifact source.
|
334
|
+
#
|
335
|
+
# @param resource_group_name [String] The name of the resource group.
|
336
|
+
# @param lab_name [String] The name of the lab.
|
337
|
+
# @param artifact_source_name [String] The name of the artifact source.
|
338
|
+
# @param expand [String] Specify the $expand query. Example:
|
339
|
+
# 'properties($select=displayName)'
|
340
|
+
# @param filter [String] The filter to apply to the operation.
|
341
|
+
# @param top [Integer] The maximum number of resources to return from the
|
342
|
+
# operation.
|
343
|
+
# @param orderby [String] The ordering expression for the results, using OData
|
344
|
+
# notation.
|
345
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
346
|
+
# will be added to the HTTP request.
|
347
|
+
#
|
348
|
+
# @return [ResponseWithContinuationArmTemplate] which provide lazy access to
|
349
|
+
# pages of the response.
|
350
|
+
#
|
351
|
+
def list_as_lazy(resource_group_name, lab_name, artifact_source_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil)
|
352
|
+
response = list_async(resource_group_name, lab_name, artifact_source_name, expand, filter, top, orderby, custom_headers).value!
|
353
|
+
unless response.nil?
|
354
|
+
page = response.body
|
355
|
+
page.next_method = Proc.new do |next_page_link|
|
356
|
+
list_next_async(next_page_link, custom_headers)
|
357
|
+
end
|
358
|
+
page
|
359
|
+
end
|
360
|
+
end
|
361
|
+
|
362
|
+
end
|
363
|
+
end
|