1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. ecs
  5. ImagePipelineExecution
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

alicloud.ecs.ImagePipelineExecution

Explore with Pulumi AI

Import

ECS Image Pipeline Execution can be imported using the id, e.g.

$ pulumi import alicloud:ecs/imagePipelineExecution:ImagePipelineExecution example <id>
Copy

Create ImagePipelineExecution Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ImagePipelineExecution(name: string, args: ImagePipelineExecutionArgs, opts?: CustomResourceOptions);
@overload
def ImagePipelineExecution(resource_name: str,
                           args: ImagePipelineExecutionArgs,
                           opts: Optional[ResourceOptions] = None)

@overload
def ImagePipelineExecution(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           image_pipeline_id: Optional[str] = None,
                           status: Optional[str] = None)
func NewImagePipelineExecution(ctx *Context, name string, args ImagePipelineExecutionArgs, opts ...ResourceOption) (*ImagePipelineExecution, error)
public ImagePipelineExecution(string name, ImagePipelineExecutionArgs args, CustomResourceOptions? opts = null)
public ImagePipelineExecution(String name, ImagePipelineExecutionArgs args)
public ImagePipelineExecution(String name, ImagePipelineExecutionArgs args, CustomResourceOptions options)
type: alicloud:ecs:ImagePipelineExecution
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ImagePipelineExecutionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ImagePipelineExecutionArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ImagePipelineExecutionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ImagePipelineExecutionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ImagePipelineExecutionArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var imagePipelineExecutionResource = new AliCloud.Ecs.ImagePipelineExecution("imagePipelineExecutionResource", new()
{
    ImagePipelineId = "string",
    Status = "string",
});
Copy
example, err := ecs.NewImagePipelineExecution(ctx, "imagePipelineExecutionResource", &ecs.ImagePipelineExecutionArgs{
	ImagePipelineId: pulumi.String("string"),
	Status:          pulumi.String("string"),
})
Copy
var imagePipelineExecutionResource = new ImagePipelineExecution("imagePipelineExecutionResource", ImagePipelineExecutionArgs.builder()
    .imagePipelineId("string")
    .status("string")
    .build());
Copy
image_pipeline_execution_resource = alicloud.ecs.ImagePipelineExecution("imagePipelineExecutionResource",
    image_pipeline_id="string",
    status="string")
Copy
const imagePipelineExecutionResource = new alicloud.ecs.ImagePipelineExecution("imagePipelineExecutionResource", {
    imagePipelineId: "string",
    status: "string",
});
Copy
type: alicloud:ecs:ImagePipelineExecution
properties:
    imagePipelineId: string
    status: string
Copy

ImagePipelineExecution Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ImagePipelineExecution resource accepts the following input properties:

ImagePipelineId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the image template.
Status string
The status of the image build task. Valid values:

  • CANCELLED: canceled. The build process has been canceled.
ImagePipelineId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the image template.
Status string
The status of the image build task. Valid values:

  • CANCELLED: canceled. The build process has been canceled.
imagePipelineId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the image template.
status String
The status of the image build task. Valid values:

  • CANCELLED: canceled. The build process has been canceled.
imagePipelineId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the image template.
status string
The status of the image build task. Valid values:

  • CANCELLED: canceled. The build process has been canceled.
image_pipeline_id
This property is required.
Changes to this property will trigger replacement.
str
The ID of the image template.
status str
The status of the image build task. Valid values:

  • CANCELLED: canceled. The build process has been canceled.
imagePipelineId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the image template.
status String
The status of the image build task. Valid values:

  • CANCELLED: canceled. The build process has been canceled.

Outputs

All input properties are implicitly available as output properties. Additionally, the ImagePipelineExecution resource produces the following output properties:

CreateTime string
The time when the image build task was created.
Id string
The provider-assigned unique ID for this managed resource.
CreateTime string
The time when the image build task was created.
Id string
The provider-assigned unique ID for this managed resource.
createTime String
The time when the image build task was created.
id String
The provider-assigned unique ID for this managed resource.
createTime string
The time when the image build task was created.
id string
The provider-assigned unique ID for this managed resource.
create_time str
The time when the image build task was created.
id str
The provider-assigned unique ID for this managed resource.
createTime String
The time when the image build task was created.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing ImagePipelineExecution Resource

Get an existing ImagePipelineExecution resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ImagePipelineExecutionState, opts?: CustomResourceOptions): ImagePipelineExecution
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        create_time: Optional[str] = None,
        image_pipeline_id: Optional[str] = None,
        status: Optional[str] = None) -> ImagePipelineExecution
func GetImagePipelineExecution(ctx *Context, name string, id IDInput, state *ImagePipelineExecutionState, opts ...ResourceOption) (*ImagePipelineExecution, error)
public static ImagePipelineExecution Get(string name, Input<string> id, ImagePipelineExecutionState? state, CustomResourceOptions? opts = null)
public static ImagePipelineExecution get(String name, Output<String> id, ImagePipelineExecutionState state, CustomResourceOptions options)
resources:  _:    type: alicloud:ecs:ImagePipelineExecution    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
CreateTime string
The time when the image build task was created.
ImagePipelineId Changes to this property will trigger replacement. string
The ID of the image template.
Status string
The status of the image build task. Valid values:

  • CANCELLED: canceled. The build process has been canceled.
CreateTime string
The time when the image build task was created.
ImagePipelineId Changes to this property will trigger replacement. string
The ID of the image template.
Status string
The status of the image build task. Valid values:

  • CANCELLED: canceled. The build process has been canceled.
createTime String
The time when the image build task was created.
imagePipelineId Changes to this property will trigger replacement. String
The ID of the image template.
status String
The status of the image build task. Valid values:

  • CANCELLED: canceled. The build process has been canceled.
createTime string
The time when the image build task was created.
imagePipelineId Changes to this property will trigger replacement. string
The ID of the image template.
status string
The status of the image build task. Valid values:

  • CANCELLED: canceled. The build process has been canceled.
create_time str
The time when the image build task was created.
image_pipeline_id Changes to this property will trigger replacement. str
The ID of the image template.
status str
The status of the image build task. Valid values:

  • CANCELLED: canceled. The build process has been canceled.
createTime String
The time when the image build task was created.
imagePipelineId Changes to this property will trigger replacement. String
The ID of the image template.
status String
The status of the image build task. Valid values:

  • CANCELLED: canceled. The build process has been canceled.

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.