コード例 #1
0
ファイル: WorkspaceStack.cs プロジェクト: jaxxstorm/pulumi
 /// <summary>
 /// Imports the specified deployment state into a pre-existing stack.
 /// <para/>
 /// This can be combined with ExportStackAsync to edit a
 /// stack's state (such as recovery from failed deployments).
 /// </summary>
 public Task ImportStackAsync(StackDeployment state, CancellationToken cancellationToken = default)
 => this.Workspace.ImportStackAsync(this.Name, state, cancellationToken);
コード例 #2
0
 /// <summary>
 /// Imports the specified deployment state into a pre-existing stack.
 /// <para/>
 /// This can be combined with ExportStackAsync to edit a
 /// stack's state (such as recovery from failed deployments).
 /// </summary>
 public abstract Task ImportStackAsync(string stackName, StackDeployment state, CancellationToken cancellationToken = default);