azure_mgmt_recovery_services 0.17.0 → 0.18.1
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 +5 -5
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services.rb +28 -13
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/check_name_availability_parameters.rb +60 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/check_name_availability_result.rb +69 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/client_discovery_response.rb +2 -2
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/identity_data.rb +71 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/private_endpoint.rb +48 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/private_endpoint_connection.rb +73 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/private_endpoint_connection_status.rb +18 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/private_endpoint_connection_vault_properties.rb +61 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/private_link_resource.rb +127 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/private_link_resources.rb +99 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/private_link_service_connection_state.rb +73 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/provisioning_state.rb +18 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/resource.rb +9 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/resource_certificate_details.rb +1 -1
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/resource_identity_type.rb +16 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/upgrade_details.rb +2 -2
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/vault.rb +12 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/vault_list.rb +1 -1
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/vault_private_endpoint_state.rb +16 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/vault_properties.rb +48 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/operations.rb +4 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/private_link_resources_operations.rb +346 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/recovery_services.rb +148 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/recovery_services_client.rb +10 -1
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/registered_identities.rb +2 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/replication_usages.rb +2 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/usages.rb +2 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/vault_certificates.rb +2 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/vault_extended_info_operations.rb +6 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/vaults.rb +16 -0
- data/lib/profiles/latest/modules/recoveryservices_profile_module.rb +98 -42
- data/lib/version.rb +1 -1
- metadata +20 -5
@@ -0,0 +1,148 @@
|
|
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::RecoveryServices::Mgmt::V2016_06_01
|
7
|
+
#
|
8
|
+
# Recovery Services Client
|
9
|
+
#
|
10
|
+
class RecoveryServices
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the RecoveryServices class.
|
15
|
+
# @param client service class for accessing basic functionality.
|
16
|
+
#
|
17
|
+
def initialize(client)
|
18
|
+
@client = client
|
19
|
+
end
|
20
|
+
|
21
|
+
# @return [RecoveryServicesClient] reference to the RecoveryServicesClient
|
22
|
+
attr_reader :client
|
23
|
+
|
24
|
+
#
|
25
|
+
# API to check for resource name availability.
|
26
|
+
# A name is available if no other resource exists that has the same
|
27
|
+
# SubscriptionId, Resource Name and Type
|
28
|
+
# or if one or more such resources exist, each of these must be GC'd and their
|
29
|
+
# time of deletion be more than 24 Hours Ago
|
30
|
+
#
|
31
|
+
# @param resource_group_name [String] The name of the resource group where the
|
32
|
+
# recovery services vault is present.
|
33
|
+
# @param location [String] Location of the resource
|
34
|
+
# @param input [CheckNameAvailabilityParameters] Contains information about
|
35
|
+
# Resource type and Resource name
|
36
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
37
|
+
# will be added to the HTTP request.
|
38
|
+
#
|
39
|
+
# @return [CheckNameAvailabilityResult] operation results.
|
40
|
+
#
|
41
|
+
def check_name_availability(resource_group_name, location, input, custom_headers:nil)
|
42
|
+
response = check_name_availability_async(resource_group_name, location, input, custom_headers:custom_headers).value!
|
43
|
+
response.body unless response.nil?
|
44
|
+
end
|
45
|
+
|
46
|
+
#
|
47
|
+
# API to check for resource name availability.
|
48
|
+
# A name is available if no other resource exists that has the same
|
49
|
+
# SubscriptionId, Resource Name and Type
|
50
|
+
# or if one or more such resources exist, each of these must be GC'd and their
|
51
|
+
# time of deletion be more than 24 Hours Ago
|
52
|
+
#
|
53
|
+
# @param resource_group_name [String] The name of the resource group where the
|
54
|
+
# recovery services vault is present.
|
55
|
+
# @param location [String] Location of the resource
|
56
|
+
# @param input [CheckNameAvailabilityParameters] Contains information about
|
57
|
+
# Resource type and Resource name
|
58
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
59
|
+
# will be added to the HTTP request.
|
60
|
+
#
|
61
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
62
|
+
#
|
63
|
+
def check_name_availability_with_http_info(resource_group_name, location, input, custom_headers:nil)
|
64
|
+
check_name_availability_async(resource_group_name, location, input, custom_headers:custom_headers).value!
|
65
|
+
end
|
66
|
+
|
67
|
+
#
|
68
|
+
# API to check for resource name availability.
|
69
|
+
# A name is available if no other resource exists that has the same
|
70
|
+
# SubscriptionId, Resource Name and Type
|
71
|
+
# or if one or more such resources exist, each of these must be GC'd and their
|
72
|
+
# time of deletion be more than 24 Hours Ago
|
73
|
+
#
|
74
|
+
# @param resource_group_name [String] The name of the resource group where the
|
75
|
+
# recovery services vault is present.
|
76
|
+
# @param location [String] Location of the resource
|
77
|
+
# @param input [CheckNameAvailabilityParameters] Contains information about
|
78
|
+
# Resource type and Resource name
|
79
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
80
|
+
# to the HTTP request.
|
81
|
+
#
|
82
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
83
|
+
#
|
84
|
+
def check_name_availability_async(resource_group_name, location, input, custom_headers:nil)
|
85
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
86
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
87
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
88
|
+
fail ArgumentError, 'location is nil' if location.nil?
|
89
|
+
fail ArgumentError, 'input is nil' if input.nil?
|
90
|
+
|
91
|
+
|
92
|
+
request_headers = {}
|
93
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
94
|
+
|
95
|
+
# Set Headers
|
96
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
97
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
98
|
+
|
99
|
+
# Serialize Request
|
100
|
+
request_mapper = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CheckNameAvailabilityParameters.mapper()
|
101
|
+
request_content = @client.serialize(request_mapper, input)
|
102
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
103
|
+
|
104
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/locations/{location}/checkNameAvailability'
|
105
|
+
|
106
|
+
request_url = @base_url || @client.base_url
|
107
|
+
|
108
|
+
options = {
|
109
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
110
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'location' => location},
|
111
|
+
query_params: {'api-version' => @client.api_version},
|
112
|
+
body: request_content,
|
113
|
+
headers: request_headers.merge(custom_headers || {}),
|
114
|
+
base_url: request_url
|
115
|
+
}
|
116
|
+
promise = @client.make_request_async(:post, path_template, options)
|
117
|
+
|
118
|
+
promise = promise.then do |result|
|
119
|
+
http_response = result.response
|
120
|
+
status_code = http_response.status
|
121
|
+
response_content = http_response.body
|
122
|
+
unless status_code == 200
|
123
|
+
error_model = JSON.load(response_content)
|
124
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
125
|
+
end
|
126
|
+
|
127
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
128
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
129
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
130
|
+
# Deserialize Response
|
131
|
+
if status_code == 200
|
132
|
+
begin
|
133
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
134
|
+
result_mapper = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CheckNameAvailabilityResult.mapper()
|
135
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
136
|
+
rescue Exception => e
|
137
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
result
|
142
|
+
end
|
143
|
+
|
144
|
+
promise.execute
|
145
|
+
end
|
146
|
+
|
147
|
+
end
|
148
|
+
end
|
@@ -44,6 +44,13 @@ module Azure::RecoveryServices::Mgmt::V2016_06_01
|
|
44
44
|
# @return [ReplicationUsages] replication_usages
|
45
45
|
attr_reader :replication_usages
|
46
46
|
|
47
|
+
# @return [PrivateLinkResourcesOperations]
|
48
|
+
# private_link_resources_operations
|
49
|
+
attr_reader :private_link_resources_operations
|
50
|
+
|
51
|
+
# @return [RecoveryServices] recovery_services
|
52
|
+
attr_reader :recovery_services
|
53
|
+
|
47
54
|
# @return [Vaults] vaults
|
48
55
|
attr_reader :vaults
|
49
56
|
|
@@ -72,6 +79,8 @@ module Azure::RecoveryServices::Mgmt::V2016_06_01
|
|
72
79
|
@vault_certificates = VaultCertificates.new(self)
|
73
80
|
@registered_identities = RegisteredIdentities.new(self)
|
74
81
|
@replication_usages = ReplicationUsages.new(self)
|
82
|
+
@private_link_resources_operations = PrivateLinkResourcesOperations.new(self)
|
83
|
+
@recovery_services = RecoveryServices.new(self)
|
75
84
|
@vaults = Vaults.new(self)
|
76
85
|
@operations = Operations.new(self)
|
77
86
|
@vault_extended_info_operations = VaultExtendedInfoOperations.new(self)
|
@@ -148,7 +157,7 @@ module Azure::RecoveryServices::Mgmt::V2016_06_01
|
|
148
157
|
#
|
149
158
|
def add_telemetry
|
150
159
|
sdk_information = 'azure_mgmt_recovery_services'
|
151
|
-
sdk_information = "#{sdk_information}/0.
|
160
|
+
sdk_information = "#{sdk_information}/0.18.1"
|
152
161
|
add_user_agent_information(sdk_information)
|
153
162
|
end
|
154
163
|
end
|
@@ -102,6 +102,8 @@ module Azure::RecoveryServices::Mgmt::V2016_06_01
|
|
102
102
|
end
|
103
103
|
|
104
104
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
105
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
106
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
105
107
|
|
106
108
|
result
|
107
109
|
end
|
@@ -99,6 +99,8 @@ module Azure::RecoveryServices::Mgmt::V2016_06_01
|
|
99
99
|
end
|
100
100
|
|
101
101
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
102
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
103
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
102
104
|
# Deserialize Response
|
103
105
|
if status_code == 200
|
104
106
|
begin
|
@@ -99,6 +99,8 @@ module Azure::RecoveryServices::Mgmt::V2016_06_01
|
|
99
99
|
end
|
100
100
|
|
101
101
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
102
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
103
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
102
104
|
# Deserialize Response
|
103
105
|
if status_code == 200
|
104
106
|
begin
|
@@ -117,6 +117,8 @@ module Azure::RecoveryServices::Mgmt::V2016_06_01
|
|
117
117
|
end
|
118
118
|
|
119
119
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
120
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
121
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
120
122
|
# Deserialize Response
|
121
123
|
if status_code == 200
|
122
124
|
begin
|
data/lib/2016-06-01/generated/azure_mgmt_recovery_services/vault_extended_info_operations.rb
CHANGED
@@ -99,6 +99,8 @@ module Azure::RecoveryServices::Mgmt::V2016_06_01
|
|
99
99
|
end
|
100
100
|
|
101
101
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
102
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
103
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
102
104
|
# Deserialize Response
|
103
105
|
if status_code == 200
|
104
106
|
begin
|
@@ -208,6 +210,8 @@ module Azure::RecoveryServices::Mgmt::V2016_06_01
|
|
208
210
|
end
|
209
211
|
|
210
212
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
213
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
214
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
211
215
|
# Deserialize Response
|
212
216
|
if status_code == 200
|
213
217
|
begin
|
@@ -317,6 +321,8 @@ module Azure::RecoveryServices::Mgmt::V2016_06_01
|
|
317
321
|
end
|
318
322
|
|
319
323
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
324
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
325
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
320
326
|
# Deserialize Response
|
321
327
|
if status_code == 200
|
322
328
|
begin
|
@@ -88,6 +88,8 @@ module Azure::RecoveryServices::Mgmt::V2016_06_01
|
|
88
88
|
end
|
89
89
|
|
90
90
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
91
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
92
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
91
93
|
# Deserialize Response
|
92
94
|
if status_code == 200
|
93
95
|
begin
|
@@ -179,6 +181,8 @@ module Azure::RecoveryServices::Mgmt::V2016_06_01
|
|
179
181
|
end
|
180
182
|
|
181
183
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
184
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
185
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
182
186
|
# Deserialize Response
|
183
187
|
if status_code == 200
|
184
188
|
begin
|
@@ -274,6 +278,8 @@ module Azure::RecoveryServices::Mgmt::V2016_06_01
|
|
274
278
|
end
|
275
279
|
|
276
280
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
281
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
282
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
277
283
|
# Deserialize Response
|
278
284
|
if status_code == 200
|
279
285
|
begin
|
@@ -380,6 +386,8 @@ module Azure::RecoveryServices::Mgmt::V2016_06_01
|
|
380
386
|
end
|
381
387
|
|
382
388
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
389
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
390
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
383
391
|
# Deserialize Response
|
384
392
|
if status_code == 200
|
385
393
|
begin
|
@@ -484,6 +492,8 @@ module Azure::RecoveryServices::Mgmt::V2016_06_01
|
|
484
492
|
end
|
485
493
|
|
486
494
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
495
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
496
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
487
497
|
|
488
498
|
result
|
489
499
|
end
|
@@ -580,6 +590,8 @@ module Azure::RecoveryServices::Mgmt::V2016_06_01
|
|
580
590
|
end
|
581
591
|
|
582
592
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
593
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
594
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
583
595
|
# Deserialize Response
|
584
596
|
if status_code == 200
|
585
597
|
begin
|
@@ -678,6 +690,8 @@ module Azure::RecoveryServices::Mgmt::V2016_06_01
|
|
678
690
|
end
|
679
691
|
|
680
692
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
693
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
694
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
681
695
|
# Deserialize Response
|
682
696
|
if status_code == 200
|
683
697
|
begin
|
@@ -766,6 +780,8 @@ module Azure::RecoveryServices::Mgmt::V2016_06_01
|
|
766
780
|
end
|
767
781
|
|
768
782
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
783
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
784
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
769
785
|
# Deserialize Response
|
770
786
|
if status_code == 200
|
771
787
|
begin
|
@@ -9,34 +9,45 @@ module Azure::RecoveryServices::Profiles::Latest
|
|
9
9
|
VaultCertificates = Azure::RecoveryServices::Mgmt::V2016_06_01::VaultCertificates
|
10
10
|
RegisteredIdentities = Azure::RecoveryServices::Mgmt::V2016_06_01::RegisteredIdentities
|
11
11
|
ReplicationUsages = Azure::RecoveryServices::Mgmt::V2016_06_01::ReplicationUsages
|
12
|
+
PrivateLinkResourcesOperations = Azure::RecoveryServices::Mgmt::V2016_06_01::PrivateLinkResourcesOperations
|
13
|
+
RecoveryServices = Azure::RecoveryServices::Mgmt::V2016_06_01::RecoveryServices
|
12
14
|
Vaults = Azure::RecoveryServices::Mgmt::V2016_06_01::Vaults
|
13
15
|
Operations = Azure::RecoveryServices::Mgmt::V2016_06_01::Operations
|
14
16
|
VaultExtendedInfoOperations = Azure::RecoveryServices::Mgmt::V2016_06_01::VaultExtendedInfoOperations
|
15
17
|
Usages = Azure::RecoveryServices::Mgmt::V2016_06_01::Usages
|
16
18
|
|
17
19
|
module Models
|
18
|
-
|
20
|
+
Sku = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Sku
|
21
|
+
RawCertificateData = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::RawCertificateData
|
19
22
|
ClientDiscoveryResponse = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryResponse
|
20
|
-
CertificateRequest = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CertificateRequest
|
21
23
|
Resource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Resource
|
22
|
-
|
23
|
-
|
24
|
-
|
24
|
+
PrivateLinkResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PrivateLinkResource
|
25
|
+
ResourceCertificateDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateDetails
|
26
|
+
CertificateRequest = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CertificateRequest
|
25
27
|
JobsSummary = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::JobsSummary
|
26
|
-
VaultList = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultList
|
27
28
|
ReplicationUsage = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ReplicationUsage
|
28
|
-
ClientDiscoveryDisplay = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryDisplay
|
29
|
-
Sku = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Sku
|
30
|
-
ClientDiscoveryForServiceSpecification = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForServiceSpecification
|
31
29
|
VaultUsageList = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUsageList
|
32
|
-
|
33
|
-
VaultUsage = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUsage
|
34
|
-
ClientDiscoveryForLogSpecification = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForLogSpecification
|
30
|
+
CheckNameAvailabilityParameters = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CheckNameAvailabilityParameters
|
35
31
|
UpgradeDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UpgradeDetails
|
32
|
+
ClientDiscoveryDisplay = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryDisplay
|
33
|
+
IdentityData = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::IdentityData
|
34
|
+
ClientDiscoveryForServiceSpecification = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForServiceSpecification
|
35
|
+
PrivateEndpoint = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PrivateEndpoint
|
36
|
+
ClientDiscoveryValueForSingleApi = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryValueForSingleApi
|
37
|
+
PrivateLinkServiceConnectionState = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PrivateLinkServiceConnectionState
|
38
|
+
VaultCertificateResponse = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultCertificateResponse
|
39
|
+
PrivateEndpointConnection = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PrivateEndpointConnection
|
36
40
|
ReplicationUsageList = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ReplicationUsageList
|
41
|
+
PrivateEndpointConnectionVaultProperties = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PrivateEndpointConnectionVaultProperties
|
42
|
+
ClientDiscoveryForLogSpecification = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForLogSpecification
|
37
43
|
VaultProperties = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultProperties
|
38
|
-
|
44
|
+
VaultList = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultList
|
45
|
+
MonitoringSummary = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::MonitoringSummary
|
46
|
+
VaultUsage = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUsage
|
47
|
+
ClientDiscoveryForProperties = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForProperties
|
39
48
|
NameInfo = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::NameInfo
|
49
|
+
CheckNameAvailabilityResult = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CheckNameAvailabilityResult
|
50
|
+
PrivateLinkResources = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PrivateLinkResources
|
40
51
|
ResourceCertificateAndAadDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAadDetails
|
41
52
|
ResourceCertificateAndAcsDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAcsDetails
|
42
53
|
TrackedResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TrackedResource
|
@@ -48,6 +59,10 @@ module Azure::RecoveryServices::Profiles::Latest
|
|
48
59
|
SkuName = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::SkuName
|
49
60
|
VaultUpgradeState = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUpgradeState
|
50
61
|
TriggerType = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TriggerType
|
62
|
+
ResourceIdentityType = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceIdentityType
|
63
|
+
ProvisioningState = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ProvisioningState
|
64
|
+
PrivateEndpointConnectionStatus = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PrivateEndpointConnectionStatus
|
65
|
+
VaultPrivateEndpointState = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultPrivateEndpointState
|
51
66
|
UsagesUnit = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UsagesUnit
|
52
67
|
end
|
53
68
|
|
@@ -55,7 +70,7 @@ module Azure::RecoveryServices::Profiles::Latest
|
|
55
70
|
# RecoveryServicesManagementClass
|
56
71
|
#
|
57
72
|
class RecoveryServicesManagementClass
|
58
|
-
attr_reader :vault_certificates, :registered_identities, :replication_usages, :vaults, :operations, :vault_extended_info_operations, :usages, :configurable, :base_url, :options, :model_classes
|
73
|
+
attr_reader :vault_certificates, :registered_identities, :replication_usages, :private_link_resources_operations, :recovery_services, :vaults, :operations, :vault_extended_info_operations, :usages, :configurable, :base_url, :options, :model_classes
|
59
74
|
|
60
75
|
def initialize(options = {})
|
61
76
|
if options.is_a?(Hash) && options.length == 0
|
@@ -78,6 +93,8 @@ module Azure::RecoveryServices::Profiles::Latest
|
|
78
93
|
@vault_certificates = @client_0.vault_certificates
|
79
94
|
@registered_identities = @client_0.registered_identities
|
80
95
|
@replication_usages = @client_0.replication_usages
|
96
|
+
@private_link_resources_operations = @client_0.private_link_resources_operations
|
97
|
+
@recovery_services = @client_0.recovery_services
|
81
98
|
@vaults = @client_0.vaults
|
82
99
|
@operations = @client_0.operations
|
83
100
|
@vault_extended_info_operations = @client_0.vault_extended_info_operations
|
@@ -102,72 +119,99 @@ module Azure::RecoveryServices::Profiles::Latest
|
|
102
119
|
end
|
103
120
|
|
104
121
|
class ModelClasses
|
105
|
-
def
|
106
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::
|
122
|
+
def sku
|
123
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Sku
|
124
|
+
end
|
125
|
+
def raw_certificate_data
|
126
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::RawCertificateData
|
107
127
|
end
|
108
128
|
def client_discovery_response
|
109
129
|
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryResponse
|
110
130
|
end
|
111
|
-
def certificate_request
|
112
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CertificateRequest
|
113
|
-
end
|
114
131
|
def resource
|
115
132
|
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Resource
|
116
133
|
end
|
117
|
-
def
|
118
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::
|
134
|
+
def private_link_resource
|
135
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PrivateLinkResource
|
119
136
|
end
|
120
|
-
def
|
121
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::
|
137
|
+
def resource_certificate_details
|
138
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateDetails
|
122
139
|
end
|
123
|
-
def
|
124
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::
|
140
|
+
def certificate_request
|
141
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CertificateRequest
|
125
142
|
end
|
126
143
|
def jobs_summary
|
127
144
|
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::JobsSummary
|
128
145
|
end
|
129
|
-
def vault_list
|
130
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultList
|
131
|
-
end
|
132
146
|
def replication_usage
|
133
147
|
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ReplicationUsage
|
134
148
|
end
|
149
|
+
def vault_usage_list
|
150
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUsageList
|
151
|
+
end
|
152
|
+
def check_name_availability_parameters
|
153
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CheckNameAvailabilityParameters
|
154
|
+
end
|
155
|
+
def upgrade_details
|
156
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UpgradeDetails
|
157
|
+
end
|
135
158
|
def client_discovery_display
|
136
159
|
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryDisplay
|
137
160
|
end
|
138
|
-
def
|
139
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::
|
161
|
+
def identity_data
|
162
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::IdentityData
|
140
163
|
end
|
141
164
|
def client_discovery_for_service_specification
|
142
165
|
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForServiceSpecification
|
143
166
|
end
|
144
|
-
def
|
145
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::
|
167
|
+
def private_endpoint
|
168
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PrivateEndpoint
|
146
169
|
end
|
147
|
-
def
|
148
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::
|
170
|
+
def client_discovery_value_for_single_api
|
171
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryValueForSingleApi
|
149
172
|
end
|
150
|
-
def
|
151
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::
|
173
|
+
def private_link_service_connection_state
|
174
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PrivateLinkServiceConnectionState
|
152
175
|
end
|
153
|
-
def
|
154
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::
|
176
|
+
def vault_certificate_response
|
177
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultCertificateResponse
|
155
178
|
end
|
156
|
-
def
|
157
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::
|
179
|
+
def private_endpoint_connection
|
180
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PrivateEndpointConnection
|
158
181
|
end
|
159
182
|
def replication_usage_list
|
160
183
|
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ReplicationUsageList
|
161
184
|
end
|
185
|
+
def private_endpoint_connection_vault_properties
|
186
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PrivateEndpointConnectionVaultProperties
|
187
|
+
end
|
188
|
+
def client_discovery_for_log_specification
|
189
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForLogSpecification
|
190
|
+
end
|
162
191
|
def vault_properties
|
163
192
|
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultProperties
|
164
193
|
end
|
165
|
-
def
|
166
|
-
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::
|
194
|
+
def vault_list
|
195
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultList
|
196
|
+
end
|
197
|
+
def monitoring_summary
|
198
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::MonitoringSummary
|
199
|
+
end
|
200
|
+
def vault_usage
|
201
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUsage
|
202
|
+
end
|
203
|
+
def client_discovery_for_properties
|
204
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForProperties
|
167
205
|
end
|
168
206
|
def name_info
|
169
207
|
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::NameInfo
|
170
208
|
end
|
209
|
+
def check_name_availability_result
|
210
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CheckNameAvailabilityResult
|
211
|
+
end
|
212
|
+
def private_link_resources
|
213
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PrivateLinkResources
|
214
|
+
end
|
171
215
|
def resource_certificate_and_aad_details
|
172
216
|
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAadDetails
|
173
217
|
end
|
@@ -201,6 +245,18 @@ module Azure::RecoveryServices::Profiles::Latest
|
|
201
245
|
def trigger_type
|
202
246
|
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TriggerType
|
203
247
|
end
|
248
|
+
def resource_identity_type
|
249
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceIdentityType
|
250
|
+
end
|
251
|
+
def provisioning_state
|
252
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ProvisioningState
|
253
|
+
end
|
254
|
+
def private_endpoint_connection_status
|
255
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PrivateEndpointConnectionStatus
|
256
|
+
end
|
257
|
+
def vault_private_endpoint_state
|
258
|
+
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultPrivateEndpointState
|
259
|
+
end
|
204
260
|
def usages_unit
|
205
261
|
Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UsagesUnit
|
206
262
|
end
|