ServiceMetadata class

Constructors

ServiceMetadata({Input<Map<String, String>?>? annotations, Input<Map<String, String>?>? effectiveAnnotations, Input<Map<String, String>?>? effectiveLabels, Input<int?>? generation, Input<Map<String, String>?>? labels, Input<String?>? namespace, Input<Map<String, String>?>? pulumiLabels, Input<String?>? resourceVersion, Input<String?>? selfLink, Input<String?>? uid})
Creates a new ServiceMetadata. annotations Annotations is a key value map stored with a resource that effectiveAnnotations (Output) effectiveLabels (Output) generation (Output) labels Map of string keys and values that can be used to organize and categorize namespace In Cloud Run the namespace must be equal to either the pulumiLabels The combination of labels configured directly on the resource resourceVersion (Output) selfLink (Output) uid (Output)
const
ServiceMetadata.fromMap(Map<String, dynamic> map)
factory

Properties

annotations → Input<Map<String, String>?>?
Annotations is a key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations Note: The Cloud Run API may add additional annotations that were not provided in your config. If the provider plan shows a diff where a server-side annotation is added, you can add it to your config or apply the lifecycle.ignore_changes rule to the metadata.0.annotations field. Annotations with run.googleapis.com/ and autoscaling.knative.dev are restricted. Use the following annotation keys to configure features on a Service:
final
effectiveAnnotations → Input<Map<String, String>?>?
(Output) 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>?>?
(Output) All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
final
generation → Input<int?>?
(Output) A sequence number representing a specific generation of the desired state.
final
hashCode → int
The hash code for this object.
no setterinherited
labels → Input<Map<String, String>?>?
Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and routes. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
final
namespace → Input<String?>?
In Cloud Run the namespace must be equal to either the project ID or project number.
final
pulumiLabels → Input<Map<String, String>?>?
The combination of labels configured directly on the resource and default labels configured on the provider.
final
resourceVersion → Input<String?>?
(Output) An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. They may only be valid for a particular resource or set of resources.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
(Output) SelfLink is a URL representing this object.
final
uid → Input<String?>?
(Output) UID is a unique id generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
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