Class ServiceArgs


  • public final class ServiceArgs
    extends com.pulumi.resources.ResourceArgs
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  ServiceArgs.Builder  
      • Nested classes/interfaces inherited from class com.pulumi.resources.InputArgs

        com.pulumi.resources.InputArgs.InputArgsInternal
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static ServiceArgs Empty  
    • Method Detail

      • annotations

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> annotations()
        Returns:
        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. Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected in new resources. All system annotations in v1 now have a corresponding field in v2 Service. This field follows Kubernetes annotations' namespacing, limits, and rules. **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field 'effective_annotations' for all of the annotations present on the resource.
      • binaryAuthorization

        public java.util.Optional<com.pulumi.core.Output<ServiceBinaryAuthorizationArgs>> binaryAuthorization()
        Returns:
        Settings for the Binary Authorization feature.
      • client

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> client()
        Returns:
        Arbitrary identifier for the API client.
      • clientVersion

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> clientVersion()
        Returns:
        Arbitrary version identifier for the API client.
      • customAudiences

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> customAudiences()
        Returns:
        One or more custom audiences that you want this service to support. Specify each custom audience as the full URL in a string. The custom audiences are encoded in the token and used to authenticate requests. For more information, see https://cloud.google.com/run/docs/configuring/custom-audiences.
      • description

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
        Returns:
        User-provided description of the Service. This field currently has a 512-character limit.
      • ingress

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> ingress()
        Returns:
        Provides the ingress settings for this Service. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active. Possible values: ["INGRESS_TRAFFIC_ALL", "INGRESS_TRAFFIC_INTERNAL_ONLY", "INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER"]
      • labels

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> labels()
        Returns:
        Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. Cloud Run API v2 does not support labels with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Service. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
      • launchStage

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> launchStage()
        Returns:
        The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/products#product-launch-stages). Cloud Run supports ALPHA, BETA, and GA. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output. Possible values: ["UNIMPLEMENTED", "PRELAUNCH", "EARLY_ACCESS", "ALPHA", "BETA", "GA", "DEPRECATED"]
      • location

        public com.pulumi.core.Output<java.lang.String> location()
        Returns:
        The location of the cloud run service
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        Name of the Service.
      • project

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> project()
      • scaling

        public java.util.Optional<com.pulumi.core.Output<ServiceScalingArgs>> scaling()
        Returns:
        Scaling settings that apply to the whole service
      • template

        public com.pulumi.core.Output<ServiceTemplateArgs> template()
        Returns:
        The template used to create revisions for this Service. Structure is documented below.
      • traffics

        public java.util.Optional<com.pulumi.core.Output<java.util.List<ServiceTrafficArgs>>> traffics()
        Returns:
        Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest Ready Revision.