Service

Import

Function Compute Service can be imported using the id or name, e.g.

$ pulumi import alicloud:fc/service:Service foo my-fc-service

Properties

Link copied to clipboard
val description: Output<String>?

The Function Compute Service description.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val internetAccess: Output<Boolean>?

Whether to allow the Service to access Internet. Default to "true".

Link copied to clipboard
val lastModified: Output<String>

The date this resource was last modified.

Link copied to clipboard

Provide this to store your Function Compute Service logs. Fields documented below. See Create a Service. log_config requires the following: (NOTE: If both project and logstore are empty, log_config is considered to be empty or unset.)

Link copied to clipboard
val name: Output<String>

The Function Compute Service name. It is the only in one Alicloud account and is conflict with name_prefix.

Link copied to clipboard
val namePrefix: Output<String>?

Setting a prefix to get a only name. It is conflict with name.

Link copied to clipboard

Provide NAS configuration to allow Function Compute Service to access your NAS resources. nas_config requires the following:

Link copied to clipboard
val publish: Output<Boolean>?

Whether to publish creation/change as new Function Compute Service Version. Defaults to false.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val role: Output<String>?

RAM role arn attached to the Function Compute Service. This governs both who / what can invoke your Function, as well as what resources our Function has access to. See User Permissions for more details.

Link copied to clipboard
val serviceId: Output<String>

The Function Compute Service ID.

Link copied to clipboard

Provide this to allow your Function Compute to report tracing information. Fields documented below. See Function Compute Tracing Config. tracing_config requires the following: (NOTE: If both type and params are empty, tracing_config is considered to be empty or unset.)

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val version: Output<String>

The latest published version of your Function Compute Service.

Link copied to clipboard

Provide this to allow your Function Compute Service to access your VPC. Fields documented below. See Function Compute Service in VPC. vpc_config requires the following: (NOTE: If both vswitch_ids and security_group_id are empty, vpc_config is considered to be empty or unset.)