azure_mgmt_vmware_cloudsimple 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple.rb +82 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/dedicated_cloud_nodes.rb +945 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/dedicated_cloud_services.rb +932 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/aggregation_type.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/available_operation.rb +99 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/available_operation_display.rb +79 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/available_operation_display_property_service_specification_metrics_item.rb +94 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/available_operation_display_property_service_specification_metrics_list.rb +60 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/available_operations_list_response.rb +99 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/csrperror.rb +47 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/csrperror_body.rb +91 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/dedicated_cloud_node.rb +293 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/dedicated_cloud_node_list_response.rb +99 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/dedicated_cloud_service.rb +154 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/dedicated_cloud_service_list_response.rb +99 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/disk_independence_mode.rb +17 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/guest_ostype.rb +17 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/nictype.rb +20 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/node_status.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/onboarding_status.rb +18 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/operation_error.rb +57 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/operation_origin.rb +17 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/operation_resource.rb +107 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/patch_payload.rb +54 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud.rb +382 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud_list.rb +98 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud_resource_type.rb +15 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/resource_pool.rb +106 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/resource_pools_list_response.rb +98 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/sku.rb +93 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/sku_availability.rb +124 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/sku_availability_list_response.rb +99 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/stop_mode.rb +18 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/usage.rb +87 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/usage_count.rb +20 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/usage_list_response.rb +99 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/usage_name.rb +58 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_disk.rb +94 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_disk_controller.rb +84 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_machine.rb +388 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_machine_list_response.rb +98 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_machine_status.rb +20 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_machine_stop_mode.rb +49 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_machine_template.rb +283 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_machine_template_list_response.rb +98 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_network.rb +106 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_network_list_response.rb +98 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_nic.rb +124 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/module_definition.rb +9 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/operations.rb +335 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/private_clouds.rb +340 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/resource_pools.rb +349 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/skus_availability.rb +248 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/usages.rb +248 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/virtual_machine_templates.rb +361 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/virtual_machines.rb +1326 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/virtual_networks.rb +358 -0
- data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/vmware_cloud_simple_client.rb +170 -0
- data/lib/azure_mgmt_vmware_cloudsimple.rb +6 -0
- data/lib/module_definition.rb +7 -0
- data/lib/profiles/latest/modules/vmwarecloudsimple_profile_module.rb +259 -0
- data/lib/profiles/latest/vmwarecloudsimple_latest_profile_client.rb +40 -0
- data/lib/profiles/latest/vmwarecloudsimple_module_definition.rb +8 -0
- data/lib/version.rb +7 -0
- metadata +182 -0
@@ -0,0 +1,6 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
|
+
|
5
|
+
require '2019-04-01/generated/azure_mgmt_vmware_cloudsimple'
|
6
|
+
require 'profiles/latest/vmwarecloudsimple_latest_profile_client'
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
|
+
|
5
|
+
module Azure end
|
6
|
+
module Azure::VmwareCloudsimple end
|
7
|
+
module Azure::VmwareCloudsimple::Mgmt end
|
@@ -0,0 +1,259 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
|
+
|
5
|
+
require 'azure_mgmt_vmware_cloudsimple'
|
6
|
+
|
7
|
+
module Azure::VMwareCloudSimple::Profiles::Latest
|
8
|
+
module Mgmt
|
9
|
+
Operations = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Operations
|
10
|
+
DedicatedCloudNodes = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::DedicatedCloudNodes
|
11
|
+
DedicatedCloudServices = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::DedicatedCloudServices
|
12
|
+
SkusAvailability = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::SkusAvailability
|
13
|
+
PrivateClouds = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::PrivateClouds
|
14
|
+
ResourcePools = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::ResourcePools
|
15
|
+
VirtualMachineTemplates = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::VirtualMachineTemplates
|
16
|
+
VirtualNetworks = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::VirtualNetworks
|
17
|
+
Usages = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Usages
|
18
|
+
VirtualMachines = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::VirtualMachines
|
19
|
+
|
20
|
+
module Models
|
21
|
+
VirtualDisk = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualDisk
|
22
|
+
AvailableOperationDisplay = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::AvailableOperationDisplay
|
23
|
+
VirtualNetwork = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualNetwork
|
24
|
+
AvailableOperationDisplayPropertyServiceSpecificationMetricsList = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::AvailableOperationDisplayPropertyServiceSpecificationMetricsList
|
25
|
+
VirtualNic = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualNic
|
26
|
+
AvailableOperationsListResponse = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::AvailableOperationsListResponse
|
27
|
+
VirtualMachineTemplate = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualMachineTemplate
|
28
|
+
CSRPError = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::CSRPError
|
29
|
+
PrivateCloud = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::PrivateCloud
|
30
|
+
DedicatedCloudNode = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::DedicatedCloudNode
|
31
|
+
PrivateCloudList = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::PrivateCloudList
|
32
|
+
DedicatedCloudService = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::DedicatedCloudService
|
33
|
+
ResourcePoolsListResponse = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::ResourcePoolsListResponse
|
34
|
+
OperationError = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::OperationError
|
35
|
+
SkuAvailability = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::SkuAvailability
|
36
|
+
PatchPayload = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::PatchPayload
|
37
|
+
SkuAvailabilityListResponse = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::SkuAvailabilityListResponse
|
38
|
+
VirtualDiskController = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualDiskController
|
39
|
+
UsageName = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::UsageName
|
40
|
+
AvailableOperation = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::AvailableOperation
|
41
|
+
Usage = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::Usage
|
42
|
+
Sku = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::Sku
|
43
|
+
UsageListResponse = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::UsageListResponse
|
44
|
+
DedicatedCloudServiceListResponse = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::DedicatedCloudServiceListResponse
|
45
|
+
VirtualMachine = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualMachine
|
46
|
+
ResourcePool = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::ResourcePool
|
47
|
+
VirtualMachineListResponse = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualMachineListResponse
|
48
|
+
CSRPErrorBody = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::CSRPErrorBody
|
49
|
+
VirtualMachineStopMode = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualMachineStopMode
|
50
|
+
OperationResource = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::OperationResource
|
51
|
+
VirtualMachineTemplateListResponse = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualMachineTemplateListResponse
|
52
|
+
DedicatedCloudNodeListResponse = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::DedicatedCloudNodeListResponse
|
53
|
+
VirtualNetworkListResponse = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualNetworkListResponse
|
54
|
+
AvailableOperationDisplayPropertyServiceSpecificationMetricsItem = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::AvailableOperationDisplayPropertyServiceSpecificationMetricsItem
|
55
|
+
OperationOrigin = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::OperationOrigin
|
56
|
+
AggregationType = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::AggregationType
|
57
|
+
NodeStatus = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::NodeStatus
|
58
|
+
OnboardingStatus = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::OnboardingStatus
|
59
|
+
DiskIndependenceMode = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::DiskIndependenceMode
|
60
|
+
NICType = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::NICType
|
61
|
+
PrivateCloudResourceType = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::PrivateCloudResourceType
|
62
|
+
UsageCount = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::UsageCount
|
63
|
+
GuestOSType = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::GuestOSType
|
64
|
+
VirtualMachineStatus = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualMachineStatus
|
65
|
+
StopMode = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::StopMode
|
66
|
+
end
|
67
|
+
|
68
|
+
#
|
69
|
+
# VMwareCloudSimpleManagementClass
|
70
|
+
#
|
71
|
+
class VMwareCloudSimpleManagementClass
|
72
|
+
attr_reader :operations, :dedicated_cloud_nodes, :dedicated_cloud_services, :skus_availability, :private_clouds, :resource_pools, :virtual_machine_templates, :virtual_networks, :usages, :virtual_machines, :configurable, :base_url, :options, :model_classes
|
73
|
+
|
74
|
+
def initialize(options = {})
|
75
|
+
if options.is_a?(Hash) && options.length == 0
|
76
|
+
@options = setup_default_options
|
77
|
+
else
|
78
|
+
@options = options
|
79
|
+
end
|
80
|
+
|
81
|
+
reset!(options)
|
82
|
+
|
83
|
+
@configurable = self
|
84
|
+
@base_url = options[:base_url].nil? ? nil:options[:base_url]
|
85
|
+
@options = options[:options].nil? ? nil:options[:options]
|
86
|
+
|
87
|
+
@client_0 = Azure::VMwareCloudSimple::Mgmt::V2019_04_01::VMwareCloudSimpleClient.new(configurable.credentials, base_url, options)
|
88
|
+
if(@client_0.respond_to?(:subscription_id))
|
89
|
+
@client_0.subscription_id = configurable.subscription_id
|
90
|
+
end
|
91
|
+
add_telemetry(@client_0)
|
92
|
+
@operations = @client_0.operations
|
93
|
+
@dedicated_cloud_nodes = @client_0.dedicated_cloud_nodes
|
94
|
+
@dedicated_cloud_services = @client_0.dedicated_cloud_services
|
95
|
+
@skus_availability = @client_0.skus_availability
|
96
|
+
@private_clouds = @client_0.private_clouds
|
97
|
+
@resource_pools = @client_0.resource_pools
|
98
|
+
@virtual_machine_templates = @client_0.virtual_machine_templates
|
99
|
+
@virtual_networks = @client_0.virtual_networks
|
100
|
+
@usages = @client_0.usages
|
101
|
+
@virtual_machines = @client_0.virtual_machines
|
102
|
+
|
103
|
+
@model_classes = ModelClasses.new
|
104
|
+
end
|
105
|
+
|
106
|
+
def add_telemetry(client)
|
107
|
+
profile_information = 'Profiles/Latest/VMwareCloudSimple/Mgmt'
|
108
|
+
client.add_user_agent_information(profile_information)
|
109
|
+
end
|
110
|
+
|
111
|
+
def method_missing(method, *args)
|
112
|
+
if @client_0.respond_to?method
|
113
|
+
@client_0.send(method, *args)
|
114
|
+
else
|
115
|
+
super
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
end
|
120
|
+
|
121
|
+
class ModelClasses
|
122
|
+
def virtual_disk
|
123
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualDisk
|
124
|
+
end
|
125
|
+
def available_operation_display
|
126
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::AvailableOperationDisplay
|
127
|
+
end
|
128
|
+
def virtual_network
|
129
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualNetwork
|
130
|
+
end
|
131
|
+
def available_operation_display_property_service_specification_metrics_list
|
132
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::AvailableOperationDisplayPropertyServiceSpecificationMetricsList
|
133
|
+
end
|
134
|
+
def virtual_nic
|
135
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualNic
|
136
|
+
end
|
137
|
+
def available_operations_list_response
|
138
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::AvailableOperationsListResponse
|
139
|
+
end
|
140
|
+
def virtual_machine_template
|
141
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualMachineTemplate
|
142
|
+
end
|
143
|
+
def csrperror
|
144
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::CSRPError
|
145
|
+
end
|
146
|
+
def private_cloud
|
147
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::PrivateCloud
|
148
|
+
end
|
149
|
+
def dedicated_cloud_node
|
150
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::DedicatedCloudNode
|
151
|
+
end
|
152
|
+
def private_cloud_list
|
153
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::PrivateCloudList
|
154
|
+
end
|
155
|
+
def dedicated_cloud_service
|
156
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::DedicatedCloudService
|
157
|
+
end
|
158
|
+
def resource_pools_list_response
|
159
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::ResourcePoolsListResponse
|
160
|
+
end
|
161
|
+
def operation_error
|
162
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::OperationError
|
163
|
+
end
|
164
|
+
def sku_availability
|
165
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::SkuAvailability
|
166
|
+
end
|
167
|
+
def patch_payload
|
168
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::PatchPayload
|
169
|
+
end
|
170
|
+
def sku_availability_list_response
|
171
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::SkuAvailabilityListResponse
|
172
|
+
end
|
173
|
+
def virtual_disk_controller
|
174
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualDiskController
|
175
|
+
end
|
176
|
+
def usage_name
|
177
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::UsageName
|
178
|
+
end
|
179
|
+
def available_operation
|
180
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::AvailableOperation
|
181
|
+
end
|
182
|
+
def usage
|
183
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::Usage
|
184
|
+
end
|
185
|
+
def sku
|
186
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::Sku
|
187
|
+
end
|
188
|
+
def usage_list_response
|
189
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::UsageListResponse
|
190
|
+
end
|
191
|
+
def dedicated_cloud_service_list_response
|
192
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::DedicatedCloudServiceListResponse
|
193
|
+
end
|
194
|
+
def virtual_machine
|
195
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualMachine
|
196
|
+
end
|
197
|
+
def resource_pool
|
198
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::ResourcePool
|
199
|
+
end
|
200
|
+
def virtual_machine_list_response
|
201
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualMachineListResponse
|
202
|
+
end
|
203
|
+
def csrperror_body
|
204
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::CSRPErrorBody
|
205
|
+
end
|
206
|
+
def virtual_machine_stop_mode
|
207
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualMachineStopMode
|
208
|
+
end
|
209
|
+
def operation_resource
|
210
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::OperationResource
|
211
|
+
end
|
212
|
+
def virtual_machine_template_list_response
|
213
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualMachineTemplateListResponse
|
214
|
+
end
|
215
|
+
def dedicated_cloud_node_list_response
|
216
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::DedicatedCloudNodeListResponse
|
217
|
+
end
|
218
|
+
def virtual_network_list_response
|
219
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualNetworkListResponse
|
220
|
+
end
|
221
|
+
def available_operation_display_property_service_specification_metrics_item
|
222
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::AvailableOperationDisplayPropertyServiceSpecificationMetricsItem
|
223
|
+
end
|
224
|
+
def operation_origin
|
225
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::OperationOrigin
|
226
|
+
end
|
227
|
+
def aggregation_type
|
228
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::AggregationType
|
229
|
+
end
|
230
|
+
def node_status
|
231
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::NodeStatus
|
232
|
+
end
|
233
|
+
def onboarding_status
|
234
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::OnboardingStatus
|
235
|
+
end
|
236
|
+
def disk_independence_mode
|
237
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::DiskIndependenceMode
|
238
|
+
end
|
239
|
+
def nictype
|
240
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::NICType
|
241
|
+
end
|
242
|
+
def private_cloud_resource_type
|
243
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::PrivateCloudResourceType
|
244
|
+
end
|
245
|
+
def usage_count
|
246
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::UsageCount
|
247
|
+
end
|
248
|
+
def guest_ostype
|
249
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::GuestOSType
|
250
|
+
end
|
251
|
+
def virtual_machine_status
|
252
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::VirtualMachineStatus
|
253
|
+
end
|
254
|
+
def stop_mode
|
255
|
+
Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::StopMode
|
256
|
+
end
|
257
|
+
end
|
258
|
+
end
|
259
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
|
+
|
5
|
+
require 'profiles/latest/vmwarecloudsimple_module_definition'
|
6
|
+
require 'profiles/latest/modules/vmwarecloudsimple_profile_module'
|
7
|
+
|
8
|
+
module Azure::VMwareCloudSimple::Profiles::Latest
|
9
|
+
module Mgmt
|
10
|
+
#
|
11
|
+
# Client class for the Latest profile SDK.
|
12
|
+
#
|
13
|
+
class Client < VMwareCloudSimpleManagementClass
|
14
|
+
include MsRestAzure::Common::Configurable
|
15
|
+
|
16
|
+
#
|
17
|
+
# Initializes a new instance of the Client class.
|
18
|
+
# @param options [Hash] hash of client options.
|
19
|
+
# options = {
|
20
|
+
# tenant_id: 'YOUR TENANT ID',
|
21
|
+
# client_id: 'YOUR CLIENT ID',
|
22
|
+
# client_secret: 'YOUR CLIENT SECRET',
|
23
|
+
# subscription_id: 'YOUR SUBSCRIPTION ID',
|
24
|
+
# credentials: credentials,
|
25
|
+
# active_directory_settings: active_directory_settings,
|
26
|
+
# base_url: 'YOUR BASE URL',
|
27
|
+
# options: options
|
28
|
+
# }
|
29
|
+
# 'credentials' are optional and if not passed in the hash, will be obtained
|
30
|
+
# from MsRest::TokenCredentials using MsRestAzure::ApplicationTokenProvider.
|
31
|
+
#
|
32
|
+
# Also, base_url, active_directory_settings & options are optional.
|
33
|
+
#
|
34
|
+
def initialize(options = {})
|
35
|
+
super(options)
|
36
|
+
end
|
37
|
+
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
|
+
|
5
|
+
module Azure end
|
6
|
+
module Azure::VMwareCloudSimple end
|
7
|
+
module Azure::VMwareCloudSimple::Profiles end
|
8
|
+
module Azure::VMwareCloudSimple::Profiles::Latest end
|
data/lib/version.rb
ADDED
metadata
ADDED
@@ -0,0 +1,182 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: azure_mgmt_vmware_cloudsimple
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.17.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Microsoft Corporation
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-10-10 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.9'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.9'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: dotenv
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '2'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '2'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: ms_rest_azure
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.11.1
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.11.1
|
83
|
+
description:
|
84
|
+
email: azrubyteam@microsoft.com
|
85
|
+
executables: []
|
86
|
+
extensions: []
|
87
|
+
extra_rdoc_files: []
|
88
|
+
files:
|
89
|
+
- LICENSE.txt
|
90
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple.rb
|
91
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/dedicated_cloud_nodes.rb
|
92
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/dedicated_cloud_services.rb
|
93
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/aggregation_type.rb
|
94
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/available_operation.rb
|
95
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/available_operation_display.rb
|
96
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/available_operation_display_property_service_specification_metrics_item.rb
|
97
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/available_operation_display_property_service_specification_metrics_list.rb
|
98
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/available_operations_list_response.rb
|
99
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/csrperror.rb
|
100
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/csrperror_body.rb
|
101
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/dedicated_cloud_node.rb
|
102
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/dedicated_cloud_node_list_response.rb
|
103
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/dedicated_cloud_service.rb
|
104
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/dedicated_cloud_service_list_response.rb
|
105
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/disk_independence_mode.rb
|
106
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/guest_ostype.rb
|
107
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/nictype.rb
|
108
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/node_status.rb
|
109
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/onboarding_status.rb
|
110
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/operation_error.rb
|
111
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/operation_origin.rb
|
112
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/operation_resource.rb
|
113
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/patch_payload.rb
|
114
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud.rb
|
115
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud_list.rb
|
116
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud_resource_type.rb
|
117
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/resource_pool.rb
|
118
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/resource_pools_list_response.rb
|
119
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/sku.rb
|
120
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/sku_availability.rb
|
121
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/sku_availability_list_response.rb
|
122
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/stop_mode.rb
|
123
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/usage.rb
|
124
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/usage_count.rb
|
125
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/usage_list_response.rb
|
126
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/usage_name.rb
|
127
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_disk.rb
|
128
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_disk_controller.rb
|
129
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_machine.rb
|
130
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_machine_list_response.rb
|
131
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_machine_status.rb
|
132
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_machine_stop_mode.rb
|
133
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_machine_template.rb
|
134
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_machine_template_list_response.rb
|
135
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_network.rb
|
136
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_network_list_response.rb
|
137
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_nic.rb
|
138
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/module_definition.rb
|
139
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/operations.rb
|
140
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/private_clouds.rb
|
141
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/resource_pools.rb
|
142
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/skus_availability.rb
|
143
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/usages.rb
|
144
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/virtual_machine_templates.rb
|
145
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/virtual_machines.rb
|
146
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/virtual_networks.rb
|
147
|
+
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/vmware_cloud_simple_client.rb
|
148
|
+
- lib/azure_mgmt_vmware_cloudsimple.rb
|
149
|
+
- lib/module_definition.rb
|
150
|
+
- lib/profiles/latest/modules/vmwarecloudsimple_profile_module.rb
|
151
|
+
- lib/profiles/latest/vmwarecloudsimple_latest_profile_client.rb
|
152
|
+
- lib/profiles/latest/vmwarecloudsimple_module_definition.rb
|
153
|
+
- lib/version.rb
|
154
|
+
homepage: https://aka.ms/azure-sdk-for-ruby
|
155
|
+
licenses:
|
156
|
+
- MIT
|
157
|
+
metadata:
|
158
|
+
bug_tracker_uri: https://github.com/Azure/azure-sdk-for-ruby/issues
|
159
|
+
changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
|
160
|
+
documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
|
161
|
+
homepage_uri: https://aka.ms/azure-sdk-for-ruby
|
162
|
+
post_install_message:
|
163
|
+
rdoc_options: []
|
164
|
+
require_paths:
|
165
|
+
- lib
|
166
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
167
|
+
requirements:
|
168
|
+
- - ">="
|
169
|
+
- !ruby/object:Gem::Version
|
170
|
+
version: 2.0.0
|
171
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
172
|
+
requirements:
|
173
|
+
- - ">="
|
174
|
+
- !ruby/object:Gem::Version
|
175
|
+
version: '0'
|
176
|
+
requirements: []
|
177
|
+
rubyforge_project:
|
178
|
+
rubygems_version: 2.7.8
|
179
|
+
signing_key:
|
180
|
+
specification_version: 4
|
181
|
+
summary: Official Ruby client library to consume VmwareCloudsimple
|
182
|
+
test_files: []
|