azure_mgmt_recovery_services_backup 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/lib/azure_mgmt_recovery_services_backup.rb +5 -0
- data/lib/generated/azure_mgmt_recovery_services_backup.rb +175 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/backup_engines.rb +253 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/backup_operation_results.rb +128 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/backup_operation_statuses.rb +136 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/backups.rb +149 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/export_jobs_operation_results.rb +124 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/item_level_recovery_connections.rb +276 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/job_cancellations.rb +116 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/job_details.rb +124 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/job_operation_results.rb +117 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/jobs.rb +369 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_backup_server_engine.rb +92 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmcontainer.rb +107 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotectable_item.rb +77 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotected_item.rb +136 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmcontainer.rb +107 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotectable_item.rb +77 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotected_item.rb +137 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmerror_info.rb +82 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob.rb +169 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob_extended_info.rb +91 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob_task_details.rb +104 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item.rb +165 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item_extended_info.rb +68 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotection_policy.rb +83 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_sql_container.rb +85 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item.rb +121 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item_extended_info.rb +67 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protection_policy.rb +68 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base.rb +112 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base_resource.rb +97 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base_resource_list.rb +90 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_item_type.rb +22 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_management_type.rb +20 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_request.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_request_resource.rb +97 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/bekdetails.rb +65 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/bmsbackup_engine_query_object.rb +47 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/bmscontainer_query_object.rb +68 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/bmspoquery_object.rb +67 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/bmsrpquery_object.rb +54 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/client_script_for_connect.rb +67 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/daily_retention_format.rb +52 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/daily_retention_schedule.rb +62 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/data_source_type.rb +22 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/day.rb +54 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/day_of_week.rb +21 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/dpm_backup_engine.rb +92 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/dpm_error_info.rb +62 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/dpm_job.rb +198 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/dpm_job_extended_info.rb +80 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/dpm_job_task_details.rb +84 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/encryption_details.rb +87 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/export_jobs_operation_result_info.rb +70 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/generic_recovery_point.rb +89 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/get_protected_item_query_object.rb +45 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/http_status_code.rb +61 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/iaa_svmcontainer.rb +118 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/iaa_svmprotectable_item.rb +82 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/iaas_vmbackup_request.rb +60 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/iaas_vmilrregistration_request.rb +92 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/iaas_vmrecovery_point.rb +124 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/iaas_vmrestore_request.rb +202 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/ilrrequest.rb +45 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/ilrrequest_resource.rb +96 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/instant_item_recovery_target.rb +52 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/job.rb +121 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/job_operation_type.rb +20 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/job_query_object.rb +103 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/job_resource.rb +96 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/job_resource_list.rb +90 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/job_status.rb +21 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/job_supported_action.rb +17 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/kekdetails.rb +67 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/key_and_secret_details.rb +63 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/long_term_retention_policy.rb +96 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/long_term_schedule_policy.rb +48 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_container.rb +137 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_container_extended_info.rb +95 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_error_info.rb +61 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item.rb +149 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item_extended_info.rb +66 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_job.rb +194 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_job_extended_info.rb +79 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_job_task_details.rb +84 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_protection_policy.rb +82 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_server_type.rb +25 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/month_of_year.rb +27 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/monthly_retention_schedule.rb +99 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_result_info.rb +65 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_result_info_base.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_result_info_base_resource.rb +76 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_status.rb +114 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_status_error.rb +54 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_status_extended_info.rb +47 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_status_job_extended_info.rb +58 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_status_jobs_extended_info.rb +83 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_status_provision_ilrextended_info.rb +61 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_status_values.rb +19 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_worker_response.rb +83 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/protected_item.rb +107 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/protected_item_query_object.rb +81 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/protected_item_resource.rb +96 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/protected_item_resource_list.rb +90 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/protected_item_state.rb +20 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_container.rb +110 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_container_resource.rb +97 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_container_resource_list.rb +90 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_policy.rb +58 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_policy_query_object.rb +47 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_policy_resource.rb +97 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_policy_resource_list.rb +90 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_state.rb +20 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_status.rb +18 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/recovery_point.rb +47 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/recovery_point_resource.rb +97 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/recovery_point_resource_list.rb +90 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/recovery_type.rb +18 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/resource_list.rb +45 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/restore_request.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/restore_request_resource.rb +97 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/retention_duration.rb +60 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/retention_duration_type.rb +19 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/retention_policy.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/retention_schedule_format.rb +17 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/schedule_policy.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/schedule_run_type.rb +17 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/simple_retention_policy.rb +60 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/simple_schedule_policy.rb +108 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/week_of_month.rb +19 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/weekly_retention_format.rb +70 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/weekly_retention_schedule.rb +81 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item.rb +80 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item_resource.rb +97 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item_resource_list.rb +90 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/workload_type.rb +22 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/models/yearly_retention_schedule.rb +119 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/module_definition.rb +8 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/protectable_items.rb +276 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/protected_item_operation_results.rb +142 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/protected_item_operation_statuses.rb +154 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/protected_items.rb +609 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/protection_container_operation_results.rb +135 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/protection_container_refresh_operation_results.rb +120 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/protection_containers.rb +538 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/protection_policies.rb +566 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/protection_policy_operation_results.rb +131 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/protection_policy_operation_statuses.rb +143 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/recovery_points.rb +386 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/recovery_services_backup_client.rb +215 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/restores.rb +150 -0
- data/lib/generated/azure_mgmt_recovery_services_backup/version.rb +8 -0
- metadata +268 -0
@@ -0,0 +1,95 @@
|
|
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
|
+
# Additional information for the container.
|
10
|
+
#
|
11
|
+
class MabContainerExtendedInfo
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [DateTime] The time stamp when this container was refreshed.
|
16
|
+
attr_accessor :last_refreshed_at
|
17
|
+
|
18
|
+
# @return [BackupItemType] The type of backup items associated with this
|
19
|
+
# container. Possible values include: 'Invalid', 'VM', 'FileFolder',
|
20
|
+
# 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'DPMUnknown'
|
21
|
+
attr_accessor :backup_item_type
|
22
|
+
|
23
|
+
# @return [Array<String>] The list of backup items associated with this
|
24
|
+
# container.
|
25
|
+
attr_accessor :backup_items
|
26
|
+
|
27
|
+
# @return [String] The backup policy associated with this container.
|
28
|
+
attr_accessor :policy_name
|
29
|
+
|
30
|
+
# @return [String] The latest backup status of this container.
|
31
|
+
attr_accessor :last_backup_status
|
32
|
+
|
33
|
+
|
34
|
+
#
|
35
|
+
# Mapper for MabContainerExtendedInfo class as Ruby Hash.
|
36
|
+
# This will be used for serialization/deserialization.
|
37
|
+
#
|
38
|
+
def self.mapper()
|
39
|
+
{
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'MabContainerExtendedInfo',
|
42
|
+
type: {
|
43
|
+
name: 'Composite',
|
44
|
+
class_name: 'MabContainerExtendedInfo',
|
45
|
+
model_properties: {
|
46
|
+
last_refreshed_at: {
|
47
|
+
required: false,
|
48
|
+
serialized_name: 'lastRefreshedAt',
|
49
|
+
type: {
|
50
|
+
name: 'DateTime'
|
51
|
+
}
|
52
|
+
},
|
53
|
+
backup_item_type: {
|
54
|
+
required: false,
|
55
|
+
serialized_name: 'backupItemType',
|
56
|
+
type: {
|
57
|
+
name: 'Enum',
|
58
|
+
module: 'BackupItemType'
|
59
|
+
}
|
60
|
+
},
|
61
|
+
backup_items: {
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'backupItems',
|
64
|
+
type: {
|
65
|
+
name: 'Sequence',
|
66
|
+
element: {
|
67
|
+
required: false,
|
68
|
+
serialized_name: 'StringElementType',
|
69
|
+
type: {
|
70
|
+
name: 'String'
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
},
|
75
|
+
policy_name: {
|
76
|
+
required: false,
|
77
|
+
serialized_name: 'policyName',
|
78
|
+
type: {
|
79
|
+
name: 'String'
|
80
|
+
}
|
81
|
+
},
|
82
|
+
last_backup_status: {
|
83
|
+
required: false,
|
84
|
+
serialized_name: 'lastBackupStatus',
|
85
|
+
type: {
|
86
|
+
name: 'String'
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|
95
|
+
end
|
@@ -0,0 +1,61 @@
|
|
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
|
+
# Azure Backup Server workload-specific error information.
|
10
|
+
#
|
11
|
+
class MabErrorInfo
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Localized error string.
|
16
|
+
attr_accessor :error_string
|
17
|
+
|
18
|
+
# @return [Array<String>] List of localized recommendations.
|
19
|
+
attr_accessor :recommendations
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for MabErrorInfo class as Ruby Hash.
|
24
|
+
# This will be used for serialization/deserialization.
|
25
|
+
#
|
26
|
+
def self.mapper()
|
27
|
+
{
|
28
|
+
required: false,
|
29
|
+
serialized_name: 'MabErrorInfo',
|
30
|
+
type: {
|
31
|
+
name: 'Composite',
|
32
|
+
class_name: 'MabErrorInfo',
|
33
|
+
model_properties: {
|
34
|
+
error_string: {
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'errorString',
|
37
|
+
type: {
|
38
|
+
name: 'String'
|
39
|
+
}
|
40
|
+
},
|
41
|
+
recommendations: {
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'recommendations',
|
44
|
+
type: {
|
45
|
+
name: 'Sequence',
|
46
|
+
element: {
|
47
|
+
required: false,
|
48
|
+
serialized_name: 'StringElementType',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item.rb
ADDED
@@ -0,0 +1,149 @@
|
|
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
|
+
# This is a file or folder workload-specific backup item.
|
10
|
+
#
|
11
|
+
class MabFileFolderProtectedItem < ProtectedItem
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
def initialize
|
17
|
+
@protectedItemType = "MabFileFolderProtectedItem"
|
18
|
+
end
|
19
|
+
|
20
|
+
attr_accessor :protectedItemType
|
21
|
+
|
22
|
+
# @return [String] The friendly name of this backup item.
|
23
|
+
attr_accessor :friendly_name
|
24
|
+
|
25
|
+
# @return [String] The name of the computer associated with this backup
|
26
|
+
# item.
|
27
|
+
attr_accessor :computer_name
|
28
|
+
|
29
|
+
# @return [String] The status of last backup operation.
|
30
|
+
attr_accessor :last_backup_status
|
31
|
+
|
32
|
+
# @return [String] The states for this property are: Protected,
|
33
|
+
# ProtectionStopped, IRPending, or ProtectionError.
|
34
|
+
attr_accessor :protection_state
|
35
|
+
|
36
|
+
# @return [Boolean]
|
37
|
+
attr_accessor :is_scheduled_for_deferred_delete
|
38
|
+
|
39
|
+
# @return [MabFileFolderProtectedItemExtendedInfo] Additional information
|
40
|
+
# for this backup item.
|
41
|
+
attr_accessor :extended_info
|
42
|
+
|
43
|
+
|
44
|
+
#
|
45
|
+
# Mapper for MabFileFolderProtectedItem class as Ruby Hash.
|
46
|
+
# This will be used for serialization/deserialization.
|
47
|
+
#
|
48
|
+
def self.mapper()
|
49
|
+
{
|
50
|
+
required: false,
|
51
|
+
serialized_name: 'MabFileFolderProtectedItem',
|
52
|
+
type: {
|
53
|
+
name: 'Composite',
|
54
|
+
class_name: 'MabFileFolderProtectedItem',
|
55
|
+
model_properties: {
|
56
|
+
backup_management_type: {
|
57
|
+
required: false,
|
58
|
+
serialized_name: 'backupManagementType',
|
59
|
+
type: {
|
60
|
+
name: 'Enum',
|
61
|
+
module: 'BackupManagementType'
|
62
|
+
}
|
63
|
+
},
|
64
|
+
workload_type: {
|
65
|
+
required: false,
|
66
|
+
serialized_name: 'workloadType',
|
67
|
+
type: {
|
68
|
+
name: 'Enum',
|
69
|
+
module: 'DataSourceType'
|
70
|
+
}
|
71
|
+
},
|
72
|
+
source_resource_id: {
|
73
|
+
required: false,
|
74
|
+
serialized_name: 'sourceResourceId',
|
75
|
+
type: {
|
76
|
+
name: 'String'
|
77
|
+
}
|
78
|
+
},
|
79
|
+
policy_id: {
|
80
|
+
required: false,
|
81
|
+
serialized_name: 'policyId',
|
82
|
+
type: {
|
83
|
+
name: 'String'
|
84
|
+
}
|
85
|
+
},
|
86
|
+
last_recovery_point: {
|
87
|
+
required: false,
|
88
|
+
serialized_name: 'lastRecoveryPoint',
|
89
|
+
type: {
|
90
|
+
name: 'DateTime'
|
91
|
+
}
|
92
|
+
},
|
93
|
+
protectedItemType: {
|
94
|
+
required: true,
|
95
|
+
serialized_name: 'protectedItemType',
|
96
|
+
type: {
|
97
|
+
name: 'String'
|
98
|
+
}
|
99
|
+
},
|
100
|
+
friendly_name: {
|
101
|
+
required: false,
|
102
|
+
serialized_name: 'friendlyName',
|
103
|
+
type: {
|
104
|
+
name: 'String'
|
105
|
+
}
|
106
|
+
},
|
107
|
+
computer_name: {
|
108
|
+
required: false,
|
109
|
+
serialized_name: 'computerName',
|
110
|
+
type: {
|
111
|
+
name: 'String'
|
112
|
+
}
|
113
|
+
},
|
114
|
+
last_backup_status: {
|
115
|
+
required: false,
|
116
|
+
serialized_name: 'lastBackupStatus',
|
117
|
+
type: {
|
118
|
+
name: 'String'
|
119
|
+
}
|
120
|
+
},
|
121
|
+
protection_state: {
|
122
|
+
required: false,
|
123
|
+
serialized_name: 'protectionState',
|
124
|
+
type: {
|
125
|
+
name: 'String'
|
126
|
+
}
|
127
|
+
},
|
128
|
+
is_scheduled_for_deferred_delete: {
|
129
|
+
required: false,
|
130
|
+
serialized_name: 'isScheduledForDeferredDelete',
|
131
|
+
type: {
|
132
|
+
name: 'Boolean'
|
133
|
+
}
|
134
|
+
},
|
135
|
+
extended_info: {
|
136
|
+
required: false,
|
137
|
+
serialized_name: 'extendedInfo',
|
138
|
+
type: {
|
139
|
+
name: 'Composite',
|
140
|
+
class_name: 'MabFileFolderProtectedItemExtendedInfo'
|
141
|
+
}
|
142
|
+
}
|
143
|
+
}
|
144
|
+
}
|
145
|
+
}
|
146
|
+
end
|
147
|
+
end
|
148
|
+
end
|
149
|
+
end
|
@@ -0,0 +1,66 @@
|
|
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
|
+
# Additional information for the backup item.
|
10
|
+
#
|
11
|
+
class MabFileFolderProtectedItemExtendedInfo
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [DateTime] The last day and time the agent synced with the
|
16
|
+
# service.
|
17
|
+
attr_accessor :last_refreshed_at
|
18
|
+
|
19
|
+
# @return [DateTime] The oldest backup copy available.
|
20
|
+
attr_accessor :oldest_recovery_point
|
21
|
+
|
22
|
+
# @return [Integer] The number of backup copies associated with the
|
23
|
+
# backup item.
|
24
|
+
attr_accessor :recovery_point_count
|
25
|
+
|
26
|
+
|
27
|
+
#
|
28
|
+
# Mapper for MabFileFolderProtectedItemExtendedInfo class as Ruby Hash.
|
29
|
+
# This will be used for serialization/deserialization.
|
30
|
+
#
|
31
|
+
def self.mapper()
|
32
|
+
{
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'MabFileFolderProtectedItemExtendedInfo',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'MabFileFolderProtectedItemExtendedInfo',
|
38
|
+
model_properties: {
|
39
|
+
last_refreshed_at: {
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'lastRefreshedAt',
|
42
|
+
type: {
|
43
|
+
name: 'DateTime'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
oldest_recovery_point: {
|
47
|
+
required: false,
|
48
|
+
serialized_name: 'oldestRecoveryPoint',
|
49
|
+
type: {
|
50
|
+
name: 'DateTime'
|
51
|
+
}
|
52
|
+
},
|
53
|
+
recovery_point_count: {
|
54
|
+
required: false,
|
55
|
+
serialized_name: 'recoveryPointCount',
|
56
|
+
type: {
|
57
|
+
name: 'Number'
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
@@ -0,0 +1,194 @@
|
|
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
|
+
# The Azure Backup Server workload-specific job.
|
10
|
+
#
|
11
|
+
class MabJob < Job
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
def initialize
|
17
|
+
@jobType = "MabJob"
|
18
|
+
end
|
19
|
+
|
20
|
+
attr_accessor :jobType
|
21
|
+
|
22
|
+
# @return [Duration] The time required for the job to run.
|
23
|
+
attr_accessor :duration
|
24
|
+
|
25
|
+
# @return [Array<JobSupportedAction>] The state or actions applicable on
|
26
|
+
# jobs such as Cancel or Retry.
|
27
|
+
attr_accessor :actions_info
|
28
|
+
|
29
|
+
# @return [String] The name of server protecting the data store.
|
30
|
+
attr_accessor :mab_server_name
|
31
|
+
|
32
|
+
# @return [MabServerType] Server type of the Azure Backup Server
|
33
|
+
# container. Possible values include: 'Invalid', 'Unknown',
|
34
|
+
# 'IaasVMContainer', 'IaasVMServiceContainer', 'DPMContainer',
|
35
|
+
# 'DPMVenusContainer', 'MABContainer', 'ClusterResource',
|
36
|
+
# 'AzureSqlContainer', 'WindowsServer', 'Windows'
|
37
|
+
attr_accessor :mab_server_type
|
38
|
+
|
39
|
+
# @return [WorkloadType] Workload type of backup item. Possible values
|
40
|
+
# include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB',
|
41
|
+
# 'Exchange', 'Sharepoint', 'DPMUnknown'
|
42
|
+
attr_accessor :workload_type
|
43
|
+
|
44
|
+
# @return [Array<MabErrorInfo>] The errors.
|
45
|
+
attr_accessor :error_details
|
46
|
+
|
47
|
+
# @return [MabJobExtendedInfo] Additional information on the job.
|
48
|
+
attr_accessor :extended_info
|
49
|
+
|
50
|
+
|
51
|
+
#
|
52
|
+
# Mapper for MabJob class as Ruby Hash.
|
53
|
+
# This will be used for serialization/deserialization.
|
54
|
+
#
|
55
|
+
def self.mapper()
|
56
|
+
{
|
57
|
+
required: false,
|
58
|
+
serialized_name: 'MabJob',
|
59
|
+
type: {
|
60
|
+
name: 'Composite',
|
61
|
+
class_name: 'MabJob',
|
62
|
+
model_properties: {
|
63
|
+
entity_friendly_name: {
|
64
|
+
required: false,
|
65
|
+
serialized_name: 'entityFriendlyName',
|
66
|
+
type: {
|
67
|
+
name: 'String'
|
68
|
+
}
|
69
|
+
},
|
70
|
+
backup_management_type: {
|
71
|
+
required: false,
|
72
|
+
serialized_name: 'backupManagementType',
|
73
|
+
type: {
|
74
|
+
name: 'Enum',
|
75
|
+
module: 'BackupManagementType'
|
76
|
+
}
|
77
|
+
},
|
78
|
+
operation: {
|
79
|
+
required: false,
|
80
|
+
serialized_name: 'operation',
|
81
|
+
type: {
|
82
|
+
name: 'String'
|
83
|
+
}
|
84
|
+
},
|
85
|
+
status: {
|
86
|
+
required: false,
|
87
|
+
serialized_name: 'status',
|
88
|
+
type: {
|
89
|
+
name: 'String'
|
90
|
+
}
|
91
|
+
},
|
92
|
+
start_time: {
|
93
|
+
required: false,
|
94
|
+
serialized_name: 'startTime',
|
95
|
+
type: {
|
96
|
+
name: 'DateTime'
|
97
|
+
}
|
98
|
+
},
|
99
|
+
end_time: {
|
100
|
+
required: false,
|
101
|
+
serialized_name: 'endTime',
|
102
|
+
type: {
|
103
|
+
name: 'DateTime'
|
104
|
+
}
|
105
|
+
},
|
106
|
+
activity_id: {
|
107
|
+
required: false,
|
108
|
+
serialized_name: 'activityId',
|
109
|
+
type: {
|
110
|
+
name: 'String'
|
111
|
+
}
|
112
|
+
},
|
113
|
+
jobType: {
|
114
|
+
required: true,
|
115
|
+
serialized_name: 'jobType',
|
116
|
+
type: {
|
117
|
+
name: 'String'
|
118
|
+
}
|
119
|
+
},
|
120
|
+
duration: {
|
121
|
+
required: false,
|
122
|
+
serialized_name: 'duration',
|
123
|
+
type: {
|
124
|
+
name: 'TimeSpan'
|
125
|
+
}
|
126
|
+
},
|
127
|
+
actions_info: {
|
128
|
+
required: false,
|
129
|
+
serialized_name: 'actionsInfo',
|
130
|
+
type: {
|
131
|
+
name: 'Sequence',
|
132
|
+
element: {
|
133
|
+
required: false,
|
134
|
+
serialized_name: 'JobSupportedActionElementType',
|
135
|
+
type: {
|
136
|
+
name: 'Enum',
|
137
|
+
module: 'JobSupportedAction'
|
138
|
+
}
|
139
|
+
}
|
140
|
+
}
|
141
|
+
},
|
142
|
+
mab_server_name: {
|
143
|
+
required: false,
|
144
|
+
serialized_name: 'mabServerName',
|
145
|
+
type: {
|
146
|
+
name: 'String'
|
147
|
+
}
|
148
|
+
},
|
149
|
+
mab_server_type: {
|
150
|
+
required: false,
|
151
|
+
serialized_name: 'mabServerType',
|
152
|
+
type: {
|
153
|
+
name: 'Enum',
|
154
|
+
module: 'MabServerType'
|
155
|
+
}
|
156
|
+
},
|
157
|
+
workload_type: {
|
158
|
+
required: false,
|
159
|
+
serialized_name: 'workloadType',
|
160
|
+
type: {
|
161
|
+
name: 'Enum',
|
162
|
+
module: 'WorkloadType'
|
163
|
+
}
|
164
|
+
},
|
165
|
+
error_details: {
|
166
|
+
required: false,
|
167
|
+
serialized_name: 'errorDetails',
|
168
|
+
type: {
|
169
|
+
name: 'Sequence',
|
170
|
+
element: {
|
171
|
+
required: false,
|
172
|
+
serialized_name: 'MabErrorInfoElementType',
|
173
|
+
type: {
|
174
|
+
name: 'Composite',
|
175
|
+
class_name: 'MabErrorInfo'
|
176
|
+
}
|
177
|
+
}
|
178
|
+
}
|
179
|
+
},
|
180
|
+
extended_info: {
|
181
|
+
required: false,
|
182
|
+
serialized_name: 'extendedInfo',
|
183
|
+
type: {
|
184
|
+
name: 'Composite',
|
185
|
+
class_name: 'MabJobExtendedInfo'
|
186
|
+
}
|
187
|
+
}
|
188
|
+
}
|
189
|
+
}
|
190
|
+
}
|
191
|
+
end
|
192
|
+
end
|
193
|
+
end
|
194
|
+
end
|