Ejemplo n.º 1
0
        internal SearchAvailablePhoneNumbersOperation(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Request request, Response response)
        {
            var nextLinkOperation = NextLinkOperationImplementation.Create(this, pipeline, request.Method, request.Uri.ToUri(), response, OperationFinalStateVia.Location);

            _operation = new OperationInternal <PhoneNumberSearchResult>(clientDiagnostics, nextLinkOperation, response, "SearchAvailablePhoneNumbersOperation");

            if (response.Headers.TryGetValue <string>("operation-id", out var id))
            {
                Id = id;
            }
        }
Ejemplo n.º 2
0
        internal DesktopVirtualizationArmOperation(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Request request, Response response, OperationFinalStateVia finalStateVia)
        {
            var nextLinkOperation = NextLinkOperationImplementation.Create(pipeline, request.Method, request.Uri.ToUri(), response, finalStateVia);

            _operation = new OperationInternal(clientDiagnostics, nextLinkOperation, response, "DesktopVirtualizationArmOperation", fallbackStrategy: new ExponentialDelayStrategy());
        }
Ejemplo n.º 3
0
        internal SparkJobDefinitionDeleteSparkJobDefinitionOperation(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Request request, Response response)
        {
            IOperation nextLinkOperation = NextLinkOperationImplementation.Create(pipeline, request.Method, request.Uri.ToUri(), response, OperationFinalStateVia.Location);

            _operation = new OperationInternal(clientDiagnostics, nextLinkOperation, response, "SparkJobDefinitionDeleteSparkJobDefinitionOperation");
        }
Ejemplo n.º 4
0
        internal WorkloadsArmOperation(IOperationSource <T> source, ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Request request, Response response, OperationFinalStateVia finalStateVia)
        {
            var nextLinkOperation = NextLinkOperationImplementation.Create(source, pipeline, request.Method, request.Uri.ToUri(), response, finalStateVia);

            _operation = new OperationInternal <T>(clientDiagnostics, nextLinkOperation, response, "WorkloadsArmOperation", fallbackStrategy: new ExponentialDelayStrategy());
        }
Ejemplo n.º 5
0
        internal PipelineCreateOrUpdatePipelineOperation(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Request request, Response response)
        {
            IOperation <PipelineResource> nextLinkOperation = NextLinkOperationImplementation.Create(this, pipeline, request.Method, request.Uri.ToUri(), response, OperationFinalStateVia.Location);

            _operation = new OperationInternal <PipelineResource>(clientDiagnostics, nextLinkOperation, response, "PipelineCreateOrUpdatePipelineOperation");
        }
Ejemplo n.º 6
0
        internal LinkedServiceRenameLinkedServiceOperation(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Request request, Response response)
        {
            IOperation nextLinkOperation = NextLinkOperationImplementation.Create(pipeline, request.Method, request.Uri.ToUri(), response, OperationFinalStateVia.Location);

            _operation = new OperationInternal(clientDiagnostics, nextLinkOperation, response, "LinkedServiceRenameLinkedServiceOperation");
        }
Ejemplo n.º 7
0
        internal TriggerUnsubscribeTriggerFromEventsOperation(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Request request, Response response)
        {
            IOperation <TriggerSubscriptionOperationStatus> nextLinkOperation = NextLinkOperationImplementation.Create(this, pipeline, request.Method, request.Uri.ToUri(), response, OperationFinalStateVia.Location);

            _operation = new OperationInternal <TriggerSubscriptionOperationStatus>(clientDiagnostics, nextLinkOperation, response, "TriggerUnsubscribeTriggerFromEventsOperation");
        }
Ejemplo n.º 8
0
        internal DataFlowDebugSessionCreateDataFlowDebugSessionOperation(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Request request, Response response)
        {
            IOperation <CreateDataFlowDebugSessionResponse> nextLinkOperation = NextLinkOperationImplementation.Create(this, pipeline, request.Method, request.Uri.ToUri(), response, OperationFinalStateVia.Location);

            _operation = new OperationInternal <CreateDataFlowDebugSessionResponse>(clientDiagnostics, nextLinkOperation, response, "DataFlowDebugSessionCreateDataFlowDebugSessionOperation");
        }