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.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_devtestlabs.rb +25 -25
  3. data/lib/generated/azure_mgmt_devtestlabs/artifact_operations.rb +42 -42
  4. data/lib/generated/azure_mgmt_devtestlabs/artifact_source_operations.rb +41 -41
  5. data/lib/generated/azure_mgmt_devtestlabs/cost_operations.rb +2 -2
  6. data/lib/generated/azure_mgmt_devtestlabs/custom_image_operations.rb +81 -81
  7. data/lib/generated/azure_mgmt_devtestlabs/dev_test_labs_client.rb +14 -1
  8. data/lib/generated/azure_mgmt_devtestlabs/formula_operations.rb +100 -100
  9. data/lib/generated/azure_mgmt_devtestlabs/gallery_image_operations.rb +41 -41
  10. data/lib/generated/azure_mgmt_devtestlabs/lab_operations.rb +288 -288
  11. data/lib/generated/azure_mgmt_devtestlabs/models/apply_artifacts_request.rb +1 -1
  12. data/lib/generated/azure_mgmt_devtestlabs/models/arm_template_info.rb +1 -1
  13. data/lib/generated/azure_mgmt_devtestlabs/models/artifact.rb +1 -1
  14. data/lib/generated/azure_mgmt_devtestlabs/models/artifact_deployment_status_properties.rb +1 -1
  15. data/lib/generated/azure_mgmt_devtestlabs/models/artifact_install_properties.rb +1 -1
  16. data/lib/generated/azure_mgmt_devtestlabs/models/artifact_parameter_properties.rb +1 -1
  17. data/lib/generated/azure_mgmt_devtestlabs/models/artifact_source.rb +1 -1
  18. data/lib/generated/azure_mgmt_devtestlabs/models/cost.rb +1 -1
  19. data/lib/generated/azure_mgmt_devtestlabs/models/cost_per_day_properties.rb +1 -1
  20. data/lib/generated/azure_mgmt_devtestlabs/models/custom_image.rb +1 -1
  21. data/lib/generated/azure_mgmt_devtestlabs/models/custom_image_os_type.rb +1 -1
  22. data/lib/generated/azure_mgmt_devtestlabs/models/custom_image_properties_custom.rb +1 -1
  23. data/lib/generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_vm.rb +1 -1
  24. data/lib/generated/azure_mgmt_devtestlabs/models/day_details.rb +1 -1
  25. data/lib/generated/azure_mgmt_devtestlabs/models/enable_status.rb +1 -1
  26. data/lib/generated/azure_mgmt_devtestlabs/models/evaluate_policies_properties.rb +1 -1
  27. data/lib/generated/azure_mgmt_devtestlabs/models/evaluate_policies_request.rb +1 -1
  28. data/lib/generated/azure_mgmt_devtestlabs/models/evaluate_policies_response.rb +1 -1
  29. data/lib/generated/azure_mgmt_devtestlabs/models/formula.rb +1 -1
  30. data/lib/generated/azure_mgmt_devtestlabs/models/formula_properties_from_vm.rb +3 -3
  31. data/lib/generated/azure_mgmt_devtestlabs/models/gallery_image.rb +1 -1
  32. data/lib/generated/azure_mgmt_devtestlabs/models/gallery_image_reference.rb +1 -1
  33. data/lib/generated/azure_mgmt_devtestlabs/models/generate_arm_template_request.rb +1 -1
  34. data/lib/generated/azure_mgmt_devtestlabs/models/generate_upload_uri_parameter.rb +1 -1
  35. data/lib/generated/azure_mgmt_devtestlabs/models/generate_upload_uri_response.rb +1 -1
  36. data/lib/generated/azure_mgmt_devtestlabs/models/hour_details.rb +1 -1
  37. data/lib/generated/azure_mgmt_devtestlabs/models/lab.rb +1 -1
  38. data/lib/generated/azure_mgmt_devtestlabs/models/lab_cost_type.rb +1 -1
  39. data/lib/generated/azure_mgmt_devtestlabs/models/lab_storage_type.rb +1 -1
  40. data/lib/generated/azure_mgmt_devtestlabs/models/lab_vhd.rb +1 -1
  41. data/lib/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine.rb +1 -1
  42. data/lib/generated/azure_mgmt_devtestlabs/models/linux_os_info.rb +1 -1
  43. data/lib/generated/azure_mgmt_devtestlabs/models/linux_os_state.rb +1 -1
  44. data/lib/generated/azure_mgmt_devtestlabs/models/parameter_info.rb +2 -1
  45. data/lib/generated/azure_mgmt_devtestlabs/models/policy.rb +1 -1
  46. data/lib/generated/azure_mgmt_devtestlabs/models/policy_evaluator_type.rb +1 -1
  47. data/lib/generated/azure_mgmt_devtestlabs/models/policy_fact_name.rb +1 -1
  48. data/lib/generated/azure_mgmt_devtestlabs/models/policy_set_result.rb +3 -3
  49. data/lib/generated/azure_mgmt_devtestlabs/models/policy_status.rb +1 -1
  50. data/lib/generated/azure_mgmt_devtestlabs/models/policy_violation.rb +1 -1
  51. data/lib/generated/azure_mgmt_devtestlabs/models/resource_cost_properties.rb +1 -1
  52. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_artifact.rb +1 -1
  53. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_artifact_source.rb +1 -1
  54. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_custom_image.rb +1 -1
  55. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_formula.rb +1 -1
  56. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_gallery_image.rb +1 -1
  57. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab.rb +1 -1
  58. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab_vhd.rb +1 -1
  59. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab_virtual_machine.rb +1 -1
  60. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_policy.rb +1 -1
  61. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_schedule.rb +1 -1
  62. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_virtual_network.rb +1 -1
  63. data/lib/generated/azure_mgmt_devtestlabs/models/schedule.rb +1 -1
  64. data/lib/generated/azure_mgmt_devtestlabs/models/source_control_type.rb +1 -1
  65. data/lib/generated/azure_mgmt_devtestlabs/models/subnet.rb +2 -1
  66. data/lib/generated/azure_mgmt_devtestlabs/models/subnet_override.rb +6 -6
  67. data/lib/generated/azure_mgmt_devtestlabs/models/subscription_notification.rb +2 -1
  68. data/lib/generated/azure_mgmt_devtestlabs/models/subscription_notification_properties.rb +2 -1
  69. data/lib/generated/azure_mgmt_devtestlabs/models/subscription_notification_state.rb +1 -1
  70. data/lib/generated/azure_mgmt_devtestlabs/models/usage_permission_type.rb +1 -1
  71. data/lib/generated/azure_mgmt_devtestlabs/models/virtual_network.rb +1 -1
  72. data/lib/generated/azure_mgmt_devtestlabs/models/week_details.rb +1 -1
  73. data/lib/generated/azure_mgmt_devtestlabs/models/windows_os_info.rb +1 -1
  74. data/lib/generated/azure_mgmt_devtestlabs/models/windows_os_state.rb +1 -1
  75. data/lib/generated/azure_mgmt_devtestlabs/module_definition.rb +1 -1
  76. data/lib/generated/azure_mgmt_devtestlabs/policy_operations.rb +42 -42
  77. data/lib/generated/azure_mgmt_devtestlabs/policy_set.rb +2 -2
  78. data/lib/generated/azure_mgmt_devtestlabs/schedule_operations.rb +41 -41
  79. data/lib/generated/azure_mgmt_devtestlabs/version.rb +2 -2
  80. data/lib/generated/azure_mgmt_devtestlabs/virtual_machine.rb +224 -224
  81. data/lib/generated/azure_mgmt_devtestlabs/virtual_network_operations.rb +150 -150
  82. metadata +4 -4
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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
 
