Implemented interface member:
property
Client
Microsoft.DotNet.Helix.Client.IServiceOperations<T>.Client
1 write to Client
Microsoft.DotNet.Helix.Client (1)
generated-code\Job.cs (1)
68
Client
= client ?? throw new ArgumentNullException(nameof(client));
60 references to Client
Microsoft.DotNet.Helix.Client (60)
generated-code\Job.cs (60)
101
var _baseUri =
Client
.Options.BaseUri;
108
_url.AppendQuery("api-version",
Client
.Serialize(apiVersion));
111
using (var _req =
Client
.Pipeline.CreateRequest())
123
_req.Content = RequestContent.Create(Encoding.UTF8.GetBytes(
Client
.Serialize(body)));
127
using (var _res = await
Client
.SendAsync(_req, cancellationToken).ConfigureAwait(false))
142
var _body =
Client
.Deserialize<Models.JobCreationResult>(_content);
164
Client
.Deserialize<Models.ApiError>(content)
168
Client
.OnFailedRequest(ex);
187
var _baseUri =
Client
.Options.BaseUri;
196
_url.AppendQuery("Creator",
Client
.Serialize(creator));
200
_url.AppendQuery("Source",
Client
.Serialize(source));
204
_url.AppendQuery("Type",
Client
.Serialize(type));
208
_url.AppendQuery("Build",
Client
.Serialize(build));
212
_url.AppendQuery("Name",
Client
.Serialize(name));
216
_url.AppendQuery("count",
Client
.Serialize(count));
218
_url.AppendQuery("api-version",
Client
.Serialize(apiVersion));
221
using (var _req =
Client
.Pipeline.CreateRequest())
226
using (var _res = await
Client
.SendAsync(_req, cancellationToken).ConfigureAwait(false))
241
var _body =
Client
.Deserialize<IImmutableList<Models.JobSummary>>(_content);
263
Client
.Deserialize<Models.ApiError>(content)
267
Client
.OnFailedRequest(ex);
286
var _baseUri =
Client
.Options.BaseUri;
290
"/api/jobs/{job}/pf".Replace("{job}", Uri.EscapeDataString(
Client
.Serialize(job))),
293
_url.AppendQuery("api-version",
Client
.Serialize(apiVersion));
296
using (var _req =
Client
.Pipeline.CreateRequest())
301
using (var _res = await
Client
.SendAsync(_req, cancellationToken).ConfigureAwait(false))
316
var _body =
Client
.Deserialize<Models.JobPassFail>(_content);
338
Client
.Deserialize<Models.ApiError>(content)
342
Client
.OnFailedRequest(ex);
361
var _baseUri =
Client
.Options.BaseUri;
365
"/api/jobs/{job}".Replace("{job}", Uri.EscapeDataString(
Client
.Serialize(job))),
368
_url.AppendQuery("api-version",
Client
.Serialize(apiVersion));
371
using (var _req =
Client
.Pipeline.CreateRequest())
376
using (var _res = await
Client
.SendAsync(_req, cancellationToken).ConfigureAwait(false))
391
var _body =
Client
.Deserialize<Models.JobSummary>(_content);
413
Client
.Deserialize<Models.ApiError>(content)
417
Client
.OnFailedRequest(ex);
436
var _baseUri =
Client
.Options.BaseUri;
440
"/api/jobs/{job}/details".Replace("{job}", Uri.EscapeDataString(
Client
.Serialize(job))),
443
_url.AppendQuery("api-version",
Client
.Serialize(apiVersion));
446
using (var _req =
Client
.Pipeline.CreateRequest())
451
using (var _res = await
Client
.SendAsync(_req, cancellationToken).ConfigureAwait(false))
466
var _body =
Client
.Deserialize<Models.JobDetails>(_content);
488
Client
.Deserialize<Models.ApiError>(content)
492
Client
.OnFailedRequest(ex);
512
var _baseUri =
Client
.Options.BaseUri;
516
"/api/jobs/{job}/cancel".Replace("{job}", Uri.EscapeDataString(
Client
.Serialize(job))),
521
_url.AppendQuery("jobCancellationToken",
Client
.Serialize(jobCancellationToken));
523
_url.AppendQuery("api-version",
Client
.Serialize(apiVersion));
526
using (var _req =
Client
.Pipeline.CreateRequest())
531
using (var _res = await
Client
.SendAsync(_req, cancellationToken).ConfigureAwait(false))
559
Client
.Deserialize<Models.ApiError>(content)
563
Client
.OnFailedRequest(ex);
582
var _baseUri =
Client
.Options.BaseUri;
586
"/api/jobs/{job}/wait".Replace("{job}", Uri.EscapeDataString(
Client
.Serialize(job))),
589
_url.AppendQuery("api-version",
Client
.Serialize(apiVersion));
592
using (var _req =
Client
.Pipeline.CreateRequest())
597
using (var _res = await
Client
.SendAsync(_req, cancellationToken).ConfigureAwait(false))
625
Client
.Deserialize<Models.ApiError>(content)
629
Client
.OnFailedRequest(ex);