FunctionState class
Input properties used for looking up and filtering Function resources.
Constructors
-
FunctionState({Input<
FunctionBuildConfig?> ? buildConfig, Input<String?> ? deletionPolicy, Input<String?> ? description, Input<Map< ? effectiveLabels, Input<String, String> ?>String?> ? environment, Input<FunctionEventTrigger?> ? eventTrigger, Input<String?> ? kmsKeyName, Input<Map< ? labels, Input<String, String> ?>String?> ? location, Input<String?> ? name, Input<String?> ? project, Input<Map< ? pulumiLabels, Input<String, String> ?>FunctionServiceConfig?> ? serviceConfig, Input<String?> ? state, Input<String?> ? updateTime, Input<String?> ? url}) -
Creates a new FunctionState.
buildConfigDescribes the Build step of the function that builds a containerdeletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionUser-provided description of a function.effectiveLabelsAll of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.environmentThe environment the function is hosted on.eventTriggerAn Eventarc trigger managed by Google Cloud Functions that fires events inkmsKeyNameResource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources.labelsA set of key/value label pairs associated with this Cloud Function.locationThe location of this cloud function.nameA user-defined name of the function. Function names mustprojectThe ID of the project in which the resource belongs.pulumiLabelsThe combination of labels configured directly on the resourceserviceConfigDescribes the Service being deployed.stateDescribes the current state of the function.updateTimeThe last update timestamp of a Cloud Function.urlOutput only. The deployed url for the function.const -
FunctionState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
buildConfig
→ Input<
FunctionBuildConfig?> ? -
Describes the Build step of the function that builds a container
from the given source.
Structure is documented below.
final
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
-
description
→ Input<
String?> ? -
User-provided description of a function.
final
-
effectiveLabels
→ Input<
Map< ?String, String> ?> -
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
final
-
environment
→ Input<
String?> ? -
The environment the function is hosted on.
final
-
eventTrigger
→ Input<
FunctionEventTrigger?> ? -
An Eventarc trigger managed by Google Cloud Functions that fires events in
response to a condition in another service.
Structure is documented below.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
kmsKeyName
→ Input<
String?> ? -
Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources.
It must match the pattern projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}.
final
-
labels
→ Input<
Map< ?String, String> ?> -
A set of key/value label pairs associated with this Cloud Function.
final
-
location
→ Input<
String?> ? -
The location of this cloud function.
final
-
name
→ Input<
String?> ? -
A user-defined name of the function. Function names must
be unique globally and match pattern
projects/*/locations/*/functions/*.final -
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
final
-
pulumiLabels
→ Input<
Map< ?String, String> ?> -
The combination of labels configured directly on the resource
and default labels configured on the provider.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
serviceConfig
→ Input<
FunctionServiceConfig?> ? -
Describes the Service being deployed.
Structure is documented below.
final
-
state
→ Input<
String?> ? -
Describes the current state of the function.
final
-
updateTime
→ Input<
String?> ? -
The last update timestamp of a Cloud Function.
final
-
url
→ Input<
String?> ? -
Output only. The deployed url for the function.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited