Interface CloudRunV2ServiceConfig
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,com.hashicorp.cdktf.TerraformMetaArguments
- All Known Implementing Classes:
CloudRunV2ServiceConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:17.990Z") @Stability(Stable) public interface CloudRunV2ServiceConfig extends software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCloudRunV2ServiceConfig.BuilderA builder forCloudRunV2ServiceConfigstatic classCloudRunV2ServiceConfig.Jsii$ProxyAn implementation forCloudRunV2ServiceConfig
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static CloudRunV2ServiceConfig.Builderbuilder()default Map<String,String>getAnnotations()Unstructured key value map that may be set by external tools to store and arbitrary metadata.default CloudRunV2ServiceBinaryAuthorizationgetBinaryAuthorization()binary_authorization block.default StringgetClient()Arbitrary identifier for the API client.default StringgetClientVersion()Arbitrary version identifier for the API client.default List<String>getCustomAudiences()One or more custom audiences that you want this service to support.default StringgetDescription()User-provided description of the Service.default StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#id CloudRunV2Service#id}.default StringgetIngress()Provides the ingress settings for this Service.default Map<String,String>getLabels()Unstructured key value map that can be used to organize and categorize objects.default StringgetLaunchStage()The launch stage as defined by Google Cloud Platform Launch Stages.StringgetLocation()The location of the cloud run service.StringgetName()Name of the Service.default StringgetProject()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#project CloudRunV2Service#project}.CloudRunV2ServiceTemplategetTemplate()template block.default CloudRunV2ServiceTimeoutsgetTimeouts()timeouts block.default ObjectgetTraffic()traffic block.
-
-
-
Method Detail
-
getLocation
@Stability(Stable) @NotNull String getLocation()
The location of the cloud run service.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#location CloudRunV2Service#location}
-
getName
@Stability(Stable) @NotNull String getName()
Name of the Service.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#name CloudRunV2Service#name}
-
getTemplate
@Stability(Stable) @NotNull CloudRunV2ServiceTemplate getTemplate()
template block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#template CloudRunV2Service#template}
-
getAnnotations
@Stability(Stable) @Nullable default Map<String,String> getAnnotations()
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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#annotations CloudRunV2Service#annotations}
-
getBinaryAuthorization
@Stability(Stable) @Nullable default CloudRunV2ServiceBinaryAuthorization getBinaryAuthorization()
binary_authorization block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#binary_authorization CloudRunV2Service#binary_authorization}
-
getClient
@Stability(Stable) @Nullable default String getClient()
Arbitrary identifier for the API client.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#client CloudRunV2Service#client}
-
getClientVersion
@Stability(Stable) @Nullable default String getClientVersion()
Arbitrary version identifier for the API client.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#client_version CloudRunV2Service#client_version}
-
getCustomAudiences
@Stability(Stable) @Nullable default List<String> getCustomAudiences()
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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#custom_audiences CloudRunV2Service#custom_audiences}
-
getDescription
@Stability(Stable) @Nullable default String getDescription()
User-provided description of the Service. This field currently has a 512-character limit.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#description CloudRunV2Service#description}
-
getId
@Stability(Stable) @Nullable default String getId()
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#id CloudRunV2Service#id}.Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
-
getIngress
@Stability(Stable) @Nullable default String getIngress()
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"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#ingress CloudRunV2Service#ingress}
-
getLabels
@Stability(Stable) @Nullable default Map<String,String> getLabels()
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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#labels CloudRunV2Service#labels}
-
getLaunchStage
@Stability(Stable) @Nullable default String getLaunchStage()
The launch stage as defined by Google Cloud Platform 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"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#launch_stage CloudRunV2Service#launch_stage}
-
getProject
@Stability(Stable) @Nullable default String getProject()
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#project CloudRunV2Service#project}.
-
getTimeouts
@Stability(Stable) @Nullable default CloudRunV2ServiceTimeouts getTimeouts()
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#timeouts CloudRunV2Service#timeouts}
-
getTraffic
@Stability(Stable) @Nullable default Object getTraffic()
traffic block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#traffic CloudRunV2Service#traffic}
-
builder
@Stability(Stable) static CloudRunV2ServiceConfig.Builder builder()
- Returns:
- a
CloudRunV2ServiceConfig.BuilderofCloudRunV2ServiceConfig
-
-