コード例 #1
0
        public Task <ClusterGetComponentTemplateResponse> GetComponentTemplateAsync(Action <ClusterGetComponentTemplateRequestDescriptor> configureRequest = null, CancellationToken cancellationToken = default)
        {
            var descriptor = new ClusterGetComponentTemplateRequestDescriptor();

            configureRequest?.Invoke(descriptor);
            descriptor.BeforeRequest();
            return(DoRequestAsync <ClusterGetComponentTemplateRequestDescriptor, ClusterGetComponentTemplateResponse>(descriptor));
        }
コード例 #2
0
        public ClusterGetComponentTemplateResponse GetComponentTemplate(Action <ClusterGetComponentTemplateRequestDescriptor> configureRequest = null)
        {
            var descriptor = new ClusterGetComponentTemplateRequestDescriptor();

            configureRequest?.Invoke(descriptor);
            descriptor.BeforeRequest();
            return(DoRequest <ClusterGetComponentTemplateRequestDescriptor, ClusterGetComponentTemplateResponse>(descriptor));
        }