google-native.firebaserules/v1.Release
Create a Release
. Release names should reflect the developer’s deployment practices. For example, the release name may include the environment name, application name, application version, or any other name meaningful to the developer. Once a Release
refers to a Ruleset
, the rules can be enforced by Firebase Rules-enabled services. More than one Release
may be ’live’ concurrently. Consider the following three Release
names for projects/foo
and the Ruleset
to which they refer. Release Name -> Ruleset Name * projects/foo/releases/prod -> projects/foo/rulesets/uuid123 * projects/foo/releases/prod/beta -> projects/foo/rulesets/uuid123 * projects/foo/releases/prod/v23 -> projects/foo/rulesets/uuid456 The relationships reflect a Ruleset
rollout in progress. The prod
and prod/beta
releases refer to the same Ruleset
. However, prod/v23
refers to a new Ruleset
. The Ruleset
reference for a Release
may be updated using the UpdateRelease method.
Create Release Resource
new Release(name: string, args: ReleaseArgs, opts?: CustomResourceOptions);
@overload
def Release(resource_name: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
project: Optional[str] = None,
ruleset_name: Optional[str] = None)
@overload
def Release(resource_name: str,
args: ReleaseArgs,
opts: Optional[ResourceOptions] = 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: google-native:firebaserules/v1:Release
properties: # The arguments to resource properties.
options: # 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.
- 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.
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
The Release resource accepts the following input properties:
- Ruleset
Name string Name of the
Ruleset
referred to by thisRelease
. TheRuleset
must exist for theRelease
to be created.- Name string
Format:
projects/{project_id}/releases/{release_id}
- Project string
- Ruleset
Name string Name of the
Ruleset
referred to by thisRelease
. TheRuleset
must exist for theRelease
to be created.- Name string
Format:
projects/{project_id}/releases/{release_id}
- Project string
- ruleset
Name String Name of the
Ruleset
referred to by thisRelease
. TheRuleset
must exist for theRelease
to be created.- name String
Format:
projects/{project_id}/releases/{release_id}
- project String
- ruleset
Name string Name of the
Ruleset
referred to by thisRelease
. TheRuleset
must exist for theRelease
to be created.- name string
Format:
projects/{project_id}/releases/{release_id}
- project string
- ruleset_
name str Name of the
Ruleset
referred to by thisRelease
. TheRuleset
must exist for theRelease
to be created.- name str
Format:
projects/{project_id}/releases/{release_id}
- project str
- ruleset
Name String Name of the
Ruleset
referred to by thisRelease
. TheRuleset
must exist for theRelease
to be created.- name String
Format:
projects/{project_id}/releases/{release_id}
- project String
Outputs
All input properties are implicitly available as output properties. Additionally, the Release resource produces the following output properties:
- Create
Time string Time the release was created.
- Id string
The provider-assigned unique ID for this managed resource.
- Update
Time string Time the release was updated.
- Create
Time string Time the release was created.
- Id string
The provider-assigned unique ID for this managed resource.
- Update
Time string Time the release was updated.
- create
Time String Time the release was created.
- id String
The provider-assigned unique ID for this managed resource.
- update
Time String Time the release was updated.
- create
Time string Time the release was created.
- id string
The provider-assigned unique ID for this managed resource.
- update
Time string Time the release was updated.
- create_
time str Time the release was created.
- id str
The provider-assigned unique ID for this managed resource.
- update_
time str Time the release was updated.
- create
Time String Time the release was created.
- id String
The provider-assigned unique ID for this managed resource.
- update
Time String Time the release was updated.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0