azure_mgmt_vmware_cloudsimple 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple.rb +82 -0
  4. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/dedicated_cloud_nodes.rb +945 -0
  5. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/dedicated_cloud_services.rb +932 -0
  6. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/aggregation_type.rb +16 -0
  7. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/available_operation.rb +99 -0
  8. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/available_operation_display.rb +79 -0
  9. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/available_operation_display_property_service_specification_metrics_item.rb +94 -0
  10. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/available_operation_display_property_service_specification_metrics_list.rb +60 -0
  11. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/available_operations_list_response.rb +99 -0
  12. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/csrperror.rb +47 -0
  13. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/csrperror_body.rb +91 -0
  14. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/dedicated_cloud_node.rb +293 -0
  15. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/dedicated_cloud_node_list_response.rb +99 -0
  16. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/dedicated_cloud_service.rb +154 -0
  17. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/dedicated_cloud_service_list_response.rb +99 -0
  18. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/disk_independence_mode.rb +17 -0
  19. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/guest_ostype.rb +17 -0
  20. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/nictype.rb +20 -0
  21. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/node_status.rb +16 -0
  22. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/onboarding_status.rb +18 -0
  23. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/operation_error.rb +57 -0
  24. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/operation_origin.rb +17 -0
  25. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/operation_resource.rb +107 -0
  26. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/patch_payload.rb +54 -0
  27. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud.rb +382 -0
  28. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud_list.rb +98 -0
  29. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud_resource_type.rb +15 -0
  30. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/resource_pool.rb +106 -0
  31. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/resource_pools_list_response.rb +98 -0
  32. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/sku.rb +93 -0
  33. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/sku_availability.rb +124 -0
  34. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/sku_availability_list_response.rb +99 -0
  35. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/stop_mode.rb +18 -0
  36. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/usage.rb +87 -0
  37. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/usage_count.rb +20 -0
  38. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/usage_list_response.rb +99 -0
  39. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/usage_name.rb +58 -0
  40. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_disk.rb +94 -0
  41. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_disk_controller.rb +84 -0
  42. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_machine.rb +388 -0
  43. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_machine_list_response.rb +98 -0
  44. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_machine_status.rb +20 -0
  45. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_machine_stop_mode.rb +49 -0
  46. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_machine_template.rb +283 -0
  47. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_machine_template_list_response.rb +98 -0
  48. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_network.rb +106 -0
  49. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_network_list_response.rb +98 -0
  50. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_nic.rb +124 -0
  51. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/module_definition.rb +9 -0
  52. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/operations.rb +335 -0
  53. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/private_clouds.rb +340 -0
  54. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/resource_pools.rb +349 -0
  55. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/skus_availability.rb +248 -0
  56. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/usages.rb +248 -0
  57. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/virtual_machine_templates.rb +361 -0
  58. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/virtual_machines.rb +1326 -0
  59. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/virtual_networks.rb +358 -0
  60. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/vmware_cloud_simple_client.rb +170 -0
  61. data/lib/azure_mgmt_vmware_cloudsimple.rb +6 -0
  62. data/lib/module_definition.rb +7 -0
  63. data/lib/profiles/latest/modules/vmwarecloudsimple_profile_module.rb +259 -0
  64. data/lib/profiles/latest/vmwarecloudsimple_latest_profile_client.rb +40 -0
  65. data/lib/profiles/latest/vmwarecloudsimple_module_definition.rb +8 -0
  66. data/lib/version.rb +7 -0
  67. metadata +182 -0
