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,84 @@
|
|
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
|
+
# DPM workload-specific job task details.
|
10
|
+
#
|
11
|
+
class DpmJobTaskDetails
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The task display name.
|
16
|
+
attr_accessor :task_id
|
17
|
+
|
18
|
+
# @return [DateTime] The start time.
|
19
|
+
attr_accessor :start_time
|
20
|
+
|
21
|
+
# @return [DateTime] The end time.
|
22
|
+
attr_accessor :end_time
|
23
|
+
|
24
|
+
# @return [Duration] The time elapsed for task.
|
25
|
+
attr_accessor :duration
|
26
|
+
|
27
|
+
# @return [String] The status.
|
28
|
+
attr_accessor :status
|
29
|
+
|
30
|
+
|
31
|
+
#
|
32
|
+
# Mapper for DpmJobTaskDetails class as Ruby Hash.
|
33
|
+
# This will be used for serialization/deserialization.
|
34
|
+
#
|
35
|
+
def self.mapper()
|
36
|
+
{
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'DpmJobTaskDetails',
|
39
|
+
type: {
|
40
|
+
name: 'Composite',
|
41
|
+
class_name: 'DpmJobTaskDetails',
|
42
|
+
model_properties: {
|
43
|
+
task_id: {
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'taskId',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
start_time: {
|
51
|
+
required: false,
|
52
|
+
serialized_name: 'startTime',
|
53
|
+
type: {
|
54
|
+
name: 'DateTime'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
end_time: {
|
58
|
+
required: false,
|
59
|
+
serialized_name: 'endTime',
|
60
|
+
type: {
|
61
|
+
name: 'DateTime'
|
62
|
+
}
|
63
|
+
},
|
64
|
+
duration: {
|
65
|
+
required: false,
|
66
|
+
serialized_name: 'duration',
|
67
|
+
type: {
|
68
|
+
name: 'TimeSpan'
|
69
|
+
}
|
70
|
+
},
|
71
|
+
status: {
|
72
|
+
required: false,
|
73
|
+
serialized_name: 'status',
|
74
|
+
type: {
|
75
|
+
name: 'String'
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
@@ -0,0 +1,87 @@
|
|
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
|
+
# Details needed if the VM was encrypted at the time of backup.
|
10
|
+
#
|
11
|
+
class EncryptionDetails
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Boolean] Identifies whether the backup copy represents an
|
16
|
+
# encrypted VM at the time of backup.
|
17
|
+
attr_accessor :encryption_enabled
|
18
|
+
|
19
|
+
# @return [String] URL of the Key Encryption Key (KEK).
|
20
|
+
attr_accessor :kek_url
|
21
|
+
|
22
|
+
# @return [String] URL of the Bitlocker Encryption Key (BEK).
|
23
|
+
attr_accessor :secret_key_url
|
24
|
+
|
25
|
+
# @return [String] The ID of Key Vault where the Key Encryption Key (KEK)
|
26
|
+
# is stored.
|
27
|
+
attr_accessor :kek_vault_id
|
28
|
+
|
29
|
+
# @return [String] The ID of Key Vault where the Bitlocker Encryption Key
|
30
|
+
# (BEK), or Secret, is stored.
|
31
|
+
attr_accessor :secret_key_vault_id
|
32
|
+
|
33
|
+
|
34
|
+
#
|
35
|
+
# Mapper for EncryptionDetails class as Ruby Hash.
|
36
|
+
# This will be used for serialization/deserialization.
|
37
|
+
#
|
38
|
+
def self.mapper()
|
39
|
+
{
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'EncryptionDetails',
|
42
|
+
type: {
|
43
|
+
name: 'Composite',
|
44
|
+
class_name: 'EncryptionDetails',
|
45
|
+
model_properties: {
|
46
|
+
encryption_enabled: {
|
47
|
+
required: false,
|
48
|
+
serialized_name: 'encryptionEnabled',
|
49
|
+
type: {
|
50
|
+
name: 'Boolean'
|
51
|
+
}
|
52
|
+
},
|
53
|
+
kek_url: {
|
54
|
+
required: false,
|
55
|
+
serialized_name: 'kekUrl',
|
56
|
+
type: {
|
57
|
+
name: 'String'
|
58
|
+
}
|
59
|
+
},
|
60
|
+
secret_key_url: {
|
61
|
+
required: false,
|
62
|
+
serialized_name: 'secretKeyUrl',
|
63
|
+
type: {
|
64
|
+
name: 'String'
|
65
|
+
}
|
66
|
+
},
|
67
|
+
kek_vault_id: {
|
68
|
+
required: false,
|
69
|
+
serialized_name: 'kekVaultId',
|
70
|
+
type: {
|
71
|
+
name: 'String'
|
72
|
+
}
|
73
|
+
},
|
74
|
+
secret_key_vault_id: {
|
75
|
+
required: false,
|
76
|
+
serialized_name: 'secretKeyVaultId',
|
77
|
+
type: {
|
78
|
+
name: 'String'
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
end
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|
data/lib/generated/azure_mgmt_recovery_services_backup/models/export_jobs_operation_result_info.rb
ADDED
@@ -0,0 +1,70 @@
|
|
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 class is used to send blob details after exporting jobs.
|
10
|
+
#
|
11
|
+
class ExportJobsOperationResultInfo < OperationResultInfoBase
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
def initialize
|
17
|
+
@objectType = "ExportJobsOperationResultInfo"
|
18
|
+
end
|
19
|
+
|
20
|
+
attr_accessor :objectType
|
21
|
+
|
22
|
+
# @return [String] The URL of the blob. The serialized string, which is
|
23
|
+
# the list of jobs, is exported to this URL.
|
24
|
+
attr_accessor :blob_url
|
25
|
+
|
26
|
+
# @return [String] The Shared Access Signatures (SAS) key used to access
|
27
|
+
# the blob. The key expires after 15 minutes.
|
28
|
+
attr_accessor :blob_sas_key
|
29
|
+
|
30
|
+
|
31
|
+
#
|
32
|
+
# Mapper for ExportJobsOperationResultInfo class as Ruby Hash.
|
33
|
+
# This will be used for serialization/deserialization.
|
34
|
+
#
|
35
|
+
def self.mapper()
|
36
|
+
{
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'ExportJobsOperationResultInfo',
|
39
|
+
type: {
|
40
|
+
name: 'Composite',
|
41
|
+
class_name: 'ExportJobsOperationResultInfo',
|
42
|
+
model_properties: {
|
43
|
+
objectType: {
|
44
|
+
required: true,
|
45
|
+
serialized_name: 'objectType',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
blob_url: {
|
51
|
+
required: false,
|
52
|
+
serialized_name: 'blobUrl',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
blob_sas_key: {
|
58
|
+
required: false,
|
59
|
+
serialized_name: 'blobSasKey',
|
60
|
+
type: {
|
61
|
+
name: 'String'
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
@@ -0,0 +1,89 @@
|
|
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
|
+
# Generic backup copy.
|
10
|
+
#
|
11
|
+
class GenericRecoveryPoint < RecoveryPoint
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
def initialize
|
17
|
+
@objectType = "GenericRecoveryPoint"
|
18
|
+
end
|
19
|
+
|
20
|
+
attr_accessor :objectType
|
21
|
+
|
22
|
+
# @return [String] Friendly name of the backup copy.
|
23
|
+
attr_accessor :friendly_name
|
24
|
+
|
25
|
+
# @return [String] Type of the backup copy.
|
26
|
+
attr_accessor :recovery_point_type
|
27
|
+
|
28
|
+
# @return [DateTime] The time when this backup copy was created.
|
29
|
+
attr_accessor :recovery_point_time
|
30
|
+
|
31
|
+
# @return [String] Additional information associated with this backup
|
32
|
+
# copy.
|
33
|
+
attr_accessor :recovery_point_additional_info
|
34
|
+
|
35
|
+
|
36
|
+
#
|
37
|
+
# Mapper for GenericRecoveryPoint class as Ruby Hash.
|
38
|
+
# This will be used for serialization/deserialization.
|
39
|
+
#
|
40
|
+
def self.mapper()
|
41
|
+
{
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'GenericRecoveryPoint',
|
44
|
+
type: {
|
45
|
+
name: 'Composite',
|
46
|
+
class_name: 'GenericRecoveryPoint',
|
47
|
+
model_properties: {
|
48
|
+
objectType: {
|
49
|
+
required: true,
|
50
|
+
serialized_name: 'objectType',
|
51
|
+
type: {
|
52
|
+
name: 'String'
|
53
|
+
}
|
54
|
+
},
|
55
|
+
friendly_name: {
|
56
|
+
required: false,
|
57
|
+
serialized_name: 'friendlyName',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
recovery_point_type: {
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'recoveryPointType',
|
65
|
+
type: {
|
66
|
+
name: 'String'
|
67
|
+
}
|
68
|
+
},
|
69
|
+
recovery_point_time: {
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'recoveryPointTime',
|
72
|
+
type: {
|
73
|
+
name: 'DateTime'
|
74
|
+
}
|
75
|
+
},
|
76
|
+
recovery_point_additional_info: {
|
77
|
+
required: false,
|
78
|
+
serialized_name: 'recoveryPointAdditionalInfo',
|
79
|
+
type: {
|
80
|
+
name: 'String'
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
end
|
87
|
+
end
|
88
|
+
end
|
89
|
+
end
|
data/lib/generated/azure_mgmt_recovery_services_backup/models/get_protected_item_query_object.rb
ADDED
@@ -0,0 +1,45 @@
|
|
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 object filters the list of backup items.
|
10
|
+
#
|
11
|
+
class GetProtectedItemQueryObject
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Specifies if the additional information should be
|
16
|
+
# provided for this item.
|
17
|
+
attr_accessor :expand
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for GetProtectedItemQueryObject class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'GetProtectedItemQueryObject',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'GetProtectedItemQueryObject',
|
31
|
+
model_properties: {
|
32
|
+
expand: {
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'expand',
|
35
|
+
type: {
|
36
|
+
name: 'String'
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
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
|
+
# Defines values for HttpStatusCode
|
10
|
+
#
|
11
|
+
module HttpStatusCode
|
12
|
+
Continue = "Continue"
|
13
|
+
SwitchingProtocols = "SwitchingProtocols"
|
14
|
+
OK = "OK"
|
15
|
+
Created = "Created"
|
16
|
+
Accepted = "Accepted"
|
17
|
+
NonAuthoritativeInformation = "NonAuthoritativeInformation"
|
18
|
+
NoContent = "NoContent"
|
19
|
+
ResetContent = "ResetContent"
|
20
|
+
PartialContent = "PartialContent"
|
21
|
+
MultipleChoices = "MultipleChoices"
|
22
|
+
Ambiguous = "Ambiguous"
|
23
|
+
MovedPermanently = "MovedPermanently"
|
24
|
+
Moved = "Moved"
|
25
|
+
Found = "Found"
|
26
|
+
Redirect = "Redirect"
|
27
|
+
SeeOther = "SeeOther"
|
28
|
+
RedirectMethod = "RedirectMethod"
|
29
|
+
NotModified = "NotModified"
|
30
|
+
UseProxy = "UseProxy"
|
31
|
+
Unused = "Unused"
|
32
|
+
TemporaryRedirect = "TemporaryRedirect"
|
33
|
+
RedirectKeepVerb = "RedirectKeepVerb"
|
34
|
+
BadRequest = "BadRequest"
|
35
|
+
Unauthorized = "Unauthorized"
|
36
|
+
PaymentRequired = "PaymentRequired"
|
37
|
+
Forbidden = "Forbidden"
|
38
|
+
NotFound = "NotFound"
|
39
|
+
MethodNotAllowed = "MethodNotAllowed"
|
40
|
+
NotAcceptable = "NotAcceptable"
|
41
|
+
ProxyAuthenticationRequired = "ProxyAuthenticationRequired"
|
42
|
+
RequestTimeout = "RequestTimeout"
|
43
|
+
Conflict = "Conflict"
|
44
|
+
Gone = "Gone"
|
45
|
+
LengthRequired = "LengthRequired"
|
46
|
+
PreconditionFailed = "PreconditionFailed"
|
47
|
+
RequestEntityTooLarge = "RequestEntityTooLarge"
|
48
|
+
RequestUriTooLong = "RequestUriTooLong"
|
49
|
+
UnsupportedMediaType = "UnsupportedMediaType"
|
50
|
+
RequestedRangeNotSatisfiable = "RequestedRangeNotSatisfiable"
|
51
|
+
ExpectationFailed = "ExpectationFailed"
|
52
|
+
UpgradeRequired = "UpgradeRequired"
|
53
|
+
InternalServerError = "InternalServerError"
|
54
|
+
NotImplemented = "NotImplemented"
|
55
|
+
BadGateway = "BadGateway"
|
56
|
+
ServiceUnavailable = "ServiceUnavailable"
|
57
|
+
GatewayTimeout = "GatewayTimeout"
|
58
|
+
HttpVersionNotSupported = "HttpVersionNotSupported"
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
@@ -0,0 +1,118 @@
|
|
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
|
+
# IaaS VM workload-specific container.
|
10
|
+
#
|
11
|
+
class IaaSVMContainer < ProtectionContainer
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
def initialize
|
17
|
+
@protectableObjectType = "IaaSVMContainer"
|
18
|
+
end
|
19
|
+
|
20
|
+
attr_accessor :protectableObjectType
|
21
|
+
|
22
|
+
# @return [String] The fully qualified Resource Manager URL of the
|
23
|
+
# virtual machine represented by this Azure IaaS VM container.
|
24
|
+
attr_accessor :virtual_machine_id
|
25
|
+
|
26
|
+
# @return [String] Specifies whether the container represents a classic
|
27
|
+
# or a Resource Manager-deployed virtual machine.
|
28
|
+
attr_accessor :virtual_machine_version
|
29
|
+
|
30
|
+
# @return [String] The resource group name associated with the Recovery
|
31
|
+
# Services vault.
|
32
|
+
attr_accessor :resource_group
|
33
|
+
|
34
|
+
|
35
|
+
#
|
36
|
+
# Mapper for IaaSVMContainer class as Ruby Hash.
|
37
|
+
# This will be used for serialization/deserialization.
|
38
|
+
#
|
39
|
+
def self.mapper()
|
40
|
+
{
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'IaaSVMContainer',
|
43
|
+
type: {
|
44
|
+
name: 'Composite',
|
45
|
+
class_name: 'IaaSVMContainer',
|
46
|
+
model_properties: {
|
47
|
+
friendly_name: {
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'friendlyName',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
backup_management_type: {
|
55
|
+
required: false,
|
56
|
+
serialized_name: 'backupManagementType',
|
57
|
+
type: {
|
58
|
+
name: 'Enum',
|
59
|
+
module: 'BackupManagementType'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
registration_status: {
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'registrationStatus',
|
65
|
+
type: {
|
66
|
+
name: 'String'
|
67
|
+
}
|
68
|
+
},
|
69
|
+
health_status: {
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'healthStatus',
|
72
|
+
type: {
|
73
|
+
name: 'String'
|
74
|
+
}
|
75
|
+
},
|
76
|
+
container_type: {
|
77
|
+
required: false,
|
78
|
+
read_only: true,
|
79
|
+
serialized_name: 'containerType',
|
80
|
+
type: {
|
81
|
+
name: 'String'
|
82
|
+
}
|
83
|
+
},
|
84
|
+
protectableObjectType: {
|
85
|
+
required: true,
|
86
|
+
serialized_name: 'protectableObjectType',
|
87
|
+
type: {
|
88
|
+
name: 'String'
|
89
|
+
}
|
90
|
+
},
|
91
|
+
virtual_machine_id: {
|
92
|
+
required: false,
|
93
|
+
serialized_name: 'virtualMachineId',
|
94
|
+
type: {
|
95
|
+
name: 'String'
|
96
|
+
}
|
97
|
+
},
|
98
|
+
virtual_machine_version: {
|
99
|
+
required: false,
|
100
|
+
serialized_name: 'virtualMachineVersion',
|
101
|
+
type: {
|
102
|
+
name: 'String'
|
103
|
+
}
|
104
|
+
},
|
105
|
+
resource_group: {
|
106
|
+
required: false,
|
107
|
+
serialized_name: 'resourceGroup',
|
108
|
+
type: {
|
109
|
+
name: 'String'
|
110
|
+
}
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
114
|
+
}
|
115
|
+
end
|
116
|
+
end
|
117
|
+
end
|
118
|
+
end
|