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.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2016-06-01/generated/azure_mgmt_recovery_services.rb +66 -0
  3. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/auth_type.rb +1 -1
  4. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/certificate_request.rb +1 -1
  5. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/client_discovery_display.rb +1 -1
  6. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/client_discovery_for_log_specification.rb +1 -1
  7. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/client_discovery_for_properties.rb +1 -1
  8. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/client_discovery_for_service_specification.rb +1 -1
  9. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/client_discovery_response.rb +1 -1
  10. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/client_discovery_value_for_single_api.rb +1 -1
  11. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/jobs_summary.rb +1 -1
  12. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/monitoring_summary.rb +1 -1
  13. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/name_info.rb +1 -1
  14. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/raw_certificate_data.rb +1 -1
  15. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/replication_usage.rb +1 -1
  16. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/replication_usage_list.rb +1 -1
  17. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/resource.rb +1 -1
  18. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/resource_certificate_and_aad_details.rb +1 -1
  19. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/resource_certificate_and_acs_details.rb +1 -1
  20. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/resource_certificate_details.rb +1 -1
  21. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/sku.rb +1 -1
  22. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/sku_name.rb +1 -1
  23. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/tracked_resource.rb +1 -1
  24. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/trigger_type.rb +1 -1
  25. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/upgrade_details.rb +1 -1
  26. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/usages_unit.rb +1 -1
  27. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/vault.rb +1 -1
  28. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/vault_certificate_response.rb +1 -1
  29. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/vault_extended_info_resource.rb +1 -1
  30. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/vault_list.rb +1 -1
  31. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/vault_properties.rb +1 -1
  32. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/vault_upgrade_state.rb +1 -1
  33. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/vault_usage.rb +1 -1
  34. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/vault_usage_list.rb +1 -1
  35. data/lib/2016-06-01/generated/azure_mgmt_recovery_services/module_definition.rb +9 -0
  36. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/operations.rb +5 -5
  37. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/recovery_services_client.rb +7 -11
  38. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/registered_identities.rb +3 -3
  39. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/replication_usages.rb +4 -4
  40. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/usages.rb +4 -4
  41. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/vault_certificates.rb +5 -5
  42. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/vault_extended_info_operations.rb +12 -12
  43. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/vaults.rb +22 -22
  44. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/version.rb +2 -2
  45. data/lib/2016-12-01/generated/azure_mgmt_recovery_services.rb +45 -0
  46. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services/backup_storage_configs.rb +9 -9
  47. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services/backup_vault_configs.rb +10 -10
  48. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services/models/backup_storage_config.rb +1 -1
  49. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services/models/backup_vault_config.rb +1 -1
  50. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services/models/enhanced_security_state.rb +1 -1
  51. data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/resource.rb +79 -0
  52. data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/sku.rb +45 -0
  53. data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/sku_name.rb +16 -0
  54. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services/models/storage_model_type.rb +1 -1
  55. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services/models/storage_type.rb +1 -1
  56. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services/models/storage_type_state.rb +1 -1
  57. data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/tracked_resource.rb +92 -0
  58. data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/trigger_type.rb +16 -0
  59. data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/upgrade_details.rb +137 -0
  60. data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/vault.rb +108 -0
  61. data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/vault_extended_info_resource.rb +105 -0
  62. data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/vault_properties.rb +56 -0
  63. data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/vault_upgrade_state.rb +18 -0
  64. data/lib/2016-12-01/generated/azure_mgmt_recovery_services/module_definition.rb +9 -0
  65. data/lib/2016-12-01/generated/azure_mgmt_recovery_services/recovery_services_backup_client.rb +133 -0
  66. data/lib/{generated/azure_mgmt_recovery_services/module_definition.rb → 2016-12-01/generated/azure_mgmt_recovery_services/version.rb} +3 -3
  67. data/lib/azure_mgmt_recovery_services.rb +3 -1
  68. data/lib/module_definition.rb +8 -0
  69. data/lib/profiles/common/configurable.rb +73 -0
  70. data/lib/profiles/common/default.rb +68 -0
  71. data/lib/profiles/latest/modules/recoveryservices_profile_module.rb +215 -0
  72. data/lib/profiles/latest/recoveryservices_latest_profile_client.rb +33 -0
  73. data/lib/profiles/latest/recoveryservices_module_definition.rb +9 -0
  74. data/lib/version.rb +7 -0
  75. metadata +74 -53
  76. 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: ac69f6365989cfcd37fee7733fb42104948d3023
4
- data.tar.gz: 7f7a62b86d8b34d04ece71773a03e9fc7cbbd653
3
+ metadata.gz: 876edd5bb3ba639729ccaaa35f30e6456e5750bf
4
+ data.tar.gz: 848753d5bd34ad86f6f389f297247527729c4f7e
5
5
  SHA512:
6
- metadata.gz: 4b2190df5c42a039c9a9faaf86e434fae514d958a65947007b8695d5534f97ef1990404ac26ea9cf6578e6b01396c706ab4eb79cc866ef92e172f56d7f10f44d
7
- data.tar.gz: 3d69bdcca05d1815cc8841d491a137e42cc55c60242b7d3cd28be398cae888bec7dba54706cca62c10b8063fc99b5a7d13ce195a8d7791f5c7abc049f4167eb8
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::ARM::RecoveryServices
6
+ module Azure::RecoveryServices::Mgmt::V2016_06_01
7
7
  module Models
