AppHostingBackendState class
Input properties used for looking up and filtering AppHostingBackend resources.
Constructors
-
AppHostingBackendState({Input<
Map< ? annotations, Input<String, String> ?>String?> ? appId, Input<String?> ? backendId, Input<AppHostingBackendCodebase?> ? codebase, Input<String?> ? createTime, Input<String?> ? deleteTime, Input<String?> ? deletionPolicy, Input<String?> ? displayName, Input<Map< ? effectiveAnnotations, Input<String, String> ?>Map< ? effectiveLabels, Input<String, String> ?>String?> ? environment, Input<String?> ? etag, Input<Map< ? labels, Input<String, String> ?>String?> ? location, Input<List< ? managedResources, Input<AppHostingBackendManagedResource> ?>String?> ? name, Input<String?> ? project, Input<Map< ? pulumiLabels, Input<String, String> ?>String?> ? serviceAccount, Input<String?> ? servingLocality, Input<String?> ? uid, Input<String?> ? updateTime, Input<String?> ? uri}) -
Creates a new AppHostingBackendState.
annotationsUnstructured key value map that may be set by external tools toappIdThe [ID of a WebbackendIdId of the backend. Also used as the service ID for Cloud Run, and as partcodebaseThe connection to an external source repository to watch for event-drivencreateTimeTime at which the backend was created.deleteTimeTime at which the backend was deleted.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.displayNameHuman-readable name. 63 character limit.effectiveAnnotationsAll of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.effectiveLabelsAll of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.environmentThe environment name of the backend, used to load environment variablesetagServer-computed checksum based on other values; may be sentlabelsUnstructured key value map that can be used to organize and categorizelocationThe canonical IDs of a Google Cloud location such as "us-east1".managedResourcesA list of the resources managed by this backend.nameIdentifier. The resource name of the backend.projectThe ID of the project in which the resource belongs.pulumiLabelsThe combination of labels configured directly on the resourceserviceAccountThe name of the service account used for Cloud Build and Cloud Run.servingLocalityImmutable. Specifies how App Hosting will serve the content for this backend. It willuidSystem-assigned, unique identifier.updateTimeTime at which the backend was last updated.uriThe primary URI to communicate with the backend.const -
AppHostingBackendState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
annotations
→ Input<
Map< ?String, String> ?> -
Unstructured key value map that may be set by external tools to
store and arbitrary metadata. They are not queryable and should be
preserved when modifying objects.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field
effectiveAnnotationsfor all of the annotations present on the resource.final -
appId
→ Input<
String?> ? -
The ID of a Web
App
associated with the backend.
final
-
backendId
→ Input<
String?> ? -
Id of the backend. Also used as the service ID for Cloud Run, and as part
of the default domain name.
final
-
codebase
→ Input<
AppHostingBackendCodebase?> ? -
The connection to an external source repository to watch for event-driven
updates to the backend.
Structure is documented below.
final
-
createTime
→ Input<
String?> ? -
Time at which the backend was created.
final
-
deleteTime
→ Input<
String?> ? -
Time at which the backend was deleted.
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
-
displayName
→ Input<
String?> ? -
Human-readable name. 63 character limit.
final
-
effectiveAnnotations
→ Input<
Map< ?String, String> ?> -
All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.
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 name of the backend, used to load environment variables
from environment specific configuration.
final
-
etag
→ Input<
String?> ? -
Server-computed checksum based on other values; may be sent
on update or delete to ensure operation is done on expected resource.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ Input<
Map< ?String, String> ?> -
Unstructured key value map that can be used to organize and categorize
objects.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effectiveLabelsfor all of the labels present on the resource.final -
location
→ Input<
String?> ? -
The canonical IDs of a Google Cloud location such as "us-east1".
final
-
managedResources
→ Input<
List< ?AppHostingBackendManagedResource> ?> -
A list of the resources managed by this backend.
Structure is documented below.
final
-
name
→ Input<
String?> ? -
Identifier. The resource name of the backend.
Format:
projects/{project}/locations/{locationId}/backends/{backendId}.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
-
serviceAccount
→ Input<
String?> ? -
The name of the service account used for Cloud Build and Cloud Run.
Should have the role roles/firebaseapphosting.computeRunner
or equivalent permissions.
final
-
servingLocality
→ Input<
String?> ? -
Immutable. Specifies how App Hosting will serve the content for this backend. It will
either be contained to a single region (REGIONAL_STRICT) or allowed to use
App Hosting's global-replicated serving infrastructure (GLOBAL_ACCESS).
Possible values are:
REGIONAL_STRICT,GLOBAL_ACCESS.final -
uid
→ Input<
String?> ? -
System-assigned, unique identifier.
final
-
updateTime
→ Input<
String?> ? -
Time at which the backend was last updated.
final
-
uri
→ Input<
String?> ? -
The primary URI to communicate with the backend.
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