azure_mgmt_devtestlabs 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/generated/azure_mgmt_devtestlabs.rb +25 -25
- data/lib/generated/azure_mgmt_devtestlabs/artifact_operations.rb +42 -42
- data/lib/generated/azure_mgmt_devtestlabs/artifact_source_operations.rb +41 -41
- data/lib/generated/azure_mgmt_devtestlabs/cost_operations.rb +2 -2
- data/lib/generated/azure_mgmt_devtestlabs/custom_image_operations.rb +81 -81
- data/lib/generated/azure_mgmt_devtestlabs/dev_test_labs_client.rb +14 -1
- data/lib/generated/azure_mgmt_devtestlabs/formula_operations.rb +100 -100
- data/lib/generated/azure_mgmt_devtestlabs/gallery_image_operations.rb +41 -41
- data/lib/generated/azure_mgmt_devtestlabs/lab_operations.rb +288 -288
- data/lib/generated/azure_mgmt_devtestlabs/models/apply_artifacts_request.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/arm_template_info.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/artifact.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/artifact_deployment_status_properties.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/artifact_install_properties.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/artifact_parameter_properties.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/artifact_source.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/cost.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/cost_per_day_properties.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/custom_image.rb +1 -1
- 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 +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_vm.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/day_details.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/enable_status.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/evaluate_policies_properties.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/evaluate_policies_request.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/evaluate_policies_response.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/formula.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/formula_properties_from_vm.rb +3 -3
- data/lib/generated/azure_mgmt_devtestlabs/models/gallery_image.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/gallery_image_reference.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/generate_arm_template_request.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/generate_upload_uri_parameter.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/generate_upload_uri_response.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/hour_details.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/lab.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/lab_cost_type.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/lab_storage_type.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/lab_vhd.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/linux_os_info.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/linux_os_state.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/parameter_info.rb +2 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/policy.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/policy_evaluator_type.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/policy_fact_name.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/policy_set_result.rb +3 -3
- data/lib/generated/azure_mgmt_devtestlabs/models/policy_status.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/policy_violation.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/resource_cost_properties.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_artifact.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_artifact_source.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_custom_image.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_formula.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_gallery_image.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab_vhd.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab_virtual_machine.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_policy.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_schedule.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_virtual_network.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/schedule.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/source_control_type.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/subnet.rb +2 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/subnet_override.rb +6 -6
- data/lib/generated/azure_mgmt_devtestlabs/models/subscription_notification.rb +2 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/subscription_notification_properties.rb +2 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/subscription_notification_state.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/usage_permission_type.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/virtual_network.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/week_details.rb +1 -1
- data/lib/generated/azure_mgmt_devtestlabs/models/windows_os_info.rb +1 -1
- 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/policy_operations.rb +42 -42
- data/lib/generated/azure_mgmt_devtestlabs/policy_set.rb +2 -2
- data/lib/generated/azure_mgmt_devtestlabs/schedule_operations.rb +41 -41
- data/lib/generated/azure_mgmt_devtestlabs/version.rb +2 -2
- data/lib/generated/azure_mgmt_devtestlabs/virtual_machine.rb +224 -224
- data/lib/generated/azure_mgmt_devtestlabs/virtual_network_operations.rb +150 -150
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9129dbbee2d4c940dd90d9cb0bd530a9b3cda7c6
|
|
4
|
+
data.tar.gz: 1978dc4ec7834581e342a8fee12719c687f5bdb3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7ea983ed2d6c21b4d7c85548668476f043d79052e7088bd9c7f1f3dbf50c81cea94da284dd8763b036d0b169930f1ceb7216b814b5a874939eac1487efc69900
|
|
7
|
+
data.tar.gz: da82e2509781babb721ae9960528affefba6fe8dceb8b0ab47a7a4f0e54ae2075e9a79fe0b1bbfe7c8a1c6b20e9e44449256f7f8a615ed14d5eb1cd58016f2d6
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
@@ -35,57 +35,57 @@ module Azure::ARM::DevTestLabs
|
|
|
35
35
|
autoload :DevTestLabsClient, 'generated/azure_mgmt_devtestlabs/dev_test_labs_client.rb'
|
|
36
36
|
|
|
37
37
|
module Models
|
|
38
|
-
autoload :ApplyArtifactsRequest, 'generated/azure_mgmt_devtestlabs/models/apply_artifacts_request.rb'
|
|
39
|
-
autoload :ArtifactInstallProperties, 'generated/azure_mgmt_devtestlabs/models/artifact_install_properties.rb'
|
|
40
|
-
autoload :ArtifactParameterProperties, 'generated/azure_mgmt_devtestlabs/models/artifact_parameter_properties.rb'
|
|
41
|
-
autoload :ArmTemplateInfo, 'generated/azure_mgmt_devtestlabs/models/arm_template_info.rb'
|
|
42
|
-
autoload :Artifact, 'generated/azure_mgmt_devtestlabs/models/artifact.rb'
|
|
43
|
-
autoload :ArtifactDeploymentStatusProperties, 'generated/azure_mgmt_devtestlabs/models/artifact_deployment_status_properties.rb'
|
|
44
|
-
autoload :ArtifactSource, 'generated/azure_mgmt_devtestlabs/models/artifact_source.rb'
|
|
45
|
-
autoload :Cost, 'generated/azure_mgmt_devtestlabs/models/cost.rb'
|
|
46
|
-
autoload :CostPerDayProperties, 'generated/azure_mgmt_devtestlabs/models/cost_per_day_properties.rb'
|
|
47
|
-
autoload :ResourceCostProperties, 'generated/azure_mgmt_devtestlabs/models/resource_cost_properties.rb'
|
|
48
|
-
autoload :CustomImage, 'generated/azure_mgmt_devtestlabs/models/custom_image.rb'
|
|
49
|
-
autoload :CustomImagePropertiesFromVm, 'generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_vm.rb'
|
|
50
|
-
autoload :WindowsOsInfo, 'generated/azure_mgmt_devtestlabs/models/windows_os_info.rb'
|
|
51
|
-
autoload :LinuxOsInfo, 'generated/azure_mgmt_devtestlabs/models/linux_os_info.rb'
|
|
52
|
-
autoload :CustomImagePropertiesCustom, 'generated/azure_mgmt_devtestlabs/models/custom_image_properties_custom.rb'
|
|
53
|
-
autoload :DayDetails, 'generated/azure_mgmt_devtestlabs/models/day_details.rb'
|
|
54
|
-
autoload :EvaluatePoliciesProperties, 'generated/azure_mgmt_devtestlabs/models/evaluate_policies_properties.rb'
|
|
55
|
-
autoload :EvaluatePoliciesRequest, 'generated/azure_mgmt_devtestlabs/models/evaluate_policies_request.rb'
|
|
56
|
-
autoload :EvaluatePoliciesResponse, 'generated/azure_mgmt_devtestlabs/models/evaluate_policies_response.rb'
|
|
57
|
-
autoload :PolicySetResult, 'generated/azure_mgmt_devtestlabs/models/policy_set_result.rb'
|
|
58
|
-
autoload :PolicyViolation, 'generated/azure_mgmt_devtestlabs/models/policy_violation.rb'
|
|
59
|
-
autoload :Formula, 'generated/azure_mgmt_devtestlabs/models/formula.rb'
|
|
60
|
-
autoload :LabVirtualMachine, 'generated/azure_mgmt_devtestlabs/models/lab_virtual_machine.rb'
|
|
61
|
-
autoload :GalleryImageReference, 'generated/azure_mgmt_devtestlabs/models/gallery_image_reference.rb'
|
|
62
38
|
autoload :FormulaPropertiesFromVm, 'generated/azure_mgmt_devtestlabs/models/formula_properties_from_vm.rb'
|
|
63
39
|
autoload :GalleryImage, 'generated/azure_mgmt_devtestlabs/models/gallery_image.rb'
|
|
40
|
+
autoload :ArtifactInstallProperties, 'generated/azure_mgmt_devtestlabs/models/artifact_install_properties.rb'
|
|
64
41
|
autoload :GenerateArmTemplateRequest, 'generated/azure_mgmt_devtestlabs/models/generate_arm_template_request.rb'
|
|
42
|
+
autoload :ArmTemplateInfo, 'generated/azure_mgmt_devtestlabs/models/arm_template_info.rb'
|
|
65
43
|
autoload :ParameterInfo, 'generated/azure_mgmt_devtestlabs/models/parameter_info.rb'
|
|
44
|
+
autoload :ArtifactDeploymentStatusProperties, 'generated/azure_mgmt_devtestlabs/models/artifact_deployment_status_properties.rb'
|
|
66
45
|
autoload :GenerateUploadUriParameter, 'generated/azure_mgmt_devtestlabs/models/generate_upload_uri_parameter.rb'
|
|
67
46
|
autoload :GenerateUploadUriResponse, 'generated/azure_mgmt_devtestlabs/models/generate_upload_uri_response.rb'
|
|
47
|
+
autoload :Cost, 'generated/azure_mgmt_devtestlabs/models/cost.rb'
|
|
68
48
|
autoload :HourDetails, 'generated/azure_mgmt_devtestlabs/models/hour_details.rb'
|
|
49
|
+
autoload :ResourceCostProperties, 'generated/azure_mgmt_devtestlabs/models/resource_cost_properties.rb'
|
|
69
50
|
autoload :Lab, 'generated/azure_mgmt_devtestlabs/models/lab.rb'
|
|
51
|
+
autoload :CustomImagePropertiesFromVm, 'generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_vm.rb'
|
|
70
52
|
autoload :LabVhd, 'generated/azure_mgmt_devtestlabs/models/lab_vhd.rb'
|
|
53
|
+
autoload :LinuxOsInfo, 'generated/azure_mgmt_devtestlabs/models/linux_os_info.rb'
|
|
71
54
|
autoload :Policy, 'generated/azure_mgmt_devtestlabs/models/policy.rb'
|
|
55
|
+
autoload :DayDetails, 'generated/azure_mgmt_devtestlabs/models/day_details.rb'
|
|
72
56
|
autoload :ResponseWithContinuationArtifact, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_artifact.rb'
|
|
57
|
+
autoload :EvaluatePoliciesRequest, 'generated/azure_mgmt_devtestlabs/models/evaluate_policies_request.rb'
|
|
73
58
|
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'
|
|
74
60
|
autoload :ResponseWithContinuationCustomImage, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_custom_image.rb'
|
|
61
|
+
autoload :Formula, 'generated/azure_mgmt_devtestlabs/models/formula.rb'
|
|
75
62
|
autoload :ResponseWithContinuationFormula, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_formula.rb'
|
|
63
|
+
autoload :GalleryImageReference, 'generated/azure_mgmt_devtestlabs/models/gallery_image_reference.rb'
|
|
76
64
|
autoload :ResponseWithContinuationGalleryImage, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_gallery_image.rb'
|
|
65
|
+
autoload :ArtifactParameterProperties, 'generated/azure_mgmt_devtestlabs/models/artifact_parameter_properties.rb'
|
|
77
66
|
autoload :ResponseWithContinuationLab, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab.rb'
|
|
67
|
+
autoload :ArtifactSource, 'generated/azure_mgmt_devtestlabs/models/artifact_source.rb'
|
|
78
68
|
autoload :ResponseWithContinuationLabVhd, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab_vhd.rb'
|
|
69
|
+
autoload :CostPerDayProperties, 'generated/azure_mgmt_devtestlabs/models/cost_per_day_properties.rb'
|
|
79
70
|
autoload :ResponseWithContinuationLabVirtualMachine, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab_virtual_machine.rb'
|
|
71
|
+
autoload :WindowsOsInfo, 'generated/azure_mgmt_devtestlabs/models/windows_os_info.rb'
|
|
80
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'
|
|
81
74
|
autoload :ResponseWithContinuationSchedule, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_schedule.rb'
|
|
75
|
+
autoload :PolicyViolation, 'generated/azure_mgmt_devtestlabs/models/policy_violation.rb'
|
|
82
76
|
autoload :Schedule, 'generated/azure_mgmt_devtestlabs/models/schedule.rb'
|
|
77
|
+
autoload :ApplyArtifactsRequest, 'generated/azure_mgmt_devtestlabs/models/apply_artifacts_request.rb'
|
|
83
78
|
autoload :WeekDetails, 'generated/azure_mgmt_devtestlabs/models/week_details.rb'
|
|
84
79
|
autoload :ResponseWithContinuationVirtualNetwork, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_virtual_network.rb'
|
|
80
|
+
autoload :CustomImagePropertiesCustom, 'generated/azure_mgmt_devtestlabs/models/custom_image_properties_custom.rb'
|
|
85
81
|
autoload :VirtualNetwork, 'generated/azure_mgmt_devtestlabs/models/virtual_network.rb'
|
|
82
|
+
autoload :LabVirtualMachine, 'generated/azure_mgmt_devtestlabs/models/lab_virtual_machine.rb'
|
|
86
83
|
autoload :Subnet, 'generated/azure_mgmt_devtestlabs/models/subnet.rb'
|
|
84
|
+
autoload :CustomImage, 'generated/azure_mgmt_devtestlabs/models/custom_image.rb'
|
|
87
85
|
autoload :SubnetOverride, 'generated/azure_mgmt_devtestlabs/models/subnet_override.rb'
|
|
86
|
+
autoload :Artifact, 'generated/azure_mgmt_devtestlabs/models/artifact.rb'
|
|
88
87
|
autoload :SubscriptionNotification, 'generated/azure_mgmt_devtestlabs/models/subscription_notification.rb'
|
|
88
|
+
autoload :EvaluatePoliciesResponse, 'generated/azure_mgmt_devtestlabs/models/evaluate_policies_response.rb'
|
|
89
89
|
autoload :SubscriptionNotificationProperties, 'generated/azure_mgmt_devtestlabs/models/subscription_notification_properties.rb'
|
|
90
90
|
autoload :SourceControlType, 'generated/azure_mgmt_devtestlabs/models/source_control_type.rb'
|
|
91
91
|
autoload :EnableStatus, 'generated/azure_mgmt_devtestlabs/models/enable_status.rb'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
6
6
|
module Azure::ARM::DevTestLabs
|
|
7
7
|
#
|
|
8
|
-
#
|
|
8
|
+
# Azure DevTest Labs REST API.
|
|
9
9
|
#
|
|
10
10
|
class ArtifactOperations
|
|
11
11
|
include Azure::ARM::DevTestLabs::Models
|
|
@@ -31,36 +31,8 @@ module Azure::ARM::DevTestLabs
|
|
|
31
31
|
# @param filter [String] The filter to apply on the operation.
|
|
32
32
|
# @param top [Integer] The maximum number of resources to return from the
|
|
33
33
|
# operation.
|
|
34
|
-
# @param order_by [String] The ordering expression for the results, using
|
|
35
|
-
#
|
|
36
|
-
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
37
|
-
# will be added to the HTTP request.
|
|
38
|
-
#
|
|
39
|
-
# @return [ResponseWithContinuationArtifact] which provide lazy access to
|
|
40
|
-
# pages of the response.
|
|
41
|
-
#
|
|
42
|
-
def list_as_lazy(resource_group_name, lab_name, artifact_source_name, filter = nil, top = nil, order_by = nil, custom_headers = nil)
|
|
43
|
-
response = list_async(resource_group_name, lab_name, artifact_source_name, filter, top, order_by, custom_headers).value!
|
|
44
|
-
unless response.nil?
|
|
45
|
-
page = response.body
|
|
46
|
-
page.next_method = Proc.new do |next_page_link|
|
|
47
|
-
list_next_async(next_page_link, custom_headers)
|
|
48
|
-
end
|
|
49
|
-
page
|
|
50
|
-
end
|
|
51
|
-
end
|
|
52
|
-
|
|
53
|
-
#
|
|
54
|
-
# List artifacts in a given artifact source.
|
|
55
|
-
#
|
|
56
|
-
# @param resource_group_name [String] The name of the resource group.
|
|
57
|
-
# @param lab_name [String] The name of the lab.
|
|
58
|
-
# @param artifact_source_name [String] The name of the artifact source.
|
|
59
|
-
# @param filter [String] The filter to apply on the operation.
|
|
60
|
-
# @param top [Integer] The maximum number of resources to return from the
|
|
61
|
-
# operation.
|
|
62
|
-
# @param order_by [String] The ordering expression for the results, using
|
|
63
|
-
# OData notation.
|
|
34
|
+
# @param order_by [String] The ordering expression for the results, using OData
|
|
35
|
+
# notation.
|
|
64
36
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
65
37
|
# will be added to the HTTP request.
|
|
66
38
|
#
|
|
@@ -80,8 +52,8 @@ module Azure::ARM::DevTestLabs
|
|
|
80
52
|
# @param filter [String] The filter to apply on the operation.
|
|
81
53
|
# @param top [Integer] The maximum number of resources to return from the
|
|
82
54
|
# operation.
|
|
83
|
-
# @param order_by [String] The ordering expression for the results, using
|
|
84
|
-
#
|
|
55
|
+
# @param order_by [String] The ordering expression for the results, using OData
|
|
56
|
+
# notation.
|
|
85
57
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
86
58
|
# will be added to the HTTP request.
|
|
87
59
|
#
|
|
@@ -100,8 +72,8 @@ module Azure::ARM::DevTestLabs
|
|
|
100
72
|
# @param filter [String] The filter to apply on the operation.
|
|
101
73
|
# @param top [Integer] The maximum number of resources to return from the
|
|
102
74
|
# operation.
|
|
103
|
-
# @param order_by [String] The ordering expression for the results, using
|
|
104
|
-
#
|
|
75
|
+
# @param order_by [String] The ordering expression for the results, using OData
|
|
76
|
+
# notation.
|
|
105
77
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
106
78
|
# to the HTTP request.
|
|
107
79
|
#
|
|
@@ -377,8 +349,8 @@ module Azure::ARM::DevTestLabs
|
|
|
377
349
|
#
|
|
378
350
|
# List artifacts in a given artifact source.
|
|
379
351
|
#
|
|
380
|
-
# @param next_page_link [String] The NextLink from the previous successful
|
|
381
|
-
#
|
|
352
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
|
353
|
+
# to List operation.
|
|
382
354
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
383
355
|
# will be added to the HTTP request.
|
|
384
356
|
#
|
|
@@ -392,8 +364,8 @@ module Azure::ARM::DevTestLabs
|
|
|
392
364
|
#
|
|
393
365
|
# List artifacts in a given artifact source.
|
|
394
366
|
#
|
|
395
|
-
# @param next_page_link [String] The NextLink from the previous successful
|
|
396
|
-
#
|
|
367
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
|
368
|
+
# to List operation.
|
|
397
369
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
398
370
|
# will be added to the HTTP request.
|
|
399
371
|
#
|
|
@@ -406,8 +378,8 @@ module Azure::ARM::DevTestLabs
|
|
|
406
378
|
#
|
|
407
379
|
# List artifacts in a given artifact source.
|
|
408
380
|
#
|
|
409
|
-
# @param next_page_link [String] The NextLink from the previous successful
|
|
410
|
-
#
|
|
381
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
|
382
|
+
# to List operation.
|
|
411
383
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
412
384
|
# to the HTTP request.
|
|
413
385
|
#
|
|
@@ -461,5 +433,33 @@ module Azure::ARM::DevTestLabs
|
|
|
461
433
|
promise.execute
|
|
462
434
|
end
|
|
463
435
|
|
|
436
|
+
#
|
|
437
|
+
# List artifacts in a given artifact source.
|
|
438
|
+
#
|
|
439
|
+
# @param resource_group_name [String] The name of the resource group.
|
|
440
|
+
# @param lab_name [String] The name of the lab.
|
|
441
|
+
# @param artifact_source_name [String] The name of the artifact source.
|
|
442
|
+
# @param filter [String] The filter to apply on the operation.
|
|
443
|
+
# @param top [Integer] The maximum number of resources to return from the
|
|
444
|
+
# operation.
|
|
445
|
+
# @param order_by [String] The ordering expression for the results, using OData
|
|
446
|
+
# notation.
|
|
447
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
448
|
+
# will be added to the HTTP request.
|
|
449
|
+
#
|
|
450
|
+
# @return [ResponseWithContinuationArtifact] which provide lazy access to pages
|
|
451
|
+
# of the response.
|
|
452
|
+
#
|
|
453
|
+
def list_as_lazy(resource_group_name, lab_name, artifact_source_name, filter = nil, top = nil, order_by = nil, custom_headers = nil)
|
|
454
|
+
response = list_async(resource_group_name, lab_name, artifact_source_name, filter, top, order_by, custom_headers).value!
|
|
455
|
+
unless response.nil?
|
|
456
|
+
page = response.body
|
|
457
|
+
page.next_method = Proc.new do |next_page_link|
|
|
458
|
+
list_next_async(next_page_link, custom_headers)
|
|
459
|
+
end
|
|
460
|
+
page
|
|
461
|
+
end
|
|
462
|
+
end
|
|
463
|
+
|
|
464
464
|
end
|
|
465
465
|
end
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
6
6
|
module Azure::ARM::DevTestLabs
|
|
7
7
|
#
|
|
8
|
-
#
|
|
8
|
+
# Azure DevTest Labs REST API.
|
|
9
9
|
#
|
|
10
10
|
class ArtifactSourceOperations
|
|
11
11
|
include Azure::ARM::DevTestLabs::Models
|
|
@@ -30,35 +30,8 @@ module Azure::ARM::DevTestLabs
|
|
|
30
30
|
# @param filter [String] The filter to apply on the operation.
|
|
31
31
|
# @param top [Integer] The maximum number of resources to return from the
|
|
32
32
|
# operation.
|
|
33
|
-
# @param order_by [String] The ordering expression for the results, using
|
|
34
|
-
#
|
|
35
|
-
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
36
|
-
# will be added to the HTTP request.
|
|
37
|
-
#
|
|
38
|
-
# @return [ResponseWithContinuationArtifactSource] which provide lazy access
|
|
39
|
-
# to pages of the response.
|
|
40
|
-
#
|
|
41
|
-
def list_as_lazy(resource_group_name, lab_name, filter = nil, top = nil, order_by = nil, custom_headers = nil)
|
|
42
|
-
response = list_async(resource_group_name, lab_name, filter, top, order_by, custom_headers).value!
|
|
43
|
-
unless response.nil?
|
|
44
|
-
page = response.body
|
|
45
|
-
page.next_method = Proc.new do |next_page_link|
|
|
46
|
-
list_next_async(next_page_link, custom_headers)
|
|
47
|
-
end
|
|
48
|
-
page
|
|
49
|
-
end
|
|
50
|
-
end
|
|
51
|
-
|
|
52
|
-
#
|
|
53
|
-
# List artifact sources in a given lab.
|
|
54
|
-
#
|
|
55
|
-
# @param resource_group_name [String] The name of the resource group.
|
|
56
|
-
# @param lab_name [String] The name of the lab.
|
|
57
|
-
# @param filter [String] The filter to apply on the operation.
|
|
58
|
-
# @param top [Integer] The maximum number of resources to return from the
|
|
59
|
-
# operation.
|
|
60
|
-
# @param order_by [String] The ordering expression for the results, using
|
|
61
|
-
# OData notation.
|
|
33
|
+
# @param order_by [String] The ordering expression for the results, using OData
|
|
34
|
+
# notation.
|
|
62
35
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
63
36
|
# will be added to the HTTP request.
|
|
64
37
|
#
|
|
@@ -77,8 +50,8 @@ module Azure::ARM::DevTestLabs
|
|
|
77
50
|
# @param filter [String] The filter to apply on the operation.
|
|
78
51
|
# @param top [Integer] The maximum number of resources to return from the
|
|
79
52
|
# operation.
|
|
80
|
-
# @param order_by [String] The ordering expression for the results, using
|
|
81
|
-
#
|
|
53
|
+
# @param order_by [String] The ordering expression for the results, using OData
|
|
54
|
+
# notation.
|
|
82
55
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
83
56
|
# will be added to the HTTP request.
|
|
84
57
|
#
|
|
@@ -96,8 +69,8 @@ module Azure::ARM::DevTestLabs
|
|
|
96
69
|
# @param filter [String] The filter to apply on the operation.
|
|
97
70
|
# @param top [Integer] The maximum number of resources to return from the
|
|
98
71
|
# operation.
|
|
99
|
-
# @param order_by [String] The ordering expression for the results, using
|
|
100
|
-
#
|
|
72
|
+
# @param order_by [String] The ordering expression for the results, using OData
|
|
73
|
+
# notation.
|
|
101
74
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
102
75
|
# to the HTTP request.
|
|
103
76
|
#
|
|
@@ -563,8 +536,8 @@ module Azure::ARM::DevTestLabs
|
|
|
563
536
|
#
|
|
564
537
|
# List artifact sources in a given lab.
|
|
565
538
|
#
|
|
566
|
-
# @param next_page_link [String] The NextLink from the previous successful
|
|
567
|
-
#
|
|
539
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
|
540
|
+
# to List operation.
|
|
568
541
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
569
542
|
# will be added to the HTTP request.
|
|
570
543
|
#
|
|
@@ -578,8 +551,8 @@ module Azure::ARM::DevTestLabs
|
|
|
578
551
|
#
|
|
579
552
|
# List artifact sources in a given lab.
|
|
580
553
|
#
|
|
581
|
-
# @param next_page_link [String] The NextLink from the previous successful
|
|
582
|
-
#
|
|
554
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
|
555
|
+
# to List operation.
|
|
583
556
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
584
557
|
# will be added to the HTTP request.
|
|
585
558
|
#
|
|
@@ -592,8 +565,8 @@ module Azure::ARM::DevTestLabs
|
|
|
592
565
|
#
|
|
593
566
|
# List artifact sources in a given lab.
|
|
594
567
|
#
|
|
595
|
-
# @param next_page_link [String] The NextLink from the previous successful
|
|
596
|
-
#
|
|
568
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
|
569
|
+
# to List operation.
|
|
597
570
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
598
571
|
# to the HTTP request.
|
|
599
572
|
#
|
|
@@ -647,5 +620,32 @@ module Azure::ARM::DevTestLabs
|
|
|
647
620
|
promise.execute
|
|
648
621
|
end
|
|
649
622
|
|
|
623
|
+
#
|
|
624
|
+
# List artifact sources in a given lab.
|
|
625
|
+
#
|
|
626
|
+
# @param resource_group_name [String] The name of the resource group.
|
|
627
|
+
# @param lab_name [String] The name of the lab.
|
|
628
|
+
# @param filter [String] The filter to apply on the operation.
|
|
629
|
+
# @param top [Integer] The maximum number of resources to return from the
|
|
630
|
+
# operation.
|
|
631
|
+
# @param order_by [String] The ordering expression for the results, using OData
|
|
632
|
+
# notation.
|
|
633
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
634
|
+
# will be added to the HTTP request.
|
|
635
|
+
#
|
|
636
|
+
# @return [ResponseWithContinuationArtifactSource] which provide lazy access to
|
|
637
|
+
# pages of the response.
|
|
638
|
+
#
|
|
639
|
+
def list_as_lazy(resource_group_name, lab_name, filter = nil, top = nil, order_by = nil, custom_headers = nil)
|
|
640
|
+
response = list_async(resource_group_name, lab_name, filter, top, order_by, custom_headers).value!
|
|
641
|
+
unless response.nil?
|
|
642
|
+
page = response.body
|
|
643
|
+
page.next_method = Proc.new do |next_page_link|
|
|
644
|
+
list_next_async(next_page_link, custom_headers)
|
|
645
|
+
end
|
|
646
|
+
page
|
|
647
|
+
end
|
|
648
|
+
end
|
|
649
|
+
|
|
650
650
|
end
|
|
651
651
|
end
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
6
6
|
module Azure::ARM::DevTestLabs
|
|
7
7
|
#
|
|
8
|
-
#
|
|
8
|
+
# Azure DevTest Labs REST API.
|
|
9
9
|
#
|
|
10
10
|
class CostOperations
|
|
11
11
|
include Azure::ARM::DevTestLabs::Models
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
4
|
# regenerated.
|
|
5
5
|
|
|
6
6
|
module Azure::ARM::DevTestLabs
|
|
7
7
|
#
|
|
8
|
-
#
|
|
8
|
+
# Azure DevTest Labs REST API.
|
|
9
9
|
#
|
|
10
10
|
class CustomImageOperations
|
|
11
11
|
include Azure::ARM::DevTestLabs::Models
|
|
@@ -30,35 +30,8 @@ module Azure::ARM::DevTestLabs
|
|
|
30
30
|
# @param filter [String] The filter to apply on the operation.
|
|
31
31
|
# @param top [Integer] The maximum number of resources to return from the
|
|
32
32
|
# operation.
|
|
33
|
-
# @param order_by [String] The ordering expression for the results, using
|
|
34
|
-
#
|
|
35
|
-
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
36
|
-
# will be added to the HTTP request.
|
|
37
|
-
#
|
|
38
|
-
# @return [ResponseWithContinuationCustomImage] which provide lazy access to
|
|
39
|
-
# pages of the response.
|
|
40
|
-
#
|
|
41
|
-
def list_as_lazy(resource_group_name, lab_name, filter = nil, top = nil, order_by = nil, custom_headers = nil)
|
|
42
|
-
response = list_async(resource_group_name, lab_name, filter, top, order_by, custom_headers).value!
|
|
43
|
-
unless response.nil?
|
|
44
|
-
page = response.body
|
|
45
|
-
page.next_method = Proc.new do |next_page_link|
|
|
46
|
-
list_next_async(next_page_link, custom_headers)
|
|
47
|
-
end
|
|
48
|
-
page
|
|
49
|
-
end
|
|
50
|
-
end
|
|
51
|
-
|
|
52
|
-
#
|
|
53
|
-
# List custom images in a given lab.
|
|
54
|
-
#
|
|
55
|
-
# @param resource_group_name [String] The name of the resource group.
|
|
56
|
-
# @param lab_name [String] The name of the lab.
|
|
57
|
-
# @param filter [String] The filter to apply on the operation.
|
|
58
|
-
# @param top [Integer] The maximum number of resources to return from the
|
|
59
|
-
# operation.
|
|
60
|
-
# @param order_by [String] The ordering expression for the results, using
|
|
61
|
-
# OData notation.
|
|
33
|
+
# @param order_by [String] The ordering expression for the results, using OData
|
|
34
|
+
# notation.
|
|
62
35
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
63
36
|
# will be added to the HTTP request.
|
|
64
37
|
#
|
|
@@ -77,8 +50,8 @@ module Azure::ARM::DevTestLabs
|
|
|
77
50
|
# @param filter [String] The filter to apply on the operation.
|
|
78
51
|
# @param top [Integer] The maximum number of resources to return from the
|
|
79
52
|
# operation.
|
|
80
|
-
# @param order_by [String] The ordering expression for the results, using
|
|
81
|
-
#
|
|
53
|
+
# @param order_by [String] The ordering expression for the results, using OData
|
|
54
|
+
# notation.
|
|
82
55
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
83
56
|
# will be added to the HTTP request.
|
|
84
57
|
#
|
|
@@ -96,8 +69,8 @@ module Azure::ARM::DevTestLabs
|
|
|
96
69
|
# @param filter [String] The filter to apply on the operation.
|
|
97
70
|
# @param top [Integer] The maximum number of resources to return from the
|
|
98
71
|
# operation.
|
|
99
|
-
# @param order_by [String] The ordering expression for the results, using
|
|
100
|
-
#
|
|
72
|
+
# @param order_by [String] The ordering expression for the results, using OData
|
|
73
|
+
# notation.
|
|
101
74
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
102
75
|
# to the HTTP request.
|
|
103
76
|
#
|
|
@@ -297,6 +270,46 @@ module Azure::ARM::DevTestLabs
|
|
|
297
270
|
promise
|
|
298
271
|
end
|
|
299
272
|
|
|
273
|
+
#
|
|
274
|
+
# Delete custom image. This operation can take a while to complete.
|
|
275
|
+
#
|
|
276
|
+
# @param resource_group_name [String] The name of the resource group.
|
|
277
|
+
# @param lab_name [String] The name of the lab.
|
|
278
|
+
# @param name [String] The name of the custom image.
|
|
279
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
280
|
+
# will be added to the HTTP request.
|
|
281
|
+
#
|
|
282
|
+
def delete_resource(resource_group_name, lab_name, name, custom_headers = nil)
|
|
283
|
+
response = delete_resource_async(resource_group_name, lab_name, name, custom_headers).value!
|
|
284
|
+
nil
|
|
285
|
+
end
|
|
286
|
+
|
|
287
|
+
#
|
|
288
|
+
# @param resource_group_name [String] The name of the resource group.
|
|
289
|
+
# @param lab_name [String] The name of the lab.
|
|
290
|
+
# @param name [String] The name of the custom image.
|
|
291
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
292
|
+
# will be added to the HTTP request.
|
|
293
|
+
#
|
|
294
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
|
295
|
+
# response.
|
|
296
|
+
#
|
|
297
|
+
def delete_resource_async(resource_group_name, lab_name, name, custom_headers = nil)
|
|
298
|
+
# Send request
|
|
299
|
+
promise = begin_delete_resource_async(resource_group_name, lab_name, name, custom_headers)
|
|
300
|
+
|
|
301
|
+
promise = promise.then do |response|
|
|
302
|
+
# Defining deserialization method.
|
|
303
|
+
deserialize_method = lambda do |parsed_response|
|
|
304
|
+
end
|
|
305
|
+
|
|
306
|
+
# Waiting for response.
|
|
307
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
|
308
|
+
end
|
|
309
|
+
|
|
310
|
+
promise
|
|
311
|
+
end
|
|
312
|
+
|
|
300
313
|
#
|
|
301
314
|
# Create or replace an existing custom image. This operation can take a while
|
|
302
315
|
# to complete.
|
|
@@ -418,46 +431,6 @@ module Azure::ARM::DevTestLabs
|
|
|
418
431
|
promise.execute
|
|
419
432
|
end
|
|
420
433
|
|
|
421
|
-
#
|
|
422
|
-
# Delete custom image. This operation can take a while to complete.
|
|
423
|
-
#
|
|
424
|
-
# @param resource_group_name [String] The name of the resource group.
|
|
425
|
-
# @param lab_name [String] The name of the lab.
|
|
426
|
-
# @param name [String] The name of the custom image.
|
|
427
|
-
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
428
|
-
# will be added to the HTTP request.
|
|
429
|
-
#
|
|
430
|
-
def delete_resource(resource_group_name, lab_name, name, custom_headers = nil)
|
|
431
|
-
response = delete_resource_async(resource_group_name, lab_name, name, custom_headers).value!
|
|
432
|
-
nil
|
|
433
|
-
end
|
|
434
|
-
|
|
435
|
-
#
|
|
436
|
-
# @param resource_group_name [String] The name of the resource group.
|
|
437
|
-
# @param lab_name [String] The name of the lab.
|
|
438
|
-
# @param name [String] The name of the custom image.
|
|
439
|
-
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
440
|
-
# will be added to the HTTP request.
|
|
441
|
-
#
|
|
442
|
-
# @return [Concurrent::Promise] promise which provides async access to http
|
|
443
|
-
# response.
|
|
444
|
-
#
|
|
445
|
-
def delete_resource_async(resource_group_name, lab_name, name, custom_headers = nil)
|
|
446
|
-
# Send request
|
|
447
|
-
promise = begin_delete_resource_async(resource_group_name, lab_name, name, custom_headers)
|
|
448
|
-
|
|
449
|
-
promise = promise.then do |response|
|
|
450
|
-
# Defining deserialization method.
|
|
451
|
-
deserialize_method = lambda do |parsed_response|
|
|
452
|
-
end
|
|
453
|
-
|
|
454
|
-
# Waiting for response.
|
|
455
|
-
@client.get_long_running_operation_result(response, deserialize_method)
|
|
456
|
-
end
|
|
457
|
-
|
|
458
|
-
promise
|
|
459
|
-
end
|
|
460
|
-
|
|
461
434
|
#
|
|
462
435
|
# Delete custom image. This operation can take a while to complete.
|
|
463
436
|
#
|
|
@@ -545,8 +518,8 @@ module Azure::ARM::DevTestLabs
|
|
|
545
518
|
#
|
|
546
519
|
# List custom images in a given lab.
|
|
547
520
|
#
|
|
548
|
-
# @param next_page_link [String] The NextLink from the previous successful
|
|
549
|
-
#
|
|
521
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
|
522
|
+
# to List operation.
|
|
550
523
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
551
524
|
# will be added to the HTTP request.
|
|
552
525
|
#
|
|
@@ -560,8 +533,8 @@ module Azure::ARM::DevTestLabs
|
|
|
560
533
|
#
|
|
561
534
|
# List custom images in a given lab.
|
|
562
535
|
#
|
|
563
|
-
# @param next_page_link [String] The NextLink from the previous successful
|
|
564
|
-
#
|
|
536
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
|
537
|
+
# to List operation.
|
|
565
538
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
566
539
|
# will be added to the HTTP request.
|
|
567
540
|
#
|
|
@@ -574,8 +547,8 @@ module Azure::ARM::DevTestLabs
|
|
|
574
547
|
#
|
|
575
548
|
# List custom images in a given lab.
|
|
576
549
|
#
|
|
577
|
-
# @param next_page_link [String] The NextLink from the previous successful
|
|
578
|
-
#
|
|
550
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
|
551
|
+
# to List operation.
|
|
579
552
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
580
553
|
# to the HTTP request.
|
|
581
554
|
#
|
|
@@ -629,5 +602,32 @@ module Azure::ARM::DevTestLabs
|
|
|
629
602
|
promise.execute
|
|
630
603
|
end
|
|
631
604
|
|
|
605
|
+
#
|
|
606
|
+
# List custom images in a given lab.
|
|
607
|
+
#
|
|
608
|
+
# @param resource_group_name [String] The name of the resource group.
|
|
609
|
+
# @param lab_name [String] The name of the lab.
|
|
610
|
+
# @param filter [String] The filter to apply on the operation.
|
|
611
|
+
# @param top [Integer] The maximum number of resources to return from the
|
|
612
|
+
# operation.
|
|
613
|
+
# @param order_by [String] The ordering expression for the results, using OData
|
|
614
|
+
# notation.
|
|
615
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
616
|
+
# will be added to the HTTP request.
|
|
617
|
+
#
|
|
618
|
+
# @return [ResponseWithContinuationCustomImage] which provide lazy access to
|
|
619
|
+
# pages of the response.
|
|
620
|
+
#
|
|
621
|
+
def list_as_lazy(resource_group_name, lab_name, filter = nil, top = nil, order_by = nil, custom_headers = nil)
|
|
622
|
+
response = list_async(resource_group_name, lab_name, filter, top, order_by, custom_headers).value!
|
|
623
|
+
unless response.nil?
|
|
624
|
+
page = response.body
|
|
625
|
+
page.next_method = Proc.new do |next_page_link|
|
|
626
|
+
list_next_async(next_page_link, custom_headers)
|
|
627
|
+
end
|
|
628
|
+
page
|
|
629
|
+
end
|
|
630
|
+
end
|
|
631
|
+
|
|
632
632
|
end
|
|
633
633
|
end
|