@@ -0,0 +1,18 @@
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::VMwareCloudSimple::Mgmt::V2019_04_01
7
+ module Models
8
+ #
9
+ # Defines values for StopMode
10
+ #
11
+ module StopMode
12
+ Reboot = "reboot"
13
+ Suspend = "suspend"
14
+ Shutdown = "shutdown"
15
+ Poweroff = "poweroff"
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,87 @@
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::VMwareCloudSimple::Mgmt::V2019_04_01
7
+ module Models
8
+ #
9
+ # Usage model
10
+ #
11
+ class Usage
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Integer] The current usage value. Default value: 0 .
16
+ attr_accessor :current_value
17
+
18
+ # @return [Integer] limit of a given sku in a region for a subscription.
19
+ # The maximum permitted value for the usage quota. If there is no limit,
20
+ # this value will be -1. Default value: 0 .
21
+ attr_accessor :limit
22
+
23
+ # @return [UsageName] Usage name value and localized name
24
+ attr_accessor :name
25
+
26
+ # @return [UsageCount] The usages' unit. Possible values include:
27
+ # 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond',
28
+ # 'BytesPerSecond'
29
+ attr_accessor :unit
30
+
31
+
32
+ #
33
+ # Mapper for Usage class as Ruby Hash.
34
+ # This will be used for serialization/deserialization.
35
+ #
36
+ def self.mapper()
37
+ {
38
+ client_side_validation: true,
39
+ required: false,
40
+ serialized_name: 'Usage',
41
+ type: {
42
+ name: 'Composite',
43
+ class_name: 'Usage',
44
+ model_properties: {
45
+ current_value: {
46
+ client_side_validation: true,
47
+ required: true,
48
+ serialized_name: 'currentValue',
49
+ default_value: 0,
50
+ type: {
51
+ name: 'Number'
52
+ }
53
+ },
54
+ limit: {
55
+ client_side_validation: true,
56
+ required: true,
57
+ serialized_name: 'limit',
58
+ default_value: 0,
59
+ type: {
60
+ name: 'Number'
61
+ }
62
+ },
63
+ name: {
64
+ client_side_validation: true,
65
+ required: false,
66
+ serialized_name: 'name',
67
+ type: {
68
+ name: 'Composite',
69
+ class_name: 'UsageName'
70
+ }
71
+ },
72
+ unit: {
73
+ client_side_validation: true,
74
+ required: false,
75
+ serialized_name: 'unit',
76
+ type: {
77
+ name: 'Enum',
78
+ module: 'UsageCount'
79
+ }
80
+ }
81
+ }
82
+ }
83
+ }
84
+ end
85
+ end
86
+ end
87
+ end
@@ -0,0 +1,20 @@
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::VMwareCloudSimple::Mgmt::V2019_04_01
7
+ module Models
8
+ #
9
+ # Defines values for UsageCount
10
+ #
11
+ module UsageCount
12
+ Count = "Count"
13
+ Bytes = "Bytes"
14
+ Seconds = "Seconds"
15
+ Percent = "Percent"
16
+ CountPerSecond = "CountPerSecond"
17
+ BytesPerSecond = "BytesPerSecond"
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,99 @@
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::VMwareCloudSimple::Mgmt::V2019_04_01
7
+ module Models
8
+ #
9
+ # List of usages
10
+ #
11
+ class UsageListResponse
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [String] Link for next list of DedicatedCloudNode
17
+ attr_accessor :next_link
18
+
19
+ # @return [Array<Usage>] The list of usages
20
+ attr_accessor :value
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<Usage>] 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 [UsageListResponse] 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 UsageListResponse 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: 'UsageListResponse',
63
+ type: {
64
+ name: 'Composite',
65
+ class_name: 'UsageListResponse',
66
+ model_properties: {
67
+ next_link: {
68
+ client_side_validation: true,
69
+ required: false,
70
+ serialized_name: 'nextLink',
71
+ type: {
72
+ name: 'String'
73
+ }
74
+ },
75
+ value: {
76
+ client_side_validation: true,
77
+ required: false,
78
+ read_only: true,
79
+ serialized_name: 'value',
80
+ type: {
81
+ name: 'Sequence',
82
+ element: {
83
+ client_side_validation: true,
84
+ required: false,
85
+ serialized_name: 'UsageElementType',
86
+ type: {
87
+ name: 'Composite',
88
+ class_name: 'Usage'
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
94
+ }
95
+ }
96
+ end
97
+ end
98
+ end
99
+ end
@@ -0,0 +1,58 @@
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::VMwareCloudSimple::Mgmt::V2019_04_01
7
+ module Models
8
+ #
9
+ # User name model
10
+ #
11
+ class UsageName
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] e.g. "Virtual Machines"
16
+ attr_accessor :localized_value
17
+
18
+ # @return [String] resource type or resource type sku name, e.g.
19
+ # virtualMachines
20
+ attr_accessor :value
21
+
22
+
23
+ #
24
+ # Mapper for UsageName class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ client_side_validation: true,
30
+ required: false,
31
+ serialized_name: 'UsageName',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'UsageName',
35
+ model_properties: {
36
+ localized_value: {
37
+ client_side_validation: true,
38
+ required: false,
39
+ serialized_name: 'localizedValue',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ value: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ serialized_name: 'value',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ }
52
+ }
53
+ }
54
+ }
55
+ end
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,94 @@
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::VMwareCloudSimple::Mgmt::V2019_04_01
7
+ module Models
8
+ #
9
+ # Virtual disk model
10
+ #
11
+ class VirtualDisk
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Disk's Controller id
16
+ attr_accessor :controller_id
17
+
18
+ # @return [DiskIndependenceMode] Disk's independence mode type. Possible
19
+ # values include: 'persistent', 'independent_persistent',
20
+ # 'independent_nonpersistent'
21
+ attr_accessor :independence_mode
22
+
23
+ # @return [Integer] Disk's total size
24
+ attr_accessor :total_size
25
+
26
+ # @return [String] Disk's id
27
+ attr_accessor :virtual_disk_id
28
+
29
+ # @return [String] Disk's display name
30
+ attr_accessor :virtual_disk_name
31
+
32
+
33
+ #
34
+ # Mapper for VirtualDisk class as Ruby Hash.
35
+ # This will be used for serialization/deserialization.
36
+ #
37
+ def self.mapper()
38
+ {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'VirtualDisk',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'VirtualDisk',
45
+ model_properties: {
46
+ controller_id: {
47
+ client_side_validation: true,
48
+ required: true,
49
+ serialized_name: 'controllerId',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ independence_mode: {
55
+ client_side_validation: true,
56
+ required: true,
57
+ serialized_name: 'independenceMode',
58
+ type: {
59
+ name: 'Enum',
60
+ module: 'DiskIndependenceMode'
61
+ }
62
+ },
63
+ total_size: {
64
+ client_side_validation: true,
65
+ required: true,
66
+ serialized_name: 'totalSize',
67
+ type: {
68
+ name: 'Number'
69
+ }
70
+ },
71
+ virtual_disk_id: {
72
+ client_side_validation: true,
73
+ required: false,
74
+ serialized_name: 'virtualDiskId',
75
+ type: {
76
+ name: 'String'
77
+ }
78
+ },
79
+ virtual_disk_name: {
80
+ client_side_validation: true,
81
+ required: false,
82
+ read_only: true,
83
+ serialized_name: 'virtualDiskName',
84
+ type: {
85
+ name: 'String'
86
+ }
87
+ }
88
+ }
89
+ }
90
+ }
91
+ end
92
+ end
93
+ end
94
+ end
@@ -0,0 +1,84 @@
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::VMwareCloudSimple::Mgmt::V2019_04_01
7
+ module Models
8
+ #
9
+ # Virtual disk controller model
10
+ #
11
+ class VirtualDiskController
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Controller's id
16
+ attr_accessor :id
17
+
18
+ # @return [String] The display name of Controller
19
+ attr_accessor :name
20
+
21
+ # @return [String] dik controller subtype (VMWARE_PARAVIRTUAL,
22
+ # BUS_PARALLEL, LSI_PARALLEL, LSI_SAS)
23
+ attr_accessor :sub_type
24
+
25
+ # @return [String] disk controller type (SCSI)
26
+ attr_accessor :type
27
+
28
+
29
+ #
30
+ # Mapper for VirtualDiskController class as Ruby Hash.
31
+ # This will be used for serialization/deserialization.
32
+ #
33
+ def self.mapper()
34
+ {
35
+ client_side_validation: true,
36
+ required: false,
37
+ serialized_name: 'VirtualDiskController',
38
+ type: {
39
+ name: 'Composite',
40
+ class_name: 'VirtualDiskController',
41
+ model_properties: {
42
+ id: {
43
+ client_side_validation: true,
44
+ required: false,
45
+ read_only: true,
46
+ serialized_name: 'id',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ },
51
+ name: {
52
+ client_side_validation: true,
53
+ required: false,
54
+ read_only: true,
55
+ serialized_name: 'name',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ },
60
+ sub_type: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ read_only: true,
64
+ serialized_name: 'subType',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ },
69
+ type: {
70
+ client_side_validation: true,
71
+ required: false,
72
+ read_only: true,
73
+ serialized_name: 'type',
74
+ type: {
75
+ name: 'String'
76
+ }
77
+ }
78
+ }
79
+ }
80
+ }
81
+ end
82
+ end
83
+ end
84
+ end