azure_mgmt_recovery_services_site_recovery 0.14.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_site_recovery.rb +7 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery.rb +372 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/a2aapply_recovery_point_input.rb +48 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/a2acontainer_creation_input.rb +48 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/a2aenable_protection_input.rb +136 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/a2aevent_details.rb +108 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/a2afailover_provider_input.rb +71 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/a2apolicy_creation_input.rb +92 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/a2apolicy_details.rb +100 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/a2aprotected_disk_details.rb +168 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/a2aprotected_managed_disk_details.rb +158 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/a2areplication_details.rb +373 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/a2areprotect_input.rb +117 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/a2arp_recovery_point_type.rb +18 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/a2aswitch_protection_input.rb +136 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/a2aupdate_replication_protected_item_input.rb +68 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/a2avm_disk_input_details.rb +64 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/a2avm_managed_disk_input_details.rb +64 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/add_vcenter_request.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/add_vcenter_request_properties.rb +86 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/alert.rb +76 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/alert_collection.rb +94 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/alert_properties.rb +72 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/alternate_location_recovery_option.rb +16 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/apply_recovery_point_input.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/apply_recovery_point_input_properties.rb +58 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/apply_recovery_point_provider_specific_input.rb +47 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/armexception.rb +93 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/armexception_details.rb +104 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/arminner_error.rb +186 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/asr_job_details.rb +62 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/asrtask.rb +182 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/automation_runbook_task_details.rb +139 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/azure_fabric_creation_input.rb +58 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/azure_fabric_specific_details.rb +75 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/azure_to_azure_create_network_mapping_input.rb +59 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/azure_to_azure_network_mapping_settings.rb +68 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/azure_to_azure_update_network_mapping_input.rb +58 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/azure_to_azure_vm_synced_config_details.rb +87 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/azure_vm_disk_details.rb +104 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/configuration_settings.rb +47 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/configure_alert_request.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/configure_alert_request_properties.rb +72 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/consistency_check_task_details.rb +68 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/create_network_mapping_input.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/create_network_mapping_input_properties.rb +68 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/create_policy_input.rb +45 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/create_policy_input_properties.rb +47 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/create_protection_container_input.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/create_protection_container_input_properties.rb +55 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/create_protection_container_mapping_input.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/create_protection_container_mapping_input_properties.rb +67 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/create_recovery_plan_input.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/create_recovery_plan_input_properties.rb +84 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/current_scenario_details.rb +64 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/data_store.rb +84 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/data_sync_status.rb +16 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/disable_protection_input.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/disable_protection_input_properties.rb +61 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/disable_protection_provider_specific_input.rb +45 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/disable_protection_reason.rb +16 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/discover_protectable_item_request.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/discover_protectable_item_request_properties.rb +65 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/disk_details.rb +74 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/disk_volume_details.rb +54 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/display.rb +100 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/enable_protection_input.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/enable_protection_input_properties.rb +71 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/enable_protection_provider_specific_input.rb +49 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/encryption_details.rb +64 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/event.rb +76 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/event_collection.rb +94 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/event_properties.rb +151 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/event_provider_specific_details.rb +50 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/event_query_parameter.rb +107 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/event_specific_details.rb +45 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/export_job_details.rb +82 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/fabric.rb +76 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/fabric_collection.rb +94 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/fabric_creation_input.rb +45 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/fabric_creation_input_properties.rb +48 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/fabric_properties.rb +127 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/fabric_replication_group_task_details.rb +79 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/fabric_specific_create_network_mapping_input.rb +47 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/fabric_specific_creation_input.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/fabric_specific_details.rb +49 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/fabric_specific_update_network_mapping_input.rb +47 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/failover_deployment_model.rb +17 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/failover_job_details.rb +81 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/failover_process_server_request.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/failover_process_server_request_properties.rb +92 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/failover_replication_protected_item_details.rb +124 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/group_task_details.rb +66 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/health_error.rb +152 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/health_error_category.rb +17 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/health_error_summary.rb +120 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica2012event_details.rb +88 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica2012r2event_details.rb +88 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_azure_apply_recovery_point_input.rb +79 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_azure_enable_protection_input.rb +201 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_azure_event_details.rb +78 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_azure_failback_provider_input.rb +78 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_azure_failover_provider_input.rb +90 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_azure_policy_details.rb +112 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_azure_policy_input.rb +120 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_azure_replication_details.rb +281 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_azure_reprotect_input.rb +109 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_azure_rp_recovery_point_type.rb +17 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_azure_update_replication_protected_item_input.rb +82 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_base_event_details.rb +88 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_base_policy_details.rb +151 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_base_replication_details.rb +135 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_blue_policy_details.rb +161 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_blue_policy_input.rb +161 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_blue_replication_details.rb +135 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_policy_details.rb +151 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_policy_input.rb +151 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vreplica_replication_details.rb +135 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vsite_details.rb +48 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/hyper_vvirtual_machine_details.rb +97 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/identity_information.rb +117 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/identity_provider_type.rb +16 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_agent_details.rb +66 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_azure_v2apply_recovery_point_input.rb +58 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_azure_v2enable_protection_input.rb +211 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_azure_v2event_details.rb +119 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_azure_v2failover_provider_input.rb +70 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_azure_v2policy_details.rb +100 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_azure_v2policy_input.rb +102 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_azure_v2protected_disk_details.rb +185 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_azure_v2recovery_point_details.rb +64 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_azure_v2replication_details.rb +573 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_azure_v2reprotect_input.rb +126 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_azure_v2update_replication_protected_item_input.rb +82 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_base_policy_details.rb +90 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_disable_protection_provider_specific_input.rb +60 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_disk_details.rb +102 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_disk_exclusion_input.rb +73 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_disk_signature_exclusion_options.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_enable_protection_input.rb +156 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_failover_provider_input.rb +75 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_policy_details.rb +90 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_policy_input.rb +92 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_protected_disk_details.rb +185 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_replication_details.rb +472 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_reprotect_input.rb +136 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_v2rp_recovery_point_type.rb +18 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/in_mage_volume_exclusion_options.rb +59 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/inconsistent_vm_details.rb +90 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/initial_replication_details.rb +54 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/inline_workflow_task_details.rb +80 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/input_endpoint.rb +74 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/job.rb +119 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/job_collection.rb +94 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/job_details.rb +68 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/job_entity.rb +95 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/job_error_details.rb +86 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/job_properties.rb +206 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/job_query_parameter.rb +98 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/job_status_event_details.rb +88 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/job_task_details.rb +60 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/license_type.rb +17 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/logical_network.rb +76 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/logical_network_collection.rb +94 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/logical_network_properties.rb +77 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/manual_action_task_details.rb +78 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/master_target_server.rb +179 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/method_call_status.rb +73 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/mobility_service_update.rb +65 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/multi_vm_sync_status.rb +16 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/network.rb +76 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/network_collection.rb +94 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/network_mapping.rb +82 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/network_mapping_collection.rb +98 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/network_mapping_fabric_specific_settings.rb +47 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/network_mapping_properties.rb +128 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/network_properties.rb +82 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/operations_discovery.rb +95 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/operations_discovery_collection.rb +94 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/osdetails.rb +94 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/osdisk_details.rb +64 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/planned_failover_input.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/planned_failover_input_properties.rb +57 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/policy.rb +76 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/policy_collection.rb +94 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/policy_properties.rb +57 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/policy_provider_specific_details.rb +54 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/policy_provider_specific_input.rb +51 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/possible_operations_directions.rb +16 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/process_server.rb +294 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/protectable_item.rb +76 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/protectable_item_collection.rb +94 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/protectable_item_properties.rb +123 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/protected_items_query_parameter.rb +64 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/protection_container.rb +76 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/protection_container_collection.rb +94 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/protection_container_fabric_specific_details.rb +45 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/protection_container_mapping.rb +76 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/protection_container_mapping_collection.rb +94 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/protection_container_mapping_properties.rb +154 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/protection_container_mapping_provider_specific_details.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/protection_container_properties.rb +106 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/provider_error.rb +84 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/provider_specific_failover_input.rb +49 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/provider_specific_recovery_point_details.rb +45 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/rcm_azure_migration_policy_details.rb +101 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan.rb +76 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_a2afailover_input.rb +72 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_action.rb +95 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_action_details.rb +47 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_action_location.rb +16 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_automation_runbook_action_details.rb +81 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_collection.rb +94 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_group.rb +100 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_group_task_details.rb +93 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_group_type.rb +17 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_hyper_vreplica_azure_failback_input.rb +73 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_hyper_vreplica_azure_failover_input.rb +92 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_in_mage_azure_v2failover_input.rb +82 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_in_mage_failover_input.rb +60 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_manual_action_details.rb +58 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_planned_failover_input.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_planned_failover_input_properties.rb +68 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_properties.rb +207 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_protected_item.rb +54 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_provider_specific_failover_input.rb +50 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_script_action_details.rb +80 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_shutdown_group_task_details.rb +93 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_test_failover_cleanup_input.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_test_failover_cleanup_input_properties.rb +45 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_test_failover_input.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_test_failover_input_properties.rb +98 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_unplanned_failover_input.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_plan_unplanned_failover_input_properties.rb +81 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_point.rb +76 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_point_collection.rb +94 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_point_properties.rb +67 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_point_type.rb +17 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_services_provider.rb +76 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_services_provider_collection.rb +94 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/recovery_services_provider_properties.rb +191 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/remove_protection_container_mapping_input.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/remove_protection_container_mapping_input_properties.rb +47 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/renew_certificate_input.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/renew_certificate_input_properties.rb +44 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/replication_group_details.rb +48 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/replication_protected_item.rb +76 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/replication_protected_item_collection.rb +95 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/replication_protected_item_operation.rb +27 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/replication_protected_item_properties.rb +338 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/replication_provider_container_unmapping_input.rb +45 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/replication_provider_specific_container_creation_input.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/replication_provider_specific_container_mapping_input.rb +45 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/replication_provider_specific_settings.rb +51 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/resource.rb +77 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/resource_health_summary.rb +64 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/resume_job_params.rb +45 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/resume_job_params_properties.rb +44 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/retention_volume.rb +74 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/reverse_replication_input.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/reverse_replication_input_properties.rb +58 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/reverse_replication_provider_specific_input.rb +48 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/role_assignment.rb +84 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/rp_in_mage_recovery_point_type.rb +17 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/run_as_account.rb +54 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/san_enable_protection_input.rb +48 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/script_action_task_details.rb +89 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/service_error.rb +84 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/set_multi_vm_sync_status.rb +16 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/severity.rb +18 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/source_site_operations.rb +16 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/storage_classification.rb +77 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/storage_classification_collection.rb +94 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/storage_classification_mapping.rb +77 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/storage_classification_mapping_collection.rb +95 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/storage_classification_mapping_input.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/storage_classification_mapping_properties.rb +44 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/storage_classification_properties.rb +44 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/storage_mapping_input_properties.rb +44 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/subnet.rb +71 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/switch_protection_input.rb +45 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/switch_protection_input_properties.rb +58 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/switch_protection_job_details.rb +72 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/switch_protection_provider_specific_input.rb +45 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/task_type_details.rb +52 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/test_failover_cleanup_input.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/test_failover_cleanup_input_properties.rb +44 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/test_failover_input.rb +45 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/test_failover_input_properties.rb +88 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/test_failover_job_details.rb +132 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/unplanned_failover_input.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/unplanned_failover_input_properties.rb +67 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/update_mobility_service_request.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/update_mobility_service_request_properties.rb +44 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/update_network_mapping_input.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/update_network_mapping_input_properties.rb +68 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/update_policy_input.rb +45 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/update_policy_input_properties.rb +47 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/update_recovery_plan_input.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/update_recovery_plan_input_properties.rb +52 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/update_replication_protected_item_input.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/update_replication_protected_item_input_properties.rb +131 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/update_replication_protected_item_provider_input.rb +48 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/update_vcenter_request.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/update_vcenter_request_properties.rb +86 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/vault_health_details.rb +76 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/vault_health_properties.rb +76 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/vcenter.rb +76 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/vcenter_collection.rb +94 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/vcenter_properties.rb +137 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/virtual_machine_task_details.rb +79 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/vm_nic_updates_task_details.rb +78 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/vmm_details.rb +48 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/vmm_to_azure_create_network_mapping_input.rb +49 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/vmm_to_azure_network_mapping_settings.rb +48 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/vmm_to_azure_update_network_mapping_input.rb +49 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/vmm_to_vmm_create_network_mapping_input.rb +49 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/vmm_to_vmm_network_mapping_settings.rb +48 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/vmm_to_vmm_update_network_mapping_input.rb +49 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/vmnic_details.rb +154 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/vmnic_input_details.rb +74 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/vmware_cbt_policy_creation_input.rb +79 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/vmware_cbt_policy_details.rb +89 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/vmware_details.rb +376 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/vmware_v2fabric_creation_input.rb +48 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/vmware_v2fabric_specific_details.rb +68 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/models/vmware_virtual_machine_details.rb +168 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/module_definition.rb +8 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/operations.rb +230 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/recovery_points.rb +360 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/replication_alert_settings.rb +442 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/replication_events.rb +329 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/replication_fabrics.rb +1299 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/replication_jobs.rb +905 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/replication_logical_networks.rb +335 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/replication_network_mappings.rb +1012 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/replication_networks.rb +541 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/replication_policies.rb +752 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/replication_protectable_items.rb +344 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/replication_protected_items.rb +2757 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/replication_protection_container_mappings.rb +1002 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/replication_protection_containers.rb +1175 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/replication_recovery_plans.rb +1639 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/replication_recovery_services_providers.rb +967 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/replication_storage_classification_mappings.rb +861 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/replication_storage_classifications.rb +541 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/replication_vault_health.rb +116 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/replicationv_centers.rb +999 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/site_recovery_management_client.rb +217 -0
- data/lib/generated/azure_mgmt_recovery_services_site_recovery/version.rb +8 -0
- metadata +466 -0
data/lib/generated/azure_mgmt_recovery_services_site_recovery/replication_storage_classifications.rb
ADDED
@@ -0,0 +1,541 @@
|
|
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::ARM::RecoveryServicesSiteRecovery
|
7
|
+
#
|
8
|
+
# ReplicationStorageClassifications
|
9
|
+
#
|
10
|
+
class ReplicationStorageClassifications
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the ReplicationStorageClassifications class.
|
15
|
+
# @param client service class for accessing basic functionality.
|
16
|
+
#
|
17
|
+
def initialize(client)
|
18
|
+
@client = client
|
19
|
+
end
|
20
|
+
|
21
|
+
# @return [SiteRecoveryManagementClient] reference to the SiteRecoveryManagementClient
|
22
|
+
attr_reader :client
|
23
|
+
|
24
|
+
#
|
25
|
+
# Gets the details of a storage classification.
|
26
|
+
#
|
27
|
+
# Gets the details of the specified storage classification.
|
28
|
+
#
|
29
|
+
# @param fabric_name [String] Fabric name.
|
30
|
+
# @param storage_classification_name [String] Storage classification name.
|
31
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
32
|
+
# will be added to the HTTP request.
|
33
|
+
#
|
34
|
+
# @return [StorageClassification] operation results.
|
35
|
+
#
|
36
|
+
def get(fabric_name, storage_classification_name, custom_headers = nil)
|
37
|
+
response = get_async(fabric_name, storage_classification_name, custom_headers).value!
|
38
|
+
response.body unless response.nil?
|
39
|
+
end
|
40
|
+
|
41
|
+
#
|
42
|
+
# Gets the details of a storage classification.
|
43
|
+
#
|
44
|
+
# Gets the details of the specified storage classification.
|
45
|
+
#
|
46
|
+
# @param fabric_name [String] Fabric name.
|
47
|
+
# @param storage_classification_name [String] Storage classification name.
|
48
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
49
|
+
# will be added to the HTTP request.
|
50
|
+
#
|
51
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
52
|
+
#
|
53
|
+
def get_with_http_info(fabric_name, storage_classification_name, custom_headers = nil)
|
54
|
+
get_async(fabric_name, storage_classification_name, custom_headers).value!
|
55
|
+
end
|
56
|
+
|
57
|
+
#
|
58
|
+
# Gets the details of a storage classification.
|
59
|
+
#
|
60
|
+
# Gets the details of the specified storage classification.
|
61
|
+
#
|
62
|
+
# @param fabric_name [String] Fabric name.
|
63
|
+
# @param storage_classification_name [String] Storage classification name.
|
64
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
65
|
+
# to the HTTP request.
|
66
|
+
#
|
67
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
68
|
+
#
|
69
|
+
def get_async(fabric_name, storage_classification_name, custom_headers = nil)
|
70
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
71
|
+
fail ArgumentError, '@client.resource_name is nil' if @client.resource_name.nil?
|
72
|
+
fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil?
|
73
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
74
|
+
fail ArgumentError, 'fabric_name is nil' if fabric_name.nil?
|
75
|
+
fail ArgumentError, 'storage_classification_name is nil' if storage_classification_name.nil?
|
76
|
+
|
77
|
+
|
78
|
+
request_headers = {}
|
79
|
+
|
80
|
+
# Set Headers
|
81
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
82
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
83
|
+
path_template = 'Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}'
|
84
|
+
|
85
|
+
request_url = @base_url || @client.base_url
|
86
|
+
|
87
|
+
options = {
|
88
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
89
|
+
path_params: {'resourceName' => @client.resource_name,'resourceGroupName' => @client.resource_group_name,'subscriptionId' => @client.subscription_id,'fabricName' => fabric_name,'storageClassificationName' => storage_classification_name},
|
90
|
+
query_params: {'api-version' => @client.api_version},
|
91
|
+
headers: request_headers.merge(custom_headers || {}),
|
92
|
+
base_url: request_url
|
93
|
+
}
|
94
|
+
promise = @client.make_request_async(:get, path_template, options)
|
95
|
+
|
96
|
+
promise = promise.then do |result|
|
97
|
+
http_response = result.response
|
98
|
+
status_code = http_response.status
|
99
|
+
response_content = http_response.body
|
100
|
+
unless status_code == 200
|
101
|
+
error_model = JSON.load(response_content)
|
102
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
103
|
+
end
|
104
|
+
|
105
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
106
|
+
# Deserialize Response
|
107
|
+
if status_code == 200
|
108
|
+
begin
|
109
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
110
|
+
result_mapper = Azure::ARM::RecoveryServicesSiteRecovery::Models::StorageClassification.mapper()
|
111
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
112
|
+
rescue Exception => e
|
113
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
117
|
+
result
|
118
|
+
end
|
119
|
+
|
120
|
+
promise.execute
|
121
|
+
end
|
122
|
+
|
123
|
+
#
|
124
|
+
# Gets the list of storage classification objects under a fabric.
|
125
|
+
#
|
126
|
+
# Lists the storage classifications available in the specified fabric.
|
127
|
+
#
|
128
|
+
# @param fabric_name [String] Site name of interest.
|
129
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
130
|
+
# will be added to the HTTP request.
|
131
|
+
#
|
132
|
+
# @return [Array<StorageClassification>] operation results.
|
133
|
+
#
|
134
|
+
def list_by_replication_fabrics(fabric_name, custom_headers = nil)
|
135
|
+
first_page = list_by_replication_fabrics_as_lazy(fabric_name, custom_headers)
|
136
|
+
first_page.get_all_items
|
137
|
+
end
|
138
|
+
|
139
|
+
#
|
140
|
+
# Gets the list of storage classification objects under a fabric.
|
141
|
+
#
|
142
|
+
# Lists the storage classifications available in the specified fabric.
|
143
|
+
#
|
144
|
+
# @param fabric_name [String] Site name of interest.
|
145
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
146
|
+
# will be added to the HTTP request.
|
147
|
+
#
|
148
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
149
|
+
#
|
150
|
+
def list_by_replication_fabrics_with_http_info(fabric_name, custom_headers = nil)
|
151
|
+
list_by_replication_fabrics_async(fabric_name, custom_headers).value!
|
152
|
+
end
|
153
|
+
|
154
|
+
#
|
155
|
+
# Gets the list of storage classification objects under a fabric.
|
156
|
+
#
|
157
|
+
# Lists the storage classifications available in the specified fabric.
|
158
|
+
#
|
159
|
+
# @param fabric_name [String] Site name of interest.
|
160
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
161
|
+
# to the HTTP request.
|
162
|
+
#
|
163
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
164
|
+
#
|
165
|
+
def list_by_replication_fabrics_async(fabric_name, custom_headers = nil)
|
166
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
167
|
+
fail ArgumentError, '@client.resource_name is nil' if @client.resource_name.nil?
|
168
|
+
fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil?
|
169
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
170
|
+
fail ArgumentError, 'fabric_name is nil' if fabric_name.nil?
|
171
|
+
|
172
|
+
|
173
|
+
request_headers = {}
|
174
|
+
|
175
|
+
# Set Headers
|
176
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
177
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
178
|
+
path_template = 'Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications'
|
179
|
+
|
180
|
+
request_url = @base_url || @client.base_url
|
181
|
+
|
182
|
+
options = {
|
183
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
184
|
+
path_params: {'resourceName' => @client.resource_name,'resourceGroupName' => @client.resource_group_name,'subscriptionId' => @client.subscription_id,'fabricName' => fabric_name},
|
185
|
+
query_params: {'api-version' => @client.api_version},
|
186
|
+
headers: request_headers.merge(custom_headers || {}),
|
187
|
+
base_url: request_url
|
188
|
+
}
|
189
|
+
promise = @client.make_request_async(:get, path_template, options)
|
190
|
+
|
191
|
+
promise = promise.then do |result|
|
192
|
+
http_response = result.response
|
193
|
+
status_code = http_response.status
|
194
|
+
response_content = http_response.body
|
195
|
+
unless status_code == 200
|
196
|
+
error_model = JSON.load(response_content)
|
197
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
198
|
+
end
|
199
|
+
|
200
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
201
|
+
# Deserialize Response
|
202
|
+
if status_code == 200
|
203
|
+
begin
|
204
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
205
|
+
result_mapper = Azure::ARM::RecoveryServicesSiteRecovery::Models::StorageClassificationCollection.mapper()
|
206
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
207
|
+
rescue Exception => e
|
208
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
209
|
+
end
|
210
|
+
end
|
211
|
+
|
212
|
+
result
|
213
|
+
end
|
214
|
+
|
215
|
+
promise.execute
|
216
|
+
end
|
217
|
+
|
218
|
+
#
|
219
|
+
# Gets the list of storage classification objects under a vault.
|
220
|
+
#
|
221
|
+
# Lists the storage classifications in the vault.
|
222
|
+
#
|
223
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
224
|
+
# will be added to the HTTP request.
|
225
|
+
#
|
226
|
+
# @return [Array<StorageClassification>] operation results.
|
227
|
+
#
|
228
|
+
def list(custom_headers = nil)
|
229
|
+
first_page = list_as_lazy(custom_headers)
|
230
|
+
first_page.get_all_items
|
231
|
+
end
|
232
|
+
|
233
|
+
#
|
234
|
+
# Gets the list of storage classification objects under a vault.
|
235
|
+
#
|
236
|
+
# Lists the storage classifications in the vault.
|
237
|
+
#
|
238
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
239
|
+
# will be added to the HTTP request.
|
240
|
+
#
|
241
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
242
|
+
#
|
243
|
+
def list_with_http_info(custom_headers = nil)
|
244
|
+
list_async(custom_headers).value!
|
245
|
+
end
|
246
|
+
|
247
|
+
#
|
248
|
+
# Gets the list of storage classification objects under a vault.
|
249
|
+
#
|
250
|
+
# Lists the storage classifications in the vault.
|
251
|
+
#
|
252
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
253
|
+
# to the HTTP request.
|
254
|
+
#
|
255
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
256
|
+
#
|
257
|
+
def list_async(custom_headers = nil)
|
258
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
259
|
+
fail ArgumentError, '@client.resource_name is nil' if @client.resource_name.nil?
|
260
|
+
fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil?
|
261
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
262
|
+
|
263
|
+
|
264
|
+
request_headers = {}
|
265
|
+
|
266
|
+
# Set Headers
|
267
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
268
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
269
|
+
path_template = 'Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationStorageClassifications'
|
270
|
+
|
271
|
+
request_url = @base_url || @client.base_url
|
272
|
+
|
273
|
+
options = {
|
274
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
275
|
+
path_params: {'resourceName' => @client.resource_name,'resourceGroupName' => @client.resource_group_name,'subscriptionId' => @client.subscription_id},
|
276
|
+
query_params: {'api-version' => @client.api_version},
|
277
|
+
headers: request_headers.merge(custom_headers || {}),
|
278
|
+
base_url: request_url
|
279
|
+
}
|
280
|
+
promise = @client.make_request_async(:get, path_template, options)
|
281
|
+
|
282
|
+
promise = promise.then do |result|
|
283
|
+
http_response = result.response
|
284
|
+
status_code = http_response.status
|
285
|
+
response_content = http_response.body
|
286
|
+
unless status_code == 200
|
287
|
+
error_model = JSON.load(response_content)
|
288
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
289
|
+
end
|
290
|
+
|
291
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
292
|
+
# Deserialize Response
|
293
|
+
if status_code == 200
|
294
|
+
begin
|
295
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
296
|
+
result_mapper = Azure::ARM::RecoveryServicesSiteRecovery::Models::StorageClassificationCollection.mapper()
|
297
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
298
|
+
rescue Exception => e
|
299
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
300
|
+
end
|
301
|
+
end
|
302
|
+
|
303
|
+
result
|
304
|
+
end
|
305
|
+
|
306
|
+
promise.execute
|
307
|
+
end
|
308
|
+
|
309
|
+
#
|
310
|
+
# Gets the list of storage classification objects under a fabric.
|
311
|
+
#
|
312
|
+
# Lists the storage classifications available in the specified fabric.
|
313
|
+
#
|
314
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
315
|
+
# to List operation.
|
316
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
317
|
+
# will be added to the HTTP request.
|
318
|
+
#
|
319
|
+
# @return [StorageClassificationCollection] operation results.
|
320
|
+
#
|
321
|
+
def list_by_replication_fabrics_next(next_page_link, custom_headers = nil)
|
322
|
+
response = list_by_replication_fabrics_next_async(next_page_link, custom_headers).value!
|
323
|
+
response.body unless response.nil?
|
324
|
+
end
|
325
|
+
|
326
|
+
#
|
327
|
+
# Gets the list of storage classification objects under a fabric.
|
328
|
+
#
|
329
|
+
# Lists the storage classifications available in the specified fabric.
|
330
|
+
#
|
331
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
332
|
+
# to List operation.
|
333
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
334
|
+
# will be added to the HTTP request.
|
335
|
+
#
|
336
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
337
|
+
#
|
338
|
+
def list_by_replication_fabrics_next_with_http_info(next_page_link, custom_headers = nil)
|
339
|
+
list_by_replication_fabrics_next_async(next_page_link, custom_headers).value!
|
340
|
+
end
|
341
|
+
|
342
|
+
#
|
343
|
+
# Gets the list of storage classification objects under a fabric.
|
344
|
+
#
|
345
|
+
# Lists the storage classifications available in the specified fabric.
|
346
|
+
#
|
347
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
348
|
+
# to List operation.
|
349
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
350
|
+
# to the HTTP request.
|
351
|
+
#
|
352
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
353
|
+
#
|
354
|
+
def list_by_replication_fabrics_next_async(next_page_link, custom_headers = nil)
|
355
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
356
|
+
|
357
|
+
|
358
|
+
request_headers = {}
|
359
|
+
|
360
|
+
# Set Headers
|
361
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
362
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
363
|
+
path_template = '{nextLink}'
|
364
|
+
|
365
|
+
request_url = @base_url || @client.base_url
|
366
|
+
|
367
|
+
options = {
|
368
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
369
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
370
|
+
headers: request_headers.merge(custom_headers || {}),
|
371
|
+
base_url: request_url
|
372
|
+
}
|
373
|
+
promise = @client.make_request_async(:get, path_template, options)
|
374
|
+
|
375
|
+
promise = promise.then do |result|
|
376
|
+
http_response = result.response
|
377
|
+
status_code = http_response.status
|
378
|
+
response_content = http_response.body
|
379
|
+
unless status_code == 200
|
380
|
+
error_model = JSON.load(response_content)
|
381
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
382
|
+
end
|
383
|
+
|
384
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
385
|
+
# Deserialize Response
|
386
|
+
if status_code == 200
|
387
|
+
begin
|
388
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
389
|
+
result_mapper = Azure::ARM::RecoveryServicesSiteRecovery::Models::StorageClassificationCollection.mapper()
|
390
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
391
|
+
rescue Exception => e
|
392
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
393
|
+
end
|
394
|
+
end
|
395
|
+
|
396
|
+
result
|
397
|
+
end
|
398
|
+
|
399
|
+
promise.execute
|
400
|
+
end
|
401
|
+
|
402
|
+
#
|
403
|
+
# Gets the list of storage classification objects under a vault.
|
404
|
+
#
|
405
|
+
# Lists the storage classifications in the vault.
|
406
|
+
#
|
407
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
408
|
+
# to List operation.
|
409
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
410
|
+
# will be added to the HTTP request.
|
411
|
+
#
|
412
|
+
# @return [StorageClassificationCollection] operation results.
|
413
|
+
#
|
414
|
+
def list_next(next_page_link, custom_headers = nil)
|
415
|
+
response = list_next_async(next_page_link, custom_headers).value!
|
416
|
+
response.body unless response.nil?
|
417
|
+
end
|
418
|
+
|
419
|
+
#
|
420
|
+
# Gets the list of storage classification objects under a vault.
|
421
|
+
#
|
422
|
+
# Lists the storage classifications in the vault.
|
423
|
+
#
|
424
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
425
|
+
# to List operation.
|
426
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
427
|
+
# will be added to the HTTP request.
|
428
|
+
#
|
429
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
430
|
+
#
|
431
|
+
def list_next_with_http_info(next_page_link, custom_headers = nil)
|
432
|
+
list_next_async(next_page_link, custom_headers).value!
|
433
|
+
end
|
434
|
+
|
435
|
+
#
|
436
|
+
# Gets the list of storage classification objects under a vault.
|
437
|
+
#
|
438
|
+
# Lists the storage classifications in the vault.
|
439
|
+
#
|
440
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
441
|
+
# to List operation.
|
442
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
443
|
+
# to the HTTP request.
|
444
|
+
#
|
445
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
446
|
+
#
|
447
|
+
def list_next_async(next_page_link, custom_headers = nil)
|
448
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
449
|
+
|
450
|
+
|
451
|
+
request_headers = {}
|
452
|
+
|
453
|
+
# Set Headers
|
454
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
455
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
456
|
+
path_template = '{nextLink}'
|
457
|
+
|
458
|
+
request_url = @base_url || @client.base_url
|
459
|
+
|
460
|
+
options = {
|
461
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
462
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
463
|
+
headers: request_headers.merge(custom_headers || {}),
|
464
|
+
base_url: request_url
|
465
|
+
}
|
466
|
+
promise = @client.make_request_async(:get, path_template, options)
|
467
|
+
|
468
|
+
promise = promise.then do |result|
|
469
|
+
http_response = result.response
|
470
|
+
status_code = http_response.status
|
471
|
+
response_content = http_response.body
|
472
|
+
unless status_code == 200
|
473
|
+
error_model = JSON.load(response_content)
|
474
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
475
|
+
end
|
476
|
+
|
477
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
478
|
+
# Deserialize Response
|
479
|
+
if status_code == 200
|
480
|
+
begin
|
481
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
482
|
+
result_mapper = Azure::ARM::RecoveryServicesSiteRecovery::Models::StorageClassificationCollection.mapper()
|
483
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
484
|
+
rescue Exception => e
|
485
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
486
|
+
end
|
487
|
+
end
|
488
|
+
|
489
|
+
result
|
490
|
+
end
|
491
|
+
|
492
|
+
promise.execute
|
493
|
+
end
|
494
|
+
|
495
|
+
#
|
496
|
+
# Gets the list of storage classification objects under a fabric.
|
497
|
+
#
|
498
|
+
# Lists the storage classifications available in the specified fabric.
|
499
|
+
#
|
500
|
+
# @param fabric_name [String] Site name of interest.
|
501
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
502
|
+
# will be added to the HTTP request.
|
503
|
+
#
|
504
|
+
# @return [StorageClassificationCollection] which provide lazy access to pages
|
505
|
+
# of the response.
|
506
|
+
#
|
507
|
+
def list_by_replication_fabrics_as_lazy(fabric_name, custom_headers = nil)
|
508
|
+
response = list_by_replication_fabrics_async(fabric_name, custom_headers).value!
|
509
|
+
unless response.nil?
|
510
|
+
page = response.body
|
511
|
+
page.next_method = Proc.new do |next_page_link|
|
512
|
+
list_by_replication_fabrics_next_async(next_page_link, custom_headers)
|
513
|
+
end
|
514
|
+
page
|
515
|
+
end
|
516
|
+
end
|
517
|
+
|
518
|
+
#
|
519
|
+
# Gets the list of storage classification objects under a vault.
|
520
|
+
#
|
521
|
+
# Lists the storage classifications in the vault.
|
522
|
+
#
|
523
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
524
|
+
# will be added to the HTTP request.
|
525
|
+
#
|
526
|
+
# @return [StorageClassificationCollection] which provide lazy access to pages
|
527
|
+
# of the response.
|
528
|
+
#
|
529
|
+
def list_as_lazy(custom_headers = nil)
|
530
|
+
response = list_async(custom_headers).value!
|
531
|
+
unless response.nil?
|
532
|
+
page = response.body
|
533
|
+
page.next_method = Proc.new do |next_page_link|
|
534
|
+
list_next_async(next_page_link, custom_headers)
|
535
|
+
end
|
536
|
+
page
|
537
|
+
end
|
538
|
+
end
|
539
|
+
|
540
|
+
end
|
541
|
+
end
|