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; } }
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()); }
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"); }
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()); }
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"); }
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"); }
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"); }
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"); }