Show / Hide Table of Contents

Class ServiceArgs

Inheritance
System.Object
InputArgs
ResourceArgs
ServiceArgs
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.CloudRun
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class ServiceArgs : ResourceArgs

Constructors

View Source

ServiceArgs()

Declaration
public ServiceArgs()

Properties

View Source

AutogenerateRevisionName

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>
View Source

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>
View Source

Metadata

Metadata associated with this Service, including name, namespace, labels, and annotations. Structure is documented below.

Declaration
public Input<ServiceMetadataArgs> Metadata { get; set; }
Property Value
Type Description
Input<ServiceMetadataArgs>
View Source

Name

Name of the environment variable.

Declaration
public Input<string> Name { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
View Source

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<ServiceTemplateArgs> Template { get; set; }
Property Value
Type Description
Input<ServiceTemplateArgs>
View Source

Traffics

Traffic specifies how to distribute traffic over a collection of Knative Revisions and Configurations Structure is documented below.

Declaration
public InputList<ServiceTrafficArgs> Traffics { get; set; }
Property Value
Type Description
InputList<ServiceTrafficArgs>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.