@@ -7,6 +7,7 @@ module Azure::ARM::DevTestLabs
7
7
  module Models
8
8
  #
9
9
  # Model object.
10
+ #
10
11
  #
11
12
  class Subnet
12
13
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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
 
@@ -18,13 +18,13 @@ module Azure::ARM::DevTestLabs
18
18
  # @return [String] The name given to the subnet within the lab.
19
19
  attr_accessor :lab_subnet_name
20
20
 
21
- # @return [UsagePermissionType] Indicates whether this subnet can be
22
- # used during virtual machine creation. Possible values include:
23
- # 'Default', 'Deny', 'Allow'
21
+ # @return [UsagePermissionType] Indicates whether this subnet can be used
22
+ # during virtual machine creation. Possible values include: 'Default',
23
+ # 'Deny', 'Allow'
24
24
  attr_accessor :use_in_vm_creation_permission
25
25
 
26
- # @return [UsagePermissionType] Indicates whether public IP addresses
27
- # can be assigned to virtual machines on this subnet. Possible values
26
+ # @return [UsagePermissionType] Indicates whether public IP addresses can
27
+ # be assigned to virtual machines on this subnet. Possible values
28
28
  # include: 'Default', 'Deny', 'Allow'
29
29
  attr_accessor :use_public_ip_address_permission
