azure_mgmt_recovery_services_backup 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generated/azure_mgmt_recovery_services_backup.rb +45 -44
- data/lib/generated/azure_mgmt_recovery_services_backup/models/resource.rb +86 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/recovery_services_backup_client.rb +4 -5
- data/lib/generated/azure_mgmt_recovery_services_backup/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c28a5be369961c5c87958be845b4e97f42ea925
|
4
|
+
data.tar.gz: 52b47ab355d48255e70683bcc15b39f782e780b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c92b8960a3d56f1bb54582bcac124d03a57f289070f52f57c0df127ea5772070377ba616eab1a775a87e543c58e8b729e7956a7111a50f16f9b90c892d859b78
|
7
|
+
data.tar.gz: a633c8c5da918bc1cc7b9628466eb1be99c1afd52b2a63b8e4fc091dff748100997c3a76b812b4060ca0c9e009abcc7504eafcf650bcd56409181f48eb5e2fa0
|
@@ -45,72 +45,73 @@ module Azure::ARM::RecoveryServicesBackup
|
|
45
45
|
autoload :RecoveryServicesBackupClient, 'generated/azure_mgmt_recovery_services_backup/recovery_services_backup_client.rb'
|
46
46
|
|
47
47
|
module Models
|
48
|
-
autoload :
|
49
|
-
autoload :
|
50
|
-
autoload :
|
51
|
-
autoload :
|
48
|
+
autoload :SchedulePolicy, 'generated/azure_mgmt_recovery_services_backup/models/schedule_policy.rb'
|
49
|
+
autoload :RetentionPolicy, 'generated/azure_mgmt_recovery_services_backup/models/retention_policy.rb'
|
50
|
+
autoload :Job, 'generated/azure_mgmt_recovery_services_backup/models/job.rb'
|
51
|
+
autoload :ILRRequest, 'generated/azure_mgmt_recovery_services_backup/models/ilrrequest.rb'
|
52
52
|
autoload :BMSRPQueryObject, 'generated/azure_mgmt_recovery_services_backup/models/bmsrpquery_object.rb'
|
53
|
-
autoload :BackupEngineBase, 'generated/azure_mgmt_recovery_services_backup/models/backup_engine_base.rb'
|
54
|
-
autoload :YearlyRetentionSchedule, 'generated/azure_mgmt_recovery_services_backup/models/yearly_retention_schedule.rb'
|
55
|
-
autoload :OperationStatus, 'generated/azure_mgmt_recovery_services_backup/models/operation_status.rb'
|
56
|
-
autoload :ResourceList, 'generated/azure_mgmt_recovery_services_backup/models/resource_list.rb'
|
57
|
-
autoload :OperationStatusExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/operation_status_extended_info.rb'
|
58
53
|
autoload :ProtectionPolicy, 'generated/azure_mgmt_recovery_services_backup/models/protection_policy.rb'
|
59
|
-
autoload :
|
54
|
+
autoload :BMSBackupEngineQueryObject, 'generated/azure_mgmt_recovery_services_backup/models/bmsbackup_engine_query_object.rb'
|
55
|
+
autoload :WeeklyRetentionFormat, 'generated/azure_mgmt_recovery_services_backup/models/weekly_retention_format.rb'
|
56
|
+
autoload :OperationStatusExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/operation_status_extended_info.rb'
|
60
57
|
autoload :MonthlyRetentionSchedule, 'generated/azure_mgmt_recovery_services_backup/models/monthly_retention_schedule.rb'
|
61
|
-
autoload :
|
62
|
-
autoload :
|
58
|
+
autoload :OperationWorkerResponse, 'generated/azure_mgmt_recovery_services_backup/models/operation_worker_response.rb'
|
59
|
+
autoload :BMSContainerQueryObject, 'generated/azure_mgmt_recovery_services_backup/models/bmscontainer_query_object.rb'
|
60
|
+
autoload :WorkloadProtectableItem, 'generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item.rb'
|
63
61
|
autoload :RestoreRequest, 'generated/azure_mgmt_recovery_services_backup/models/restore_request.rb'
|
62
|
+
autoload :DpmErrorInfo, 'generated/azure_mgmt_recovery_services_backup/models/dpm_error_info.rb'
|
63
|
+
autoload :KeyAndSecretDetails, 'generated/azure_mgmt_recovery_services_backup/models/key_and_secret_details.rb'
|
64
64
|
autoload :ProtectedItem, 'generated/azure_mgmt_recovery_services_backup/models/protected_item.rb'
|
65
65
|
autoload :ProtectionPolicyQueryObject, 'generated/azure_mgmt_recovery_services_backup/models/protection_policy_query_object.rb'
|
66
|
-
autoload :
|
67
|
-
autoload :
|
68
|
-
autoload :
|
69
|
-
autoload :ILRRequest, 'generated/azure_mgmt_recovery_services_backup/models/ilrrequest.rb'
|
70
|
-
autoload :ProtectedItemQueryObject, 'generated/azure_mgmt_recovery_services_backup/models/protected_item_query_object.rb'
|
71
|
-
autoload :InstantItemRecoveryTarget, 'generated/azure_mgmt_recovery_services_backup/models/instant_item_recovery_target.rb'
|
66
|
+
autoload :BMSPOQueryObject, 'generated/azure_mgmt_recovery_services_backup/models/bmspoquery_object.rb'
|
67
|
+
autoload :BEKDetails, 'generated/azure_mgmt_recovery_services_backup/models/bekdetails.rb'
|
68
|
+
autoload :GetProtectedItemQueryObject, 'generated/azure_mgmt_recovery_services_backup/models/get_protected_item_query_object.rb'
|
72
69
|
autoload :KEKDetails, 'generated/azure_mgmt_recovery_services_backup/models/kekdetails.rb'
|
70
|
+
autoload :AzureIaaSVMJobTaskDetails, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob_task_details.rb'
|
71
|
+
autoload :YearlyRetentionSchedule, 'generated/azure_mgmt_recovery_services_backup/models/yearly_retention_schedule.rb'
|
72
|
+
autoload :RecoveryPoint, 'generated/azure_mgmt_recovery_services_backup/models/recovery_point.rb'
|
73
|
+
autoload :ResourceList, 'generated/azure_mgmt_recovery_services_backup/models/resource_list.rb'
|
74
|
+
autoload :Day, 'generated/azure_mgmt_recovery_services_backup/models/day.rb'
|
73
75
|
autoload :ClientScriptForConnect, 'generated/azure_mgmt_recovery_services_backup/models/client_script_for_connect.rb'
|
74
|
-
autoload :
|
75
|
-
autoload :
|
76
|
-
autoload :
|
77
|
-
autoload :MabJobExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/mab_job_extended_info.rb'
|
78
|
-
autoload :OperationStatusError, 'generated/azure_mgmt_recovery_services_backup/models/operation_status_error.rb'
|
79
|
-
autoload :MabErrorInfo, 'generated/azure_mgmt_recovery_services_backup/models/mab_error_info.rb'
|
80
|
-
autoload :WeeklyRetentionSchedule, 'generated/azure_mgmt_recovery_services_backup/models/weekly_retention_schedule.rb'
|
76
|
+
autoload :DailyRetentionFormat, 'generated/azure_mgmt_recovery_services_backup/models/daily_retention_format.rb'
|
77
|
+
autoload :InstantItemRecoveryTarget, 'generated/azure_mgmt_recovery_services_backup/models/instant_item_recovery_target.rb'
|
78
|
+
autoload :BackupEngineBase, 'generated/azure_mgmt_recovery_services_backup/models/backup_engine_base.rb'
|
81
79
|
autoload :MabContainerExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/mab_container_extended_info.rb'
|
82
|
-
autoload :
|
80
|
+
autoload :OperationStatus, 'generated/azure_mgmt_recovery_services_backup/models/operation_status.rb'
|
83
81
|
autoload :RetentionDuration, 'generated/azure_mgmt_recovery_services_backup/models/retention_duration.rb'
|
84
|
-
autoload :GetProtectedItemQueryObject, 'generated/azure_mgmt_recovery_services_backup/models/get_protected_item_query_object.rb'
|
85
82
|
autoload :DpmJobTaskDetails, 'generated/azure_mgmt_recovery_services_backup/models/dpm_job_task_details.rb'
|
86
|
-
autoload :
|
83
|
+
autoload :MabJobExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/mab_job_extended_info.rb'
|
84
|
+
autoload :WeeklyRetentionSchedule, 'generated/azure_mgmt_recovery_services_backup/models/weekly_retention_schedule.rb'
|
87
85
|
autoload :AzureIaaSVMProtectedItemExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item_extended_info.rb'
|
88
|
-
autoload :
|
89
|
-
autoload :
|
90
|
-
autoload :
|
86
|
+
autoload :BackupRequest, 'generated/azure_mgmt_recovery_services_backup/models/backup_request.rb'
|
87
|
+
autoload :MabJobTaskDetails, 'generated/azure_mgmt_recovery_services_backup/models/mab_job_task_details.rb'
|
88
|
+
autoload :AzureIaaSVMErrorInfo, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmerror_info.rb'
|
91
89
|
autoload :MabFileFolderProtectedItemExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item_extended_info.rb'
|
92
|
-
autoload :
|
93
|
-
autoload :
|
94
|
-
autoload :
|
90
|
+
autoload :EncryptionDetails, 'generated/azure_mgmt_recovery_services_backup/models/encryption_details.rb'
|
91
|
+
autoload :MabErrorInfo, 'generated/azure_mgmt_recovery_services_backup/models/mab_error_info.rb'
|
92
|
+
autoload :JobQueryObject, 'generated/azure_mgmt_recovery_services_backup/models/job_query_object.rb'
|
95
93
|
autoload :AzureSqlProtectedItemExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item_extended_info.rb'
|
96
|
-
autoload :
|
94
|
+
autoload :AzureIaaSVMJobExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob_extended_info.rb'
|
97
95
|
autoload :DailyRetentionSchedule, 'generated/azure_mgmt_recovery_services_backup/models/daily_retention_schedule.rb'
|
98
|
-
autoload :
|
99
|
-
autoload :
|
100
|
-
autoload :
|
101
|
-
autoload :
|
96
|
+
autoload :ProtectionContainer, 'generated/azure_mgmt_recovery_services_backup/models/protection_container.rb'
|
97
|
+
autoload :DpmJobExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/dpm_job_extended_info.rb'
|
98
|
+
autoload :OperationResultInfoBase, 'generated/azure_mgmt_recovery_services_backup/models/operation_result_info_base.rb'
|
99
|
+
autoload :Resource, 'generated/azure_mgmt_recovery_services_backup/models/resource.rb'
|
100
|
+
autoload :OperationStatusError, 'generated/azure_mgmt_recovery_services_backup/models/operation_status_error.rb'
|
101
|
+
autoload :ProtectedItemQueryObject, 'generated/azure_mgmt_recovery_services_backup/models/protected_item_query_object.rb'
|
102
102
|
autoload :JobResource, 'generated/azure_mgmt_recovery_services_backup/models/job_resource.rb'
|
103
|
-
autoload :
|
103
|
+
autoload :JobResourceList, 'generated/azure_mgmt_recovery_services_backup/models/job_resource_list.rb'
|
104
104
|
autoload :WorkloadProtectableItemResource, 'generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item_resource.rb'
|
105
|
+
autoload :WorkloadProtectableItemResourceList, 'generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item_resource_list.rb'
|
105
106
|
autoload :ProtectedItemResource, 'generated/azure_mgmt_recovery_services_backup/models/protected_item_resource.rb'
|
106
107
|
autoload :ProtectedItemResourceList, 'generated/azure_mgmt_recovery_services_backup/models/protected_item_resource_list.rb'
|
107
108
|
autoload :BackupRequestResource, 'generated/azure_mgmt_recovery_services_backup/models/backup_request_resource.rb'
|
108
|
-
autoload :RecoveryPointResourceList, 'generated/azure_mgmt_recovery_services_backup/models/recovery_point_resource_list.rb'
|
109
109
|
autoload :RecoveryPointResource, 'generated/azure_mgmt_recovery_services_backup/models/recovery_point_resource.rb'
|
110
|
-
autoload :
|
110
|
+
autoload :RecoveryPointResourceList, 'generated/azure_mgmt_recovery_services_backup/models/recovery_point_resource_list.rb'
|
111
111
|
autoload :ProtectionContainerResource, 'generated/azure_mgmt_recovery_services_backup/models/protection_container_resource.rb'
|
112
|
-
autoload :
|
112
|
+
autoload :ProtectionContainerResourceList, 'generated/azure_mgmt_recovery_services_backup/models/protection_container_resource_list.rb'
|
113
113
|
autoload :ProtectionPolicyResource, 'generated/azure_mgmt_recovery_services_backup/models/protection_policy_resource.rb'
|
114
|
+
autoload :ProtectionPolicyResourceList, 'generated/azure_mgmt_recovery_services_backup/models/protection_policy_resource_list.rb'
|
114
115
|
autoload :RestoreRequestResource, 'generated/azure_mgmt_recovery_services_backup/models/restore_request_resource.rb'
|
115
116
|
autoload :ILRRequestResource, 'generated/azure_mgmt_recovery_services_backup/models/ilrrequest_resource.rb'
|
116
117
|
autoload :AzureBackupServerEngine, 'generated/azure_mgmt_recovery_services_backup/models/azure_backup_server_engine.rb'
|
@@ -148,8 +149,8 @@ module Azure::ARM::RecoveryServicesBackup
|
|
148
149
|
autoload :SimpleSchedulePolicy, 'generated/azure_mgmt_recovery_services_backup/models/simple_schedule_policy.rb'
|
149
150
|
autoload :SimpleRetentionPolicy, 'generated/azure_mgmt_recovery_services_backup/models/simple_retention_policy.rb'
|
150
151
|
autoload :LongTermRetentionPolicy, 'generated/azure_mgmt_recovery_services_backup/models/long_term_retention_policy.rb'
|
151
|
-
autoload :BackupEngineBaseResourceList, 'generated/azure_mgmt_recovery_services_backup/models/backup_engine_base_resource_list.rb'
|
152
152
|
autoload :BackupEngineBaseResource, 'generated/azure_mgmt_recovery_services_backup/models/backup_engine_base_resource.rb'
|
153
|
+
autoload :BackupEngineBaseResourceList, 'generated/azure_mgmt_recovery_services_backup/models/backup_engine_base_resource_list.rb'
|
153
154
|
autoload :OperationResultInfoBaseResource, 'generated/azure_mgmt_recovery_services_backup/models/operation_result_info_base_resource.rb'
|
154
155
|
autoload :BackupManagementType, 'generated/azure_mgmt_recovery_services_backup/models/backup_management_type.rb'
|
155
156
|
autoload :OperationStatusValues, 'generated/azure_mgmt_recovery_services_backup/models/operation_status_values.rb'
|
@@ -0,0 +1,86 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::RecoveryServicesBackup
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Base for all resources.
|
10
|
+
#
|
11
|
+
class Resource < MsRestAzure::Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Optional ETag.
|
16
|
+
attr_accessor :e_tag
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for Resource class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
required: false,
|
26
|
+
serialized_name: 'Resource',
|
27
|
+
type: {
|
28
|
+
name: 'Composite',
|
29
|
+
class_name: 'Resource',
|
30
|
+
model_properties: {
|
31
|
+
id: {
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'id',
|
34
|
+
type: {
|
35
|
+
name: 'String'
|
36
|
+
}
|
37
|
+
},
|
38
|
+
name: {
|
39
|
+
required: false,
|
40
|
+
serialized_name: 'name',
|
41
|
+
type: {
|
42
|
+
name: 'String'
|
43
|
+
}
|
44
|
+
},
|
45
|
+
type: {
|
46
|
+
required: false,
|
47
|
+
serialized_name: 'type',
|
48
|
+
type: {
|
49
|
+
name: 'String'
|
50
|
+
}
|
51
|
+
},
|
52
|
+
location: {
|
53
|
+
required: false,
|
54
|
+
serialized_name: 'location',
|
55
|
+
type: {
|
56
|
+
name: 'String'
|
57
|
+
}
|
58
|
+
},
|
59
|
+
tags: {
|
60
|
+
required: false,
|
61
|
+
serialized_name: 'tags',
|
62
|
+
type: {
|
63
|
+
name: 'Dictionary',
|
64
|
+
value: {
|
65
|
+
required: false,
|
66
|
+
serialized_name: 'StringElementType',
|
67
|
+
type: {
|
68
|
+
name: 'String'
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
},
|
73
|
+
e_tag: {
|
74
|
+
required: false,
|
75
|
+
serialized_name: 'eTag',
|
76
|
+
type: {
|
77
|
+
name: 'String'
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|
86
|
+
end
|
@@ -108,12 +108,11 @@ module Azure::ARM::RecoveryServicesBackup
|
|
108
108
|
# @param base_url [String] the base URI of the service.
|
109
109
|
# @param options [Array] filters to be applied to the HTTP requests.
|
110
110
|
#
|
111
|
-
def initialize(credentials, base_url = nil, options = nil)
|
111
|
+
def initialize(credentials = nil, base_url = nil, options = nil)
|
112
112
|
super(credentials, options)
|
113
113
|
@base_url = base_url || 'https://management.azure.com'
|
114
114
|
|
115
|
-
fail ArgumentError, 'credentials
|
116
|
-
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials)
|
115
|
+
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
|
117
116
|
@credentials = credentials
|
118
117
|
|
119
118
|
@item_level_recovery_connections = ItemLevelRecoveryConnections.new(self)
|
@@ -146,7 +145,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
146
145
|
|
147
146
|
#
|
148
147
|
# Makes a request and returns the body of the response.
|
149
|
-
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
148
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
150
149
|
# @param path [String] the path, relative to {base_url}.
|
151
150
|
# @param options [Hash{String=>String}] specifying any request options like :body.
|
152
151
|
# @return [Hash{String=>String}] containing the body of the response.
|
@@ -207,7 +206,7 @@ module Azure::ARM::RecoveryServicesBackup
|
|
207
206
|
def add_telemetry
|
208
207
|
sdk_information = 'azure_mgmt_recovery_services_backup'
|
209
208
|
if defined? Azure::ARM::RecoveryServicesBackup::VERSION
|
210
|
-
sdk_information = "#{sdk_information}/#{Azure::ARM::RecoveryServicesBackup::VERSION}"
|
209
|
+
sdk_information = "#{sdk_information}/#{Azure::ARM::RecoveryServicesBackup::VERSION}"
|
211
210
|
end
|
212
211
|
add_user_agent_information(sdk_information)
|
213
212
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_mgmt_recovery_services_backup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
75
|
+
version: 0.7.0
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.
|
82
|
+
version: 0.7.0
|
83
83
|
description: Microsoft Azure Recovery Services Backup Library for Ruby
|
84
84
|
email: azrubyteam@microsoft.com
|
85
85
|
executables: []
|
@@ -206,6 +206,7 @@ files:
|
|
206
206
|
- lib/generated/azure_mgmt_recovery_services_backup/models/recovery_point_resource.rb
|
207
207
|
- lib/generated/azure_mgmt_recovery_services_backup/models/recovery_point_resource_list.rb
|
208
208
|
- lib/generated/azure_mgmt_recovery_services_backup/models/recovery_type.rb
|
209
|
+
- lib/generated/azure_mgmt_recovery_services_backup/models/resource.rb
|
209
210
|
- lib/generated/azure_mgmt_recovery_services_backup/models/resource_list.rb
|
210
211
|
- lib/generated/azure_mgmt_recovery_services_backup/models/restore_request.rb
|
211
212
|
- lib/generated/azure_mgmt_recovery_services_backup/models/restore_request_resource.rb
|