internal virtual DescribeMeshResponse DescribeMesh(DescribeMeshRequest request) { var marshaller = DescribeMeshRequestMarshaller.Instance; var unmarshaller = DescribeMeshResponseUnmarshaller.Instance; return(Invoke <DescribeMeshRequest, DescribeMeshResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the DescribeMesh operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeMesh operation.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// <returns>The task object representing the asynchronous operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/DescribeMesh">REST API Reference for DescribeMesh Operation</seealso> public virtual Task <DescribeMeshResponse> DescribeMeshAsync(DescribeMeshRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = DescribeMeshRequestMarshaller.Instance; var unmarshaller = DescribeMeshResponseUnmarshaller.Instance; return(InvokeAsync <DescribeMeshRequest, DescribeMeshResponse>(request, marshaller, unmarshaller, cancellationToken)); }
/// <summary> /// Initiates the asynchronous execution of the DescribeMesh operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeMesh operation.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// <returns>The task object representing the asynchronous operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2018-10-01/DescribeMesh">REST API Reference for DescribeMesh Operation</seealso> public virtual Task <DescribeMeshResponse> DescribeMeshAsync(DescribeMeshRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeMeshRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeMeshResponseUnmarshaller.Instance; return(InvokeAsync <DescribeMeshResponse>(request, options, cancellationToken)); }
internal virtual DescribeMeshResponse DescribeMesh(DescribeMeshRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeMeshRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeMeshResponseUnmarshaller.Instance; return(Invoke <DescribeMeshResponse>(request, options)); }
/// <summary> /// 查询网格详情 /// </summary> /// <param name="req"><see cref="DescribeMeshRequest"/></param> /// <returns><see cref="DescribeMeshResponse"/></returns> public DescribeMeshResponse DescribeMeshSync(DescribeMeshRequest req) { JsonResponseModel <DescribeMeshResponse> rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeMesh"); rsp = JsonConvert.DeserializeObject <JsonResponseModel <DescribeMeshResponse> >(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return(rsp.Response); }