コード例 #1
0
 /// <inheritdoc />
 public Task <IDeleteLicenseResponse> DeleteLicenseAsync(IDeleteLicenseRequest request,
                                                         CancellationToken cancellationToken = default(CancellationToken)
                                                         ) =>
 Dispatcher.DispatchAsync <IDeleteLicenseRequest, DeleteLicenseRequestParameters, DeleteLicenseResponse, IDeleteLicenseResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.XpackLicenseDeleteDispatchAsync <DeleteLicenseResponse>(p, c)
     );
コード例 #2
0
 /// <summary>
 /// <c>DELETE</c> request to the <c>license.delete</c> API, read more about this API online:
 /// <para></para>
 /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-license.html">https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-license.html</a>
 /// </summary>
 public Task <DeleteLicenseResponse> DeleteAsync(IDeleteLicenseRequest request, CancellationToken ct = default) => DoRequestAsync <IDeleteLicenseRequest, DeleteLicenseResponse>(request, request.RequestParameters, ct);
コード例 #3
0
 /// <summary>
 /// <c>DELETE</c> request to the <c>license.delete</c> API, read more about this API online:
 /// <para></para>
 /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-license.html">https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-license.html</a>
 /// </summary>
 public DeleteLicenseResponse Delete(IDeleteLicenseRequest request) => DoRequest <IDeleteLicenseRequest, DeleteLicenseResponse>(request, request.RequestParameters);
コード例 #4
0
 /// <inheritdoc />
 public IDeleteLicenseResponse DeleteLicense(IDeleteLicenseRequest request) =>
 Dispatcher.Dispatch <IDeleteLicenseRequest, DeleteLicenseRequestParameters, DeleteLicenseResponse>(
     request,
     (p, d) => LowLevelDispatch.XpackLicenseDeleteDispatch <DeleteLicenseResponse>(p)
     );
コード例 #5
0
 /// <inheritdoc/>
 public Task <IDeleteLicenseResponse> DeleteLicenseAsync(IDeleteLicenseRequest request) =>
 this.Dispatcher.DispatchAsync <IDeleteLicenseRequest, DeleteLicenseRequestParameters, DeleteLicenseResponse, IDeleteLicenseResponse>(
     request,
     (p, d) => this.LowLevelDispatch.LicenseDeleteDispatchAsync <DeleteLicenseResponse>(p)
     );
コード例 #6
0
		/// <inheritdoc/>
		public Task<IDeleteLicenseResponse> DeleteLicenseAsync(IDeleteLicenseRequest request, CancellationToken cancellationToken = default(CancellationToken)) =>
			this.Dispatcher.DispatchAsync<IDeleteLicenseRequest, DeleteLicenseRequestParameters, DeleteLicenseResponse, IDeleteLicenseResponse>(
				request,
				cancellationToken,
				(p, d, c) => this.LowLevelDispatch.XpackLicenseDeleteDispatchAsync<DeleteLicenseResponse>(p, c)
			);
コード例 #7
0
		/// <inheritdoc/>
		public IDeleteLicenseResponse DeleteLicense(IDeleteLicenseRequest request) =>
			this.Dispatcher.Dispatch<IDeleteLicenseRequest, DeleteLicenseRequestParameters, DeleteLicenseResponse>(
				request,
				(p, d) =>this.LowLevelDispatch.XpackLicenseDeleteDispatch<DeleteLicenseResponse>(p)
			);
コード例 #8
0
 public static Task <DeleteLicenseResponse> DeleteLicenseAsync(this IElasticClient client, IDeleteLicenseRequest request,
                                                               CancellationToken ct = default
                                                               )
 => client.License.DeleteAsync(request, ct);
コード例 #9
0
 public static DeleteLicenseResponse DeleteLicense(this IElasticClient client, IDeleteLicenseRequest request)
 => client.License.Delete(request);