Class ServiceState
Inherited Members
Namespace: Pulumi.Gcp.CloudRun
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class ServiceState : ResourceArgs
Constructors
View SourceServiceState()
Declaration
public ServiceState()
Properties
View SourceAutogenerateRevisionName
If set to true, the revision name (template.metadata.name) will be omitted and
autogenerated by Cloud Run. This cannot be set to true while template.metadata.name
is also set.
(For legacy support, if template.metadata.name is unset in state while
this field is set to false, the revision name will still autogenerate.)
Declaration
public Input<bool> AutogenerateRevisionName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Location
The location of the cloud run instance. eg us-central1
Declaration
public Input<string> Location { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Metadata
Metadata associated with this Service, including name, namespace, labels, and annotations. Structure is documented below.
Declaration
public Input<ServiceMetadataGetArgs> Metadata { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ServiceMetadataGetArgs> |
Name
Name of the environment variable.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Project
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Declaration
public Input<string> Project { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Status
The current status of the Service.
Declaration
public Input<ServiceStatusGetArgs> Status { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ServiceStatusGetArgs> |
Template
template holds the latest specification for the Revision to be stamped out. The template references the container image, and may also include labels and annotations that should be attached to the Revision. To correlate a Revision, and/or to force a Revision to be created when the spec doesn't otherwise change, a nonce label may be provided in the template metadata. For more details, see: https://github.com/knative/serving/blob/master/docs/client-conventions.md#associate-modifications-with-revisions Cloud Run does not currently support referencing a build that is responsible for materializing the container image from source. Structure is documented below.
Declaration
public Input<ServiceTemplateGetArgs> Template { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ServiceTemplateGetArgs> |
Traffics
Traffic specifies how to distribute traffic over a collection of Knative Revisions and Configurations Structure is documented below.
Declaration
public InputList<ServiceTrafficGetArgs> Traffics { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<ServiceTrafficGetArgs> |