Show / Hide Table of Contents

Class Service

Inheritance
System.Object
Resource
CustomResource
Service
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.FC
Assembly: Pulumi.AliCloud.dll
Syntax
public class Service : CustomResource

Constructors

View Source

Service(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 Source

Description

The function compute service description.

Declaration
public Output<string> Description { get; }
Property Value
Type Description
Output<System.String>
View Source

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>>
View Source

LastModified

The date this resource was last modified.

Declaration
public Output<string> LastModified { get; }
Property Value
Type Description
Output<System.String>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

ServiceId

The Function Compute service ID.

Declaration
public Output<string> ServiceId { get; }
Property Value
Type Description
Output<System.String>
View Source

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.