PipelineComponentBatchDeployment Class
Pipeline Component Batch Deployment entity.
Constructor
PipelineComponentBatchDeployment(*, name: str, endpoint_name: str | None = None, component: Component | str | None = None, settings: Dict[str, str] | None = None, job_definition: Dict[str, BaseNode] | None = None, tags: Dict | None = None, description: str | None = None, **kwargs: Any)
Parameters
| Name | Description |
|---|---|
|
name
Required
|
Name of the deployment resource. |
|
description
Required
|
Description of the deployment resource. |
|
component
Required
|
Component definition. |
|
settings
Required
|
Run-time settings for the pipeline job. |
|
tags
Required
|
A set of tags. The tags which will be applied to the job. |
|
job_definition
Required
|
Arm ID or PipelineJob entity of an existing pipeline job. |
|
endpoint_name
Required
|
Name of the Endpoint resource, defaults to None. |
Keyword-Only Parameters
| Name | Description |
|---|---|
|
name
Required
|
|
|
endpoint_name
|
Default value: None
|
|
component
|
Default value: None
|
|
settings
|
Default value: None
|
|
job_definition
|
Default value: None
|
|
tags
|
Default value: None
|
|
description
|
Default value: None
|
Methods
| dump |
Dump the deployment content into a file in yaml format. |
dump
Dump the deployment content into a file in yaml format.
dump(dest: str | PathLike | IO, **kwargs: Any) -> None
Parameters
| Name | Description |
|---|---|
|
dest
Required
|
The destination to receive this deployment's content. Must be either a path to a local file, or an already-open file stream. If dest is a file path, a new file will be created, and an exception is raised if the file exists. If dest is an open file, the file will be written to directly, and an exception will be raised if the file is not writable. |
Attributes
base_path
code_path
creation_context
The creation context of the resource.
Returns
| Type | Description |
|---|---|
|
The creation metadata for the resource. |