azure_mgmt_storagesync 0.17.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/2018-04-02/generated/azure_mgmt_storagesync.rb +76 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/cloud_endpoints.rb +1319 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/azure_entity_resource.rb +75 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/backup_request.rb +46 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/check_name_availability_parameters.rb +61 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/check_name_availability_result.rb +78 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/cloud_endpoint.rb +162 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/cloud_endpoint_array.rb +55 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/cloud_endpoint_create_parameters.rb +107 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/name_availability_reason.rb +16 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/operation_display_info.rb +80 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/operation_display_resource.rb +79 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/operation_entity.rb +69 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/operation_entity_list_result.rb +98 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/post_backup_response.rb +47 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/post_restore_request.rb +132 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/pre_restore_request.rb +144 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/proxy_resource.rb +63 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/reason.rb +19 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/recall_action_parameters.rb +57 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/registered_server.rb +260 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/registered_server_array.rb +55 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/registered_server_create_parameters.rb +173 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/resource.rb +83 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/resources_move_info.rb +65 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/restore_file_spec.rb +58 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/server_endpoint.rb +166 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/server_endpoint_array.rb +55 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/server_endpoint_create_parameters.rb +134 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/server_endpoint_update_parameters.rb +82 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/storage_sync_api_error.rb +80 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/storage_sync_error.rb +59 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/storage_sync_error_details.rb +68 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/storage_sync_service.rb +110 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/storage_sync_service_array.rb +55 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/storage_sync_service_create_parameters.rb +74 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/storage_sync_service_update_parameters.rb +66 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/subscription_state.rb +70 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/sync_group.rb +85 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/sync_group_array.rb +55 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/sync_group_create_parameters.rb +85 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/tracked_resource.rb +92 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/workflow.rb +119 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/workflow_array.rb +55 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/module_definition.rb +9 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/operations.rb +216 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/registered_servers.rb +548 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/server_endpoints.rb +905 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/storage_sync_management_client.rb +155 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/storage_sync_services.rb +739 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/sync_groups.rb +449 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/workflows.rb +228 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync.rb +77 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/cloud_endpoints.rb +1319 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/azure_entity_resource.rb +75 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/backup_request.rb +46 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/check_name_availability_parameters.rb +61 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/check_name_availability_result.rb +78 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/cloud_endpoint.rb +162 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/cloud_endpoint_array.rb +55 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/cloud_endpoint_create_parameters.rb +95 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/name_availability_reason.rb +16 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/operation_display_info.rb +80 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/operation_display_resource.rb +79 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/operation_entity.rb +69 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/operation_entity_list_result.rb +98 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/post_backup_response.rb +47 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/post_restore_request.rb +132 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/pre_restore_request.rb +144 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/proxy_resource.rb +63 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/reason.rb +19 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/recall_action_parameters.rb +57 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/registered_server.rb +271 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/registered_server_array.rb +55 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/registered_server_create_parameters.rb +161 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/resource.rb +83 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/resources_move_info.rb +65 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/restore_file_spec.rb +58 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/server_endpoint.rb +181 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/server_endpoint_array.rb +55 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/server_endpoint_create_parameters.rb +137 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/server_endpoint_update_parameters.rb +77 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/storage_sync_api_error.rb +80 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/storage_sync_error.rb +59 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/storage_sync_error_details.rb +68 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/storage_sync_service.rb +110 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/storage_sync_service_array.rb +55 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/storage_sync_service_create_parameters.rb +85 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/storage_sync_service_update_parameters.rb +66 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/subscription_state.rb +70 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/sync_group.rb +85 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/sync_group_array.rb +55 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/sync_group_create_parameters.rb +73 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/tracked_resource.rb +92 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/trigger_rollover_request.rb +46 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/workflow.rb +119 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/workflow_array.rb +55 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/module_definition.rb +9 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/operations.rb +216 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/registered_servers.rb +701 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/server_endpoints.rb +905 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/storage_sync_management_client.rb +155 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/storage_sync_services.rb +739 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/sync_groups.rb +449 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/workflows.rb +331 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync.rb +80 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/cloud_endpoints.rb +1319 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/azure_entity_resource.rb +75 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/backup_request.rb +46 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/check_name_availability_parameters.rb +61 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/check_name_availability_result.rb +78 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/cloud_endpoint.rb +162 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/cloud_endpoint_array.rb +55 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/cloud_endpoint_create_parameters.rb +95 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/name_availability_reason.rb +16 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/operation_display_info.rb +80 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/operation_display_resource.rb +79 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/operation_entity.rb +69 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/operation_entity_list_result.rb +98 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/post_backup_response.rb +47 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/post_restore_request.rb +132 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/pre_restore_request.rb +144 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/proxy_resource.rb +63 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/reason.rb +19 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/recall_action_parameters.rb +57 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/registered_server.rb +271 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/registered_server_array.rb +55 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/registered_server_create_parameters.rb +161 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/resource.rb +83 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/resources_move_info.rb +65 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/restore_file_spec.rb +58 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/server_endpoint.rb +229 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/server_endpoint_array.rb +55 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/server_endpoint_create_parameters.rb +160 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/server_endpoint_health.rb +133 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/server_endpoint_update_parameters.rb +100 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/storage_sync_api_error.rb +80 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/storage_sync_error.rb +59 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/storage_sync_error_details.rb +68 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/storage_sync_service.rb +110 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/storage_sync_service_array.rb +55 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/storage_sync_service_create_parameters.rb +85 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/storage_sync_service_update_parameters.rb +66 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/subscription_state.rb +70 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/sync_group.rb +85 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/sync_group_array.rb +55 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/sync_group_create_parameters.rb +73 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/sync_progress_status.rb +133 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/sync_session_status.rb +83 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/tracked_resource.rb +92 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/trigger_rollover_request.rb +46 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/workflow.rb +119 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/workflow_array.rb +55 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/module_definition.rb +9 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/operations.rb +216 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/registered_servers.rb +701 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/server_endpoints.rb +905 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/storage_sync_management_client.rb +155 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/storage_sync_services.rb +739 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/sync_groups.rb +449 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/workflows.rb +331 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync.rb +81 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/cloud_endpoints.rb +1319 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/azure_entity_resource.rb +75 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/backup_request.rb +46 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/check_name_availability_parameters.rb +61 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/check_name_availability_result.rb +78 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/cloud_endpoint.rb +162 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/cloud_endpoint_array.rb +55 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/cloud_endpoint_create_parameters.rb +95 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/files_not_syncing_error.rb +73 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/name_availability_reason.rb +16 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/operation_display_info.rb +80 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/operation_display_resource.rb +79 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/operation_entity.rb +69 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/operation_entity_list_result.rb +98 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/post_backup_response.rb +47 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/post_restore_request.rb +132 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/pre_restore_request.rb +144 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/proxy_resource.rb +63 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/reason.rb +19 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/recall_action_parameters.rb +57 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/registered_server.rb +271 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/registered_server_array.rb +55 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/registered_server_create_parameters.rb +161 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/resource.rb +83 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/resources_move_info.rb +65 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/restore_file_spec.rb +58 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/server_endpoint.rb +233 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/server_endpoint_array.rb +55 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/server_endpoint_create_parameters.rb +160 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/server_endpoint_sync_status.rb +180 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/server_endpoint_update_parameters.rb +100 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/storage_sync_api_error.rb +80 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/storage_sync_error.rb +59 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/storage_sync_error_details.rb +68 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/storage_sync_service.rb +110 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/storage_sync_service_array.rb +55 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/storage_sync_service_create_parameters.rb +85 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/storage_sync_service_update_parameters.rb +66 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/subscription_state.rb +70 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/sync_activity_status.rb +107 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/sync_group.rb +85 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/sync_group_array.rb +55 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/sync_group_create_parameters.rb +73 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/sync_session_status.rb +131 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/tracked_resource.rb +92 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/trigger_rollover_request.rb +46 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/workflow.rb +119 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/workflow_array.rb +55 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/module_definition.rb +9 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/operations.rb +216 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/registered_servers.rb +701 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/server_endpoints.rb +905 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/storage_sync_management_client.rb +155 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/storage_sync_services.rb +739 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/sync_groups.rb +449 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/workflows.rb +331 -0
- data/lib/azure_mgmt_storagesync.rb +9 -0
- data/lib/module_definition.rb +7 -0
- data/lib/profiles/latest/modules/storagesync_profile_module.rb +261 -0
- data/lib/profiles/latest/storagesync_latest_profile_client.rb +40 -0
- data/lib/profiles/latest/storagesync_module_definition.rb +8 -0
- data/lib/version.rb +7 -0
- metadata +343 -0
@@ -0,0 +1,449 @@
|
|
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::StorageSync::Mgmt::V2018_10_01
|
7
|
+
#
|
8
|
+
# Microsoft Storage Sync Service API
|
9
|
+
#
|
10
|
+
class SyncGroups
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the SyncGroups class.
|
15
|
+
# @param client service class for accessing basic functionality.
|
16
|
+
#
|
17
|
+
def initialize(client)
|
18
|
+
@client = client
|
19
|
+
end
|
20
|
+
|
21
|
+
# @return [StorageSyncManagementClient] reference to the StorageSyncManagementClient
|
22
|
+
attr_reader :client
|
23
|
+
|
24
|
+
#
|
25
|
+
# Get a SyncGroup List.
|
26
|
+
#
|
27
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
28
|
+
# is case insensitive.
|
29
|
+
# @param storage_sync_service_name [String] Name of Storage Sync Service
|
30
|
+
# resource.
|
31
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
32
|
+
# will be added to the HTTP request.
|
33
|
+
#
|
34
|
+
# @return [SyncGroupArray] operation results.
|
35
|
+
#
|
36
|
+
def list_by_storage_sync_service(resource_group_name, storage_sync_service_name, custom_headers:nil)
|
37
|
+
response = list_by_storage_sync_service_async(resource_group_name, storage_sync_service_name, custom_headers:custom_headers).value!
|
38
|
+
response.body unless response.nil?
|
39
|
+
end
|
40
|
+
|
41
|
+
#
|
42
|
+
# Get a SyncGroup List.
|
43
|
+
#
|
44
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
45
|
+
# is case insensitive.
|
46
|
+
# @param storage_sync_service_name [String] Name of Storage Sync Service
|
47
|
+
# resource.
|
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 list_by_storage_sync_service_with_http_info(resource_group_name, storage_sync_service_name, custom_headers:nil)
|
54
|
+
list_by_storage_sync_service_async(resource_group_name, storage_sync_service_name, custom_headers:custom_headers).value!
|
55
|
+
end
|
56
|
+
|
57
|
+
#
|
58
|
+
# Get a SyncGroup List.
|
59
|
+
#
|
60
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
61
|
+
# is case insensitive.
|
62
|
+
# @param storage_sync_service_name [String] Name of Storage Sync Service
|
63
|
+
# resource.
|
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 list_by_storage_sync_service_async(resource_group_name, storage_sync_service_name, custom_headers:nil)
|
70
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
71
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
72
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
73
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
74
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
75
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
76
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
77
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
78
|
+
fail ArgumentError, 'storage_sync_service_name is nil' if storage_sync_service_name.nil?
|
79
|
+
|
80
|
+
|
81
|
+
request_headers = {}
|
82
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
83
|
+
|
84
|
+
# Set Headers
|
85
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
86
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
87
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups'
|
88
|
+
|
89
|
+
request_url = @base_url || @client.base_url
|
90
|
+
|
91
|
+
options = {
|
92
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
93
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'storageSyncServiceName' => storage_sync_service_name},
|
94
|
+
query_params: {'api-version' => @client.api_version},
|
95
|
+
headers: request_headers.merge(custom_headers || {}),
|
96
|
+
base_url: request_url
|
97
|
+
}
|
98
|
+
promise = @client.make_request_async(:get, path_template, options)
|
99
|
+
|
100
|
+
promise = promise.then do |result|
|
101
|
+
http_response = result.response
|
102
|
+
status_code = http_response.status
|
103
|
+
response_content = http_response.body
|
104
|
+
unless status_code == 200
|
105
|
+
error_model = JSON.load(response_content)
|
106
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
107
|
+
end
|
108
|
+
|
109
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
110
|
+
# Deserialize Response
|
111
|
+
if status_code == 200
|
112
|
+
begin
|
113
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
114
|
+
result_mapper = Azure::StorageSync::Mgmt::V2018_10_01::Models::SyncGroupArray.mapper()
|
115
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
116
|
+
rescue Exception => e
|
117
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
118
|
+
end
|
119
|
+
end
|
120
|
+
|
121
|
+
result
|
122
|
+
end
|
123
|
+
|
124
|
+
promise.execute
|
125
|
+
end
|
126
|
+
|
127
|
+
#
|
128
|
+
# Create a new SyncGroup.
|
129
|
+
#
|
130
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
131
|
+
# is case insensitive.
|
132
|
+
# @param storage_sync_service_name [String] Name of Storage Sync Service
|
133
|
+
# resource.
|
134
|
+
# @param sync_group_name [String] Name of Sync Group resource.
|
135
|
+
# @param parameters [SyncGroupCreateParameters] Sync Group Body
|
136
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
137
|
+
# will be added to the HTTP request.
|
138
|
+
#
|
139
|
+
# @return [SyncGroup] operation results.
|
140
|
+
#
|
141
|
+
def create(resource_group_name, storage_sync_service_name, sync_group_name, parameters, custom_headers:nil)
|
142
|
+
response = create_async(resource_group_name, storage_sync_service_name, sync_group_name, parameters, custom_headers:custom_headers).value!
|
143
|
+
response.body unless response.nil?
|
144
|
+
end
|
145
|
+
|
146
|
+
#
|
147
|
+
# Create a new SyncGroup.
|
148
|
+
#
|
149
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
150
|
+
# is case insensitive.
|
151
|
+
# @param storage_sync_service_name [String] Name of Storage Sync Service
|
152
|
+
# resource.
|
153
|
+
# @param sync_group_name [String] Name of Sync Group resource.
|
154
|
+
# @param parameters [SyncGroupCreateParameters] Sync Group Body
|
155
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
156
|
+
# will be added to the HTTP request.
|
157
|
+
#
|
158
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
159
|
+
#
|
160
|
+
def create_with_http_info(resource_group_name, storage_sync_service_name, sync_group_name, parameters, custom_headers:nil)
|
161
|
+
create_async(resource_group_name, storage_sync_service_name, sync_group_name, parameters, custom_headers:custom_headers).value!
|
162
|
+
end
|
163
|
+
|
164
|
+
#
|
165
|
+
# Create a new SyncGroup.
|
166
|
+
#
|
167
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
168
|
+
# is case insensitive.
|
169
|
+
# @param storage_sync_service_name [String] Name of Storage Sync Service
|
170
|
+
# resource.
|
171
|
+
# @param sync_group_name [String] Name of Sync Group resource.
|
172
|
+
# @param parameters [SyncGroupCreateParameters] Sync Group Body
|
173
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
174
|
+
# to the HTTP request.
|
175
|
+
#
|
176
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
177
|
+
#
|
178
|
+
def create_async(resource_group_name, storage_sync_service_name, sync_group_name, parameters, custom_headers:nil)
|
179
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
180
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
181
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
182
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
183
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
184
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
185
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
186
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
187
|
+
fail ArgumentError, 'storage_sync_service_name is nil' if storage_sync_service_name.nil?
|
188
|
+
fail ArgumentError, 'sync_group_name is nil' if sync_group_name.nil?
|
189
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
190
|
+
|
191
|
+
|
192
|
+
request_headers = {}
|
193
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
194
|
+
|
195
|
+
# Set Headers
|
196
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
197
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
198
|
+
|
199
|
+
# Serialize Request
|
200
|
+
request_mapper = Azure::StorageSync::Mgmt::V2018_10_01::Models::SyncGroupCreateParameters.mapper()
|
201
|
+
request_content = @client.serialize(request_mapper, parameters)
|
202
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
203
|
+
|
204
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}'
|
205
|
+
|
206
|
+
request_url = @base_url || @client.base_url
|
207
|
+
|
208
|
+
options = {
|
209
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
210
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'storageSyncServiceName' => storage_sync_service_name,'syncGroupName' => sync_group_name},
|
211
|
+
query_params: {'api-version' => @client.api_version},
|
212
|
+
body: request_content,
|
213
|
+
headers: request_headers.merge(custom_headers || {}),
|
214
|
+
base_url: request_url
|
215
|
+
}
|
216
|
+
promise = @client.make_request_async(:put, path_template, options)
|
217
|
+
|
218
|
+
promise = promise.then do |result|
|
219
|
+
http_response = result.response
|
220
|
+
status_code = http_response.status
|
221
|
+
response_content = http_response.body
|
222
|
+
unless status_code == 200
|
223
|
+
error_model = JSON.load(response_content)
|
224
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
225
|
+
end
|
226
|
+
|
227
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
228
|
+
# Deserialize Response
|
229
|
+
if status_code == 200
|
230
|
+
begin
|
231
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
232
|
+
result_mapper = Azure::StorageSync::Mgmt::V2018_10_01::Models::SyncGroup.mapper()
|
233
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
234
|
+
rescue Exception => e
|
235
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
236
|
+
end
|
237
|
+
end
|
238
|
+
|
239
|
+
result
|
240
|
+
end
|
241
|
+
|
242
|
+
promise.execute
|
243
|
+
end
|
244
|
+
|
245
|
+
#
|
246
|
+
# Get a given SyncGroup.
|
247
|
+
#
|
248
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
249
|
+
# is case insensitive.
|
250
|
+
# @param storage_sync_service_name [String] Name of Storage Sync Service
|
251
|
+
# resource.
|
252
|
+
# @param sync_group_name [String] Name of Sync Group resource.
|
253
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
254
|
+
# will be added to the HTTP request.
|
255
|
+
#
|
256
|
+
# @return [SyncGroup] operation results.
|
257
|
+
#
|
258
|
+
def get(resource_group_name, storage_sync_service_name, sync_group_name, custom_headers:nil)
|
259
|
+
response = get_async(resource_group_name, storage_sync_service_name, sync_group_name, custom_headers:custom_headers).value!
|
260
|
+
response.body unless response.nil?
|
261
|
+
end
|
262
|
+
|
263
|
+
#
|
264
|
+
# Get a given SyncGroup.
|
265
|
+
#
|
266
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
267
|
+
# is case insensitive.
|
268
|
+
# @param storage_sync_service_name [String] Name of Storage Sync Service
|
269
|
+
# resource.
|
270
|
+
# @param sync_group_name [String] Name of Sync Group resource.
|
271
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
272
|
+
# will be added to the HTTP request.
|
273
|
+
#
|
274
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
275
|
+
#
|
276
|
+
def get_with_http_info(resource_group_name, storage_sync_service_name, sync_group_name, custom_headers:nil)
|
277
|
+
get_async(resource_group_name, storage_sync_service_name, sync_group_name, custom_headers:custom_headers).value!
|
278
|
+
end
|
279
|
+
|
280
|
+
#
|
281
|
+
# Get a given SyncGroup.
|
282
|
+
#
|
283
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
284
|
+
# is case insensitive.
|
285
|
+
# @param storage_sync_service_name [String] Name of Storage Sync Service
|
286
|
+
# resource.
|
287
|
+
# @param sync_group_name [String] Name of Sync Group resource.
|
288
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
289
|
+
# to the HTTP request.
|
290
|
+
#
|
291
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
292
|
+
#
|
293
|
+
def get_async(resource_group_name, storage_sync_service_name, sync_group_name, custom_headers:nil)
|
294
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
295
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
296
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
297
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
298
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
299
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
300
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
301
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
302
|
+
fail ArgumentError, 'storage_sync_service_name is nil' if storage_sync_service_name.nil?
|
303
|
+
fail ArgumentError, 'sync_group_name is nil' if sync_group_name.nil?
|
304
|
+
|
305
|
+
|
306
|
+
request_headers = {}
|
307
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
308
|
+
|
309
|
+
# Set Headers
|
310
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
311
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
312
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}'
|
313
|
+
|
314
|
+
request_url = @base_url || @client.base_url
|
315
|
+
|
316
|
+
options = {
|
317
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
318
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'storageSyncServiceName' => storage_sync_service_name,'syncGroupName' => sync_group_name},
|
319
|
+
query_params: {'api-version' => @client.api_version},
|
320
|
+
headers: request_headers.merge(custom_headers || {}),
|
321
|
+
base_url: request_url
|
322
|
+
}
|
323
|
+
promise = @client.make_request_async(:get, path_template, options)
|
324
|
+
|
325
|
+
promise = promise.then do |result|
|
326
|
+
http_response = result.response
|
327
|
+
status_code = http_response.status
|
328
|
+
response_content = http_response.body
|
329
|
+
unless status_code == 200
|
330
|
+
error_model = JSON.load(response_content)
|
331
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
332
|
+
end
|
333
|
+
|
334
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
335
|
+
# Deserialize Response
|
336
|
+
if status_code == 200
|
337
|
+
begin
|
338
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
339
|
+
result_mapper = Azure::StorageSync::Mgmt::V2018_10_01::Models::SyncGroup.mapper()
|
340
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
341
|
+
rescue Exception => e
|
342
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
343
|
+
end
|
344
|
+
end
|
345
|
+
|
346
|
+
result
|
347
|
+
end
|
348
|
+
|
349
|
+
promise.execute
|
350
|
+
end
|
351
|
+
|
352
|
+
#
|
353
|
+
# Delete a given SyncGroup.
|
354
|
+
#
|
355
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
356
|
+
# is case insensitive.
|
357
|
+
# @param storage_sync_service_name [String] Name of Storage Sync Service
|
358
|
+
# resource.
|
359
|
+
# @param sync_group_name [String] Name of Sync Group resource.
|
360
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
361
|
+
# will be added to the HTTP request.
|
362
|
+
#
|
363
|
+
#
|
364
|
+
def delete(resource_group_name, storage_sync_service_name, sync_group_name, custom_headers:nil)
|
365
|
+
response = delete_async(resource_group_name, storage_sync_service_name, sync_group_name, custom_headers:custom_headers).value!
|
366
|
+
nil
|
367
|
+
end
|
368
|
+
|
369
|
+
#
|
370
|
+
# Delete a given SyncGroup.
|
371
|
+
#
|
372
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
373
|
+
# is case insensitive.
|
374
|
+
# @param storage_sync_service_name [String] Name of Storage Sync Service
|
375
|
+
# resource.
|
376
|
+
# @param sync_group_name [String] Name of Sync Group resource.
|
377
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
378
|
+
# will be added to the HTTP request.
|
379
|
+
#
|
380
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
381
|
+
#
|
382
|
+
def delete_with_http_info(resource_group_name, storage_sync_service_name, sync_group_name, custom_headers:nil)
|
383
|
+
delete_async(resource_group_name, storage_sync_service_name, sync_group_name, custom_headers:custom_headers).value!
|
384
|
+
end
|
385
|
+
|
386
|
+
#
|
387
|
+
# Delete a given SyncGroup.
|
388
|
+
#
|
389
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
390
|
+
# is case insensitive.
|
391
|
+
# @param storage_sync_service_name [String] Name of Storage Sync Service
|
392
|
+
# resource.
|
393
|
+
# @param sync_group_name [String] Name of Sync Group resource.
|
394
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
395
|
+
# to the HTTP request.
|
396
|
+
#
|
397
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
398
|
+
#
|
399
|
+
def delete_async(resource_group_name, storage_sync_service_name, sync_group_name, custom_headers:nil)
|
400
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
401
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
402
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
403
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
404
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
405
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
406
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
407
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
408
|
+
fail ArgumentError, 'storage_sync_service_name is nil' if storage_sync_service_name.nil?
|
409
|
+
fail ArgumentError, 'sync_group_name is nil' if sync_group_name.nil?
|
410
|
+
|
411
|
+
|
412
|
+
request_headers = {}
|
413
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
414
|
+
|
415
|
+
# Set Headers
|
416
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
417
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
418
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}'
|
419
|
+
|
420
|
+
request_url = @base_url || @client.base_url
|
421
|
+
|
422
|
+
options = {
|
423
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
424
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'storageSyncServiceName' => storage_sync_service_name,'syncGroupName' => sync_group_name},
|
425
|
+
query_params: {'api-version' => @client.api_version},
|
426
|
+
headers: request_headers.merge(custom_headers || {}),
|
427
|
+
base_url: request_url
|
428
|
+
}
|
429
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
430
|
+
|
431
|
+
promise = promise.then do |result|
|
432
|
+
http_response = result.response
|
433
|
+
status_code = http_response.status
|
434
|
+
response_content = http_response.body
|
435
|
+
unless status_code == 200 || status_code == 204
|
436
|
+
error_model = JSON.load(response_content)
|
437
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
438
|
+
end
|
439
|
+
|
440
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
441
|
+
|
442
|
+
result
|
443
|
+
end
|
444
|
+
|
445
|
+
promise.execute
|
446
|
+
end
|
447
|
+
|
448
|
+
end
|
449
|
+
end
|
@@ -0,0 +1,331 @@
|
|
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::StorageSync::Mgmt::V2018_10_01
|
7
|
+
#
|
8
|
+
# Microsoft Storage Sync Service API
|
9
|
+
#
|
10
|
+
class Workflows
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the Workflows class.
|
15
|
+
# @param client service class for accessing basic functionality.
|
16
|
+
#
|
17
|
+
def initialize(client)
|
18
|
+
@client = client
|
19
|
+
end
|
20
|
+
|
21
|
+
# @return [StorageSyncManagementClient] reference to the StorageSyncManagementClient
|
22
|
+
attr_reader :client
|
23
|
+
|
24
|
+
#
|
25
|
+
# Get a Workflow List
|
26
|
+
#
|
27
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
28
|
+
# is case insensitive.
|
29
|
+
# @param storage_sync_service_name [String] Name of Storage Sync Service
|
30
|
+
# resource.
|
31
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
32
|
+
# will be added to the HTTP request.
|
33
|
+
#
|
34
|
+
# @return [WorkflowArray] operation results.
|
35
|
+
#
|
36
|
+
def list_by_storage_sync_service(resource_group_name, storage_sync_service_name, custom_headers:nil)
|
37
|
+
response = list_by_storage_sync_service_async(resource_group_name, storage_sync_service_name, custom_headers:custom_headers).value!
|
38
|
+
response.body unless response.nil?
|
39
|
+
end
|
40
|
+
|
41
|
+
#
|
42
|
+
# Get a Workflow List
|
43
|
+
#
|
44
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
45
|
+
# is case insensitive.
|
46
|
+
# @param storage_sync_service_name [String] Name of Storage Sync Service
|
47
|
+
# resource.
|
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 list_by_storage_sync_service_with_http_info(resource_group_name, storage_sync_service_name, custom_headers:nil)
|
54
|
+
list_by_storage_sync_service_async(resource_group_name, storage_sync_service_name, custom_headers:custom_headers).value!
|
55
|
+
end
|
56
|
+
|
57
|
+
#
|
58
|
+
# Get a Workflow List
|
59
|
+
#
|
60
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
61
|
+
# is case insensitive.
|
62
|
+
# @param storage_sync_service_name [String] Name of Storage Sync Service
|
63
|
+
# resource.
|
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 list_by_storage_sync_service_async(resource_group_name, storage_sync_service_name, custom_headers:nil)
|
70
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
71
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
72
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
73
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
74
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
75
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
76
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
77
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
78
|
+
fail ArgumentError, 'storage_sync_service_name is nil' if storage_sync_service_name.nil?
|
79
|
+
|
80
|
+
|
81
|
+
request_headers = {}
|
82
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
83
|
+
|
84
|
+
# Set Headers
|
85
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
86
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
87
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/workflows'
|
88
|
+
|
89
|
+
request_url = @base_url || @client.base_url
|
90
|
+
|
91
|
+
options = {
|
92
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
93
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'storageSyncServiceName' => storage_sync_service_name},
|
94
|
+
query_params: {'api-version' => @client.api_version},
|
95
|
+
headers: request_headers.merge(custom_headers || {}),
|
96
|
+
base_url: request_url
|
97
|
+
}
|
98
|
+
promise = @client.make_request_async(:get, path_template, options)
|
99
|
+
|
100
|
+
promise = promise.then do |result|
|
101
|
+
http_response = result.response
|
102
|
+
status_code = http_response.status
|
103
|
+
response_content = http_response.body
|
104
|
+
unless status_code == 200
|
105
|
+
error_model = JSON.load(response_content)
|
106
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
107
|
+
end
|
108
|
+
|
109
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
110
|
+
# Deserialize Response
|
111
|
+
if status_code == 200
|
112
|
+
begin
|
113
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
114
|
+
result_mapper = Azure::StorageSync::Mgmt::V2018_10_01::Models::WorkflowArray.mapper()
|
115
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
116
|
+
rescue Exception => e
|
117
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
118
|
+
end
|
119
|
+
end
|
120
|
+
|
121
|
+
result
|
122
|
+
end
|
123
|
+
|
124
|
+
promise.execute
|
125
|
+
end
|
126
|
+
|
127
|
+
#
|
128
|
+
# Get Workflows resource
|
129
|
+
#
|
130
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
131
|
+
# is case insensitive.
|
132
|
+
# @param storage_sync_service_name [String] Name of Storage Sync Service
|
133
|
+
# resource.
|
134
|
+
# @param workflow_id [String] workflow Id
|
135
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
136
|
+
# will be added to the HTTP request.
|
137
|
+
#
|
138
|
+
# @return [Workflow] operation results.
|
139
|
+
#
|
140
|
+
def get(resource_group_name, storage_sync_service_name, workflow_id, custom_headers:nil)
|
141
|
+
response = get_async(resource_group_name, storage_sync_service_name, workflow_id, custom_headers:custom_headers).value!
|
142
|
+
response.body unless response.nil?
|
143
|
+
end
|
144
|
+
|
145
|
+
#
|
146
|
+
# Get Workflows resource
|
147
|
+
#
|
148
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
149
|
+
# is case insensitive.
|
150
|
+
# @param storage_sync_service_name [String] Name of Storage Sync Service
|
151
|
+
# resource.
|
152
|
+
# @param workflow_id [String] workflow Id
|
153
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
154
|
+
# will be added to the HTTP request.
|
155
|
+
#
|
156
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
157
|
+
#
|
158
|
+
def get_with_http_info(resource_group_name, storage_sync_service_name, workflow_id, custom_headers:nil)
|
159
|
+
get_async(resource_group_name, storage_sync_service_name, workflow_id, custom_headers:custom_headers).value!
|
160
|
+
end
|
161
|
+
|
162
|
+
#
|
163
|
+
# Get Workflows resource
|
164
|
+
#
|
165
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
166
|
+
# is case insensitive.
|
167
|
+
# @param storage_sync_service_name [String] Name of Storage Sync Service
|
168
|
+
# resource.
|
169
|
+
# @param workflow_id [String] workflow Id
|
170
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
171
|
+
# to the HTTP request.
|
172
|
+
#
|
173
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
174
|
+
#
|
175
|
+
def get_async(resource_group_name, storage_sync_service_name, workflow_id, custom_headers:nil)
|
176
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
177
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
178
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
179
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
180
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
181
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
182
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
183
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
184
|
+
fail ArgumentError, 'storage_sync_service_name is nil' if storage_sync_service_name.nil?
|
185
|
+
fail ArgumentError, 'workflow_id is nil' if workflow_id.nil?
|
186
|
+
|
187
|
+
|
188
|
+
request_headers = {}
|
189
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
190
|
+
|
191
|
+
# Set Headers
|
192
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
193
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
194
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/workflows/{workflowId}'
|
195
|
+
|
196
|
+
request_url = @base_url || @client.base_url
|
197
|
+
|
198
|
+
options = {
|
199
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
200
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'storageSyncServiceName' => storage_sync_service_name,'workflowId' => workflow_id},
|
201
|
+
query_params: {'api-version' => @client.api_version},
|
202
|
+
headers: request_headers.merge(custom_headers || {}),
|
203
|
+
base_url: request_url
|
204
|
+
}
|
205
|
+
promise = @client.make_request_async(:get, path_template, options)
|
206
|
+
|
207
|
+
promise = promise.then do |result|
|
208
|
+
http_response = result.response
|
209
|
+
status_code = http_response.status
|
210
|
+
response_content = http_response.body
|
211
|
+
unless status_code == 200
|
212
|
+
error_model = JSON.load(response_content)
|
213
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
214
|
+
end
|
215
|
+
|
216
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
217
|
+
# Deserialize Response
|
218
|
+
if status_code == 200
|
219
|
+
begin
|
220
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
221
|
+
result_mapper = Azure::StorageSync::Mgmt::V2018_10_01::Models::Workflow.mapper()
|
222
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
223
|
+
rescue Exception => e
|
224
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
225
|
+
end
|
226
|
+
end
|
227
|
+
|
228
|
+
result
|
229
|
+
end
|
230
|
+
|
231
|
+
promise.execute
|
232
|
+
end
|
233
|
+
|
234
|
+
#
|
235
|
+
# Abort the given workflow.
|
236
|
+
#
|
237
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
238
|
+
# is case insensitive.
|
239
|
+
# @param storage_sync_service_name [String] Name of Storage Sync Service
|
240
|
+
# resource.
|
241
|
+
# @param workflow_id [String] workflow Id
|
242
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
243
|
+
# will be added to the HTTP request.
|
244
|
+
#
|
245
|
+
#
|
246
|
+
def abort(resource_group_name, storage_sync_service_name, workflow_id, custom_headers:nil)
|
247
|
+
response = abort_async(resource_group_name, storage_sync_service_name, workflow_id, custom_headers:custom_headers).value!
|
248
|
+
nil
|
249
|
+
end
|
250
|
+
|
251
|
+
#
|
252
|
+
# Abort the given workflow.
|
253
|
+
#
|
254
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
255
|
+
# is case insensitive.
|
256
|
+
# @param storage_sync_service_name [String] Name of Storage Sync Service
|
257
|
+
# resource.
|
258
|
+
# @param workflow_id [String] workflow Id
|
259
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
260
|
+
# will be added to the HTTP request.
|
261
|
+
#
|
262
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
263
|
+
#
|
264
|
+
def abort_with_http_info(resource_group_name, storage_sync_service_name, workflow_id, custom_headers:nil)
|
265
|
+
abort_async(resource_group_name, storage_sync_service_name, workflow_id, custom_headers:custom_headers).value!
|
266
|
+
end
|
267
|
+
|
268
|
+
#
|
269
|
+
# Abort the given workflow.
|
270
|
+
#
|
271
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
272
|
+
# is case insensitive.
|
273
|
+
# @param storage_sync_service_name [String] Name of Storage Sync Service
|
274
|
+
# resource.
|
275
|
+
# @param workflow_id [String] workflow Id
|
276
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
277
|
+
# to the HTTP request.
|
278
|
+
#
|
279
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
280
|
+
#
|
281
|
+
def abort_async(resource_group_name, storage_sync_service_name, workflow_id, custom_headers:nil)
|
282
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
283
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
284
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
285
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
286
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
287
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
288
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
289
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
290
|
+
fail ArgumentError, 'storage_sync_service_name is nil' if storage_sync_service_name.nil?
|
291
|
+
fail ArgumentError, 'workflow_id is nil' if workflow_id.nil?
|
292
|
+
|
293
|
+
|
294
|
+
request_headers = {}
|
295
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
296
|
+
|
297
|
+
# Set Headers
|
298
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
299
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
300
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/workflows/{workflowId}/abort'
|
301
|
+
|
302
|
+
request_url = @base_url || @client.base_url
|
303
|
+
|
304
|
+
options = {
|
305
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
306
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'storageSyncServiceName' => storage_sync_service_name,'workflowId' => workflow_id},
|
307
|
+
query_params: {'api-version' => @client.api_version},
|
308
|
+
headers: request_headers.merge(custom_headers || {}),
|
309
|
+
base_url: request_url
|
310
|
+
}
|
311
|
+
promise = @client.make_request_async(:post, path_template, options)
|
312
|
+
|
313
|
+
promise = promise.then do |result|
|
314
|
+
http_response = result.response
|
315
|
+
status_code = http_response.status
|
316
|
+
response_content = http_response.body
|
317
|
+
unless status_code == 200
|
318
|
+
error_model = JSON.load(response_content)
|
319
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
320
|
+
end
|
321
|
+
|
322
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
323
|
+
|
324
|
+
result
|
325
|
+
end
|
326
|
+
|
327
|
+
promise.execute
|
328
|
+
end
|
329
|
+
|
330
|
+
end
|
331
|
+
end
|