gcp.saasruntime.Release
Explore with Pulumi AI
A version to be propagated and deployed to Units. It points to a specific version of a Blueprint that can be applied to Units, for example, via a Rollout.
Example Usage
Saas Runtime Release Basic
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const exampleSaas = new gcp.saasruntime.SaaS("example_saas", {
saasId: "example-saas",
location: "global",
locations: [{
name: "us-central1",
}],
});
const exampleUnitkind = new gcp.saasruntime.UnitKind("example_unitkind", {
location: "global",
unitKindId: "example-unitkind",
saas: exampleSaas.id,
});
const examplePrevious = new gcp.saasruntime.Release("example_previous", {
location: "global",
releaseId: "previous-release",
unitKind: exampleUnitkind.id,
blueprint: {
"package": "us-central1-docker.pkg.dev/ci-test-project-188019/test-repo/tf-test-easysaas-alpha-image@sha256:7992fdbaeaf998ecd31a7f937bb26e38a781ecf49b24857a6176c1e9bfc299ee",
},
});
const example = new gcp.saasruntime.Release("example", {
location: "global",
releaseId: "example-release",
unitKind: exampleUnitkind.id,
blueprint: {
"package": "us-central1-docker.pkg.dev/ci-test-project-188019/test-repo/tf-test-easysaas-beta-image@sha256:7bba0fa85b2956df7768f7b32e715b6fe11f4f4193e2a70a35bf3f286a6cdf9e",
},
inputVariableDefaults: [{
variable: "name",
value: "test",
type: "STRING",
}],
});
import pulumi
import pulumi_gcp as gcp
example_saas = gcp.saasruntime.SaaS("example_saas",
saas_id="example-saas",
location="global",
locations=[{
"name": "us-central1",
}])
example_unitkind = gcp.saasruntime.UnitKind("example_unitkind",
location="global",
unit_kind_id="example-unitkind",
saas=example_saas.id)
example_previous = gcp.saasruntime.Release("example_previous",
location="global",
release_id="previous-release",
unit_kind=example_unitkind.id,
blueprint={
"package": "us-central1-docker.pkg.dev/ci-test-project-188019/test-repo/tf-test-easysaas-alpha-image@sha256:7992fdbaeaf998ecd31a7f937bb26e38a781ecf49b24857a6176c1e9bfc299ee",
})
example = gcp.saasruntime.Release("example",
location="global",
release_id="example-release",
unit_kind=example_unitkind.id,
blueprint={
"package": "us-central1-docker.pkg.dev/ci-test-project-188019/test-repo/tf-test-easysaas-beta-image@sha256:7bba0fa85b2956df7768f7b32e715b6fe11f4f4193e2a70a35bf3f286a6cdf9e",
},
input_variable_defaults=[{
"variable": "name",
"value": "test",
"type": "STRING",
}])
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/saasruntime"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleSaas, err := saasruntime.NewSaaS(ctx, "example_saas", &saasruntime.SaaSArgs{
SaasId: pulumi.String("example-saas"),
Location: pulumi.String("global"),
Locations: saasruntime.SaaSLocationArray{
&saasruntime.SaaSLocationArgs{
Name: pulumi.String("us-central1"),
},
},
})
if err != nil {
return err
}
exampleUnitkind, err := saasruntime.NewUnitKind(ctx, "example_unitkind", &saasruntime.UnitKindArgs{
Location: pulumi.String("global"),
UnitKindId: pulumi.String("example-unitkind"),
Saas: exampleSaas.ID(),
})
if err != nil {
return err
}
_, err = saasruntime.NewRelease(ctx, "example_previous", &saasruntime.ReleaseArgs{
Location: pulumi.String("global"),
ReleaseId: pulumi.String("previous-release"),
UnitKind: exampleUnitkind.ID(),
Blueprint: &saasruntime.ReleaseBlueprintArgs{
Package: pulumi.String("us-central1-docker.pkg.dev/ci-test-project-188019/test-repo/tf-test-easysaas-alpha-image@sha256:7992fdbaeaf998ecd31a7f937bb26e38a781ecf49b24857a6176c1e9bfc299ee"),
},
})
if err != nil {
return err
}
_, err = saasruntime.NewRelease(ctx, "example", &saasruntime.ReleaseArgs{
Location: pulumi.String("global"),
ReleaseId: pulumi.String("example-release"),
UnitKind: exampleUnitkind.ID(),
Blueprint: &saasruntime.ReleaseBlueprintArgs{
Package: pulumi.String("us-central1-docker.pkg.dev/ci-test-project-188019/test-repo/tf-test-easysaas-beta-image@sha256:7bba0fa85b2956df7768f7b32e715b6fe11f4f4193e2a70a35bf3f286a6cdf9e"),
},
InputVariableDefaults: saasruntime.ReleaseInputVariableDefaultArray{
&saasruntime.ReleaseInputVariableDefaultArgs{
Variable: pulumi.String("name"),
Value: pulumi.String("test"),
Type: pulumi.String("STRING"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var exampleSaas = new Gcp.SaaSRuntime.SaaS("example_saas", new()
{
SaasId = "example-saas",
Location = "global",
Locations = new[]
{
new Gcp.SaaSRuntime.Inputs.SaaSLocationArgs
{
Name = "us-central1",
},
},
});
var exampleUnitkind = new Gcp.SaaSRuntime.UnitKind("example_unitkind", new()
{
Location = "global",
UnitKindId = "example-unitkind",
Saas = exampleSaas.Id,
});
var examplePrevious = new Gcp.SaaSRuntime.Release("example_previous", new()
{
Location = "global",
ReleaseId = "previous-release",
UnitKind = exampleUnitkind.Id,
Blueprint = new Gcp.SaaSRuntime.Inputs.ReleaseBlueprintArgs
{
Package = "us-central1-docker.pkg.dev/ci-test-project-188019/test-repo/tf-test-easysaas-alpha-image@sha256:7992fdbaeaf998ecd31a7f937bb26e38a781ecf49b24857a6176c1e9bfc299ee",
},
});
var example = new Gcp.SaaSRuntime.Release("example", new()
{
Location = "global",
ReleaseId = "example-release",
UnitKind = exampleUnitkind.Id,
Blueprint = new Gcp.SaaSRuntime.Inputs.ReleaseBlueprintArgs
{
Package = "us-central1-docker.pkg.dev/ci-test-project-188019/test-repo/tf-test-easysaas-beta-image@sha256:7bba0fa85b2956df7768f7b32e715b6fe11f4f4193e2a70a35bf3f286a6cdf9e",
},
InputVariableDefaults = new[]
{
new Gcp.SaaSRuntime.Inputs.ReleaseInputVariableDefaultArgs
{
Variable = "name",
Value = "test",
Type = "STRING",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.saasruntime.SaaS;
import com.pulumi.gcp.saasruntime.SaaSArgs;
import com.pulumi.gcp.saasruntime.inputs.SaaSLocationArgs;
import com.pulumi.gcp.saasruntime.UnitKind;
import com.pulumi.gcp.saasruntime.UnitKindArgs;
import com.pulumi.gcp.saasruntime.Release;
import com.pulumi.gcp.saasruntime.ReleaseArgs;
import com.pulumi.gcp.saasruntime.inputs.ReleaseBlueprintArgs;
import com.pulumi.gcp.saasruntime.inputs.ReleaseInputVariableDefaultArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var exampleSaas = new SaaS("exampleSaas", SaaSArgs.builder()
.saasId("example-saas")
.location("global")
.locations(SaaSLocationArgs.builder()
.name("us-central1")
.build())
.build());
var exampleUnitkind = new UnitKind("exampleUnitkind", UnitKindArgs.builder()
.location("global")
.unitKindId("example-unitkind")
.saas(exampleSaas.id())
.build());
var examplePrevious = new Release("examplePrevious", ReleaseArgs.builder()
.location("global")
.releaseId("previous-release")
.unitKind(exampleUnitkind.id())
.blueprint(ReleaseBlueprintArgs.builder()
.package_("us-central1-docker.pkg.dev/ci-test-project-188019/test-repo/tf-test-easysaas-alpha-image@sha256:7992fdbaeaf998ecd31a7f937bb26e38a781ecf49b24857a6176c1e9bfc299ee")
.build())
.build());
var example = new Release("example", ReleaseArgs.builder()
.location("global")
.releaseId("example-release")
.unitKind(exampleUnitkind.id())
.blueprint(ReleaseBlueprintArgs.builder()
.package_("us-central1-docker.pkg.dev/ci-test-project-188019/test-repo/tf-test-easysaas-beta-image@sha256:7bba0fa85b2956df7768f7b32e715b6fe11f4f4193e2a70a35bf3f286a6cdf9e")
.build())
.inputVariableDefaults(ReleaseInputVariableDefaultArgs.builder()
.variable("name")
.value("test")
.type("STRING")
.build())
.build());
}
}
resources:
exampleSaas:
type: gcp:saasruntime:SaaS
name: example_saas
properties:
saasId: example-saas
location: global
locations:
- name: us-central1
exampleUnitkind:
type: gcp:saasruntime:UnitKind
name: example_unitkind
properties:
location: global
unitKindId: example-unitkind
saas: ${exampleSaas.id}
examplePrevious:
type: gcp:saasruntime:Release
name: example_previous
properties:
location: global
releaseId: previous-release
unitKind: ${exampleUnitkind.id}
blueprint:
package: us-central1-docker.pkg.dev/ci-test-project-188019/test-repo/tf-test-easysaas-alpha-image@sha256:7992fdbaeaf998ecd31a7f937bb26e38a781ecf49b24857a6176c1e9bfc299ee
example:
type: gcp:saasruntime:Release
properties:
location: global
releaseId: example-release
unitKind: ${exampleUnitkind.id}
blueprint:
package: us-central1-docker.pkg.dev/ci-test-project-188019/test-repo/tf-test-easysaas-beta-image@sha256:7bba0fa85b2956df7768f7b32e715b6fe11f4f4193e2a70a35bf3f286a6cdf9e
inputVariableDefaults:
- variable: name
value: test
type: STRING
Create Release Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Release(name: string, args: ReleaseArgs, opts?: CustomResourceOptions);
@overload
def Release(resource_name: str,
args: ReleaseArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Release(resource_name: str,
opts: Optional[ResourceOptions] = None,
location: Optional[str] = None,
release_id: Optional[str] = None,
unit_kind: Optional[str] = None,
annotations: Optional[Mapping[str, str]] = None,
blueprint: Optional[ReleaseBlueprintArgs] = None,
input_variable_defaults: Optional[Sequence[ReleaseInputVariableDefaultArgs]] = None,
labels: Optional[Mapping[str, str]] = None,
project: Optional[str] = None,
release_requirements: Optional[ReleaseReleaseRequirementsArgs] = None)
func NewRelease(ctx *Context, name string, args ReleaseArgs, opts ...ResourceOption) (*Release, error)
public Release(string name, ReleaseArgs args, CustomResourceOptions? opts = null)
public Release(String name, ReleaseArgs args)
public Release(String name, ReleaseArgs args, CustomResourceOptions options)
type: gcp:saasruntime:Release
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ReleaseArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ReleaseArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ReleaseArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ReleaseArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ReleaseArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var gcpReleaseResource = new Gcp.SaaSRuntime.Release("gcpReleaseResource", new()
{
Location = "string",
ReleaseId = "string",
UnitKind = "string",
Annotations =
{
{ "string", "string" },
},
Blueprint = new Gcp.SaaSRuntime.Inputs.ReleaseBlueprintArgs
{
Engine = "string",
Package = "string",
Version = "string",
},
InputVariableDefaults = new[]
{
new Gcp.SaaSRuntime.Inputs.ReleaseInputVariableDefaultArgs
{
Variable = "string",
Type = "string",
Value = "string",
},
},
Labels =
{
{ "string", "string" },
},
Project = "string",
ReleaseRequirements = new Gcp.SaaSRuntime.Inputs.ReleaseReleaseRequirementsArgs
{
UpgradeableFromReleases = new[]
{
"string",
},
},
});
example, err := saasruntime.NewRelease(ctx, "gcpReleaseResource", &saasruntime.ReleaseArgs{
Location: pulumi.String("string"),
ReleaseId: pulumi.String("string"),
UnitKind: pulumi.String("string"),
Annotations: pulumi.StringMap{
"string": pulumi.String("string"),
},
Blueprint: &saasruntime.ReleaseBlueprintArgs{
Engine: pulumi.String("string"),
Package: pulumi.String("string"),
Version: pulumi.String("string"),
},
InputVariableDefaults: saasruntime.ReleaseInputVariableDefaultArray{
&saasruntime.ReleaseInputVariableDefaultArgs{
Variable: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Project: pulumi.String("string"),
ReleaseRequirements: &saasruntime.ReleaseReleaseRequirementsArgs{
UpgradeableFromReleases: pulumi.StringArray{
pulumi.String("string"),
},
},
})
var gcpReleaseResource = new com.pulumi.gcp.saasruntime.Release("gcpReleaseResource", com.pulumi.gcp.saasruntime.ReleaseArgs.builder()
.location("string")
.releaseId("string")
.unitKind("string")
.annotations(Map.of("string", "string"))
.blueprint(ReleaseBlueprintArgs.builder()
.engine("string")
.package_("string")
.version("string")
.build())
.inputVariableDefaults(ReleaseInputVariableDefaultArgs.builder()
.variable("string")
.type("string")
.value("string")
.build())
.labels(Map.of("string", "string"))
.project("string")
.releaseRequirements(ReleaseReleaseRequirementsArgs.builder()
.upgradeableFromReleases("string")
.build())
.build());
gcp_release_resource = gcp.saasruntime.Release("gcpReleaseResource",
location="string",
release_id="string",
unit_kind="string",
annotations={
"string": "string",
},
blueprint={
"engine": "string",
"package": "string",
"version": "string",
},
input_variable_defaults=[{
"variable": "string",
"type": "string",
"value": "string",
}],
labels={
"string": "string",
},
project="string",
release_requirements={
"upgradeable_from_releases": ["string"],
})
const gcpReleaseResource = new gcp.saasruntime.Release("gcpReleaseResource", {
location: "string",
releaseId: "string",
unitKind: "string",
annotations: {
string: "string",
},
blueprint: {
engine: "string",
"package": "string",
version: "string",
},
inputVariableDefaults: [{
variable: "string",
type: "string",
value: "string",
}],
labels: {
string: "string",
},
project: "string",
releaseRequirements: {
upgradeableFromReleases: ["string"],
},
});
type: gcp:saasruntime:Release
properties:
annotations:
string: string
blueprint:
engine: string
package: string
version: string
inputVariableDefaults:
- type: string
value: string
variable: string
labels:
string: string
location: string
project: string
releaseId: string
releaseRequirements:
upgradeableFromReleases:
- string
unitKind: string
Release Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Release resource accepts the following input properties:
- Location string
- Resource ID segment making up resource
name
. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Release
Id string - The ID value for the new release.
- Unit
Kind string - Reference to the UnitKind this Release corresponds to (required and immutable once created).
- Annotations Dictionary<string, string>
- Annotations is an unstructured key-value map stored with a resource that
may be set by external tools to store and retrieve arbitrary metadata.
They are not queryable and should be preserved when modifying objects.
More info: https://kubernetes.io/docs/user-guide/annotations
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. - Blueprint
Release
Blueprint - Input
Variable List<ReleaseDefaults Input Variable Default> - Mapping of input variables to default values. Maximum 100 Structure is documented below.
- Labels Dictionary<string, string>
- The labels on the resource, which can be used for categorization.
similar to Kubernetes resource labels.
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. - Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Release
Requirements ReleaseRelease Requirements - Set of requirements to be fulfilled on the Unit when using this Release. Structure is documented below.
- Location string
- Resource ID segment making up resource
name
. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Release
Id string - The ID value for the new release.
- Unit
Kind string - Reference to the UnitKind this Release corresponds to (required and immutable once created).
- Annotations map[string]string
- Annotations is an unstructured key-value map stored with a resource that
may be set by external tools to store and retrieve arbitrary metadata.
They are not queryable and should be preserved when modifying objects.
More info: https://kubernetes.io/docs/user-guide/annotations
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. - Blueprint
Release
Blueprint Args - Input
Variable []ReleaseDefaults Input Variable Default Args - Mapping of input variables to default values. Maximum 100 Structure is documented below.
- Labels map[string]string
- The labels on the resource, which can be used for categorization.
similar to Kubernetes resource labels.
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. - Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Release
Requirements ReleaseRelease Requirements Args - Set of requirements to be fulfilled on the Unit when using this Release. Structure is documented below.
- location String
- Resource ID segment making up resource
name
. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - release
Id String - The ID value for the new release.
- unit
Kind String - Reference to the UnitKind this Release corresponds to (required and immutable once created).
- annotations Map<String,String>
- Annotations is an unstructured key-value map stored with a resource that
may be set by external tools to store and retrieve arbitrary metadata.
They are not queryable and should be preserved when modifying objects.
More info: https://kubernetes.io/docs/user-guide/annotations
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. - blueprint
Release
Blueprint - input
Variable List<ReleaseDefaults Input Variable Default> - Mapping of input variables to default values. Maximum 100 Structure is documented below.
- labels Map<String,String>
- The labels on the resource, which can be used for categorization.
similar to Kubernetes resource labels.
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. - project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- release
Requirements ReleaseRelease Requirements - Set of requirements to be fulfilled on the Unit when using this Release. Structure is documented below.
- location string
- Resource ID segment making up resource
name
. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - release
Id string - The ID value for the new release.
- unit
Kind string - Reference to the UnitKind this Release corresponds to (required and immutable once created).
- annotations {[key: string]: string}
- Annotations is an unstructured key-value map stored with a resource that
may be set by external tools to store and retrieve arbitrary metadata.
They are not queryable and should be preserved when modifying objects.
More info: https://kubernetes.io/docs/user-guide/annotations
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. - blueprint
Release
Blueprint - input
Variable ReleaseDefaults Input Variable Default[] - Mapping of input variables to default values. Maximum 100 Structure is documented below.
- labels {[key: string]: string}
- The labels on the resource, which can be used for categorization.
similar to Kubernetes resource labels.
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. - project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- release
Requirements ReleaseRelease Requirements - Set of requirements to be fulfilled on the Unit when using this Release. Structure is documented below.
- location str
- Resource ID segment making up resource
name
. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - release_
id str - The ID value for the new release.
- unit_
kind str - Reference to the UnitKind this Release corresponds to (required and immutable once created).
- annotations Mapping[str, str]
- Annotations is an unstructured key-value map stored with a resource that
may be set by external tools to store and retrieve arbitrary metadata.
They are not queryable and should be preserved when modifying objects.
More info: https://kubernetes.io/docs/user-guide/annotations
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. - blueprint
Release
Blueprint Args - input_
variable_ Sequence[Releasedefaults Input Variable Default Args] - Mapping of input variables to default values. Maximum 100 Structure is documented below.
- labels Mapping[str, str]
- The labels on the resource, which can be used for categorization.
similar to Kubernetes resource labels.
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. - project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- release_
requirements ReleaseRelease Requirements Args - Set of requirements to be fulfilled on the Unit when using this Release. Structure is documented below.
- location String
- Resource ID segment making up resource
name
. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - release
Id String - The ID value for the new release.
- unit
Kind String - Reference to the UnitKind this Release corresponds to (required and immutable once created).
- annotations Map<String>
- Annotations is an unstructured key-value map stored with a resource that
may be set by external tools to store and retrieve arbitrary metadata.
They are not queryable and should be preserved when modifying objects.
More info: https://kubernetes.io/docs/user-guide/annotations
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. - blueprint Property Map
- input
Variable List<Property Map>Defaults - Mapping of input variables to default values. Maximum 100 Structure is documented below.
- labels Map<String>
- The labels on the resource, which can be used for categorization.
similar to Kubernetes resource labels.
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. - project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- release
Requirements Property Map - Set of requirements to be fulfilled on the Unit when using this Release. Structure is documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the Release resource produces the following output properties:
- Create
Time string - The timestamp when the resource was created.
- Effective
Annotations Dictionary<string, string> - Effective
Labels Dictionary<string, string> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Etag string
- An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
- Id string
- The provider-assigned unique ID for this managed resource.
- Input
Variables List<ReleaseInput Variable> - List of input variables declared on the blueprint and can be present with their values on the unit spec Structure is documented below.
- Name string
- Identifier. The resource name (full URI of the resource) following the standard naming scheme: "projects/{project}/locations/{location}/releases/{release}"
- Output
Variables List<ReleaseOutput Variable> - List of output variables declared on the blueprint and can be present with their values on the unit status Structure is documented below.
- Pulumi
Labels Dictionary<string, string> - The combination of labels configured directly on the resource and default labels configured on the provider.
- Uid string
- The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
- Update
Time string - The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.
- Create
Time string - The timestamp when the resource was created.
- Effective
Annotations map[string]string - Effective
Labels map[string]string - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Etag string
- An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
- Id string
- The provider-assigned unique ID for this managed resource.
- Input
Variables []ReleaseInput Variable - List of input variables declared on the blueprint and can be present with their values on the unit spec Structure is documented below.
- Name string
- Identifier. The resource name (full URI of the resource) following the standard naming scheme: "projects/{project}/locations/{location}/releases/{release}"
- Output
Variables []ReleaseOutput Variable - List of output variables declared on the blueprint and can be present with their values on the unit status Structure is documented below.
- Pulumi
Labels map[string]string - The combination of labels configured directly on the resource and default labels configured on the provider.
- Uid string
- The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
- Update
Time string - The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.
- create
Time String - The timestamp when the resource was created.
- effective
Annotations Map<String,String> - effective
Labels Map<String,String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- etag String
- An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
- id String
- The provider-assigned unique ID for this managed resource.
- input
Variables List<ReleaseInput Variable> - List of input variables declared on the blueprint and can be present with their values on the unit spec Structure is documented below.
- name String
- Identifier. The resource name (full URI of the resource) following the standard naming scheme: "projects/{project}/locations/{location}/releases/{release}"
- output
Variables List<ReleaseOutput Variable> - List of output variables declared on the blueprint and can be present with their values on the unit status Structure is documented below.
- pulumi
Labels Map<String,String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- uid String
- The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
- update
Time String - The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.
- create
Time string - The timestamp when the resource was created.
- effective
Annotations {[key: string]: string} - effective
Labels {[key: string]: string} - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- etag string
- An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
- id string
- The provider-assigned unique ID for this managed resource.
- input
Variables ReleaseInput Variable[] - List of input variables declared on the blueprint and can be present with their values on the unit spec Structure is documented below.
- name string
- Identifier. The resource name (full URI of the resource) following the standard naming scheme: "projects/{project}/locations/{location}/releases/{release}"
- output
Variables ReleaseOutput Variable[] - List of output variables declared on the blueprint and can be present with their values on the unit status Structure is documented below.
- pulumi
Labels {[key: string]: string} - The combination of labels configured directly on the resource and default labels configured on the provider.
- uid string
- The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
- update
Time string - The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.
- create_
time str - The timestamp when the resource was created.
- effective_
annotations Mapping[str, str] - effective_
labels Mapping[str, str] - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- etag str
- An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
- id str
- The provider-assigned unique ID for this managed resource.
- input_
variables Sequence[ReleaseInput Variable] - List of input variables declared on the blueprint and can be present with their values on the unit spec Structure is documented below.
- name str
- Identifier. The resource name (full URI of the resource) following the standard naming scheme: "projects/{project}/locations/{location}/releases/{release}"
- output_
variables Sequence[ReleaseOutput Variable] - List of output variables declared on the blueprint and can be present with their values on the unit status Structure is documented below.
- pulumi_
labels Mapping[str, str] - The combination of labels configured directly on the resource and default labels configured on the provider.
- uid str
- The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
- update_
time str - The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.
- create
Time String - The timestamp when the resource was created.
- effective
Annotations Map<String> - effective
Labels Map<String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- etag String
- An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
- id String
- The provider-assigned unique ID for this managed resource.
- input
Variables List<Property Map> - List of input variables declared on the blueprint and can be present with their values on the unit spec Structure is documented below.
- name String
- Identifier. The resource name (full URI of the resource) following the standard naming scheme: "projects/{project}/locations/{location}/releases/{release}"
- output
Variables List<Property Map> - List of output variables declared on the blueprint and can be present with their values on the unit status Structure is documented below.
- pulumi
Labels Map<String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- uid String
- The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
- update
Time String - The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.
Look up Existing Release Resource
Get an existing Release resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ReleaseState, opts?: CustomResourceOptions): Release
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
annotations: Optional[Mapping[str, str]] = None,
blueprint: Optional[ReleaseBlueprintArgs] = None,
create_time: Optional[str] = None,
effective_annotations: Optional[Mapping[str, str]] = None,
effective_labels: Optional[Mapping[str, str]] = None,
etag: Optional[str] = None,
input_variable_defaults: Optional[Sequence[ReleaseInputVariableDefaultArgs]] = None,
input_variables: Optional[Sequence[ReleaseInputVariableArgs]] = None,
labels: Optional[Mapping[str, str]] = None,
location: Optional[str] = None,
name: Optional[str] = None,
output_variables: Optional[Sequence[ReleaseOutputVariableArgs]] = None,
project: Optional[str] = None,
pulumi_labels: Optional[Mapping[str, str]] = None,
release_id: Optional[str] = None,
release_requirements: Optional[ReleaseReleaseRequirementsArgs] = None,
uid: Optional[str] = None,
unit_kind: Optional[str] = None,
update_time: Optional[str] = None) -> Release
func GetRelease(ctx *Context, name string, id IDInput, state *ReleaseState, opts ...ResourceOption) (*Release, error)
public static Release Get(string name, Input<string> id, ReleaseState? state, CustomResourceOptions? opts = null)
public static Release get(String name, Output<String> id, ReleaseState state, CustomResourceOptions options)
resources: _: type: gcp:saasruntime:Release get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Annotations Dictionary<string, string>
- Annotations is an unstructured key-value map stored with a resource that
may be set by external tools to store and retrieve arbitrary metadata.
They are not queryable and should be preserved when modifying objects.
More info: https://kubernetes.io/docs/user-guide/annotations
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. - Blueprint
Release
Blueprint - Create
Time string - The timestamp when the resource was created.
- Effective
Annotations Dictionary<string, string> - Effective
Labels Dictionary<string, string> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Etag string
- An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
- Input
Variable List<ReleaseDefaults Input Variable Default> - Mapping of input variables to default values. Maximum 100 Structure is documented below.
- Input
Variables List<ReleaseInput Variable> - List of input variables declared on the blueprint and can be present with their values on the unit spec Structure is documented below.
- Labels Dictionary<string, string>
- The labels on the resource, which can be used for categorization.
similar to Kubernetes resource labels.
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. - Location string
- Resource ID segment making up resource
name
. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Name string
- Identifier. The resource name (full URI of the resource) following the standard naming scheme: "projects/{project}/locations/{location}/releases/{release}"
- Output
Variables List<ReleaseOutput Variable> - List of output variables declared on the blueprint and can be present with their values on the unit status Structure is documented below.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Pulumi
Labels Dictionary<string, string> - The combination of labels configured directly on the resource and default labels configured on the provider.
- Release
Id string - The ID value for the new release.
- Release
Requirements ReleaseRelease Requirements - Set of requirements to be fulfilled on the Unit when using this Release. Structure is documented below.
- Uid string
- The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
- Unit
Kind string - Reference to the UnitKind this Release corresponds to (required and immutable once created).
- Update
Time string - The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.
- Annotations map[string]string
- Annotations is an unstructured key-value map stored with a resource that
may be set by external tools to store and retrieve arbitrary metadata.
They are not queryable and should be preserved when modifying objects.
More info: https://kubernetes.io/docs/user-guide/annotations
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. - Blueprint
Release
Blueprint Args - Create
Time string - The timestamp when the resource was created.
- Effective
Annotations map[string]string - Effective
Labels map[string]string - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Etag string
- An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
- Input
Variable []ReleaseDefaults Input Variable Default Args - Mapping of input variables to default values. Maximum 100 Structure is documented below.
- Input
Variables []ReleaseInput Variable Args - List of input variables declared on the blueprint and can be present with their values on the unit spec Structure is documented below.
- Labels map[string]string
- The labels on the resource, which can be used for categorization.
similar to Kubernetes resource labels.
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. - Location string
- Resource ID segment making up resource
name
. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Name string
- Identifier. The resource name (full URI of the resource) following the standard naming scheme: "projects/{project}/locations/{location}/releases/{release}"
- Output
Variables []ReleaseOutput Variable Args - List of output variables declared on the blueprint and can be present with their values on the unit status Structure is documented below.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Pulumi
Labels map[string]string - The combination of labels configured directly on the resource and default labels configured on the provider.
- Release
Id string - The ID value for the new release.
- Release
Requirements ReleaseRelease Requirements Args - Set of requirements to be fulfilled on the Unit when using this Release. Structure is documented below.
- Uid string
- The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
- Unit
Kind string - Reference to the UnitKind this Release corresponds to (required and immutable once created).
- Update
Time string - The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.
- annotations Map<String,String>
- Annotations is an unstructured key-value map stored with a resource that
may be set by external tools to store and retrieve arbitrary metadata.
They are not queryable and should be preserved when modifying objects.
More info: https://kubernetes.io/docs/user-guide/annotations
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. - blueprint
Release
Blueprint - create
Time String - The timestamp when the resource was created.
- effective
Annotations Map<String,String> - effective
Labels Map<String,String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- etag String
- An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
- input
Variable List<ReleaseDefaults Input Variable Default> - Mapping of input variables to default values. Maximum 100 Structure is documented below.
- input
Variables List<ReleaseInput Variable> - List of input variables declared on the blueprint and can be present with their values on the unit spec Structure is documented below.
- labels Map<String,String>
- The labels on the resource, which can be used for categorization.
similar to Kubernetes resource labels.
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. - location String
- Resource ID segment making up resource
name
. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - name String
- Identifier. The resource name (full URI of the resource) following the standard naming scheme: "projects/{project}/locations/{location}/releases/{release}"
- output
Variables List<ReleaseOutput Variable> - List of output variables declared on the blueprint and can be present with their values on the unit status Structure is documented below.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumi
Labels Map<String,String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- release
Id String - The ID value for the new release.
- release
Requirements ReleaseRelease Requirements - Set of requirements to be fulfilled on the Unit when using this Release. Structure is documented below.
- uid String
- The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
- unit
Kind String - Reference to the UnitKind this Release corresponds to (required and immutable once created).
- update
Time String - The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.
- annotations {[key: string]: string}
- Annotations is an unstructured key-value map stored with a resource that
may be set by external tools to store and retrieve arbitrary metadata.
They are not queryable and should be preserved when modifying objects.
More info: https://kubernetes.io/docs/user-guide/annotations
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. - blueprint
Release
Blueprint - create
Time string - The timestamp when the resource was created.
- effective
Annotations {[key: string]: string} - effective
Labels {[key: string]: string} - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- etag string
- An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
- input
Variable ReleaseDefaults Input Variable Default[] - Mapping of input variables to default values. Maximum 100 Structure is documented below.
- input
Variables ReleaseInput Variable[] - List of input variables declared on the blueprint and can be present with their values on the unit spec Structure is documented below.
- labels {[key: string]: string}
- The labels on the resource, which can be used for categorization.
similar to Kubernetes resource labels.
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. - location string
- Resource ID segment making up resource
name
. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - name string
- Identifier. The resource name (full URI of the resource) following the standard naming scheme: "projects/{project}/locations/{location}/releases/{release}"
- output
Variables ReleaseOutput Variable[] - List of output variables declared on the blueprint and can be present with their values on the unit status Structure is documented below.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumi
Labels {[key: string]: string} - The combination of labels configured directly on the resource and default labels configured on the provider.
- release
Id string - The ID value for the new release.
- release
Requirements ReleaseRelease Requirements - Set of requirements to be fulfilled on the Unit when using this Release. Structure is documented below.
- uid string
- The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
- unit
Kind string - Reference to the UnitKind this Release corresponds to (required and immutable once created).
- update
Time string - The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.
- annotations Mapping[str, str]
- Annotations is an unstructured key-value map stored with a resource that
may be set by external tools to store and retrieve arbitrary metadata.
They are not queryable and should be preserved when modifying objects.
More info: https://kubernetes.io/docs/user-guide/annotations
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. - blueprint
Release
Blueprint Args - create_
time str - The timestamp when the resource was created.
- effective_
annotations Mapping[str, str] - effective_
labels Mapping[str, str] - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- etag str
- An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
- input_
variable_ Sequence[Releasedefaults Input Variable Default Args] - Mapping of input variables to default values. Maximum 100 Structure is documented below.
- input_
variables Sequence[ReleaseInput Variable Args] - List of input variables declared on the blueprint and can be present with their values on the unit spec Structure is documented below.
- labels Mapping[str, str]
- The labels on the resource, which can be used for categorization.
similar to Kubernetes resource labels.
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. - location str
- Resource ID segment making up resource
name
. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - name str
- Identifier. The resource name (full URI of the resource) following the standard naming scheme: "projects/{project}/locations/{location}/releases/{release}"
- output_
variables Sequence[ReleaseOutput Variable Args] - List of output variables declared on the blueprint and can be present with their values on the unit status Structure is documented below.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumi_
labels Mapping[str, str] - The combination of labels configured directly on the resource and default labels configured on the provider.
- release_
id str - The ID value for the new release.
- release_
requirements ReleaseRelease Requirements Args - Set of requirements to be fulfilled on the Unit when using this Release. Structure is documented below.
- uid str
- The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
- unit_
kind str - Reference to the UnitKind this Release corresponds to (required and immutable once created).
- update_
time str - The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.
- annotations Map<String>
- Annotations is an unstructured key-value map stored with a resource that
may be set by external tools to store and retrieve arbitrary metadata.
They are not queryable and should be preserved when modifying objects.
More info: https://kubernetes.io/docs/user-guide/annotations
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. - blueprint Property Map
- create
Time String - The timestamp when the resource was created.
- effective
Annotations Map<String> - effective
Labels Map<String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- etag String
- An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
- input
Variable List<Property Map>Defaults - Mapping of input variables to default values. Maximum 100 Structure is documented below.
- input
Variables List<Property Map> - List of input variables declared on the blueprint and can be present with their values on the unit spec Structure is documented below.
- labels Map<String>
- The labels on the resource, which can be used for categorization.
similar to Kubernetes resource labels.
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. - location String
- Resource ID segment making up resource
name
. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - name String
- Identifier. The resource name (full URI of the resource) following the standard naming scheme: "projects/{project}/locations/{location}/releases/{release}"
- output
Variables List<Property Map> - List of output variables declared on the blueprint and can be present with their values on the unit status Structure is documented below.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumi
Labels Map<String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- release
Id String - The ID value for the new release.
- release
Requirements Property Map - Set of requirements to be fulfilled on the Unit when using this Release. Structure is documented below.
- uid String
- The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
- unit
Kind String - Reference to the UnitKind this Release corresponds to (required and immutable once created).
- update
Time String - The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.
Supporting Types
ReleaseBlueprint, ReleaseBlueprintArgs
ReleaseInputVariable, ReleaseInputVariableArgs
ReleaseInputVariableDefault, ReleaseInputVariableDefaultArgs
ReleaseOutputVariable, ReleaseOutputVariableArgs
ReleaseReleaseRequirements, ReleaseReleaseRequirementsArgs
- Upgradeable
From List<string>Releases - A list of releases from which a unit can be upgraded to this one (optional). If left empty no constraints will be applied. When provided, unit upgrade requests to this release will check and enforce this constraint.
- Upgradeable
From []stringReleases - A list of releases from which a unit can be upgraded to this one (optional). If left empty no constraints will be applied. When provided, unit upgrade requests to this release will check and enforce this constraint.
- upgradeable
From List<String>Releases - A list of releases from which a unit can be upgraded to this one (optional). If left empty no constraints will be applied. When provided, unit upgrade requests to this release will check and enforce this constraint.
- upgradeable
From string[]Releases - A list of releases from which a unit can be upgraded to this one (optional). If left empty no constraints will be applied. When provided, unit upgrade requests to this release will check and enforce this constraint.
- upgradeable_
from_ Sequence[str]releases - A list of releases from which a unit can be upgraded to this one (optional). If left empty no constraints will be applied. When provided, unit upgrade requests to this release will check and enforce this constraint.
- upgradeable
From List<String>Releases - A list of releases from which a unit can be upgraded to this one (optional). If left empty no constraints will be applied. When provided, unit upgrade requests to this release will check and enforce this constraint.
Import
Release can be imported using any of these accepted formats:
projects/{{project}}/locations/{{location}}/releases/{{release_id}}
{{project}}/{{location}}/{{release_id}}
{{location}}/{{release_id}}
When using the pulumi import
command, Release can be imported using one of the formats above. For example:
$ pulumi import gcp:saasruntime/release:Release default projects/{{project}}/locations/{{location}}/releases/{{release_id}}
$ pulumi import gcp:saasruntime/release:Release default {{project}}/{{location}}/{{release_id}}
$ pulumi import gcp:saasruntime/release:Release default {{location}}/{{release_id}}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-beta
Terraform Provider.