コード例 #1
0
        internal DeleteChangeSetResponse DeleteChangeSet(DeleteChangeSetRequest request)
        {
            var marshaller   = new DeleteChangeSetRequestMarshaller();
            var unmarshaller = DeleteChangeSetResponseUnmarshaller.Instance;

            return(Invoke <DeleteChangeSetRequest, DeleteChangeSetResponse>(request, marshaller, unmarshaller));
        }
コード例 #2
0
        /// <summary>
        /// Initiates the asynchronous execution of the DeleteChangeSet operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the DeleteChangeSet 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>
        public Task <DeleteChangeSetResponse> DeleteChangeSetAsync(DeleteChangeSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller   = new DeleteChangeSetRequestMarshaller();
            var unmarshaller = DeleteChangeSetResponseUnmarshaller.Instance;

            return(InvokeAsync <DeleteChangeSetRequest, DeleteChangeSetResponse>(request, marshaller,
                                                                                 unmarshaller, cancellationToken));
        }
コード例 #3
0
 public async Task <DeleteChangeSetResponse> DeleteChangeSetAsync(string stackName, string stackId, string changeSetName, DeleteChangeSetRequest request)
 {
     AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions();
     return(await DeleteChangeSetWithOptionsAsync(stackName, stackId, changeSetName, request, runtime));
 }
コード例 #4
0
 public DeleteChangeSetResponse DeleteChangeSet(string stackName, string stackId, string changeSetName, DeleteChangeSetRequest request)
 {
     AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions();
     return(DeleteChangeSetWithOptions(stackName, stackId, changeSetName, request, runtime));
 }
コード例 #5
0
 public async Task <DeleteChangeSetResponse> DeleteChangeSetWithOptionsAsync(string stackName, string stackId, string changeSetName, DeleteChangeSetRequest request, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime)
 {
     AlibabaCloud.TeaUtil.Common.ValidateModel(request);
     return(TeaModel.ToObject <DeleteChangeSetResponse>(await DoRequestAsync("2015-09-01", "HTTPS", "DELETE", "AK", "/stacks/" + stackName + "/" + stackId + "/changeSets/" + changeSetName, null, request.Headers, null, runtime)));
 }