internal TriggerStopTriggerOperation(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, "TriggerStopTriggerOperation"); }
internal ComputeArmOperation(Response response) { _operation = OperationInternal.Succeeded(response); }
internal ComputeArmOperation(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, "ComputeArmOperation", fallbackStrategy: new ExponentialDelayStrategy()); }
internal KeyVaultArmOperation(Response <T> response) { _operation = OperationInternal <T> .Succeeded(response.GetRawResponse(), response.Value); }
internal KeyVaultArmOperation(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, "KeyVaultArmOperation", fallbackStrategy: new ExponentialDelayStrategy()); }
internal StoragePoolArmOperation(Response response) { _operation = OperationInternal.Succeeded(response); }
internal MonitorArmOperation(Response response) { _operation = OperationInternal.Succeeded(response); }
internal TriggerSubscribeTriggerToEventsOperation(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, "TriggerSubscribeTriggerToEventsOperation"); }
internal ReservationsArmOperation(Response response) { _operation = OperationInternal.Succeeded(response); }
/// <summary> /// Initializes a previously run operation with the given <paramref name="transactionId"/>. /// </summary> /// <param name="client"> Tje <see cref="ConfidentialLedgerClient"/>. </param> /// <param name="transactionId"> The transaction id from a previous call to /// <see cref="ConfidentialLedgerClient.PostLedgerEntry(Azure.Core.RequestContent,string,bool,Azure.RequestContext)"/>. </param> public PostLedgerEntryOperation(ConfidentialLedgerClient client, string transactionId) { _client = client; Id = transactionId; _operationInternal = new(_client.clientDiagnostics, this, rawResponse : null, nameof(PostLedgerEntryOperation)); }