haipa_compute 0.1.0 → 0.2.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/1.0/generated/haipa_compute.rb +3 -3
- data/lib/1.0/generated/haipa_compute/haipa_compute.rb +5 -5
- data/lib/1.0/generated/haipa_compute/machines.rb +27 -39
- data/lib/1.0/generated/haipa_compute/models/agent.rb +2 -2
- data/lib/1.0/generated/haipa_compute/models/agent_network.rb +2 -2
- data/lib/1.0/generated/haipa_compute/models/machine.rb +2 -2
- data/lib/1.0/generated/haipa_compute/models/machine_config.rb +24 -2
- data/lib/1.0/generated/haipa_compute/models/machine_network.rb +2 -2
- data/lib/1.0/generated/haipa_compute/models/machine_network_config.rb +2 -2
- data/lib/1.0/generated/haipa_compute/models/machine_subnet_config.rb +2 -2
- data/lib/1.0/generated/haipa_compute/models/network.rb +2 -2
- data/lib/1.0/generated/haipa_compute/models/odata_value_ienumerable_machine.rb +2 -2
- data/lib/1.0/generated/haipa_compute/models/odata_value_ienumerable_operation.rb +2 -2
- data/lib/1.0/generated/haipa_compute/models/odata_value_ienumerable_operation_log.rb +2 -2
- data/lib/1.0/generated/haipa_compute/models/operation.rb +2 -2
- data/lib/1.0/generated/haipa_compute/models/operation_log.rb +2 -2
- data/lib/1.0/generated/haipa_compute/models/subnet.rb +2 -2
- data/lib/1.0/generated/haipa_compute/models/virtual_machine.rb +2 -2
- data/lib/1.0/generated/haipa_compute/models/virtual_machine_config.rb +22 -11
- data/lib/1.0/generated/haipa_compute/models/virtual_machine_cpu_config.rb +2 -2
- data/lib/1.0/generated/haipa_compute/models/{virtual_machine_disk_config.rb → virtual_machine_drive_config.rb} +32 -9
- data/lib/1.0/generated/haipa_compute/models/virtual_machine_memory_config.rb +2 -2
- data/lib/1.0/generated/haipa_compute/models/virtual_machine_network_adapter.rb +2 -2
- data/lib/1.0/generated/haipa_compute/models/virtual_machine_network_adapter_config.rb +2 -2
- data/lib/1.0/generated/haipa_compute/models/virtual_machine_provisioning_config.rb +13 -2
- data/lib/1.0/generated/haipa_compute/module_definition.rb +1 -1
- data/lib/1.0/generated/haipa_compute/networks.rb +20 -30
- data/lib/1.0/generated/haipa_compute/operations.rb +14 -20
- data/lib/1.0/generated/haipa_compute/subnets.rb +5 -7
- data/lib/version.rb +1 -1
- metadata +3 -3
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Haipa::Client::Compute::
|
6
|
+
module Haipa::Client::Compute::V1
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Model object.
|
@@ -11,7 +11,7 @@ module Haipa::Client::Compute::V1_0
|
|
11
11
|
#
|
12
12
|
class MachineSubnetConfig
|
13
13
|
|
14
|
-
include
|
14
|
+
include MsRestAzure
|
15
15
|
|
16
16
|
# @return [String]
|
17
17
|
attr_accessor :type
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Haipa::Client::Compute::
|
6
|
+
module Haipa::Client::Compute::V1
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Model object.
|
@@ -11,7 +11,7 @@ module Haipa::Client::Compute::V1_0
|
|
11
11
|
#
|
12
12
|
class Network
|
13
13
|
|
14
|
-
include
|
14
|
+
include MsRestAzure
|
15
15
|
|
16
16
|
# @return
|
17
17
|
attr_accessor :id
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Haipa::Client::Compute::
|
6
|
+
module Haipa::Client::Compute::V1
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Model object.
|
@@ -11,7 +11,7 @@ module Haipa::Client::Compute::V1_0
|
|
11
11
|
#
|
12
12
|
class ODataValueIEnumerableMachine
|
13
13
|
|
14
|
-
include
|
14
|
+
include MsRestAzure
|
15
15
|
|
16
16
|
# @return [Array<Machine>]
|
17
17
|
attr_accessor :value
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Haipa::Client::Compute::
|
6
|
+
module Haipa::Client::Compute::V1
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Model object.
|
@@ -11,7 +11,7 @@ module Haipa::Client::Compute::V1_0
|
|
11
11
|
#
|
12
12
|
class ODataValueIEnumerableOperation
|
13
13
|
|
14
|
-
include
|
14
|
+
include MsRestAzure
|
15
15
|
|
16
16
|
# @return [Array<Operation>]
|
17
17
|
attr_accessor :value
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Haipa::Client::Compute::
|
6
|
+
module Haipa::Client::Compute::V1
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Model object.
|
@@ -11,7 +11,7 @@ module Haipa::Client::Compute::V1_0
|
|
11
11
|
#
|
12
12
|
class ODataValueIEnumerableOperationLog
|
13
13
|
|
14
|
-
include
|
14
|
+
include MsRestAzure
|
15
15
|
|
16
16
|
# @return [Array<OperationLog>]
|
17
17
|
attr_accessor :value
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Haipa::Client::Compute::
|
6
|
+
module Haipa::Client::Compute::V1
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Model object.
|
@@ -11,7 +11,7 @@ module Haipa::Client::Compute::V1_0
|
|
11
11
|
#
|
12
12
|
class Operation
|
13
13
|
|
14
|
-
include
|
14
|
+
include MsRestAzure
|
15
15
|
|
16
16
|
# @return
|
17
17
|
attr_accessor :id
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Haipa::Client::Compute::
|
6
|
+
module Haipa::Client::Compute::V1
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Model object.
|
@@ -11,7 +11,7 @@ module Haipa::Client::Compute::V1_0
|
|
11
11
|
#
|
12
12
|
class OperationLog
|
13
13
|
|
14
|
-
include
|
14
|
+
include MsRestAzure
|
15
15
|
|
16
16
|
# @return
|
17
17
|
attr_accessor :id
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Haipa::Client::Compute::
|
6
|
+
module Haipa::Client::Compute::V1
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Model object.
|
@@ -11,7 +11,7 @@ module Haipa::Client::Compute::V1_0
|
|
11
11
|
#
|
12
12
|
class Subnet
|
13
13
|
|
14
|
-
include
|
14
|
+
include MsRestAzure
|
15
15
|
|
16
16
|
# @return
|
17
17
|
attr_accessor :id
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Haipa::Client::Compute::
|
6
|
+
module Haipa::Client::Compute::V1
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Model object.
|
@@ -11,7 +11,7 @@ module Haipa::Client::Compute::V1_0
|
|
11
11
|
#
|
12
12
|
class VirtualMachine
|
13
13
|
|
14
|
-
include
|
14
|
+
include MsRestAzure
|
15
15
|
|
16
16
|
# @return
|
17
17
|
attr_accessor :id
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Haipa::Client::Compute::
|
6
|
+
module Haipa::Client::Compute::V1
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Model object.
|
@@ -11,10 +11,13 @@ module Haipa::Client::Compute::V1_0
|
|
11
11
|
#
|
12
12
|
class VirtualMachineConfig
|
13
13
|
|
14
|
-
include
|
14
|
+
include MsRestAzure
|
15
15
|
|
16
16
|
# @return [String]
|
17
|
-
attr_accessor :
|
17
|
+
attr_accessor :slug
|
18
|
+
|
19
|
+
# @return [String]
|
20
|
+
attr_accessor :data_store
|
18
21
|
|
19
22
|
# @return [VirtualMachineCpuConfig]
|
20
23
|
attr_accessor :cpu
|
@@ -22,8 +25,8 @@ module Haipa::Client::Compute::V1_0
|
|
22
25
|
# @return [VirtualMachineMemoryConfig]
|
23
26
|
attr_accessor :memory
|
24
27
|
|
25
|
-
# @return [Array<
|
26
|
-
attr_accessor :
|
28
|
+
# @return [Array<VirtualMachineDriveConfig>]
|
29
|
+
attr_accessor :drives
|
27
30
|
|
28
31
|
# @return [Array<VirtualMachineNetworkAdapterConfig>]
|
29
32
|
attr_accessor :network_adapters
|
@@ -42,10 +45,18 @@ module Haipa::Client::Compute::V1_0
|
|
42
45
|
name: 'Composite',
|
43
46
|
class_name: 'VirtualMachineConfig',
|
44
47
|
model_properties: {
|
45
|
-
|
48
|
+
slug: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
serialized_name: 'slug',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
data_store: {
|
46
57
|
client_side_validation: true,
|
47
58
|
required: false,
|
48
|
-
serialized_name: '
|
59
|
+
serialized_name: 'dataStore',
|
49
60
|
type: {
|
50
61
|
name: 'String'
|
51
62
|
}
|
@@ -68,19 +79,19 @@ module Haipa::Client::Compute::V1_0
|
|
68
79
|
class_name: 'VirtualMachineMemoryConfig'
|
69
80
|
}
|
70
81
|
},
|
71
|
-
|
82
|
+
drives: {
|
72
83
|
client_side_validation: true,
|
73
84
|
required: false,
|
74
|
-
serialized_name: '
|
85
|
+
serialized_name: 'drives',
|
75
86
|
type: {
|
76
87
|
name: 'Sequence',
|
77
88
|
element: {
|
78
89
|
client_side_validation: true,
|
79
90
|
required: false,
|
80
|
-
serialized_name: '
|
91
|
+
serialized_name: 'VirtualMachineDriveConfigElementType',
|
81
92
|
type: {
|
82
93
|
name: 'Composite',
|
83
|
-
class_name: '
|
94
|
+
class_name: 'VirtualMachineDriveConfig'
|
84
95
|
}
|
85
96
|
}
|
86
97
|
}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Haipa::Client::Compute::
|
6
|
+
module Haipa::Client::Compute::V1
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Model object.
|
@@ -11,7 +11,7 @@ module Haipa::Client::Compute::V1_0
|
|
11
11
|
#
|
12
12
|
class VirtualMachineCpuConfig
|
13
13
|
|
14
|
-
include
|
14
|
+
include MsRestAzure
|
15
15
|
|
16
16
|
# @return [Integer]
|
17
17
|
attr_accessor :count
|
@@ -3,21 +3,24 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Haipa::Client::Compute::
|
6
|
+
module Haipa::Client::Compute::V1
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Model object.
|
10
10
|
#
|
11
11
|
#
|
12
|
-
class
|
12
|
+
class VirtualMachineDriveConfig
|
13
13
|
|
14
|
-
include
|
14
|
+
include MsRestAzure
|
15
15
|
|
16
16
|
# @return [String]
|
17
17
|
attr_accessor :name
|
18
18
|
|
19
19
|
# @return [String]
|
20
|
-
attr_accessor :
|
20
|
+
attr_accessor :share_slug
|
21
|
+
|
22
|
+
# @return [String]
|
23
|
+
attr_accessor :data_store
|
21
24
|
|
22
25
|
# @return [String]
|
23
26
|
attr_accessor :template
|
@@ -25,19 +28,23 @@ module Haipa::Client::Compute::V1_0
|
|
25
28
|
# @return [Integer]
|
26
29
|
attr_accessor :size
|
27
30
|
|
31
|
+
# @return [Enum] Possible values include: 'VHD', 'SharedVHD', 'PHD',
|
32
|
+
# 'DVD'
|
33
|
+
attr_accessor :type
|
34
|
+
|
28
35
|
|
29
36
|
#
|
30
|
-
# Mapper for
|
37
|
+
# Mapper for VirtualMachineDriveConfig class as Ruby Hash.
|
31
38
|
# This will be used for serialization/deserialization.
|
32
39
|
#
|
33
40
|
def self.mapper()
|
34
41
|
{
|
35
42
|
client_side_validation: true,
|
36
43
|
required: false,
|
37
|
-
serialized_name: '
|
44
|
+
serialized_name: 'VirtualMachineDriveConfig',
|
38
45
|
type: {
|
39
46
|
name: 'Composite',
|
40
|
-
class_name: '
|
47
|
+
class_name: 'VirtualMachineDriveConfig',
|
41
48
|
model_properties: {
|
42
49
|
name: {
|
43
50
|
client_side_validation: true,
|
@@ -47,10 +54,18 @@ module Haipa::Client::Compute::V1_0
|
|
47
54
|
name: 'String'
|
48
55
|
}
|
49
56
|
},
|
50
|
-
|
57
|
+
share_slug: {
|
51
58
|
client_side_validation: true,
|
52
59
|
required: false,
|
53
|
-
serialized_name: '
|
60
|
+
serialized_name: 'shareSlug',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
data_store: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: false,
|
68
|
+
serialized_name: 'dataStore',
|
54
69
|
type: {
|
55
70
|
name: 'String'
|
56
71
|
}
|
@@ -70,6 +85,14 @@ module Haipa::Client::Compute::V1_0
|
|
70
85
|
type: {
|
71
86
|
name: 'Number'
|
72
87
|
}
|
88
|
+
},
|
89
|
+
type: {
|
90
|
+
client_side_validation: true,
|
91
|
+
required: false,
|
92
|
+
serialized_name: 'type',
|
93
|
+
type: {
|
94
|
+
name: 'String'
|
95
|
+
}
|
73
96
|
}
|
74
97
|
}
|
75
98
|
}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Haipa::Client::Compute::
|
6
|
+
module Haipa::Client::Compute::V1
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Model object.
|
@@ -11,7 +11,7 @@ module Haipa::Client::Compute::V1_0
|
|
11
11
|
#
|
12
12
|
class VirtualMachineMemoryConfig
|
13
13
|
|
14
|
-
include
|
14
|
+
include MsRestAzure
|
15
15
|
|
16
16
|
# @return [Integer]
|
17
17
|
attr_accessor :startup
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Haipa::Client::Compute::
|
6
|
+
module Haipa::Client::Compute::V1
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Model object.
|
@@ -11,7 +11,7 @@ module Haipa::Client::Compute::V1_0
|
|
11
11
|
#
|
12
12
|
class VirtualMachineNetworkAdapter
|
13
13
|
|
14
|
-
include
|
14
|
+
include MsRestAzure
|
15
15
|
|
16
16
|
# @return
|
17
17
|
attr_accessor :machine_id
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Haipa::Client::Compute::
|
6
|
+
module Haipa::Client::Compute::V1
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Model object.
|
@@ -11,7 +11,7 @@ module Haipa::Client::Compute::V1_0
|
|
11
11
|
#
|
12
12
|
class VirtualMachineNetworkAdapterConfig
|
13
13
|
|
14
|
-
include
|
14
|
+
include MsRestAzure
|
15
15
|
|
16
16
|
# @return [String]
|
17
17
|
attr_accessor :name
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Haipa::Client::Compute::
|
6
|
+
module Haipa::Client::Compute::V1
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Model object.
|
@@ -11,7 +11,7 @@ module Haipa::Client::Compute::V1_0
|
|
11
11
|
#
|
12
12
|
class VirtualMachineProvisioningConfig
|
13
13
|
|
14
|
-
include
|
14
|
+
include MsRestAzure
|
15
15
|
|
16
16
|
# @return [String]
|
17
17
|
attr_accessor :hostname
|
@@ -19,6 +19,9 @@ module Haipa::Client::Compute::V1_0
|
|
19
19
|
# @return
|
20
20
|
attr_accessor :user_data
|
21
21
|
|
22
|
+
# @return [Enum] Possible values include: 'None', 'CloudInit'
|
23
|
+
attr_accessor :method
|
24
|
+
|
22
25
|
|
23
26
|
#
|
24
27
|
# Mapper for VirtualMachineProvisioningConfig class as Ruby Hash.
|
@@ -48,6 +51,14 @@ module Haipa::Client::Compute::V1_0
|
|
48
51
|
type: {
|
49
52
|
name: 'Object'
|
50
53
|
}
|
54
|
+
},
|
55
|
+
method: {
|
56
|
+
client_side_validation: true,
|
57
|
+
required: false,
|
58
|
+
serialized_name: 'method',
|
59
|
+
type: {
|
60
|
+
name: 'String'
|
61
|
+
}
|
51
62
|
}
|
52
63
|
}
|
53
64
|
}
|