/// <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);
/// <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);