ServiceArgs

data class ServiceArgs(val description: Output<String>? = null, val internetAccess: Output<Boolean>? = null, val logConfig: Output<ServiceLogConfigArgs>? = null, val name: Output<String>? = null, val namePrefix: Output<String>? = null, val nasConfig: Output<ServiceNasConfigArgs>? = null, val publish: Output<Boolean>? = null, val role: Output<String>? = null, val tracingConfig: Output<ServiceTracingConfigArgs>? = null, val vpcConfig: Output<ServiceVpcConfigArgs>? = null) : ConvertibleToJava<ServiceArgs>

Import

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

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

Constructors

Link copied to clipboard
fun ServiceArgs(description: Output<String>? = null, internetAccess: Output<Boolean>? = null, logConfig: Output<ServiceLogConfigArgs>? = null, name: Output<String>? = null, namePrefix: Output<String>? = null, nasConfig: Output<ServiceNasConfigArgs>? = null, publish: Output<Boolean>? = null, role: Output<String>? = null, tracingConfig: Output<ServiceTracingConfigArgs>? = null, vpcConfig: Output<ServiceVpcConfigArgs>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ServiceArgs

Properties

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

The Function Compute Service description.

Link copied to clipboard
val internetAccess: Output<Boolean>? = null

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

Link copied to clipboard
val logConfig: Output<ServiceLogConfigArgs>? = null

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>? = null

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>? = null

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

Link copied to clipboard
val nasConfig: Output<ServiceNasConfigArgs>? = null

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>? = null

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

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

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

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 vpcConfig: Output<ServiceVpcConfigArgs>? = null

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.)