8
8
  #
9
9
  # Defines values for AuthType
@@ -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::ARM::RecoveryServices
6
+ module Azure::RecoveryServices::Mgmt::V2016_06_01
7
7
  module Models
8
8
  #
9
9
  # Details of the certificate to be uploaded to the vault.
@@ -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::ARM::RecoveryServices
6
+ module Azure::RecoveryServices::Mgmt::V2016_06_01
7
7
  module Models
8
8
  #
9
9
  # Localized display information of an operation.
@@ -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::ARM::RecoveryServices
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::ARM::RecoveryServices
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::ARM::RecoveryServices
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::ARM::RecoveryServices
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::ARM::RecoveryServices
6
+ module Azure::RecoveryServices::Mgmt::V2016_06_01
7
7
  module Models
8
8
  #
9
9
  # Available operation details.
@@ -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::ARM::RecoveryServices
6
+ module Azure::RecoveryServices::Mgmt::V2016_06_01
7
7
  module Models
8
8
  #
9
9
  # Summary of the replication job data for this vault.
@@ -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::ARM::RecoveryServices
6
+ module Azure::RecoveryServices::Mgmt::V2016_06_01
7
7
  module Models
8
8
  #
9
9
  # Summary of the replication monitoring data for this vault.
@@ -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::ARM::RecoveryServices
6
+ module Azure::RecoveryServices::Mgmt::V2016_06_01
7
7
  module Models
8
8
  #
9
9
  # The name of usage.
@@ -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::ARM::RecoveryServices
6
+ module Azure::RecoveryServices::Mgmt::V2016_06_01
7
7
  module Models
8
8
  #
9
9
  # Raw certificate data.
@@ -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::ARM::RecoveryServices
6
+ module Azure::RecoveryServices::Mgmt::V2016_06_01
7
7
  module Models
8
8
  #
9
9
  # Replication usages of a vault.
@@ -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::ARM::RecoveryServices
6
+ module Azure::RecoveryServices::Mgmt::V2016_06_01
7
7
  module Models
8
8
  #
9
9
  # Replication usages for vault.
@@ -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::ARM::RecoveryServices
6
+ module Azure::RecoveryServices::Mgmt::V2016_06_01
7
7
  module Models
8
8
  #
9
9
  # ARM 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::ARM::RecoveryServices
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::ARM::RecoveryServices
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::ARM::RecoveryServices
6
+ module Azure::RecoveryServices::Mgmt::V2016_06_01
7
7
  module Models
8
8
  #
9
9
  # Certificate details representing the Vault credentials.
@@ -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::ARM::RecoveryServices
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::ARM::RecoveryServices
6
+ module Azure::RecoveryServices::Mgmt::V2016_06_01
7
7
  module Models
8
8
  #
9
9
  # Defines values for SkuName
@@ -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::ARM::RecoveryServices
6
+ module Azure::RecoveryServices::Mgmt::V2016_06_01
7
7
  module Models
8
8
  #
9
9
  # Tracked resource with location.
@@ -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::ARM::RecoveryServices
6
+ module Azure::RecoveryServices::Mgmt::V2016_06_01
7
7
  module Models
8
8
  #
9
9
  # Defines values for TriggerType
@@ -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::ARM::RecoveryServices
6
+ module Azure::RecoveryServices::Mgmt::V2016_06_01
7
7
  module Models
8
8
  #
9
9
  # Details for upgrading vault.
@@ -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::ARM::RecoveryServices
6
+ module Azure::RecoveryServices::Mgmt::V2016_06_01
7
7
  module Models
8
8
  #
9
9
  # Defines values for UsagesUnit
@@ -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::ARM::RecoveryServices
6
+ module Azure::RecoveryServices::Mgmt::V2016_06_01
7
7
  module Models
8
8
  #
9
9
  # Resource information, as returned by the resource provider.
@@ -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::ARM::RecoveryServices
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
@@ -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::ARM::RecoveryServices
6
+ module Azure::RecoveryServices::Mgmt::V2016_06_01
7
7
  module Models
8
8
  #
9
9
  # Vault extended information.
@@ -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::ARM::RecoveryServices
6
+ module Azure::RecoveryServices::Mgmt::V2016_06_01
7
7
  module Models
8
8
  #
9
9
  # The response model for a list of Vaults.
@@ -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::ARM::RecoveryServices
6
+ module Azure::RecoveryServices::Mgmt::V2016_06_01
7
7
  module Models
8
8
  #
9
9
  # Properties of the vault.
@@ -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::ARM::RecoveryServices
6
+ module Azure::RecoveryServices::Mgmt::V2016_06_01
7
7
  module Models
8
8
  #
9
9
  # Defines values for VaultUpgradeState
@@ -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::ARM::RecoveryServices
6
+ module Azure::RecoveryServices::Mgmt::V2016_06_01
7
7
  module Models
8
8
  #
9
9
  # Usages of a vault.
@@ -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::ARM::RecoveryServices
6
+ module Azure::RecoveryServices::Mgmt::V2016_06_01
7
7
  module Models
8
8
  #
9
9
  # Usage for vault.
@@ -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::ARM::RecoveryServices
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 = '2016-06-01'
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::ARM::RecoveryServices::Models::ClientDiscoveryResponse.mapper()
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::ARM::RecoveryServices::Models::ClientDiscoveryResponse.mapper()
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)