azure_mgmt_storagesync 0.17.0 → 0.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +20 -20
- data/lib/2018-04-02/generated/azure_mgmt_storagesync.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/cloud_endpoints.rb +18 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/azure_entity_resource.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/backup_request.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/check_name_availability_parameters.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/check_name_availability_result.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/cloud_endpoint.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/cloud_endpoint_array.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/cloud_endpoint_create_parameters.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/name_availability_reason.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/operation_display_info.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/operation_display_resource.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/operation_entity.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/operation_entity_list_result.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/post_backup_response.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/post_restore_request.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/pre_restore_request.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/proxy_resource.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/reason.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/recall_action_parameters.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/registered_server.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/registered_server_array.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/registered_server_create_parameters.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/resource.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/resources_move_info.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/restore_file_spec.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/server_endpoint.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/server_endpoint_array.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/server_endpoint_create_parameters.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/server_endpoint_update_parameters.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/storage_sync_api_error.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/storage_sync_error.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/storage_sync_error_details.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/storage_sync_service.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/storage_sync_service_array.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/storage_sync_service_create_parameters.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/storage_sync_service_update_parameters.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/subscription_state.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/sync_group.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/sync_group_array.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/sync_group_create_parameters.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/tracked_resource.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/workflow.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/workflow_array.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/module_definition.rb +0 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/operations.rb +4 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/registered_servers.rb +8 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/server_endpoints.rb +12 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/storage_sync_management_client.rb +1 -1
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/storage_sync_services.rb +14 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/sync_groups.rb +8 -0
- data/lib/2018-04-02/generated/azure_mgmt_storagesync/workflows.rb +4 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/cloud_endpoints.rb +18 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/azure_entity_resource.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/backup_request.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/check_name_availability_parameters.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/check_name_availability_result.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/cloud_endpoint.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/cloud_endpoint_array.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/cloud_endpoint_create_parameters.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/name_availability_reason.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/operation_display_info.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/operation_display_resource.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/operation_entity.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/operation_entity_list_result.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/post_backup_response.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/post_restore_request.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/pre_restore_request.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/proxy_resource.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/reason.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/recall_action_parameters.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/registered_server.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/registered_server_array.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/registered_server_create_parameters.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/resource.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/resources_move_info.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/restore_file_spec.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/server_endpoint.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/server_endpoint_array.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/server_endpoint_create_parameters.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/server_endpoint_update_parameters.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/storage_sync_api_error.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/storage_sync_error.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/storage_sync_error_details.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/storage_sync_service.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/storage_sync_service_array.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/storage_sync_service_create_parameters.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/storage_sync_service_update_parameters.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/subscription_state.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/sync_group.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/sync_group_array.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/sync_group_create_parameters.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/tracked_resource.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/trigger_rollover_request.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/workflow.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/workflow_array.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/module_definition.rb +0 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/operations.rb +4 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/registered_servers.rb +10 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/server_endpoints.rb +12 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/storage_sync_management_client.rb +1 -1
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/storage_sync_services.rb +14 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/sync_groups.rb +8 -0
- data/lib/2018-07-01/generated/azure_mgmt_storagesync/workflows.rb +6 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/cloud_endpoints.rb +18 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/azure_entity_resource.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/backup_request.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/check_name_availability_parameters.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/check_name_availability_result.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/cloud_endpoint.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/cloud_endpoint_array.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/cloud_endpoint_create_parameters.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/name_availability_reason.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/operation_display_info.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/operation_display_resource.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/operation_entity.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/operation_entity_list_result.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/post_backup_response.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/post_restore_request.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/pre_restore_request.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/proxy_resource.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/reason.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/recall_action_parameters.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/registered_server.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/registered_server_array.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/registered_server_create_parameters.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/resource.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/resources_move_info.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/restore_file_spec.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/server_endpoint.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/server_endpoint_array.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/server_endpoint_create_parameters.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/server_endpoint_health.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/server_endpoint_update_parameters.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/storage_sync_api_error.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/storage_sync_error.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/storage_sync_error_details.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/storage_sync_service.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/storage_sync_service_array.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/storage_sync_service_create_parameters.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/storage_sync_service_update_parameters.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/subscription_state.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/sync_group.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/sync_group_array.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/sync_group_create_parameters.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/sync_progress_status.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/sync_session_status.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/tracked_resource.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/trigger_rollover_request.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/workflow.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/workflow_array.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/module_definition.rb +0 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/operations.rb +4 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/registered_servers.rb +10 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/server_endpoints.rb +12 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/storage_sync_management_client.rb +1 -1
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/storage_sync_services.rb +14 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/sync_groups.rb +8 -0
- data/lib/2018-10-01/generated/azure_mgmt_storagesync/workflows.rb +6 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/cloud_endpoints.rb +18 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/azure_entity_resource.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/backup_request.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/check_name_availability_parameters.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/check_name_availability_result.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/cloud_endpoint.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/cloud_endpoint_array.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/cloud_endpoint_create_parameters.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/files_not_syncing_error.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/name_availability_reason.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/operation_display_info.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/operation_display_resource.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/operation_entity.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/operation_entity_list_result.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/post_backup_response.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/post_restore_request.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/pre_restore_request.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/proxy_resource.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/reason.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/recall_action_parameters.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/registered_server.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/registered_server_array.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/registered_server_create_parameters.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/resource.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/resources_move_info.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/restore_file_spec.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/server_endpoint.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/server_endpoint_array.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/server_endpoint_create_parameters.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/server_endpoint_sync_status.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/server_endpoint_update_parameters.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/storage_sync_api_error.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/storage_sync_error.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/storage_sync_error_details.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/storage_sync_service.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/storage_sync_service_array.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/storage_sync_service_create_parameters.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/storage_sync_service_update_parameters.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/subscription_state.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/sync_activity_status.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/sync_group.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/sync_group_array.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/sync_group_create_parameters.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/sync_session_status.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/tracked_resource.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/trigger_rollover_request.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/workflow.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/workflow_array.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/module_definition.rb +0 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/operations.rb +4 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/registered_servers.rb +10 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/server_endpoints.rb +12 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/storage_sync_management_client.rb +1 -1
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/storage_sync_services.rb +14 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/sync_groups.rb +8 -0
- data/lib/2019-02-01/generated/azure_mgmt_storagesync/workflows.rb +6 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync.rb +85 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/cloud_endpoints.rb +1507 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/azure_entity_resource.rb +75 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/backup_request.rb +46 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/change_detection_mode.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/check_name_availability_parameters.rb +61 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/check_name_availability_result.rb +78 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/cloud_endpoint.rb +162 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/cloud_endpoint_array.rb +55 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/cloud_endpoint_create_parameters.rb +106 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/files_not_syncing_error.rb +73 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/name_availability_reason.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/operation_display_info.rb +80 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/operation_display_resource.rb +79 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/operation_entity.rb +69 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/operation_entity_list_result.rb +98 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/operation_status.rb +96 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/post_backup_response.rb +47 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/post_restore_request.rb +132 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/pre_restore_request.rb +144 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/proxy_resource.rb +63 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/reason.rb +19 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/recall_action_parameters.rb +57 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/registered_server.rb +271 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/registered_server_array.rb +55 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/registered_server_create_parameters.rb +161 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/resource.rb +83 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/resources_move_info.rb +65 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/restore_file_spec.rb +58 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/server_endpoint.rb +233 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/server_endpoint_array.rb +55 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/server_endpoint_create_parameters.rb +160 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/server_endpoint_sync_status.rb +180 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/server_endpoint_update_parameters.rb +100 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/storage_sync_api_error.rb +80 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/storage_sync_error.rb +59 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/storage_sync_error_details.rb +68 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/storage_sync_service.rb +110 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/storage_sync_service_array.rb +55 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/storage_sync_service_create_parameters.rb +85 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/storage_sync_service_update_parameters.rb +66 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/subscription_state.rb +70 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/sync_activity_status.rb +107 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/sync_group.rb +85 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/sync_group_array.rb +55 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/sync_group_create_parameters.rb +73 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/sync_session_status.rb +131 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/tracked_resource.rb +92 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/trigger_change_detection_parameters.rb +81 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/trigger_rollover_request.rb +46 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/workflow.rb +119 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/workflow_array.rb +55 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/module_definition.rb +9 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/operation_status_operations.rb +135 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/operations.rb +220 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/registered_servers.rb +711 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/server_endpoints.rb +917 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/storage_sync_management_client.rb +159 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/storage_sync_services.rb +753 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/sync_groups.rb +457 -0
- data/lib/2019-03-01/generated/azure_mgmt_storagesync/workflows.rb +337 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync.rb +88 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/cloud_endpoints.rb +1507 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/azure_entity_resource.rb +75 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/backup_request.rb +46 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/change_detection_mode.rb +16 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/check_name_availability_parameters.rb +61 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/check_name_availability_result.rb +78 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/cloud_endpoint.rb +162 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/cloud_endpoint_array.rb +55 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/cloud_endpoint_create_parameters.rb +106 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/name_availability_reason.rb +16 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/operation_display_info.rb +80 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/operation_display_resource.rb +79 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/operation_entity.rb +69 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/operation_entity_list_result.rb +98 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/operation_status.rb +96 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/post_backup_response.rb +47 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/post_restore_request.rb +132 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/pre_restore_request.rb +144 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/proxy_resource.rb +63 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/reason.rb +19 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/recall_action_parameters.rb +57 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/registered_server.rb +271 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/registered_server_array.rb +55 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/registered_server_create_parameters.rb +161 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/resource.rb +83 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/resources_move_info.rb +65 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/restore_file_spec.rb +57 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint.rb +261 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint_array.rb +55 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint_cloud_tiering_status.rb +84 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint_create_parameters.rb +160 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint_files_not_syncing_error.rb +79 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint_recall_error.rb +62 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint_recall_status.rb +83 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint_sync_activity_status.rb +122 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint_sync_session_status.rb +138 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint_sync_status.rb +183 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint_update_parameters.rb +100 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/storage_sync_api_error.rb +80 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/storage_sync_error.rb +59 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/storage_sync_error_details.rb +68 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/storage_sync_service.rb +110 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/storage_sync_service_array.rb +55 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/storage_sync_service_create_parameters.rb +85 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/storage_sync_service_update_parameters.rb +66 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/subscription_state.rb +70 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/sync_group.rb +86 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/sync_group_array.rb +55 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/sync_group_create_parameters.rb +73 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/tracked_resource.rb +92 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/trigger_change_detection_parameters.rb +81 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/trigger_rollover_request.rb +46 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/workflow.rb +119 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/workflow_array.rb +55 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/module_definition.rb +9 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/operation_status_operations.rb +135 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/operations.rb +220 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/registered_servers.rb +711 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/server_endpoints.rb +917 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/storage_sync_management_client.rb +159 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/storage_sync_services.rb +753 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/sync_groups.rb +457 -0
- data/lib/2019-06-01/generated/azure_mgmt_storagesync/workflows.rb +337 -0
- data/lib/azure_mgmt_storagesync.rb +3 -1
- data/lib/module_definition.rb +7 -7
- data/lib/profiles/latest/modules/storagesync_profile_module.rb +144 -118
- data/lib/profiles/latest/storagesync_latest_profile_client.rb +40 -40
- data/lib/profiles/latest/storagesync_module_definition.rb +8 -8
- data/lib/version.rb +1 -1
- metadata +130 -6
@@ -0,0 +1,337 @@
|
|
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::V2019_06_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
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
111
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
112
|
+
# Deserialize Response
|
113
|
+
if status_code == 200
|
114
|
+
begin
|
115
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
116
|
+
result_mapper = Azure::StorageSync::Mgmt::V2019_06_01::Models::WorkflowArray.mapper()
|
117
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
118
|
+
rescue Exception => e
|
119
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
123
|
+
result
|
124
|
+
end
|
125
|
+
|
126
|
+
promise.execute
|
127
|
+
end
|
128
|
+
|
129
|
+
#
|
130
|
+
# Get Workflows resource
|
131
|
+
#
|
132
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
133
|
+
# is case insensitive.
|
134
|
+
# @param storage_sync_service_name [String] Name of Storage Sync Service
|
135
|
+
# resource.
|
136
|
+
# @param workflow_id [String] workflow Id
|
137
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
138
|
+
# will be added to the HTTP request.
|
139
|
+
#
|
140
|
+
# @return [Workflow] operation results.
|
141
|
+
#
|
142
|
+
def get(resource_group_name, storage_sync_service_name, workflow_id, custom_headers:nil)
|
143
|
+
response = get_async(resource_group_name, storage_sync_service_name, workflow_id, custom_headers:custom_headers).value!
|
144
|
+
response.body unless response.nil?
|
145
|
+
end
|
146
|
+
|
147
|
+
#
|
148
|
+
# Get Workflows resource
|
149
|
+
#
|
150
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
151
|
+
# is case insensitive.
|
152
|
+
# @param storage_sync_service_name [String] Name of Storage Sync Service
|
153
|
+
# resource.
|
154
|
+
# @param workflow_id [String] workflow Id
|
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 get_with_http_info(resource_group_name, storage_sync_service_name, workflow_id, custom_headers:nil)
|
161
|
+
get_async(resource_group_name, storage_sync_service_name, workflow_id, custom_headers:custom_headers).value!
|
162
|
+
end
|
163
|
+
|
164
|
+
#
|
165
|
+
# Get Workflows resource
|
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 workflow_id [String] workflow Id
|
172
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
173
|
+
# to the HTTP request.
|
174
|
+
#
|
175
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
176
|
+
#
|
177
|
+
def get_async(resource_group_name, storage_sync_service_name, workflow_id, custom_headers:nil)
|
178
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
179
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
180
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
181
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
182
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
183
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
184
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
185
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
186
|
+
fail ArgumentError, 'storage_sync_service_name is nil' if storage_sync_service_name.nil?
|
187
|
+
fail ArgumentError, 'workflow_id is nil' if workflow_id.nil?
|
188
|
+
|
189
|
+
|
190
|
+
request_headers = {}
|
191
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
192
|
+
|
193
|
+
# Set Headers
|
194
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
195
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
196
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/workflows/{workflowId}'
|
197
|
+
|
198
|
+
request_url = @base_url || @client.base_url
|
199
|
+
|
200
|
+
options = {
|
201
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
202
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'storageSyncServiceName' => storage_sync_service_name,'workflowId' => workflow_id},
|
203
|
+
query_params: {'api-version' => @client.api_version},
|
204
|
+
headers: request_headers.merge(custom_headers || {}),
|
205
|
+
base_url: request_url
|
206
|
+
}
|
207
|
+
promise = @client.make_request_async(:get, path_template, options)
|
208
|
+
|
209
|
+
promise = promise.then do |result|
|
210
|
+
http_response = result.response
|
211
|
+
status_code = http_response.status
|
212
|
+
response_content = http_response.body
|
213
|
+
unless status_code == 200
|
214
|
+
error_model = JSON.load(response_content)
|
215
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
216
|
+
end
|
217
|
+
|
218
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
219
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
220
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
221
|
+
# Deserialize Response
|
222
|
+
if status_code == 200
|
223
|
+
begin
|
224
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
225
|
+
result_mapper = Azure::StorageSync::Mgmt::V2019_06_01::Models::Workflow.mapper()
|
226
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
227
|
+
rescue Exception => e
|
228
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
229
|
+
end
|
230
|
+
end
|
231
|
+
|
232
|
+
result
|
233
|
+
end
|
234
|
+
|
235
|
+
promise.execute
|
236
|
+
end
|
237
|
+
|
238
|
+
#
|
239
|
+
# Abort the given workflow.
|
240
|
+
#
|
241
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
242
|
+
# is case insensitive.
|
243
|
+
# @param storage_sync_service_name [String] Name of Storage Sync Service
|
244
|
+
# resource.
|
245
|
+
# @param workflow_id [String] workflow Id
|
246
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
247
|
+
# will be added to the HTTP request.
|
248
|
+
#
|
249
|
+
#
|
250
|
+
def abort(resource_group_name, storage_sync_service_name, workflow_id, custom_headers:nil)
|
251
|
+
response = abort_async(resource_group_name, storage_sync_service_name, workflow_id, custom_headers:custom_headers).value!
|
252
|
+
nil
|
253
|
+
end
|
254
|
+
|
255
|
+
#
|
256
|
+
# Abort the given workflow.
|
257
|
+
#
|
258
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
259
|
+
# is case insensitive.
|
260
|
+
# @param storage_sync_service_name [String] Name of Storage Sync Service
|
261
|
+
# resource.
|
262
|
+
# @param workflow_id [String] workflow Id
|
263
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
264
|
+
# will be added to the HTTP request.
|
265
|
+
#
|
266
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
267
|
+
#
|
268
|
+
def abort_with_http_info(resource_group_name, storage_sync_service_name, workflow_id, custom_headers:nil)
|
269
|
+
abort_async(resource_group_name, storage_sync_service_name, workflow_id, custom_headers:custom_headers).value!
|
270
|
+
end
|
271
|
+
|
272
|
+
#
|
273
|
+
# Abort the given workflow.
|
274
|
+
#
|
275
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
276
|
+
# is case insensitive.
|
277
|
+
# @param storage_sync_service_name [String] Name of Storage Sync Service
|
278
|
+
# resource.
|
279
|
+
# @param workflow_id [String] workflow Id
|
280
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
281
|
+
# to the HTTP request.
|
282
|
+
#
|
283
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
284
|
+
#
|
285
|
+
def abort_async(resource_group_name, storage_sync_service_name, workflow_id, custom_headers:nil)
|
286
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
287
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
288
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
289
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
290
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
291
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
292
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
293
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
294
|
+
fail ArgumentError, 'storage_sync_service_name is nil' if storage_sync_service_name.nil?
|
295
|
+
fail ArgumentError, 'workflow_id is nil' if workflow_id.nil?
|
296
|
+
|
297
|
+
|
298
|
+
request_headers = {}
|
299
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
300
|
+
|
301
|
+
# Set Headers
|
302
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
303
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
304
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/workflows/{workflowId}/abort'
|
305
|
+
|
306
|
+
request_url = @base_url || @client.base_url
|
307
|
+
|
308
|
+
options = {
|
309
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
310
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'storageSyncServiceName' => storage_sync_service_name,'workflowId' => workflow_id},
|
311
|
+
query_params: {'api-version' => @client.api_version},
|
312
|
+
headers: request_headers.merge(custom_headers || {}),
|
313
|
+
base_url: request_url
|
314
|
+
}
|
315
|
+
promise = @client.make_request_async(:post, path_template, options)
|
316
|
+
|
317
|
+
promise = promise.then do |result|
|
318
|
+
http_response = result.response
|
319
|
+
status_code = http_response.status
|
320
|
+
response_content = http_response.body
|
321
|
+
unless status_code == 200
|
322
|
+
error_model = JSON.load(response_content)
|
323
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
324
|
+
end
|
325
|
+
|
326
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
327
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
328
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
329
|
+
|
330
|
+
result
|
331
|
+
end
|
332
|
+
|
333
|
+
promise.execute
|
334
|
+
end
|
335
|
+
|
336
|
+
end
|
337
|
+
end
|
@@ -3,7 +3,9 @@
|
|
3
3
|
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
4
|
|
5
5
|
require '2018-04-02/generated/azure_mgmt_storagesync'
|
6
|
-
require '2019-02-01/generated/azure_mgmt_storagesync'
|
7
6
|
require '2018-07-01/generated/azure_mgmt_storagesync'
|
8
7
|
require '2018-10-01/generated/azure_mgmt_storagesync'
|
8
|
+
require '2019-02-01/generated/azure_mgmt_storagesync'
|
9
|
+
require '2019-03-01/generated/azure_mgmt_storagesync'
|
10
|
+
require '2019-06-01/generated/azure_mgmt_storagesync'
|
9
11
|
require 'profiles/latest/storagesync_latest_profile_client'
|
data/lib/module_definition.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
-
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
|
-
|
5
|
-
module Azure end
|
6
|
-
module Azure::StorageSync end
|
7
|
-
module Azure::StorageSync::Mgmt end
|
1
|
+
# encoding: utf-8
|
2
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
|
+
|
5
|
+
module Azure end
|
6
|
+
module Azure::StorageSync end
|
7
|
+
module Azure::StorageSync::Mgmt end
|
@@ -6,69 +6,76 @@ require 'azure_mgmt_storagesync'
|
|
6
6
|
|
7
7
|
module Azure::StorageSync::Profiles::Latest
|
8
8
|
module Mgmt
|
9
|
-
Operations = Azure::StorageSync::Mgmt::
|
10
|
-
StorageSyncServices = Azure::StorageSync::Mgmt::
|
11
|
-
SyncGroups = Azure::StorageSync::Mgmt::
|
12
|
-
CloudEndpoints = Azure::StorageSync::Mgmt::
|
13
|
-
ServerEndpoints = Azure::StorageSync::Mgmt::
|
14
|
-
RegisteredServers = Azure::StorageSync::Mgmt::
|
15
|
-
Workflows = Azure::StorageSync::Mgmt::
|
9
|
+
Operations = Azure::StorageSync::Mgmt::V2019_06_01::Operations
|
10
|
+
StorageSyncServices = Azure::StorageSync::Mgmt::V2019_06_01::StorageSyncServices
|
11
|
+
SyncGroups = Azure::StorageSync::Mgmt::V2019_06_01::SyncGroups
|
12
|
+
CloudEndpoints = Azure::StorageSync::Mgmt::V2019_06_01::CloudEndpoints
|
13
|
+
ServerEndpoints = Azure::StorageSync::Mgmt::V2019_06_01::ServerEndpoints
|
14
|
+
RegisteredServers = Azure::StorageSync::Mgmt::V2019_06_01::RegisteredServers
|
15
|
+
Workflows = Azure::StorageSync::Mgmt::V2019_06_01::Workflows
|
16
|
+
OperationStatusOperations = Azure::StorageSync::Mgmt::V2019_06_01::OperationStatusOperations
|
16
17
|
|
17
18
|
module Models
|
18
|
-
ResourcesMoveInfo = Azure::StorageSync::Mgmt::
|
19
|
-
StorageSyncErrorDetails = Azure::StorageSync::Mgmt::
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
SubscriptionState = Azure::StorageSync::Mgmt::
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
19
|
+
ResourcesMoveInfo = Azure::StorageSync::Mgmt::V2019_06_01::Models::ResourcesMoveInfo
|
20
|
+
StorageSyncErrorDetails = Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncErrorDetails
|
21
|
+
Resource = Azure::StorageSync::Mgmt::V2019_06_01::Models::Resource
|
22
|
+
StorageSyncError = Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncError
|
23
|
+
StorageSyncApiError = Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncApiError
|
24
|
+
ServerEndpointRecallError = Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointRecallError
|
25
|
+
OperationStatus = Azure::StorageSync::Mgmt::V2019_06_01::Models::OperationStatus
|
26
|
+
ServerEndpointRecallStatus = Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointRecallStatus
|
27
|
+
TriggerChangeDetectionParameters = Azure::StorageSync::Mgmt::V2019_06_01::Models::TriggerChangeDetectionParameters
|
28
|
+
SyncGroupArray = Azure::StorageSync::Mgmt::V2019_06_01::Models::SyncGroupArray
|
29
|
+
StorageSyncServiceCreateParameters = Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncServiceCreateParameters
|
30
|
+
SubscriptionState = Azure::StorageSync::Mgmt::V2019_06_01::Models::SubscriptionState
|
31
|
+
RegisteredServerArray = Azure::StorageSync::Mgmt::V2019_06_01::Models::RegisteredServerArray
|
32
|
+
StorageSyncServiceArray = Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncServiceArray
|
33
|
+
TriggerRolloverRequest = Azure::StorageSync::Mgmt::V2019_06_01::Models::TriggerRolloverRequest
|
34
|
+
ServerEndpointUpdateParameters = Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointUpdateParameters
|
35
|
+
OperationDisplayInfo = Azure::StorageSync::Mgmt::V2019_06_01::Models::OperationDisplayInfo
|
36
|
+
ServerEndpointSyncSessionStatus = Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointSyncSessionStatus
|
37
|
+
OperationEntity = Azure::StorageSync::Mgmt::V2019_06_01::Models::OperationEntity
|
38
|
+
ServerEndpointSyncStatus = Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointSyncStatus
|
39
|
+
OperationEntityListResult = Azure::StorageSync::Mgmt::V2019_06_01::Models::OperationEntityListResult
|
40
|
+
StorageSyncServiceUpdateParameters = Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncServiceUpdateParameters
|
41
|
+
OperationDisplayResource = Azure::StorageSync::Mgmt::V2019_06_01::Models::OperationDisplayResource
|
42
|
+
WorkflowArray = Azure::StorageSync::Mgmt::V2019_06_01::Models::WorkflowArray
|
43
|
+
CheckNameAvailabilityParameters = Azure::StorageSync::Mgmt::V2019_06_01::Models::CheckNameAvailabilityParameters
|
44
|
+
CloudEndpointArray = Azure::StorageSync::Mgmt::V2019_06_01::Models::CloudEndpointArray
|
45
|
+
CheckNameAvailabilityResult = Azure::StorageSync::Mgmt::V2019_06_01::Models::CheckNameAvailabilityResult
|
46
|
+
ServerEndpointSyncActivityStatus = Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointSyncActivityStatus
|
47
|
+
RestoreFileSpec = Azure::StorageSync::Mgmt::V2019_06_01::Models::RestoreFileSpec
|
48
|
+
RecallActionParameters = Azure::StorageSync::Mgmt::V2019_06_01::Models::RecallActionParameters
|
49
|
+
PostRestoreRequest = Azure::StorageSync::Mgmt::V2019_06_01::Models::PostRestoreRequest
|
50
|
+
ServerEndpointFilesNotSyncingError = Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointFilesNotSyncingError
|
51
|
+
PreRestoreRequest = Azure::StorageSync::Mgmt::V2019_06_01::Models::PreRestoreRequest
|
52
|
+
ServerEndpointArray = Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointArray
|
53
|
+
BackupRequest = Azure::StorageSync::Mgmt::V2019_06_01::Models::BackupRequest
|
54
|
+
ServerEndpointCloudTieringStatus = Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointCloudTieringStatus
|
55
|
+
PostBackupResponse = Azure::StorageSync::Mgmt::V2019_06_01::Models::PostBackupResponse
|
56
|
+
StorageSyncService = Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncService
|
57
|
+
ProxyResource = Azure::StorageSync::Mgmt::V2019_06_01::Models::ProxyResource
|
58
|
+
SyncGroup = Azure::StorageSync::Mgmt::V2019_06_01::Models::SyncGroup
|
59
|
+
CloudEndpoint = Azure::StorageSync::Mgmt::V2019_06_01::Models::CloudEndpoint
|
60
|
+
SyncGroupCreateParameters = Azure::StorageSync::Mgmt::V2019_06_01::Models::SyncGroupCreateParameters
|
61
|
+
CloudEndpointCreateParameters = Azure::StorageSync::Mgmt::V2019_06_01::Models::CloudEndpointCreateParameters
|
62
|
+
ServerEndpointCreateParameters = Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointCreateParameters
|
63
|
+
RegisteredServerCreateParameters = Azure::StorageSync::Mgmt::V2019_06_01::Models::RegisteredServerCreateParameters
|
64
|
+
ServerEndpoint = Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpoint
|
65
|
+
RegisteredServer = Azure::StorageSync::Mgmt::V2019_06_01::Models::RegisteredServer
|
66
|
+
Workflow = Azure::StorageSync::Mgmt::V2019_06_01::Models::Workflow
|
67
|
+
TrackedResource = Azure::StorageSync::Mgmt::V2019_06_01::Models::TrackedResource
|
68
|
+
AzureEntityResource = Azure::StorageSync::Mgmt::V2019_06_01::Models::AzureEntityResource
|
69
|
+
Reason = Azure::StorageSync::Mgmt::V2019_06_01::Models::Reason
|
70
|
+
ChangeDetectionMode = Azure::StorageSync::Mgmt::V2019_06_01::Models::ChangeDetectionMode
|
71
|
+
NameAvailabilityReason = Azure::StorageSync::Mgmt::V2019_06_01::Models::NameAvailabilityReason
|
65
72
|
end
|
66
73
|
|
67
74
|
#
|
68
75
|
# StorageSyncManagementClass
|
69
76
|
#
|
70
77
|
class StorageSyncManagementClass
|
71
|
-
attr_reader :operations, :storage_sync_services, :sync_groups, :cloud_endpoints, :server_endpoints, :registered_servers, :workflows, :configurable, :base_url, :options, :model_classes
|
78
|
+
attr_reader :operations, :storage_sync_services, :sync_groups, :cloud_endpoints, :server_endpoints, :registered_servers, :workflows, :operation_status_operations, :configurable, :base_url, :options, :model_classes
|
72
79
|
|
73
80
|
def initialize(options = {})
|
74
81
|
if options.is_a?(Hash) && options.length == 0
|
@@ -83,7 +90,7 @@ module Azure::StorageSync::Profiles::Latest
|
|
83
90
|
@base_url = options[:base_url].nil? ? nil:options[:base_url]
|
84
91
|
@options = options[:options].nil? ? nil:options[:options]
|
85
92
|
|
86
|
-
@client_0 = Azure::StorageSync::Mgmt::
|
93
|
+
@client_0 = Azure::StorageSync::Mgmt::V2019_06_01::StorageSyncManagementClient.new(configurable.credentials, base_url, options)
|
87
94
|
if(@client_0.respond_to?(:subscription_id))
|
88
95
|
@client_0.subscription_id = configurable.subscription_id
|
89
96
|
end
|
@@ -95,6 +102,7 @@ module Azure::StorageSync::Profiles::Latest
|
|
95
102
|
@server_endpoints = @client_0.server_endpoints
|
96
103
|
@registered_servers = @client_0.registered_servers
|
97
104
|
@workflows = @client_0.workflows
|
105
|
+
@operation_status_operations = @client_0.operation_status_operations
|
98
106
|
|
99
107
|
@model_classes = ModelClasses.new
|
100
108
|
end
|
@@ -116,145 +124,163 @@ module Azure::StorageSync::Profiles::Latest
|
|
116
124
|
|
117
125
|
class ModelClasses
|
118
126
|
def resources_move_info
|
119
|
-
Azure::StorageSync::Mgmt::
|
127
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::ResourcesMoveInfo
|
120
128
|
end
|
121
129
|
def storage_sync_error_details
|
122
|
-
Azure::StorageSync::Mgmt::
|
130
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncErrorDetails
|
131
|
+
end
|
132
|
+
def resource
|
133
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::Resource
|
123
134
|
end
|
124
135
|
def storage_sync_error
|
125
|
-
Azure::StorageSync::Mgmt::
|
136
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncError
|
126
137
|
end
|
127
|
-
def
|
128
|
-
Azure::StorageSync::Mgmt::
|
138
|
+
def storage_sync_api_error
|
139
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncApiError
|
129
140
|
end
|
130
|
-
def
|
131
|
-
Azure::StorageSync::Mgmt::
|
141
|
+
def server_endpoint_recall_error
|
142
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointRecallError
|
132
143
|
end
|
133
|
-
def
|
134
|
-
Azure::StorageSync::Mgmt::
|
144
|
+
def operation_status
|
145
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::OperationStatus
|
135
146
|
end
|
136
|
-
def
|
137
|
-
Azure::StorageSync::Mgmt::
|
147
|
+
def server_endpoint_recall_status
|
148
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointRecallStatus
|
138
149
|
end
|
139
|
-
def
|
140
|
-
Azure::StorageSync::Mgmt::
|
150
|
+
def trigger_change_detection_parameters
|
151
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::TriggerChangeDetectionParameters
|
152
|
+
end
|
153
|
+
def sync_group_array
|
154
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::SyncGroupArray
|
141
155
|
end
|
142
156
|
def storage_sync_service_create_parameters
|
143
|
-
Azure::StorageSync::Mgmt::
|
157
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncServiceCreateParameters
|
144
158
|
end
|
145
|
-
def
|
146
|
-
Azure::StorageSync::Mgmt::
|
159
|
+
def subscription_state
|
160
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::SubscriptionState
|
147
161
|
end
|
148
162
|
def registered_server_array
|
149
|
-
Azure::StorageSync::Mgmt::
|
163
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::RegisteredServerArray
|
150
164
|
end
|
151
|
-
def
|
152
|
-
Azure::StorageSync::Mgmt::
|
165
|
+
def storage_sync_service_array
|
166
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncServiceArray
|
153
167
|
end
|
154
168
|
def trigger_rollover_request
|
155
|
-
Azure::StorageSync::Mgmt::
|
156
|
-
end
|
157
|
-
def post_backup_response
|
158
|
-
Azure::StorageSync::Mgmt::V2019_02_01::Models::PostBackupResponse
|
169
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::TriggerRolloverRequest
|
159
170
|
end
|
160
171
|
def server_endpoint_update_parameters
|
161
|
-
Azure::StorageSync::Mgmt::
|
172
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointUpdateParameters
|
173
|
+
end
|
174
|
+
def operation_display_info
|
175
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::OperationDisplayInfo
|
176
|
+
end
|
177
|
+
def server_endpoint_sync_session_status
|
178
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointSyncSessionStatus
|
162
179
|
end
|
163
180
|
def operation_entity
|
164
|
-
Azure::StorageSync::Mgmt::
|
181
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::OperationEntity
|
165
182
|
end
|
166
|
-
def
|
167
|
-
Azure::StorageSync::Mgmt::
|
183
|
+
def server_endpoint_sync_status
|
184
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointSyncStatus
|
168
185
|
end
|
169
186
|
def operation_entity_list_result
|
170
|
-
Azure::StorageSync::Mgmt::
|
187
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::OperationEntityListResult
|
171
188
|
end
|
172
|
-
def
|
173
|
-
Azure::StorageSync::Mgmt::
|
189
|
+
def storage_sync_service_update_parameters
|
190
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncServiceUpdateParameters
|
174
191
|
end
|
175
192
|
def operation_display_resource
|
176
|
-
Azure::StorageSync::Mgmt::
|
193
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::OperationDisplayResource
|
177
194
|
end
|
178
195
|
def workflow_array
|
179
|
-
Azure::StorageSync::Mgmt::
|
196
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::WorkflowArray
|
180
197
|
end
|
181
198
|
def check_name_availability_parameters
|
182
|
-
Azure::StorageSync::Mgmt::
|
199
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::CheckNameAvailabilityParameters
|
183
200
|
end
|
184
201
|
def cloud_endpoint_array
|
185
|
-
Azure::StorageSync::Mgmt::
|
202
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::CloudEndpointArray
|
186
203
|
end
|
187
204
|
def check_name_availability_result
|
188
|
-
Azure::StorageSync::Mgmt::
|
205
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::CheckNameAvailabilityResult
|
189
206
|
end
|
190
|
-
def
|
191
|
-
Azure::StorageSync::Mgmt::
|
207
|
+
def server_endpoint_sync_activity_status
|
208
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointSyncActivityStatus
|
192
209
|
end
|
193
210
|
def restore_file_spec
|
194
|
-
Azure::StorageSync::Mgmt::
|
211
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::RestoreFileSpec
|
195
212
|
end
|
196
|
-
def
|
197
|
-
Azure::StorageSync::Mgmt::
|
213
|
+
def recall_action_parameters
|
214
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::RecallActionParameters
|
198
215
|
end
|
199
216
|
def post_restore_request
|
200
|
-
Azure::StorageSync::Mgmt::
|
217
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::PostRestoreRequest
|
201
218
|
end
|
202
|
-
def
|
203
|
-
Azure::StorageSync::Mgmt::
|
219
|
+
def server_endpoint_files_not_syncing_error
|
220
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointFilesNotSyncingError
|
204
221
|
end
|
205
222
|
def pre_restore_request
|
206
|
-
Azure::StorageSync::Mgmt::
|
223
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::PreRestoreRequest
|
207
224
|
end
|
208
|
-
def
|
209
|
-
Azure::StorageSync::Mgmt::
|
225
|
+
def server_endpoint_array
|
226
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointArray
|
210
227
|
end
|
211
228
|
def backup_request
|
212
|
-
Azure::StorageSync::Mgmt::
|
229
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::BackupRequest
|
230
|
+
end
|
231
|
+
def server_endpoint_cloud_tiering_status
|
232
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointCloudTieringStatus
|
233
|
+
end
|
234
|
+
def post_backup_response
|
235
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::PostBackupResponse
|
213
236
|
end
|
214
237
|
def storage_sync_service
|
215
|
-
Azure::StorageSync::Mgmt::
|
238
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncService
|
216
239
|
end
|
217
240
|
def proxy_resource
|
218
|
-
Azure::StorageSync::Mgmt::
|
241
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::ProxyResource
|
219
242
|
end
|
220
243
|
def sync_group
|
221
|
-
Azure::StorageSync::Mgmt::
|
244
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::SyncGroup
|
222
245
|
end
|
223
246
|
def cloud_endpoint
|
224
|
-
Azure::StorageSync::Mgmt::
|
247
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::CloudEndpoint
|
225
248
|
end
|
226
249
|
def sync_group_create_parameters
|
227
|
-
Azure::StorageSync::Mgmt::
|
250
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::SyncGroupCreateParameters
|
228
251
|
end
|
229
252
|
def cloud_endpoint_create_parameters
|
230
|
-
Azure::StorageSync::Mgmt::
|
253
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::CloudEndpointCreateParameters
|
231
254
|
end
|
232
255
|
def server_endpoint_create_parameters
|
233
|
-
Azure::StorageSync::Mgmt::
|
256
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointCreateParameters
|
234
257
|
end
|
235
258
|
def registered_server_create_parameters
|
236
|
-
Azure::StorageSync::Mgmt::
|
259
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::RegisteredServerCreateParameters
|
237
260
|
end
|
238
261
|
def server_endpoint
|
239
|
-
Azure::StorageSync::Mgmt::
|
262
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpoint
|
240
263
|
end
|
241
264
|
def registered_server
|
242
|
-
Azure::StorageSync::Mgmt::
|
265
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::RegisteredServer
|
243
266
|
end
|
244
267
|
def workflow
|
245
|
-
Azure::StorageSync::Mgmt::
|
268
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::Workflow
|
246
269
|
end
|
247
270
|
def tracked_resource
|
248
|
-
Azure::StorageSync::Mgmt::
|
271
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::TrackedResource
|
249
272
|
end
|
250
273
|
def azure_entity_resource
|
251
|
-
Azure::StorageSync::Mgmt::
|
274
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::AzureEntityResource
|
252
275
|
end
|
253
276
|
def reason
|
254
|
-
Azure::StorageSync::Mgmt::
|
277
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::Reason
|
278
|
+
end
|
279
|
+
def change_detection_mode
|
280
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::ChangeDetectionMode
|
255
281
|
end
|
256
282
|
def name_availability_reason
|
257
|
-
Azure::StorageSync::Mgmt::
|
283
|
+
Azure::StorageSync::Mgmt::V2019_06_01::Models::NameAvailabilityReason
|
258
284
|
end
|
259
285
|
end
|
260
286
|
end
|