Class Service
Inherited Members
Namespace: Pulumi.AliCloud.FC
Assembly: Pulumi.AliCloud.dll
Syntax
public class Service : CustomResource
Constructors
View SourceService(String, ServiceArgs, CustomResourceOptions)
Create a Service resource with the given unique name, arguments, and options.
Declaration
public Service(string name, ServiceArgs args = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ServiceArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceDescription
The function compute service description.
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
InternetAccess
Whether to allow the service to access Internet. Default to "true".
Declaration
public Output<bool?> InternetAccess { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
LastModified
The date this resource was last modified.
Declaration
public Output<string> LastModified { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
LogConfig
Provide this to store your FC service logs. Fields documented below. See Create a Service.
Declaration
public Output<ServiceLogConfig> LogConfig { get; }
Property Value
| Type | Description |
|---|---|
| Output<ServiceLogConfig> |
Name
The Function Compute service name. It is the only in one Alicloud account and is conflict with "name_prefix".
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
NamePrefix
Setting a prefix to get a only name. It is conflict with "name".
Declaration
public Output<string> NamePrefix { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Role
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.
Declaration
public Output<string> Role { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ServiceId
The Function Compute service ID.
Declaration
public Output<string> ServiceId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
VpcConfig
Provide this to allow your FC service to access your VPC. Fields documented below. See Function Compute Service in VPC.
Declaration
public Output<ServiceVpcConfig> VpcConfig { get; }
Property Value
| Type | Description |
|---|---|
| Output<ServiceVpcConfig> |
Methods
View SourceGet(String, Input<String>, ServiceState, CustomResourceOptions)
Get an existing Service resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Service Get(string name, Input<string> id, ServiceState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| ServiceState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Service |