azure_mgmt_recovery_services_backup 0.15.2 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/backup_engines.rb +15 -13
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/backup_operation_results.rb +6 -5
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/backup_operation_statuses.rb +6 -5
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/backups.rb +6 -7
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/export_jobs_operation_results.rb +6 -5
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/item_level_recovery_connections.rb +12 -12
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/job_cancellations.rb +6 -5
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/job_details.rb +6 -5
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/job_operation_results.rb +6 -5
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/jobs.rb +21 -18
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protectable_items.rb +15 -13
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protected_item_operation_results.rb +6 -5
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protected_item_operation_statuses.rb +6 -5
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protected_items.rb +33 -30
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_container_operation_results.rb +6 -5
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_container_refresh_operation_results.rb +6 -5
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_containers.rb +33 -28
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_policies.rb +33 -30
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_policy_operation_results.rb +6 -5
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_policy_operation_statuses.rb +6 -5
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/recovery_points.rb +21 -18
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/recovery_services_backup_client.rb +4 -1
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/restores.rb +6 -7
- data/lib/2016-08-10/generated/azure_mgmt_recovery_services_backup/models/client_discovery_display.rb +9 -7
- data/lib/2016-08-10/generated/azure_mgmt_recovery_services_backup/models/client_discovery_for_log_specification.rb +2 -2
- data/lib/2016-08-10/generated/azure_mgmt_recovery_services_backup/models/client_discovery_response.rb +3 -3
- data/lib/2016-08-10/generated/azure_mgmt_recovery_services_backup/models/client_discovery_value_for_single_api.rb +7 -6
- data/lib/2016-08-10/generated/azure_mgmt_recovery_services_backup/operations.rb +15 -13
- data/lib/2016-08-10/generated/azure_mgmt_recovery_services_backup/recovery_services_backup_client.rb +4 -1
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup.rb +119 -68
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/backup_engines.rb +21 -18
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/backup_operation_results.rb +6 -5
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/backup_operation_statuses.rb +6 -5
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/backup_protectable_items.rb +15 -13
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/backup_protection_containers.rb +15 -13
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/backup_resource_storage_configs.rb +23 -10
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/backup_resource_vault_configs.rb +12 -12
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/backup_workload_items.rb +256 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/backups.rb +6 -7
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/item_level_recovery_connections.rb +12 -12
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/job_cancellations.rb +6 -5
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/job_operation_results.rb +6 -5
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_backup_server_container.rb +8 -17
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_backup_server_engine.rb +2 -2
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_backup_request.rb +62 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_protectable_item.rb +118 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_protection_policy.rb +111 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_recovery_point.rb +85 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_restore_request.rb +132 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_type.rb +17 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_fileshare_protected_item.rb +192 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_fileshare_protected_item_extended_info.rb +71 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmcontainer.rb +4 -13
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotectable_item.rb +8 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotected_item.rb +8 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmcontainer.rb +4 -13
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotectable_item.rb +8 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotected_item.rb +8 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item.rb +9 -2
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_sql_container.rb +4 -13
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item.rb +8 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/{job_query_object.rb → azure_sqlagworkload_container_protection_container.rb} +38 -37
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_storage_container.rb +126 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_storage_protectable_container.rb +82 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_item.rb +138 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_protectable_item.rb +165 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_protected_item_extended_info.rb +71 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_protection_policy.rb +102 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_sqlavailability_group_protectable_item.rb +141 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_sqldatabase_protectable_item.rb +140 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_sqldatabase_protected_item.rb +250 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_sqldatabase_workload_item.rb +122 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_sqlinstance_protectable_item.rb +140 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_sqlinstance_workload_item.rb +143 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vmapp_container_protectable_container.rb +82 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vmapp_container_protection_container.rb +107 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_backup_request.rb +86 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_container.rb +119 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_container_extended_info.rb +80 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_recovery_point.rb +74 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_restore_request.rb +94 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_sqlpoint_in_time_recovery_point.rb +95 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_sqlpoint_in_time_restore_request.rb +137 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_sqlrecovery_point.rb +83 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_sqlrecovery_point_extended_info.rb +68 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_sqlrestore_request.rb +138 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base.rb +5 -4
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_item_type.rb +2 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_management_type.rb +3 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_request.rb +2 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_resource_config.rb +12 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_resource_vault_config.rb +12 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_type.rb +19 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/bmsbackup_engines_query_object.rb +2 -1
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/bmscontainer_query_object.rb +16 -2
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/bmspoquery_object.rb +27 -1
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/bmsrefresh_containers_query_object.rb +49 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/bmsrpquery_object.rb +25 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/bmsworkload_item_query_object.rb +87 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/container_identity_info.rb +79 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/container_type.rb +4 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/copy_options.rb +19 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/data_source_type.rb +2 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/distributed_nodes_info.rb +70 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/dpm_backup_engine.rb +2 -2
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/dpm_container.rb +8 -17
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/dpmprotected_item.rb +8 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/error_detail.rb +76 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/generic_container.rb +106 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/generic_container_extended_info.rb +78 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/generic_protected_item.rb +184 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/generic_protection_policy.rb +102 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/iaa_svmcontainer.rb +4 -13
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/iaa_svmprotectable_item.rb +8 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/iaas_vmrecovery_point.rb +3 -3
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/iaas_vmrestore_request.rb +1 -1
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/inquiry_info.rb +81 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/{job_status.rb → inquiry_status.rb} +3 -7
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/inquiry_validation.rb +58 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/last_backup_status.rb +18 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/log_schedule_policy.rb +62 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/mab_container.rb +36 -13
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/mab_container_extended_info.rb +2 -1
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item.rb +8 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/mabcontainer_health_details.rb +87 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/overwrite_options.rb +17 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/point_in_time_range.rb +57 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/pre_backup_validation.rb +71 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protectable_container.rb +94 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protectable_container_resource.rb +108 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protectable_container_resource_list.rb +95 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protected_item.rb +17 -2
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_health_status.rb +19 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protection_container.rb +10 -23
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protection_container_resource.rb +1 -1
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protection_policy.rb +3 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protection_status.rb +1 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/recovery_point.rb +4 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/restore_file_specs.rb +68 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/restore_point_query_type.rb +20 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/restore_point_type.rb +18 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/restore_request.rb +4 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/restore_request_type.rb +17 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/schedule_policy.rb +1 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/settings.rb +58 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/sqldata_directory.rb +69 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/sqldata_directory_mapping.rb +80 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/sqldata_directory_type.rb +17 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/sub_protection_policy.rb +76 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/target_afsrestore_info.rb +57 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/target_restore_info.rb +71 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/workload_inquiry_details.rb +71 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/workload_item.rb +95 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/workload_item_resource.rb +109 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/workload_item_resource_list.rb +95 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/workload_item_type.rb +17 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item.rb +18 -1
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/workload_type.rb +27 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/protectable_containers.rb +240 -0
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/protected_item_operation_results.rb +6 -5
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/protected_item_operation_statuses.rb +6 -5
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/protected_items.rb +18 -17
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/protection_container_operation_results.rb +6 -5
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/protection_container_refresh_operation_results.rb +6 -5
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/protection_containers.rb +344 -11
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/protection_policies.rb +18 -17
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/protection_policy_operation_results.rb +6 -5
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/protection_policy_operation_statuses.rb +6 -5
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/recovery_points.rb +21 -18
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/recovery_services_backup_client.rb +12 -21
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/restores.rb +6 -7
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/security_pins.rb +6 -5
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup.rb +112 -9
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/backup_jobs.rb +15 -13
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/backup_policies.rb +18 -16
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/backup_protected_items.rb +18 -16
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/backup_status.rb +124 -0
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/backup_usage_summaries.rb +8 -7
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/export_jobs_operation_results.rb +18 -7
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/feature_support.rb +127 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/job_details.rb +6 -5
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/jobs.rb +7 -6
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_protection_policy.rb +111 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_fileshare_protected_item.rb +192 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_fileshare_protected_item_extended_info.rb +71 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotected_item.rb +197 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotected_item.rb +197 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmhealth_details.rb +87 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item.rb +234 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item_extended_info.rb +71 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotection_policy.rb +100 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_resource_protection_intent.rb +102 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item.rb +144 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item_extended_info.rb +71 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protection_policy.rb +72 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_storage_error_info.rb +77 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_storage_job.rb +195 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_storage_job_extended_info.rb +85 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_storage_job_task_details.rb +57 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_protected_item_extended_info.rb +71 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_protection_policy.rb +102 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_sqldatabase_protected_item.rb +250 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_vmresource_feature_support_request.rb +73 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_vmresource_feature_support_response.rb +48 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_error_info.rb +100 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_job.rb +172 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_job_extended_info.rb +85 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_job_task_details.rb +57 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_management_type.rb +3 -0
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/backup_management_usage.rb +1 -1
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/backup_management_usage_list.rb +1 -1
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_status_request.rb +72 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_status_response.rb +140 -0
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/bmsbackup_summaries_query_object.rb +1 -1
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/daily_retention_format.rb +55 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/daily_retention_schedule.rb +66 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/data_source_type.rb +27 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/day.rb +57 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/day_of_week.rb +21 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/dpmprotected_item.rb +166 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/dpmprotected_item_extended_info.rb +198 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/error_detail.rb +76 -0
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/export_jobs_operation_result_info.rb +1 -1
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/fabric_name.rb +16 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/feature_support_request.rb +46 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/generic_protected_item.rb +184 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/generic_protection_policy.rb +102 -0
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/health_state.rb +1 -1
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/health_status.rb +18 -0
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/http_status_code.rb +1 -1
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/job.rb +4 -1
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/job_query_object.rb +2 -1
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/last_backup_status.rb +18 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/log_schedule_policy.rb +62 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/long_term_retention_policy.rb +102 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/long_term_schedule_policy.rb +50 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item.rb +187 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item_extended_info.rb +69 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/mab_job.rb +4 -2
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/mab_protection_policy.rb +86 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/mab_server_type.rb +4 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/month_of_year.rb +27 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/monthly_retention_schedule.rb +105 -0
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/name_info.rb +1 -1
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/operation_result_info.rb +1 -1
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/operation_result_info_base.rb +1 -1
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/operation_result_info_base_resource.rb +2 -2
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/operation_worker_response.rb +2 -2
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/pre_validate_enable_backup_request.rb +88 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/pre_validate_enable_backup_response.rb +105 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protected_item.rb +139 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_health_status.rb +19 -0
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/protected_item_query_object.rb +26 -3
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_resource.rb +108 -0
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/protected_item_resource_list.rb +1 -1
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_state.rb +20 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protection_intent.rb +108 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protection_intent_resource.rb +108 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protection_policy.rb +63 -0
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/protection_policy_query_object.rb +14 -2
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protection_policy_resource.rb +109 -0
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/protection_policy_resource_list.rb +1 -1
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protection_state.rb +20 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protection_status.rb +19 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/retention_duration.rb +62 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/retention_duration_type.rb +19 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/retention_policy.rb +47 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/retention_schedule_format.rb +17 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/schedule_policy.rb +48 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/schedule_run_type.rb +17 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/settings.rb +58 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/simple_retention_policy.rb +63 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/simple_schedule_policy.rb +114 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/sub_protection_policy.rb +76 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/support_status.rb +19 -0
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/type.rb +1 -1
- data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/usages_unit.rb +1 -1
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/validation_status.rb +17 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/week_of_month.rb +19 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/weekly_retention_format.rb +75 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/weekly_retention_schedule.rb +87 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/workload_type.rb +2 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/yearly_retention_schedule.rb +125 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/protection_intent_operations.rb +253 -0
- data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/recovery_services_backup_client.rb +36 -1
- data/lib/profiles/latest/modules/recoveryservicesbackup_profile_module.rb +1039 -628
- data/lib/profiles/latest/recoveryservicesbackup_latest_profile_client.rb +28 -9
- data/lib/profiles/latest/recoveryservicesbackup_module_definition.rb +0 -1
- data/lib/version.rb +1 -1
- metadata +182 -28
- data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/job_operation_type.rb +0 -22
@@ -0,0 +1,111 @@
|
|
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::RecoveryServicesBackup::Mgmt::V2017_07_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# AzureStorage backup policy.
|
10
|
+
#
|
11
|
+
class AzureFileShareProtectionPolicy < ProtectionPolicy
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
def initialize
|
17
|
+
@backupManagementType = "AzureStorage"
|
18
|
+
end
|
19
|
+
|
20
|
+
attr_accessor :backupManagementType
|
21
|
+
|
22
|
+
# @return [String] Type of workload for the backup management
|
23
|
+
attr_accessor :work_load_type
|
24
|
+
|
25
|
+
# @return [SchedulePolicy] Backup schedule specified as part of backup
|
26
|
+
# policy.
|
27
|
+
attr_accessor :schedule_policy
|
28
|
+
|
29
|
+
# @return [RetentionPolicy] Retention policy with the details on backup
|
30
|
+
# copy retention ranges.
|
31
|
+
attr_accessor :retention_policy
|
32
|
+
|
33
|
+
# @return [String] TimeZone optional input as string. For example:
|
34
|
+
# TimeZone = "Pacific Standard Time".
|
35
|
+
attr_accessor :time_zone
|
36
|
+
|
37
|
+
|
38
|
+
#
|
39
|
+
# Mapper for AzureFileShareProtectionPolicy class as Ruby Hash.
|
40
|
+
# This will be used for serialization/deserialization.
|
41
|
+
#
|
42
|
+
def self.mapper()
|
43
|
+
{
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'AzureStorage',
|
47
|
+
type: {
|
48
|
+
name: 'Composite',
|
49
|
+
class_name: 'AzureFileShareProtectionPolicy',
|
50
|
+
model_properties: {
|
51
|
+
protected_items_count: {
|
52
|
+
client_side_validation: true,
|
53
|
+
required: false,
|
54
|
+
serialized_name: 'protectedItemsCount',
|
55
|
+
type: {
|
56
|
+
name: 'Number'
|
57
|
+
}
|
58
|
+
},
|
59
|
+
backupManagementType: {
|
60
|
+
client_side_validation: true,
|
61
|
+
required: true,
|
62
|
+
serialized_name: 'backupManagementType',
|
63
|
+
type: {
|
64
|
+
name: 'String'
|
65
|
+
}
|
66
|
+
},
|
67
|
+
work_load_type: {
|
68
|
+
client_side_validation: true,
|
69
|
+
required: false,
|
70
|
+
serialized_name: 'workLoadType',
|
71
|
+
type: {
|
72
|
+
name: 'String'
|
73
|
+
}
|
74
|
+
},
|
75
|
+
schedule_policy: {
|
76
|
+
client_side_validation: true,
|
77
|
+
required: false,
|
78
|
+
serialized_name: 'schedulePolicy',
|
79
|
+
type: {
|
80
|
+
name: 'Composite',
|
81
|
+
polymorphic_discriminator: 'schedulePolicyType',
|
82
|
+
uber_parent: 'SchedulePolicy',
|
83
|
+
class_name: 'SchedulePolicy'
|
84
|
+
}
|
85
|
+
},
|
86
|
+
retention_policy: {
|
87
|
+
client_side_validation: true,
|
88
|
+
required: false,
|
89
|
+
serialized_name: 'retentionPolicy',
|
90
|
+
type: {
|
91
|
+
name: 'Composite',
|
92
|
+
polymorphic_discriminator: 'retentionPolicyType',
|
93
|
+
uber_parent: 'RetentionPolicy',
|
94
|
+
class_name: 'RetentionPolicy'
|
95
|
+
}
|
96
|
+
},
|
97
|
+
time_zone: {
|
98
|
+
client_side_validation: true,
|
99
|
+
required: false,
|
100
|
+
serialized_name: 'timeZone',
|
101
|
+
type: {
|
102
|
+
name: 'String'
|
103
|
+
}
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
}
|
108
|
+
end
|
109
|
+
end
|
110
|
+
end
|
111
|
+
end
|
@@ -0,0 +1,192 @@
|
|
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::RecoveryServicesBackup::Mgmt::V2017_07_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Azure File Share workload-specific backup item.
|
10
|
+
#
|
11
|
+
class AzureFileshareProtectedItem < ProtectedItem
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
def initialize
|
17
|
+
@protectedItemType = "AzureFileShareProtectedItem"
|
18
|
+
end
|
19
|
+
|
20
|
+
attr_accessor :protectedItemType
|
21
|
+
|
22
|
+
# @return [String] Friendly name of the fileshare represented by this
|
23
|
+
# backup item.
|
24
|
+
attr_accessor :friendly_name
|
25
|
+
|
26
|
+
# @return [String] Backup status of this backup item.
|
27
|
+
attr_accessor :protection_status
|
28
|
+
|
29
|
+
# @return [ProtectionState] Backup state of this backup item. Possible
|
30
|
+
# values include: 'Invalid', 'IRPending', 'Protected', 'ProtectionError',
|
31
|
+
# 'ProtectionStopped', 'ProtectionPaused'
|
32
|
+
attr_accessor :protection_state
|
33
|
+
|
34
|
+
# @return [HealthStatus] backups running status for this backup item.
|
35
|
+
# Possible values include: 'Passed', 'ActionRequired', 'ActionSuggested',
|
36
|
+
# 'Invalid'
|
37
|
+
attr_accessor :health_status
|
38
|
+
|
39
|
+
# @return [String] Last backup operation status. Possible values:
|
40
|
+
# Healthy, Unhealthy.
|
41
|
+
attr_accessor :last_backup_status
|
42
|
+
|
43
|
+
# @return [DateTime] Timestamp of the last backup operation on this
|
44
|
+
# backup item.
|
45
|
+
attr_accessor :last_backup_time
|
46
|
+
|
47
|
+
# @return [AzureFileshareProtectedItemExtendedInfo] Additional
|
48
|
+
# information with this backup item.
|
49
|
+
attr_accessor :extended_info
|
50
|
+
|
51
|
+
|
52
|
+
#
|
53
|
+
# Mapper for AzureFileshareProtectedItem class as Ruby Hash.
|
54
|
+
# This will be used for serialization/deserialization.
|
55
|
+
#
|
56
|
+
def self.mapper()
|
57
|
+
{
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'AzureFileShareProtectedItem',
|
61
|
+
type: {
|
62
|
+
name: 'Composite',
|
63
|
+
class_name: 'AzureFileshareProtectedItem',
|
64
|
+
model_properties: {
|
65
|
+
backup_management_type: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: false,
|
68
|
+
serialized_name: 'backupManagementType',
|
69
|
+
type: {
|
70
|
+
name: 'String'
|
71
|
+
}
|
72
|
+
},
|
73
|
+
workload_type: {
|
74
|
+
client_side_validation: true,
|
75
|
+
required: false,
|
76
|
+
serialized_name: 'workloadType',
|
77
|
+
type: {
|
78
|
+
name: 'String'
|
79
|
+
}
|
80
|
+
},
|
81
|
+
container_name: {
|
82
|
+
client_side_validation: true,
|
83
|
+
required: false,
|
84
|
+
serialized_name: 'containerName',
|
85
|
+
type: {
|
86
|
+
name: 'String'
|
87
|
+
}
|
88
|
+
},
|
89
|
+
source_resource_id: {
|
90
|
+
client_side_validation: true,
|
91
|
+
required: false,
|
92
|
+
serialized_name: 'sourceResourceId',
|
93
|
+
type: {
|
94
|
+
name: 'String'
|
95
|
+
}
|
96
|
+
},
|
97
|
+
policy_id: {
|
98
|
+
client_side_validation: true,
|
99
|
+
required: false,
|
100
|
+
serialized_name: 'policyId',
|
101
|
+
type: {
|
102
|
+
name: 'String'
|
103
|
+
}
|
104
|
+
},
|
105
|
+
last_recovery_point: {
|
106
|
+
client_side_validation: true,
|
107
|
+
required: false,
|
108
|
+
serialized_name: 'lastRecoveryPoint',
|
109
|
+
type: {
|
110
|
+
name: 'DateTime'
|
111
|
+
}
|
112
|
+
},
|
113
|
+
backup_set_name: {
|
114
|
+
client_side_validation: true,
|
115
|
+
required: false,
|
116
|
+
serialized_name: 'backupSetName',
|
117
|
+
type: {
|
118
|
+
name: 'String'
|
119
|
+
}
|
120
|
+
},
|
121
|
+
protectedItemType: {
|
122
|
+
client_side_validation: true,
|
123
|
+
required: true,
|
124
|
+
serialized_name: 'protectedItemType',
|
125
|
+
type: {
|
126
|
+
name: 'String'
|
127
|
+
}
|
128
|
+
},
|
129
|
+
friendly_name: {
|
130
|
+
client_side_validation: true,
|
131
|
+
required: false,
|
132
|
+
serialized_name: 'friendlyName',
|
133
|
+
type: {
|
134
|
+
name: 'String'
|
135
|
+
}
|
136
|
+
},
|
137
|
+
protection_status: {
|
138
|
+
client_side_validation: true,
|
139
|
+
required: false,
|
140
|
+
serialized_name: 'protectionStatus',
|
141
|
+
type: {
|
142
|
+
name: 'String'
|
143
|
+
}
|
144
|
+
},
|
145
|
+
protection_state: {
|
146
|
+
client_side_validation: true,
|
147
|
+
required: false,
|
148
|
+
serialized_name: 'protectionState',
|
149
|
+
type: {
|
150
|
+
name: 'String'
|
151
|
+
}
|
152
|
+
},
|
153
|
+
health_status: {
|
154
|
+
client_side_validation: true,
|
155
|
+
required: false,
|
156
|
+
serialized_name: 'healthStatus',
|
157
|
+
type: {
|
158
|
+
name: 'String'
|
159
|
+
}
|
160
|
+
},
|
161
|
+
last_backup_status: {
|
162
|
+
client_side_validation: true,
|
163
|
+
required: false,
|
164
|
+
serialized_name: 'lastBackupStatus',
|
165
|
+
type: {
|
166
|
+
name: 'String'
|
167
|
+
}
|
168
|
+
},
|
169
|
+
last_backup_time: {
|
170
|
+
client_side_validation: true,
|
171
|
+
required: false,
|
172
|
+
serialized_name: 'lastBackupTime',
|
173
|
+
type: {
|
174
|
+
name: 'DateTime'
|
175
|
+
}
|
176
|
+
},
|
177
|
+
extended_info: {
|
178
|
+
client_side_validation: true,
|
179
|
+
required: false,
|
180
|
+
serialized_name: 'extendedInfo',
|
181
|
+
type: {
|
182
|
+
name: 'Composite',
|
183
|
+
class_name: 'AzureFileshareProtectedItemExtendedInfo'
|
184
|
+
}
|
185
|
+
}
|
186
|
+
}
|
187
|
+
}
|
188
|
+
}
|
189
|
+
end
|
190
|
+
end
|
191
|
+
end
|
192
|
+
end
|
@@ -0,0 +1,71 @@
|
|
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::RecoveryServicesBackup::Mgmt::V2017_07_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Additional information about Azure File Share backup item.
|
10
|
+
#
|
11
|
+
class AzureFileshareProtectedItemExtendedInfo
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [DateTime] The oldest backup copy available for this item in
|
16
|
+
# the service.
|
17
|
+
attr_accessor :oldest_recovery_point
|
18
|
+
|
19
|
+
# @return [Integer] Number of available backup copies associated with
|
20
|
+
# this backup item.
|
21
|
+
attr_accessor :recovery_point_count
|
22
|
+
|
23
|
+
# @return [String] Indicates consistency of policy object and policy
|
24
|
+
# applied to this backup item.
|
25
|
+
attr_accessor :policy_state
|
26
|
+
|
27
|
+
|
28
|
+
#
|
29
|
+
# Mapper for AzureFileshareProtectedItemExtendedInfo class as Ruby Hash.
|
30
|
+
# This will be used for serialization/deserialization.
|
31
|
+
#
|
32
|
+
def self.mapper()
|
33
|
+
{
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'AzureFileshareProtectedItemExtendedInfo',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'AzureFileshareProtectedItemExtendedInfo',
|
40
|
+
model_properties: {
|
41
|
+
oldest_recovery_point: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'oldestRecoveryPoint',
|
45
|
+
type: {
|
46
|
+
name: 'DateTime'
|
47
|
+
}
|
48
|
+
},
|
49
|
+
recovery_point_count: {
|
50
|
+
client_side_validation: true,
|
51
|
+
required: false,
|
52
|
+
serialized_name: 'recoveryPointCount',
|
53
|
+
type: {
|
54
|
+
name: 'Number'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
policy_state: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'policyState',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
@@ -0,0 +1,197 @@
|
|
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::RecoveryServicesBackup::Mgmt::V2017_07_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# IaaS VM workload-specific backup item representing the Classic Compute
|
10
|
+
# VM.
|
11
|
+
#
|
12
|
+
class AzureIaaSClassicComputeVMProtectedItem < AzureIaaSVMProtectedItem
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
|
17
|
+
def initialize
|
18
|
+
@protectedItemType = "Microsoft.ClassicCompute/virtualMachines"
|
19
|
+
end
|
20
|
+
|
21
|
+
attr_accessor :protectedItemType
|
22
|
+
|
23
|
+
|
24
|
+
#
|
25
|
+
# Mapper for AzureIaaSClassicComputeVMProtectedItem class as Ruby Hash.
|
26
|
+
# This will be used for serialization/deserialization.
|
27
|
+
#
|
28
|
+
def self.mapper()
|
29
|
+
{
|
30
|
+
client_side_validation: true,
|
31
|
+
required: false,
|
32
|
+
serialized_name: 'Microsoft.ClassicCompute/virtualMachines',
|
33
|
+
type: {
|
34
|
+
name: 'Composite',
|
35
|
+
class_name: 'AzureIaaSClassicComputeVMProtectedItem',
|
36
|
+
model_properties: {
|
37
|
+
backup_management_type: {
|
38
|
+
client_side_validation: true,
|
39
|
+
required: false,
|
40
|
+
serialized_name: 'backupManagementType',
|
41
|
+
type: {
|
42
|
+
name: 'String'
|
43
|
+
}
|
44
|
+
},
|
45
|
+
workload_type: {
|
46
|
+
client_side_validation: true,
|
47
|
+
required: false,
|
48
|
+
serialized_name: 'workloadType',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
},
|
53
|
+
container_name: {
|
54
|
+
client_side_validation: true,
|
55
|
+
required: false,
|
56
|
+
serialized_name: 'containerName',
|
57
|
+
type: {
|
58
|
+
name: 'String'
|
59
|
+
}
|
60
|
+
},
|
61
|
+
source_resource_id: {
|
62
|
+
client_side_validation: true,
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'sourceResourceId',
|
65
|
+
type: {
|
66
|
+
name: 'String'
|
67
|
+
}
|
68
|
+
},
|
69
|
+
policy_id: {
|
70
|
+
client_side_validation: true,
|
71
|
+
required: false,
|
72
|
+
serialized_name: 'policyId',
|
73
|
+
type: {
|
74
|
+
name: 'String'
|
75
|
+
}
|
76
|
+
},
|
77
|
+
last_recovery_point: {
|
78
|
+
client_side_validation: true,
|
79
|
+
required: false,
|
80
|
+
serialized_name: 'lastRecoveryPoint',
|
81
|
+
type: {
|
82
|
+
name: 'DateTime'
|
83
|
+
}
|
84
|
+
},
|
85
|
+
backup_set_name: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
serialized_name: 'backupSetName',
|
89
|
+
type: {
|
90
|
+
name: 'String'
|
91
|
+
}
|
92
|
+
},
|
93
|
+
protectedItemType: {
|
94
|
+
client_side_validation: true,
|
95
|
+
required: true,
|
96
|
+
serialized_name: 'protectedItemType',
|
97
|
+
type: {
|
98
|
+
name: 'String'
|
99
|
+
}
|
100
|
+
},
|
101
|
+
friendly_name: {
|
102
|
+
client_side_validation: true,
|
103
|
+
required: false,
|
104
|
+
serialized_name: 'friendlyName',
|
105
|
+
type: {
|
106
|
+
name: 'String'
|
107
|
+
}
|
108
|
+
},
|
109
|
+
virtual_machine_id: {
|
110
|
+
client_side_validation: true,
|
111
|
+
required: false,
|
112
|
+
serialized_name: 'virtualMachineId',
|
113
|
+
type: {
|
114
|
+
name: 'String'
|
115
|
+
}
|
116
|
+
},
|
117
|
+
protection_status: {
|
118
|
+
client_side_validation: true,
|
119
|
+
required: false,
|
120
|
+
serialized_name: 'protectionStatus',
|
121
|
+
type: {
|
122
|
+
name: 'String'
|
123
|
+
}
|
124
|
+
},
|
125
|
+
protection_state: {
|
126
|
+
client_side_validation: true,
|
127
|
+
required: false,
|
128
|
+
serialized_name: 'protectionState',
|
129
|
+
type: {
|
130
|
+
name: 'String'
|
131
|
+
}
|
132
|
+
},
|
133
|
+
health_status: {
|
134
|
+
client_side_validation: true,
|
135
|
+
required: false,
|
136
|
+
serialized_name: 'healthStatus',
|
137
|
+
type: {
|
138
|
+
name: 'String'
|
139
|
+
}
|
140
|
+
},
|
141
|
+
health_details: {
|
142
|
+
client_side_validation: true,
|
143
|
+
required: false,
|
144
|
+
serialized_name: 'healthDetails',
|
145
|
+
type: {
|
146
|
+
name: 'Sequence',
|
147
|
+
element: {
|
148
|
+
client_side_validation: true,
|
149
|
+
required: false,
|
150
|
+
serialized_name: 'AzureIaaSVMHealthDetailsElementType',
|
151
|
+
type: {
|
152
|
+
name: 'Composite',
|
153
|
+
class_name: 'AzureIaaSVMHealthDetails'
|
154
|
+
}
|
155
|
+
}
|
156
|
+
}
|
157
|
+
},
|
158
|
+
last_backup_status: {
|
159
|
+
client_side_validation: true,
|
160
|
+
required: false,
|
161
|
+
serialized_name: 'lastBackupStatus',
|
162
|
+
type: {
|
163
|
+
name: 'String'
|
164
|
+
}
|
165
|
+
},
|
166
|
+
last_backup_time: {
|
167
|
+
client_side_validation: true,
|
168
|
+
required: false,
|
169
|
+
serialized_name: 'lastBackupTime',
|
170
|
+
type: {
|
171
|
+
name: 'DateTime'
|
172
|
+
}
|
173
|
+
},
|
174
|
+
protected_item_data_id: {
|
175
|
+
client_side_validation: true,
|
176
|
+
required: false,
|
177
|
+
serialized_name: 'protectedItemDataId',
|
178
|
+
type: {
|
179
|
+
name: 'String'
|
180
|
+
}
|
181
|
+
},
|
182
|
+
extended_info: {
|
183
|
+
client_side_validation: true,
|
184
|
+
required: false,
|
185
|
+
serialized_name: 'extendedInfo',
|
186
|
+
type: {
|
187
|
+
name: 'Composite',
|
188
|
+
class_name: 'AzureIaaSVMProtectedItemExtendedInfo'
|
189
|
+
}
|
190
|
+
}
|
191
|
+
}
|
192
|
+
}
|
193
|
+
}
|
194
|
+
end
|
195
|
+
end
|
196
|
+
end
|
197
|
+
end
|