コード例 #1
0
        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");
        }
コード例 #2
0
 internal ComputeArmOperation(Response response)
 {
     _operation = OperationInternal.Succeeded(response);
 }
コード例 #3
0
        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());
        }
コード例 #4
0
 internal KeyVaultArmOperation(Response <T> response)
 {
     _operation = OperationInternal <T> .Succeeded(response.GetRawResponse(), response.Value);
 }
コード例 #5
0
        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());
        }
コード例 #6
0
 internal StoragePoolArmOperation(Response response)
 {
     _operation = OperationInternal.Succeeded(response);
 }
コード例 #7
0
 internal MonitorArmOperation(Response response)
 {
     _operation = OperationInternal.Succeeded(response);
 }
コード例 #8
0
        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");
        }
コード例 #9
0
 internal ReservationsArmOperation(Response response)
 {
     _operation = OperationInternal.Succeeded(response);
 }
コード例 #10
0
 /// <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));
 }