Show / Hide Table of Contents

Class FunctionsRuntime

FunctionsRuntime resources provide details about the available runtimes for consumption by the user. This resource contains details about the runtimes supported language and os etc.

Inheritance
object
FunctionsRuntime
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.FunctionsService.Models
Assembly: OCI.DotNetSDK.Functions.dll
Syntax
public class FunctionsRuntime

Properties

CurrentFunctionsRuntimeVersionId

Declaration
[Required(ErrorMessage = "CurrentFunctionsRuntimeVersionId is required.")]
[JsonProperty(PropertyName = "currentFunctionsRuntimeVersionId")]
public string CurrentFunctionsRuntimeVersionId { get; set; }
Property Value
Type Description
string

The OCID of the current FunctionsRuntimeVersion for this FunctionsRuntime.

Remarks

Required

DefinedTags

Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace": {"bar-key": "value"}}

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

The OCID of the FunctionsRuntime that is immutable on creation.

Remarks

Required

Language

Declaration
[Required(ErrorMessage = "Language is required.")]
[JsonProperty(PropertyName = "language")]
public string Language { get; set; }
Property Value
Type Description
string

The programming language of the FunctionsRuntime. This is the language that the FunctionsRuntime provides for execution of customer payloads.

Remarks

Required

LifecycleState

Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public FunctionsRuntime.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
FunctionsRuntime.LifecycleStateEnum?

The current state of the FunctionsRuntime resource.

  • ACTIVE: The resource is currently active and operational.
  • INACTIVE: The resource is currently inactive and not operational.
Remarks

Required

Metadata

Declaration
[JsonProperty(PropertyName = "metadata")]
public string Metadata { get; set; }
Property Value
Type Description
string

Metadata for the FunctionsRuntime Resource.

Name

Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type Description
string

A brief descriptive name for the FunctionsRuntime. The FunctionsRuntime name must be unique, and not match any existing FunctionsRuntime.

Remarks

Required

Os

Declaration
[Required(ErrorMessage = "Os is required.")]
[JsonProperty(PropertyName = "os")]
public string Os { get; set; }
Property Value
Type Description
string

The operating system of the FunctionsRuntime. This is the OS that the FunctionsRuntime provides for execution of customer payloads.

Remarks

Required

SystemTags

Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud": {"free-tier-retained": "true"}}

TimeCreated

Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

The time when the FunctionsRuntime was created. An RFC3339 formatted datetime string.

Remarks

Required

TimeDecommissioned

Declaration
[Required(ErrorMessage = "TimeDecommissioned is required.")]
[JsonProperty(PropertyName = "timeDecommissioned")]
public DateTime? TimeDecommissioned { get; set; }
Property Value
Type Description
DateTime?

The time when the FunctionsRuntime will be decommissioned. An RFC3339 formatted datetime string.

Remarks

Required

TimeDeprecated

Declaration
[Required(ErrorMessage = "TimeDeprecated is required.")]
[JsonProperty(PropertyName = "timeDeprecated")]
public DateTime? TimeDeprecated { get; set; }
Property Value
Type Description
DateTime?

The time when the FunctionsRuntime will be deprecated. An RFC3339 formatted datetime string.

Remarks

Required

TimeUpdated

Declaration
[Required(ErrorMessage = "TimeUpdated is required.")]
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type Description
DateTime?

The time when the FunctionsRuntime was updated. An RFC3339 formatted datetime string.

Remarks

Required

In this article
Back to top