azure_mgmt_recovery_services 0.14.0 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services.rb +66 -0
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/auth_type.rb +1 -1
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/certificate_request.rb +1 -1
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/client_discovery_display.rb +1 -1
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/client_discovery_for_log_specification.rb +1 -1
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/client_discovery_for_properties.rb +1 -1
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/client_discovery_for_service_specification.rb +1 -1
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/client_discovery_response.rb +1 -1
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/client_discovery_value_for_single_api.rb +1 -1
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/jobs_summary.rb +1 -1
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/monitoring_summary.rb +1 -1
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/name_info.rb +1 -1
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/raw_certificate_data.rb +1 -1
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/replication_usage.rb +1 -1
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/replication_usage_list.rb +1 -1
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/resource.rb +1 -1
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/resource_certificate_and_aad_details.rb +1 -1
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/resource_certificate_and_acs_details.rb +1 -1
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/resource_certificate_details.rb +1 -1
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/sku.rb +1 -1
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/sku_name.rb +1 -1
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/tracked_resource.rb +1 -1
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/trigger_type.rb +1 -1
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/upgrade_details.rb +1 -1
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/usages_unit.rb +1 -1
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/vault.rb +1 -1
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/vault_certificate_response.rb +1 -1
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/vault_extended_info_resource.rb +1 -1
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/vault_list.rb +1 -1
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/vault_properties.rb +1 -1
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/vault_upgrade_state.rb +1 -1
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/vault_usage.rb +1 -1
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/vault_usage_list.rb +1 -1
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/module_definition.rb +9 -0
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/operations.rb +5 -5
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/recovery_services_client.rb +7 -11
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/registered_identities.rb +3 -3
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/replication_usages.rb +4 -4
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/usages.rb +4 -4
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/vault_certificates.rb +5 -5
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/vault_extended_info_operations.rb +12 -12
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/vaults.rb +22 -22
- data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/version.rb +2 -2
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services.rb +45 -0
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services/backup_storage_configs.rb +9 -9
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services/backup_vault_configs.rb +10 -10
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services/models/backup_storage_config.rb +1 -1
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services/models/backup_vault_config.rb +1 -1
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services/models/enhanced_security_state.rb +1 -1
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/resource.rb +79 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/sku.rb +45 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/sku_name.rb +16 -0
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services/models/storage_model_type.rb +1 -1
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services/models/storage_type.rb +1 -1
- data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services/models/storage_type_state.rb +1 -1
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/tracked_resource.rb +92 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/trigger_type.rb +16 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/upgrade_details.rb +137 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/vault.rb +108 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/vault_extended_info_resource.rb +105 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/vault_properties.rb +56 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/vault_upgrade_state.rb +18 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services/module_definition.rb +9 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services/recovery_services_backup_client.rb +133 -0
- data/lib/{generated/azure_mgmt_recovery_services/module_definition.rb → 2016-12-01/generated/azure_mgmt_recovery_services/version.rb} +3 -3
- data/lib/azure_mgmt_recovery_services.rb +3 -1
- data/lib/module_definition.rb +8 -0
- data/lib/profiles/common/configurable.rb +73 -0
- data/lib/profiles/common/default.rb +68 -0
- data/lib/profiles/latest/modules/recoveryservices_profile_module.rb +215 -0
- data/lib/profiles/latest/recoveryservices_latest_profile_client.rb +33 -0
- data/lib/profiles/latest/recoveryservices_module_definition.rb +9 -0
- data/lib/version.rb +7 -0
- metadata +74 -53
- data/lib/generated/azure_mgmt_recovery_services.rb +0 -74
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 876edd5bb3ba639729ccaaa35f30e6456e5750bf
|
4
|
+
data.tar.gz: 848753d5bd34ad86f6f389f297247527729c4f7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5950e0a1314a6ac6b2ef818ab8ae1ce4e3e51dc8d96cbe652d19cfeff529bf354f074b89aad04ebac42f19504b89099dff0fd1b7bbafeccc55ea52ce98831cdd
|
7
|
+
data.tar.gz: e866c3f2761ffef888db9cdabfcc13512a002eb0e6978b5d483c8a29c3dc22de141827370ae0e2db90876f5caf5689d79c095e41d62eae1dd53d9ba46d97039d
|
@@ -0,0 +1,66 @@
|
|
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
|
+
require 'uri'
|
7
|
+
require 'cgi'
|
8
|
+
require 'date'
|
9
|
+
require 'json'
|
10
|
+
require 'base64'
|
11
|
+
require 'erb'
|
12
|
+
require 'securerandom'
|
13
|
+
require 'time'
|
14
|
+
require 'timeliness'
|
15
|
+
require 'faraday'
|
16
|
+
require 'faraday-cookie_jar'
|
17
|
+
require 'concurrent'
|
18
|
+
require 'ms_rest'
|
19
|
+
require '2016-06-01/generated/azure_mgmt_recovery_services/module_definition'
|
20
|
+
require 'ms_rest_azure'
|
21
|
+
|
22
|
+
module Azure::RecoveryServices::Mgmt::V2016_06_01
|
23
|
+
autoload :VaultCertificates, '2016-06-01/generated/azure_mgmt_recovery_services/vault_certificates.rb'
|
24
|
+
autoload :RegisteredIdentities, '2016-06-01/generated/azure_mgmt_recovery_services/registered_identities.rb'
|
25
|
+
autoload :ReplicationUsages, '2016-06-01/generated/azure_mgmt_recovery_services/replication_usages.rb'
|
26
|
+
autoload :Vaults, '2016-06-01/generated/azure_mgmt_recovery_services/vaults.rb'
|
27
|
+
autoload :Operations, '2016-06-01/generated/azure_mgmt_recovery_services/operations.rb'
|
28
|
+
autoload :VaultExtendedInfoOperations, '2016-06-01/generated/azure_mgmt_recovery_services/vault_extended_info_operations.rb'
|
29
|
+
autoload :Usages, '2016-06-01/generated/azure_mgmt_recovery_services/usages.rb'
|
30
|
+
autoload :RecoveryServicesClient, '2016-06-01/generated/azure_mgmt_recovery_services/recovery_services_client.rb'
|
31
|
+
|
32
|
+
module Models
|
33
|
+
autoload :ClientDiscoveryForProperties, '2016-06-01/generated/azure_mgmt_recovery_services/models/client_discovery_for_properties.rb'
|
34
|
+
autoload :ClientDiscoveryValueForSingleApi, '2016-06-01/generated/azure_mgmt_recovery_services/models/client_discovery_value_for_single_api.rb'
|
35
|
+
autoload :CertificateRequest, '2016-06-01/generated/azure_mgmt_recovery_services/models/certificate_request.rb'
|
36
|
+
autoload :ClientDiscoveryResponse, '2016-06-01/generated/azure_mgmt_recovery_services/models/client_discovery_response.rb'
|
37
|
+
autoload :RawCertificateData, '2016-06-01/generated/azure_mgmt_recovery_services/models/raw_certificate_data.rb'
|
38
|
+
autoload :ResourceCertificateDetails, '2016-06-01/generated/azure_mgmt_recovery_services/models/resource_certificate_details.rb'
|
39
|
+
autoload :VaultList, '2016-06-01/generated/azure_mgmt_recovery_services/models/vault_list.rb'
|
40
|
+
autoload :JobsSummary, '2016-06-01/generated/azure_mgmt_recovery_services/models/jobs_summary.rb'
|
41
|
+
autoload :ReplicationUsage, '2016-06-01/generated/azure_mgmt_recovery_services/models/replication_usage.rb'
|
42
|
+
autoload :Resource, '2016-06-01/generated/azure_mgmt_recovery_services/models/resource.rb'
|
43
|
+
autoload :ClientDiscoveryDisplay, '2016-06-01/generated/azure_mgmt_recovery_services/models/client_discovery_display.rb'
|
44
|
+
autoload :Sku, '2016-06-01/generated/azure_mgmt_recovery_services/models/sku.rb'
|
45
|
+
autoload :ClientDiscoveryForServiceSpecification, '2016-06-01/generated/azure_mgmt_recovery_services/models/client_discovery_for_service_specification.rb'
|
46
|
+
autoload :VaultUsageList, '2016-06-01/generated/azure_mgmt_recovery_services/models/vault_usage_list.rb'
|
47
|
+
autoload :MonitoringSummary, '2016-06-01/generated/azure_mgmt_recovery_services/models/monitoring_summary.rb'
|
48
|
+
autoload :UpgradeDetails, '2016-06-01/generated/azure_mgmt_recovery_services/models/upgrade_details.rb'
|
49
|
+
autoload :ClientDiscoveryForLogSpecification, '2016-06-01/generated/azure_mgmt_recovery_services/models/client_discovery_for_log_specification.rb'
|
50
|
+
autoload :VaultProperties, '2016-06-01/generated/azure_mgmt_recovery_services/models/vault_properties.rb'
|
51
|
+
autoload :ReplicationUsageList, '2016-06-01/generated/azure_mgmt_recovery_services/models/replication_usage_list.rb'
|
52
|
+
autoload :VaultUsage, '2016-06-01/generated/azure_mgmt_recovery_services/models/vault_usage.rb'
|
53
|
+
autoload :VaultCertificateResponse, '2016-06-01/generated/azure_mgmt_recovery_services/models/vault_certificate_response.rb'
|
54
|
+
autoload :NameInfo, '2016-06-01/generated/azure_mgmt_recovery_services/models/name_info.rb'
|
55
|
+
autoload :ResourceCertificateAndAadDetails, '2016-06-01/generated/azure_mgmt_recovery_services/models/resource_certificate_and_aad_details.rb'
|
56
|
+
autoload :ResourceCertificateAndAcsDetails, '2016-06-01/generated/azure_mgmt_recovery_services/models/resource_certificate_and_acs_details.rb'
|
57
|
+
autoload :TrackedResource, '2016-06-01/generated/azure_mgmt_recovery_services/models/tracked_resource.rb'
|
58
|
+
autoload :Vault, '2016-06-01/generated/azure_mgmt_recovery_services/models/vault.rb'
|
59
|
+
autoload :VaultExtendedInfoResource, '2016-06-01/generated/azure_mgmt_recovery_services/models/vault_extended_info_resource.rb'
|
60
|
+
autoload :AuthType, '2016-06-01/generated/azure_mgmt_recovery_services/models/auth_type.rb'
|
61
|
+
autoload :SkuName, '2016-06-01/generated/azure_mgmt_recovery_services/models/sku_name.rb'
|
62
|
+
autoload :VaultUpgradeState, '2016-06-01/generated/azure_mgmt_recovery_services/models/vault_upgrade_state.rb'
|
63
|
+
autoload :TriggerType, '2016-06-01/generated/azure_mgmt_recovery_services/models/trigger_type.rb'
|
64
|
+
autoload :UsagesUnit, '2016-06-01/generated/azure_mgmt_recovery_services/models/usages_unit.rb'
|
65
|
+
end
|
66
|
+
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Azure::
|
6
|
+
module Azure::RecoveryServices::Mgmt::V2016_06_01
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Class to represent shoebox log specification in json client discovery.
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Azure::
|
6
|
+
module Azure::RecoveryServices::Mgmt::V2016_06_01
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Class to represent shoebox properties in json client discovery.
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Azure::
|
6
|
+
module Azure::RecoveryServices::Mgmt::V2016_06_01
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Class to represent shoebox service specification in json client
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Azure::
|
6
|
+
module Azure::RecoveryServices::Mgmt::V2016_06_01
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Operations List response which contains list of available APIs.
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Azure::
|
6
|
+
module Azure::RecoveryServices::Mgmt::V2016_06_01
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Certificate details representing the Vault credentials for AAD.
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Azure::
|
6
|
+
module Azure::RecoveryServices::Mgmt::V2016_06_01
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Certificate details representing the Vault credentials for ACS.
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Azure::
|
6
|
+
module Azure::RecoveryServices::Mgmt::V2016_06_01
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Identifies the unique system identifier for each Azure resource.
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Azure::
|
6
|
+
module Azure::RecoveryServices::Mgmt::V2016_06_01
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Certificate corresponding to a vault that can be used by clients to
|
@@ -0,0 +1,9 @@
|
|
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 end
|
7
|
+
module Azure::RecoveryServices end
|
8
|
+
module Azure::RecoveryServices::Mgmt end
|
9
|
+
module Azure::RecoveryServices::Mgmt::V2016_06_01 end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Azure::
|
6
|
+
module Azure::RecoveryServices::Mgmt::V2016_06_01
|
7
7
|
#
|
8
8
|
# Recovery Services Client
|
9
9
|
#
|
@@ -55,7 +55,7 @@ module Azure::ARM::RecoveryServices
|
|
55
55
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
56
56
|
#
|
57
57
|
def list_async(custom_headers = nil)
|
58
|
-
api_version
|
58
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
59
59
|
|
60
60
|
|
61
61
|
request_headers = {}
|
@@ -69,7 +69,7 @@ module Azure::ARM::RecoveryServices
|
|
69
69
|
|
70
70
|
options = {
|
71
71
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
72
|
-
query_params: {'api-version' => api_version},
|
72
|
+
query_params: {'api-version' => @client.api_version},
|
73
73
|
headers: request_headers.merge(custom_headers || {}),
|
74
74
|
base_url: request_url
|
75
75
|
}
|
@@ -89,7 +89,7 @@ module Azure::ARM::RecoveryServices
|
|
89
89
|
if status_code == 200
|
90
90
|
begin
|
91
91
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
92
|
-
result_mapper = Azure::
|
92
|
+
result_mapper = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryResponse.mapper()
|
93
93
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
94
94
|
rescue Exception => e
|
95
95
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -176,7 +176,7 @@ module Azure::ARM::RecoveryServices
|
|
176
176
|
if status_code == 200
|
177
177
|
begin
|
178
178
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
179
|
-
result_mapper = Azure::
|
179
|
+
result_mapper = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryResponse.mapper()
|
180
180
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
181
181
|
rescue Exception => e
|
182
182
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|