azure_mgmt_sqlvirtualmachine 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/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine.rb +71 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/availability_group_listeners.rb +684 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/additional_features_server_configurations.rb +57 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/auto_backup_settings.rb +173 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/auto_patching_settings.rb +85 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/availability_group_listener.rb +130 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/availability_group_listener_list_result.rb +100 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/backup_schedule_type.rb +16 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/cluster_configuration.rb +15 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/cluster_manager_type.rb +15 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/connectivity_type.rb +17 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/day_of_week.rb +21 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/disk_configuration_type.rb +17 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/full_backup_frequency_type.rb +16 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/identity_type.rb +15 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/key_vault_credential_settings.rb +91 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/load_balancer_configuration.rb +100 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/operation.rb +95 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/operation_display.rb +85 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/operation_list_result.rb +100 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/operation_origin.rb +16 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/private_ipaddress.rb +58 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/proxy_resource.rb +62 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/resource.rb +80 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/resource_identity.rb +72 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/scale_type.rb +15 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/server_configurations_management_settings.rb +84 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_connectivity_update_settings.rb +80 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_image_sku.rb +19 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_server_license_type.rb +16 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_storage_update_settings.rb +58 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine.rb +237 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_group.rb +174 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_group_list_result.rb +100 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_group_update.rb +54 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_list_result.rb +100 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_update.rb +54 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_workload_type.rb +17 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_workload_type_update_settings.rb +47 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/tracked_resource.rb +92 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/wsfc_domain_credentials.rb +69 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/wsfc_domain_profile.rb +130 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/module_definition.rb +9 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/operations.rb +219 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/sql_virtual_machine_groups.rb +1000 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/sql_virtual_machine_management_client.rb +143 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/sql_virtual_machines.rb +980 -0
- data/lib/azure_mgmt_sqlvirtualmachine.rb +6 -0
- data/lib/module_definition.rb +8 -0
- data/lib/profiles/latest/modules/sqlvirtualmachine_profile_module.rb +227 -0
- data/lib/profiles/latest/sqlvirtualmachine_latest_profile_client.rb +40 -0
- data/lib/profiles/latest/sqlvirtualmachine_module_definition.rb +8 -0
- data/lib/version.rb +7 -0
- metadata +173 -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 '2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine'
|
6
|
+
require 'profiles/latest/sqlvirtualmachine_latest_profile_client'
|
@@ -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::Sqlvirtualmachine end
|
7
|
+
module Azure::Sqlvirtualmachine::Mgmt end
|
8
|
+
|
@@ -0,0 +1,227 @@
|
|
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_sqlvirtualmachine'
|
6
|
+
|
7
|
+
module Azure::Sqlvirtualmachine::Profiles::Latest
|
8
|
+
module Mgmt
|
9
|
+
AvailabilityGroupListeners = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::AvailabilityGroupListeners
|
10
|
+
Operations = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Operations
|
11
|
+
SqlVirtualMachineGroups = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::SqlVirtualMachineGroups
|
12
|
+
SqlVirtualMachines = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::SqlVirtualMachines
|
13
|
+
|
14
|
+
module Models
|
15
|
+
SqlVirtualMachineGroupListResult = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineGroupListResult
|
16
|
+
ResourceIdentity = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ResourceIdentity
|
17
|
+
LoadBalancerConfiguration = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::LoadBalancerConfiguration
|
18
|
+
WsfcDomainCredentials = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::WsfcDomainCredentials
|
19
|
+
PrivateIPAddress = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::PrivateIPAddress
|
20
|
+
Resource = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::Resource
|
21
|
+
OperationDisplay = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::OperationDisplay
|
22
|
+
ServerConfigurationsManagementSettings = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ServerConfigurationsManagementSettings
|
23
|
+
OperationListResult = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::OperationListResult
|
24
|
+
AutoPatchingSettings = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AutoPatchingSettings
|
25
|
+
SqlVirtualMachineListResult = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineListResult
|
26
|
+
AutoBackupSettings = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AutoBackupSettings
|
27
|
+
SqlVirtualMachineGroupUpdate = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineGroupUpdate
|
28
|
+
KeyVaultCredentialSettings = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::KeyVaultCredentialSettings
|
29
|
+
Operation = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::Operation
|
30
|
+
SqlConnectivityUpdateSettings = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlConnectivityUpdateSettings
|
31
|
+
SqlVirtualMachineUpdate = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineUpdate
|
32
|
+
SqlWorkloadTypeUpdateSettings = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlWorkloadTypeUpdateSettings
|
33
|
+
WsfcDomainProfile = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::WsfcDomainProfile
|
34
|
+
SqlStorageUpdateSettings = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlStorageUpdateSettings
|
35
|
+
AvailabilityGroupListenerListResult = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AvailabilityGroupListenerListResult
|
36
|
+
AdditionalFeaturesServerConfigurations = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AdditionalFeaturesServerConfigurations
|
37
|
+
ProxyResource = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ProxyResource
|
38
|
+
AvailabilityGroupListener = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AvailabilityGroupListener
|
39
|
+
TrackedResource = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::TrackedResource
|
40
|
+
SqlVirtualMachineGroup = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineGroup
|
41
|
+
SqlVirtualMachine = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachine
|
42
|
+
OperationOrigin = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::OperationOrigin
|
43
|
+
SqlImageSku = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlImageSku
|
44
|
+
ScaleType = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ScaleType
|
45
|
+
ClusterManagerType = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ClusterManagerType
|
46
|
+
ClusterConfiguration = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ClusterConfiguration
|
47
|
+
IdentityType = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::IdentityType
|
48
|
+
SqlServerLicenseType = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlServerLicenseType
|
49
|
+
DayOfWeek = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::DayOfWeek
|
50
|
+
BackupScheduleType = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::BackupScheduleType
|
51
|
+
FullBackupFrequencyType = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::FullBackupFrequencyType
|
52
|
+
ConnectivityType = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ConnectivityType
|
53
|
+
SqlWorkloadType = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlWorkloadType
|
54
|
+
DiskConfigurationType = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::DiskConfigurationType
|
55
|
+
end
|
56
|
+
|
57
|
+
#
|
58
|
+
# SqlvirtualmachineManagementClass
|
59
|
+
#
|
60
|
+
class SqlvirtualmachineManagementClass
|
61
|
+
attr_reader :availability_group_listeners, :operations, :sql_virtual_machine_groups, :sql_virtual_machines, :configurable, :base_url, :options, :model_classes
|
62
|
+
|
63
|
+
def initialize(options = {})
|
64
|
+
if options.is_a?(Hash) && options.length == 0
|
65
|
+
@options = setup_default_options
|
66
|
+
else
|
67
|
+
@options = options
|
68
|
+
end
|
69
|
+
|
70
|
+
reset!(options)
|
71
|
+
|
72
|
+
@configurable = self
|
73
|
+
@base_url = options[:base_url].nil? ? nil:options[:base_url]
|
74
|
+
@options = options[:options].nil? ? nil:options[:options]
|
75
|
+
|
76
|
+
@client_0 = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::SqlVirtualMachineManagementClient.new(configurable.credentials, base_url, options)
|
77
|
+
if(@client_0.respond_to?(:subscription_id))
|
78
|
+
@client_0.subscription_id = configurable.subscription_id
|
79
|
+
end
|
80
|
+
add_telemetry(@client_0)
|
81
|
+
@availability_group_listeners = @client_0.availability_group_listeners
|
82
|
+
@operations = @client_0.operations
|
83
|
+
@sql_virtual_machine_groups = @client_0.sql_virtual_machine_groups
|
84
|
+
@sql_virtual_machines = @client_0.sql_virtual_machines
|
85
|
+
|
86
|
+
@model_classes = ModelClasses.new
|
87
|
+
end
|
88
|
+
|
89
|
+
def add_telemetry(client)
|
90
|
+
profile_information = 'Profiles/Latest/Sqlvirtualmachine/Mgmt'
|
91
|
+
client.add_user_agent_information(profile_information)
|
92
|
+
end
|
93
|
+
|
94
|
+
def method_missing(method, *args)
|
95
|
+
if @client_0.respond_to?method
|
96
|
+
@client_0.send(method, *args)
|
97
|
+
else
|
98
|
+
super
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
end
|
103
|
+
|
104
|
+
class ModelClasses
|
105
|
+
def sql_virtual_machine_group_list_result
|
106
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineGroupListResult
|
107
|
+
end
|
108
|
+
def resource_identity
|
109
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ResourceIdentity
|
110
|
+
end
|
111
|
+
def load_balancer_configuration
|
112
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::LoadBalancerConfiguration
|
113
|
+
end
|
114
|
+
def wsfc_domain_credentials
|
115
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::WsfcDomainCredentials
|
116
|
+
end
|
117
|
+
def private_ipaddress
|
118
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::PrivateIPAddress
|
119
|
+
end
|
120
|
+
def resource
|
121
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::Resource
|
122
|
+
end
|
123
|
+
def operation_display
|
124
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::OperationDisplay
|
125
|
+
end
|
126
|
+
def server_configurations_management_settings
|
127
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ServerConfigurationsManagementSettings
|
128
|
+
end
|
129
|
+
def operation_list_result
|
130
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::OperationListResult
|
131
|
+
end
|
132
|
+
def auto_patching_settings
|
133
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AutoPatchingSettings
|
134
|
+
end
|
135
|
+
def sql_virtual_machine_list_result
|
136
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineListResult
|
137
|
+
end
|
138
|
+
def auto_backup_settings
|
139
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AutoBackupSettings
|
140
|
+
end
|
141
|
+
def sql_virtual_machine_group_update
|
142
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineGroupUpdate
|
143
|
+
end
|
144
|
+
def key_vault_credential_settings
|
145
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::KeyVaultCredentialSettings
|
146
|
+
end
|
147
|
+
def operation
|
148
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::Operation
|
149
|
+
end
|
150
|
+
def sql_connectivity_update_settings
|
151
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlConnectivityUpdateSettings
|
152
|
+
end
|
153
|
+
def sql_virtual_machine_update
|
154
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineUpdate
|
155
|
+
end
|
156
|
+
def sql_workload_type_update_settings
|
157
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlWorkloadTypeUpdateSettings
|
158
|
+
end
|
159
|
+
def wsfc_domain_profile
|
160
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::WsfcDomainProfile
|
161
|
+
end
|
162
|
+
def sql_storage_update_settings
|
163
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlStorageUpdateSettings
|
164
|
+
end
|
165
|
+
def availability_group_listener_list_result
|
166
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AvailabilityGroupListenerListResult
|
167
|
+
end
|
168
|
+
def additional_features_server_configurations
|
169
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AdditionalFeaturesServerConfigurations
|
170
|
+
end
|
171
|
+
def proxy_resource
|
172
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ProxyResource
|
173
|
+
end
|
174
|
+
def availability_group_listener
|
175
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AvailabilityGroupListener
|
176
|
+
end
|
177
|
+
def tracked_resource
|
178
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::TrackedResource
|
179
|
+
end
|
180
|
+
def sql_virtual_machine_group
|
181
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineGroup
|
182
|
+
end
|
183
|
+
def sql_virtual_machine
|
184
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachine
|
185
|
+
end
|
186
|
+
def operation_origin
|
187
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::OperationOrigin
|
188
|
+
end
|
189
|
+
def sql_image_sku
|
190
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlImageSku
|
191
|
+
end
|
192
|
+
def scale_type
|
193
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ScaleType
|
194
|
+
end
|
195
|
+
def cluster_manager_type
|
196
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ClusterManagerType
|
197
|
+
end
|
198
|
+
def cluster_configuration
|
199
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ClusterConfiguration
|
200
|
+
end
|
201
|
+
def identity_type
|
202
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::IdentityType
|
203
|
+
end
|
204
|
+
def sql_server_license_type
|
205
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlServerLicenseType
|
206
|
+
end
|
207
|
+
def day_of_week
|
208
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::DayOfWeek
|
209
|
+
end
|
210
|
+
def backup_schedule_type
|
211
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::BackupScheduleType
|
212
|
+
end
|
213
|
+
def full_backup_frequency_type
|
214
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::FullBackupFrequencyType
|
215
|
+
end
|
216
|
+
def connectivity_type
|
217
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ConnectivityType
|
218
|
+
end
|
219
|
+
def sql_workload_type
|
220
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlWorkloadType
|
221
|
+
end
|
222
|
+
def disk_configuration_type
|
223
|
+
Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::DiskConfigurationType
|
224
|
+
end
|
225
|
+
end
|
226
|
+
end
|
227
|
+
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/sqlvirtualmachine_module_definition'
|
6
|
+
require 'profiles/latest/modules/sqlvirtualmachine_profile_module'
|
7
|
+
|
8
|
+
module Azure::Sqlvirtualmachine::Profiles::Latest
|
9
|
+
module Mgmt
|
10
|
+
#
|
11
|
+
# Client class for the Latest profile SDK.
|
12
|
+
#
|
13
|
+
class Client < SqlvirtualmachineManagementClass
|
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::Sqlvirtualmachine end
|
7
|
+
module Azure::Sqlvirtualmachine::Profiles end
|
8
|
+
module Azure::Sqlvirtualmachine::Profiles::Latest end
|
data/lib/version.rb
ADDED
metadata
ADDED
@@ -0,0 +1,173 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: azure_mgmt_sqlvirtualmachine
|
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: 2018-11-27 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.0
|
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.0
|
83
|
+
description: Microsoft Azure SQL Virtual Machine Management Client Library for Ruby
|
84
|
+
email: azrubyteam@microsoft.com
|
85
|
+
executables: []
|
86
|
+
extensions: []
|
87
|
+
extra_rdoc_files: []
|
88
|
+
files:
|
89
|
+
- LICENSE.txt
|
90
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine.rb
|
91
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/availability_group_listeners.rb
|
92
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/additional_features_server_configurations.rb
|
93
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/auto_backup_settings.rb
|
94
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/auto_patching_settings.rb
|
95
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/availability_group_listener.rb
|
96
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/availability_group_listener_list_result.rb
|
97
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/backup_schedule_type.rb
|
98
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/cluster_configuration.rb
|
99
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/cluster_manager_type.rb
|
100
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/connectivity_type.rb
|
101
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/day_of_week.rb
|
102
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/disk_configuration_type.rb
|
103
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/full_backup_frequency_type.rb
|
104
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/identity_type.rb
|
105
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/key_vault_credential_settings.rb
|
106
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/load_balancer_configuration.rb
|
107
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/operation.rb
|
108
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/operation_display.rb
|
109
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/operation_list_result.rb
|
110
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/operation_origin.rb
|
111
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/private_ipaddress.rb
|
112
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/proxy_resource.rb
|
113
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/resource.rb
|
114
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/resource_identity.rb
|
115
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/scale_type.rb
|
116
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/server_configurations_management_settings.rb
|
117
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_connectivity_update_settings.rb
|
118
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_image_sku.rb
|
119
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_server_license_type.rb
|
120
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_storage_update_settings.rb
|
121
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine.rb
|
122
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_group.rb
|
123
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_group_list_result.rb
|
124
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_group_update.rb
|
125
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_list_result.rb
|
126
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_virtual_machine_update.rb
|
127
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_workload_type.rb
|
128
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/sql_workload_type_update_settings.rb
|
129
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/tracked_resource.rb
|
130
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/wsfc_domain_credentials.rb
|
131
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/wsfc_domain_profile.rb
|
132
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/module_definition.rb
|
133
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/operations.rb
|
134
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/sql_virtual_machine_groups.rb
|
135
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/sql_virtual_machine_management_client.rb
|
136
|
+
- lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/sql_virtual_machines.rb
|
137
|
+
- lib/azure_mgmt_sqlvirtualmachine.rb
|
138
|
+
- lib/module_definition.rb
|
139
|
+
- lib/profiles/latest/modules/sqlvirtualmachine_profile_module.rb
|
140
|
+
- lib/profiles/latest/sqlvirtualmachine_latest_profile_client.rb
|
141
|
+
- lib/profiles/latest/sqlvirtualmachine_module_definition.rb
|
142
|
+
- lib/version.rb
|
143
|
+
homepage: https://aka.ms/azure-sdk-for-ruby
|
144
|
+
licenses:
|
145
|
+
- MIT
|
146
|
+
metadata:
|
147
|
+
bug_tracker_uri: https://github.com/Azure/azure-sdk-for-ruby/issues
|
148
|
+
changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
|
149
|
+
documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
|
150
|
+
homepage_uri: https://aka.ms/azure-sdk-for-ruby
|
151
|
+
source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/master/management/azure_mgmt_sqlvirtualmachine
|
152
|
+
post_install_message:
|
153
|
+
rdoc_options: []
|
154
|
+
require_paths:
|
155
|
+
- lib
|
156
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
157
|
+
requirements:
|
158
|
+
- - ">="
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: 2.0.0
|
161
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
162
|
+
requirements:
|
163
|
+
- - ">="
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '0'
|
166
|
+
requirements: []
|
167
|
+
rubyforge_project:
|
168
|
+
rubygems_version: 2.5.1
|
169
|
+
signing_key:
|
170
|
+
specification_version: 4
|
171
|
+
summary: Official Ruby client library to consume Microsoft Azure SQL Virtual Machine
|
172
|
+
Management services.
|
173
|
+
test_files: []
|