30
30
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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
 
@@ -7,6 +7,7 @@ module Azure::ARM::DevTestLabs
7
7
  module Models
8
8
  #
9
9
  # Model object.
10
+ #
10
11
  #
11
12
  class SubscriptionNotification
12
13
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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
 
@@ -7,6 +7,7 @@ module Azure::ARM::DevTestLabs
7
7
  module Models
8
8
  #
9
9
  # Model object.
10
+ #
10
11
  #
11
12
  class SubscriptionNotificationProperties
12
13
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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
 
@@ -1,11 +1,11 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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
- # The DevTest Labs Client.
8
+ # Azure DevTest Labs REST API.
9
9
  #
10
10
  class PolicyOperations
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
- # OData notation.
36
- # @param custom_headers [Hash{String => String}] A hash of custom headers that
37
- # will be added to the HTTP request.
38
- #
39
- # @return [ResponseWithContinuationPolicy] which provide lazy access to pages
40
- # of the response.
41
- #
42
- def list_as_lazy(resource_group_name, lab_name, policy_set_name, filter = nil, top = nil, order_by = nil, custom_headers = nil)
43
- response = list_async(resource_group_name, lab_name, policy_set_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 policies in a given policy set.
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 policy_set_name [String] The name of the policy set.
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
- # OData notation.
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
- # OData notation.
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
  #
@@ -584,8 +556,8 @@ module Azure::ARM::DevTestLabs
584
556
  #
585
557
  # List policies in a given policy set.
586
558
  #
587
- # @param next_page_link [String] The NextLink from the previous successful
588
- # call to List operation.
559
+ # @param next_page_link [String] The NextLink from the previous successful call
560
+ # to List operation.
589
561
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
590
562
  # will be added to the HTTP request.
591
563
  #
@@ -599,8 +571,8 @@ module Azure::ARM::DevTestLabs
599
571
  #
600
572
  # List policies in a given policy set.
601
573
  #
602
- # @param next_page_link [String] The NextLink from the previous successful
603
- # call to List operation.
574
+ # @param next_page_link [String] The NextLink from the previous successful call
575
+ # to List operation.
604
576
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
605
577
  # will be added to the HTTP request.
606
578
  #
@@ -613,8 +585,8 @@ module Azure::ARM::DevTestLabs
613
585
  #
614
586
  # List policies in a given policy set.
615
587
  #
616
- # @param next_page_link [String] The NextLink from the previous successful
617
- # call to List operation.
588
+ # @param next_page_link [String] The NextLink from the previous successful call
589
+ # to List operation.
618
590
  # @param [Hash{String => String}] A hash of custom headers that will be added
619
591
  # to the HTTP request.
620
592
  #
@@ -668,5 +640,33 @@ module Azure::ARM::DevTestLabs
668
640
  promise.execute
669
641
  end
670
642
 
643
+ #
644
+ # List policies in a given policy set.
645
+ #
646
+ # @param resource_group_name [String] The name of the resource group.
647
+ # @param lab_name [String] The name of the lab.
648
+ # @param policy_set_name [String] The name of the policy set.
649
+ # @param filter [String] The filter to apply on the operation.
650
+ # @param top [Integer] The maximum number of resources to return from the
651
+ # operation.
652
+ # @param order_by [String] The ordering expression for the results, using OData
653
+ # notation.
654
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
655
+ # will be added to the HTTP request.
656
+ #
657
+ # @return [ResponseWithContinuationPolicy] which provide lazy access to pages
658
+ # of the response.
659
+ #
660
+ def list_as_lazy(resource_group_name, lab_name, policy_set_name, filter = nil, top = nil, order_by = nil, custom_headers = nil)
661
+ response = list_async(resource_group_name, lab_name, policy_set_name, filter, top, order_by, custom_headers).value!
662
+ unless response.nil?
663
+ page = response.body
664
+ page.next_method = Proc.new do |next_page_link|
665
+ list_next_async(next_page_link, custom_headers)
666
+ end
667
+ page
668
+ end
669
+ end
670
+
671
671
  end
672
672
  end
@@ -1,11 +1,11 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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
- # The DevTest Labs Client.
8
+ # Azure DevTest Labs REST API.
9
9
  #
10
10
  class PolicySet
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.17.0.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
- # The DevTest Labs Client.
8
+ # Azure DevTest Labs REST API.
9
9
  #
10
10
  class ScheduleOperations
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
- # OData notation.
35
- # @param custom_headers [Hash{String => String}] A hash of custom headers that
36
- # will be added to the HTTP request.
37
- #
38
- # @return [ResponseWithContinuationSchedule] 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 schedules 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
- # OData notation.
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
- # OData notation.
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
  #
@@ -687,8 +660,8 @@ module Azure::ARM::DevTestLabs
687
660
  #
688
661
  # List schedules in a given lab.
689
662
  #
690
- # @param next_page_link [String] The NextLink from the previous successful
691
- # call to List operation.
663
+ # @param next_page_link [String] The NextLink from the previous successful call
664
+ # to List operation.
692
665
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
693
666
  # will be added to the HTTP request.
694
667
  #
@@ -702,8 +675,8 @@ module Azure::ARM::DevTestLabs
702
675
  #
703
676
  # List schedules in a given lab.
704
677
  #
705
- # @param next_page_link [String] The NextLink from the previous successful
706
- # call to List operation.
678
+ # @param next_page_link [String] The NextLink from the previous successful call
679
+ # to List operation.
707
680
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
708
681
  # will be added to the HTTP request.
709
682
  #
@@ -716,8 +689,8 @@ module Azure::ARM::DevTestLabs
716
689
  #
717
690
  # List schedules in a given lab.
718
691
  #
719
- # @param next_page_link [String] The NextLink from the previous successful
720
- # call to List operation.
692
+ # @param next_page_link [String] The NextLink from the previous successful call
693
+ # to List operation.
721
694
  # @param [Hash{String => String}] A hash of custom headers that will be added
722
695
  # to the HTTP request.
723
696
  #
@@ -771,5 +744,32 @@ module Azure::ARM::DevTestLabs
771
744
  promise.execute
772
745
  end
773
746
 
747
+ #
748
+ # List schedules in a given lab.
749
+ #
750
+ # @param resource_group_name [String] The name of the resource group.
751
+ # @param lab_name [String] The name of the lab.
752
+ # @param filter [String] The filter to apply on the operation.
753
+ # @param top [Integer] The maximum number of resources to return from the
754
+ # operation.
755
+ # @param order_by [String] The ordering expression for the results, using OData
756
+ # notation.
757
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
758
+ # will be added to the HTTP request.
759
+ #
760
+ # @return [ResponseWithContinuationSchedule] which provide lazy access to pages
761
+ # of the response.
762
+ #
763
+ def list_as_lazy(resource_group_name, lab_name, filter = nil, top = nil, order_by = nil, custom_headers = nil)
764
+ response = list_async(resource_group_name, lab_name, filter, top, order_by, custom_headers).value!
765
+ unless response.nil?
766
+ page = response.body
767
+ page.next_method = Proc.new do |next_page_link|
768
+ list_next_async(next_page_link, custom_headers)
769
+ end
770
+ page
771
+ end
772
+ end
773
+
774
774
  end
775
775
  end
@@ -1,8 +1,8 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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
- VERSION = '0.7.0'
7
+ VERSION = '0.8.0'
8
8
  end