azure_mgmt_devtestlabs 0.17.3 → 0.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/arm_templates.rb +6 -0
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/artifact_sources.rb +12 -0
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/artifacts.rb +8 -0
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/costs.rb +4 -0
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/custom_images.rb +10 -0
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/dev_test_labs_client.rb +1 -1
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/disks.rb +14 -0
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/environments.rb +10 -0
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/formulas.rb +10 -0
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/gallery_images.rb +4 -0
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/global_schedules.rb +20 -0
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/labs.rb +28 -0
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/notification_channels.rb +14 -0
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/operations.rb +2 -0
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/policies.rb +12 -0
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/policy_sets.rb +2 -0
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/provider_operations.rb +4 -0
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/schedules.rb +18 -0
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/secrets.rb +10 -0
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/service_runners.rb +10 -0
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/users.rb +12 -0
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/virtual_machine_schedules.rb +14 -0
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/virtual_machines.rb +26 -0
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/virtual_networks.rb +12 -0
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs.rb +59 -60
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/arm_templates.rb +9 -3
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/artifact_sources.rb +18 -3
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/artifacts.rb +8 -0
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/costs.rb +4 -0
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/custom_images.rb +15 -3
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/dev_test_labs_client.rb +1 -1
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/disks.rb +19 -3
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/environments.rb +15 -3
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/formulas.rb +19 -7
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/gallery_images.rb +4 -0
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/global_schedules.rb +23 -3
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/labs.rb +33 -3
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/attach_new_data_disk_options.rb +2 -2
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/attach_new_data_disk_options_fragment.rb +2 -2
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/data_disk_storage_type_info.rb +1 -1
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/data_disk_storage_type_info_fragment.rb +1 -1
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/disk.rb +2 -2
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/disk_fragment.rb +2 -2
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab.rb +4 -3
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_fragment.rb +1 -1
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine.rb +1 -1
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_creation_parameter.rb +1 -1
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_creation_parameter_fragment.rb +1 -1
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_fragment.rb +1 -1
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/storage_type.rb +1 -0
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/virtual_machine_creation_source.rb +1 -0
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/notification_channels.rb +38 -21
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/operations.rb +2 -0
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/policies.rb +15 -3
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/policy_sets.rb +2 -0
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/provider_operations.rb +4 -0
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/schedules.rb +21 -3
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/secrets.rb +15 -3
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/service_fabric_schedules.rb +38 -24
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/service_fabrics.rb +57 -36
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/service_runners.rb +9 -229
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/users.rb +15 -3
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/virtual_machine_schedules.rb +17 -3
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/virtual_machines.rb +48 -7
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/virtual_networks.rb +18 -3
- data/lib/azure_mgmt_devtestlabs.rb +1 -1
- data/lib/profiles/latest/modules/devtestlabs_profile_module.rb +179 -183
- data/lib/version.rb +1 -1
- metadata +5 -6
- data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/service_runner_list.rb +0 -98
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_mgmt_devtestlabs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.18.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.11.
|
75
|
+
version: 0.11.1
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.11.
|
82
|
+
version: 0.11.1
|
83
83
|
description: Microsoft Azure Dev Test Lab Management Client Library for Ruby
|
84
84
|
email: azrubyteam@microsoft.com
|
85
85
|
executables: []
|
@@ -438,7 +438,6 @@ files:
|
|
438
438
|
- lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/service_fabric_fragment.rb
|
439
439
|
- lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/service_fabric_list.rb
|
440
440
|
- lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/service_runner.rb
|
441
|
-
- lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/service_runner_list.rb
|
442
441
|
- lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/shared_public_ip_address_configuration.rb
|
443
442
|
- lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/shared_public_ip_address_configuration_fragment.rb
|
444
443
|
- lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/shutdown_notification_content.rb
|
@@ -517,7 +516,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
517
516
|
version: '0'
|
518
517
|
requirements: []
|
519
518
|
rubyforge_project:
|
520
|
-
rubygems_version: 2.7.
|
519
|
+
rubygems_version: 2.7.8
|
521
520
|
signing_key:
|
522
521
|
specification_version: 4
|
523
522
|
summary: Official Ruby client library to consume Microsoft Azure Dev Test Labs Management
|
@@ -1,98 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
-
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
-
# regenerated.
|
5
|
-
|
6
|
-
module Azure::DevTestLabs::Mgmt::V2018_09_15
|
7
|
-
module Models
|
8
|
-
#
|
9
|
-
# The response of a list operation.
|
10
|
-
#
|
11
|
-
class ServiceRunnerList
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
include MsRest::JSONable
|
16
|
-
# @return [Array<ServiceRunner>] Results of the list operation.
|
17
|
-
attr_accessor :value
|
18
|
-
|
19
|
-
# @return [String] Link for next set of results.
|
20
|
-
attr_accessor :next_link
|
21
|
-
|
22
|
-
# return [Proc] with next page method call.
|
23
|
-
attr_accessor :next_method
|
24
|
-
|
25
|
-
#
|
26
|
-
# Gets the rest of the items for the request, enabling auto-pagination.
|
27
|
-
#
|
28
|
-
# @return [Array<ServiceRunner>] operation results.
|
29
|
-
#
|
30
|
-
def get_all_items
|
31
|
-
items = @value
|
32
|
-
page = self
|
33
|
-
while page.next_link != nil && !page.next_link.strip.empty? do
|
34
|
-
page = page.get_next_page
|
35
|
-
items.concat(page.value)
|
36
|
-
end
|
37
|
-
items
|
38
|
-
end
|
39
|
-
|
40
|
-
#
|
41
|
-
# Gets the next page of results.
|
42
|
-
#
|
43
|
-
# @return [ServiceRunnerList] with next page content.
|
44
|
-
#
|
45
|
-
def get_next_page
|
46
|
-
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
47
|
-
unless response.nil?
|
48
|
-
@next_link = response.body.next_link
|
49
|
-
@value = response.body.value
|
50
|
-
self
|
51
|
-
end
|
52
|
-
end
|
53
|
-
|
54
|
-
#
|
55
|
-
# Mapper for ServiceRunnerList class as Ruby Hash.
|
56
|
-
# This will be used for serialization/deserialization.
|
57
|
-
#
|
58
|
-
def self.mapper()
|
59
|
-
{
|
60
|
-
client_side_validation: true,
|
61
|
-
required: false,
|
62
|
-
serialized_name: 'ServiceRunnerList',
|
63
|
-
type: {
|
64
|
-
name: 'Composite',
|
65
|
-
class_name: 'ServiceRunnerList',
|
66
|
-
model_properties: {
|
67
|
-
value: {
|
68
|
-
client_side_validation: true,
|
69
|
-
required: false,
|
70
|
-
serialized_name: 'value',
|
71
|
-
type: {
|
72
|
-
name: 'Sequence',
|
73
|
-
element: {
|
74
|
-
client_side_validation: true,
|
75
|
-
required: false,
|
76
|
-
serialized_name: 'ServiceRunnerElementType',
|
77
|
-
type: {
|
78
|
-
name: 'Composite',
|
79
|
-
class_name: 'ServiceRunner'
|
80
|
-
}
|
81
|
-
}
|
82
|
-
}
|
83
|
-
},
|
84
|
-
next_link: {
|
85
|
-
client_side_validation: true,
|
86
|
-
required: false,
|
87
|
-
serialized_name: 'nextLink',
|
88
|
-
type: {
|
89
|
-
name: 'String'
|
90
|
-
}
|
91
|
-
}
|
92
|
-
}
|
93
|
-
}
|
94
|
-
}
|
95
|
-
end
|
96
|
-
end
|
97
|
-
end
|
98
|
-
end
|