Provides a resource to manage vmp integration task
Import
VMP Integration Task can be imported using the id, e.g.
$ pulumi import volcengine:vmp/integrationTask:IntegrationTask default 60dde3ca-951c-4c05-8777-e5a7caa07ad6
Create IntegrationTask Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IntegrationTask(name: string, args: IntegrationTaskArgs, opts?: CustomResourceOptions);@overload
def IntegrationTask(resource_name: str,
args: IntegrationTaskArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IntegrationTask(resource_name: str,
opts: Optional[ResourceOptions] = None,
type: Optional[str] = None,
environment: Optional[str] = None,
name: Optional[str] = None,
params: Optional[str] = None,
vke_cluster_id: Optional[str] = None,
workspace_id: Optional[str] = None)func NewIntegrationTask(ctx *Context, name string, args IntegrationTaskArgs, opts ...ResourceOption) (*IntegrationTask, error)public IntegrationTask(string name, IntegrationTaskArgs args, CustomResourceOptions? opts = null)
public IntegrationTask(String name, IntegrationTaskArgs args)
public IntegrationTask(String name, IntegrationTaskArgs args, CustomResourceOptions options)
type: volcengine:vmp:IntegrationTask
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args IntegrationTaskArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args IntegrationTaskArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args IntegrationTaskArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IntegrationTaskArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IntegrationTaskArgs
- 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 integrationTaskResource = new Volcengine.Vmp.IntegrationTask("integrationTaskResource", new()
{
Type = "string",
Environment = "string",
Name = "string",
Params = "string",
VkeClusterId = "string",
WorkspaceId = "string",
});
example, err := vmp.NewIntegrationTask(ctx, "integrationTaskResource", &vmp.IntegrationTaskArgs{
Type: pulumi.String("string"),
Environment: pulumi.String("string"),
Name: pulumi.String("string"),
Params: pulumi.String("string"),
VkeClusterId: pulumi.String("string"),
WorkspaceId: pulumi.String("string"),
})
var integrationTaskResource = new IntegrationTask("integrationTaskResource", IntegrationTaskArgs.builder()
.type("string")
.environment("string")
.name("string")
.params("string")
.vkeClusterId("string")
.workspaceId("string")
.build());
integration_task_resource = volcengine.vmp.IntegrationTask("integrationTaskResource",
type="string",
environment="string",
name="string",
params="string",
vke_cluster_id="string",
workspace_id="string")
const integrationTaskResource = new volcengine.vmp.IntegrationTask("integrationTaskResource", {
type: "string",
environment: "string",
name: "string",
params: "string",
vkeClusterId: "string",
workspaceId: "string",
});
type: volcengine:vmp:IntegrationTask
properties:
environment: string
name: string
params: string
type: string
vkeClusterId: string
workspaceId: string
IntegrationTask 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 IntegrationTask resource accepts the following input properties:
- Type string
- The type of the integration task. For example,
CloudMonitorindicates a cloud monitoring integration task. - Environment string
- The deployment environment. Valid values:
VkeorManaged. - Name string
- The name of the integration task. Length: 1-40 characters. Supports Chinese, English, numbers, and underscores.
- Params string
- The parameters of the integration task. Must be a JSON-escaped string.
- Vke
Cluster stringId - The ID of the VKE cluster. Required when Environment is
Vke. - Workspace
Id string - The workspace ID. Required when Environment is
Managed.
- Type string
- The type of the integration task. For example,
CloudMonitorindicates a cloud monitoring integration task. - Environment string
- The deployment environment. Valid values:
VkeorManaged. - Name string
- The name of the integration task. Length: 1-40 characters. Supports Chinese, English, numbers, and underscores.
- Params string
- The parameters of the integration task. Must be a JSON-escaped string.
- Vke
Cluster stringId - The ID of the VKE cluster. Required when Environment is
Vke. - Workspace
Id string - The workspace ID. Required when Environment is
Managed.
- type String
- The type of the integration task. For example,
CloudMonitorindicates a cloud monitoring integration task. - environment String
- The deployment environment. Valid values:
VkeorManaged. - name String
- The name of the integration task. Length: 1-40 characters. Supports Chinese, English, numbers, and underscores.
- params String
- The parameters of the integration task. Must be a JSON-escaped string.
- vke
Cluster StringId - The ID of the VKE cluster. Required when Environment is
Vke. - workspace
Id String - The workspace ID. Required when Environment is
Managed.
- type string
- The type of the integration task. For example,
CloudMonitorindicates a cloud monitoring integration task. - environment string
- The deployment environment. Valid values:
VkeorManaged. - name string
- The name of the integration task. Length: 1-40 characters. Supports Chinese, English, numbers, and underscores.
- params string
- The parameters of the integration task. Must be a JSON-escaped string.
- vke
Cluster stringId - The ID of the VKE cluster. Required when Environment is
Vke. - workspace
Id string - The workspace ID. Required when Environment is
Managed.
- type str
- The type of the integration task. For example,
CloudMonitorindicates a cloud monitoring integration task. - environment str
- The deployment environment. Valid values:
VkeorManaged. - name str
- The name of the integration task. Length: 1-40 characters. Supports Chinese, English, numbers, and underscores.
- params str
- The parameters of the integration task. Must be a JSON-escaped string.
- vke_
cluster_ strid - The ID of the VKE cluster. Required when Environment is
Vke. - workspace_
id str - The workspace ID. Required when Environment is
Managed.
- type String
- The type of the integration task. For example,
CloudMonitorindicates a cloud monitoring integration task. - environment String
- The deployment environment. Valid values:
VkeorManaged. - name String
- The name of the integration task. Length: 1-40 characters. Supports Chinese, English, numbers, and underscores.
- params String
- The parameters of the integration task. Must be a JSON-escaped string.
- vke
Cluster StringId - The ID of the VKE cluster. Required when Environment is
Vke. - workspace
Id String - The workspace ID. Required when Environment is
Managed.
Outputs
All input properties are implicitly available as output properties. Additionally, the IntegrationTask resource produces the following output properties:
- Create
Time string - The create time of the integration task.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The status of the integration task. Valid values:
Creating,Updating,Active,Error,Deleting. - Update
Time string - The update time of the integration task.
- Create
Time string - The create time of the integration task.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The status of the integration task. Valid values:
Creating,Updating,Active,Error,Deleting. - Update
Time string - The update time of the integration task.
- create
Time String - The create time of the integration task.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- The status of the integration task. Valid values:
Creating,Updating,Active,Error,Deleting. - update
Time String - The update time of the integration task.
- create
Time string - The create time of the integration task.
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- The status of the integration task. Valid values:
Creating,Updating,Active,Error,Deleting. - update
Time string - The update time of the integration task.
- create_
time str - The create time of the integration task.
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- The status of the integration task. Valid values:
Creating,Updating,Active,Error,Deleting. - update_
time str - The update time of the integration task.
- create
Time String - The create time of the integration task.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- The status of the integration task. Valid values:
Creating,Updating,Active,Error,Deleting. - update
Time String - The update time of the integration task.
Look up Existing IntegrationTask Resource
Get an existing IntegrationTask 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?: IntegrationTaskState, opts?: CustomResourceOptions): IntegrationTask@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
create_time: Optional[str] = None,
environment: Optional[str] = None,
name: Optional[str] = None,
params: Optional[str] = None,
status: Optional[str] = None,
type: Optional[str] = None,
update_time: Optional[str] = None,
vke_cluster_id: Optional[str] = None,
workspace_id: Optional[str] = None) -> IntegrationTaskfunc GetIntegrationTask(ctx *Context, name string, id IDInput, state *IntegrationTaskState, opts ...ResourceOption) (*IntegrationTask, error)public static IntegrationTask Get(string name, Input<string> id, IntegrationTaskState? state, CustomResourceOptions? opts = null)public static IntegrationTask get(String name, Output<String> id, IntegrationTaskState state, CustomResourceOptions options)resources: _: type: volcengine:vmp:IntegrationTask get: id: ${id}- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Create
Time string - The create time of the integration task.
- Environment string
- The deployment environment. Valid values:
VkeorManaged. - Name string
- The name of the integration task. Length: 1-40 characters. Supports Chinese, English, numbers, and underscores.
- Params string
- The parameters of the integration task. Must be a JSON-escaped string.
- Status string
- The status of the integration task. Valid values:
Creating,Updating,Active,Error,Deleting. - Type string
- The type of the integration task. For example,
CloudMonitorindicates a cloud monitoring integration task. - Update
Time string - The update time of the integration task.
- Vke
Cluster stringId - The ID of the VKE cluster. Required when Environment is
Vke. - Workspace
Id string - The workspace ID. Required when Environment is
Managed.
- Create
Time string - The create time of the integration task.
- Environment string
- The deployment environment. Valid values:
VkeorManaged. - Name string
- The name of the integration task. Length: 1-40 characters. Supports Chinese, English, numbers, and underscores.
- Params string
- The parameters of the integration task. Must be a JSON-escaped string.
- Status string
- The status of the integration task. Valid values:
Creating,Updating,Active,Error,Deleting. - Type string
- The type of the integration task. For example,
CloudMonitorindicates a cloud monitoring integration task. - Update
Time string - The update time of the integration task.
- Vke
Cluster stringId - The ID of the VKE cluster. Required when Environment is
Vke. - Workspace
Id string - The workspace ID. Required when Environment is
Managed.
- create
Time String - The create time of the integration task.
- environment String
- The deployment environment. Valid values:
VkeorManaged. - name String
- The name of the integration task. Length: 1-40 characters. Supports Chinese, English, numbers, and underscores.
- params String
- The parameters of the integration task. Must be a JSON-escaped string.
- status String
- The status of the integration task. Valid values:
Creating,Updating,Active,Error,Deleting. - type String
- The type of the integration task. For example,
CloudMonitorindicates a cloud monitoring integration task. - update
Time String - The update time of the integration task.
- vke
Cluster StringId - The ID of the VKE cluster. Required when Environment is
Vke. - workspace
Id String - The workspace ID. Required when Environment is
Managed.
- create
Time string - The create time of the integration task.
- environment string
- The deployment environment. Valid values:
VkeorManaged. - name string
- The name of the integration task. Length: 1-40 characters. Supports Chinese, English, numbers, and underscores.
- params string
- The parameters of the integration task. Must be a JSON-escaped string.
- status string
- The status of the integration task. Valid values:
Creating,Updating,Active,Error,Deleting. - type string
- The type of the integration task. For example,
CloudMonitorindicates a cloud monitoring integration task. - update
Time string - The update time of the integration task.
- vke
Cluster stringId - The ID of the VKE cluster. Required when Environment is
Vke. - workspace
Id string - The workspace ID. Required when Environment is
Managed.
- create_
time str - The create time of the integration task.
- environment str
- The deployment environment. Valid values:
VkeorManaged. - name str
- The name of the integration task. Length: 1-40 characters. Supports Chinese, English, numbers, and underscores.
- params str
- The parameters of the integration task. Must be a JSON-escaped string.
- status str
- The status of the integration task. Valid values:
Creating,Updating,Active,Error,Deleting. - type str
- The type of the integration task. For example,
CloudMonitorindicates a cloud monitoring integration task. - update_
time str - The update time of the integration task.
- vke_
cluster_ strid - The ID of the VKE cluster. Required when Environment is
Vke. - workspace_
id str - The workspace ID. Required when Environment is
Managed.
- create
Time String - The create time of the integration task.
- environment String
- The deployment environment. Valid values:
VkeorManaged. - name String
- The name of the integration task. Length: 1-40 characters. Supports Chinese, English, numbers, and underscores.
- params String
- The parameters of the integration task. Must be a JSON-escaped string.
- status String
- The status of the integration task. Valid values:
Creating,Updating,Active,Error,Deleting. - type String
- The type of the integration task. For example,
CloudMonitorindicates a cloud monitoring integration task. - update
Time String - The update time of the integration task.
- vke
Cluster StringId - The ID of the VKE cluster. Required when Environment is
Vke. - workspace
Id String - The workspace ID. Required when Environment is
Managed.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
