Heroku v1.0.3 published on Friday, Apr 14, 2023 by pulumiverse - Marcel Arns
heroku.app.Release
Explore with Pulumi AI
Heroku v1.0.3 published on Friday, Apr 14, 2023 by pulumiverse - Marcel Arns
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,
app_id: Optional[str] = None,
slug_id: Optional[str] = None,
description: Optional[str] = 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: heroku:app: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 releaseResource = new Heroku.App.Release("releaseResource", new()
{
AppId = "string",
SlugId = "string",
Description = "string",
});
example, err := app.NewRelease(ctx, "releaseResource", &app.ReleaseArgs{
AppId: pulumi.String("string"),
SlugId: pulumi.String("string"),
Description: pulumi.String("string"),
})
var releaseResource = new Release("releaseResource", ReleaseArgs.builder()
.appId("string")
.slugId("string")
.description("string")
.build());
release_resource = heroku.app.Release("releaseResource",
app_id="string",
slug_id="string",
description="string")
const releaseResource = new heroku.app.Release("releaseResource", {
appId: "string",
slugId: "string",
description: "string",
});
type: heroku:app:Release
properties:
appId: string
description: string
slugId: 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
The Release resource accepts the following input properties:
- App
Id string - Slug
Id string - Description string
- App
Id string - Slug
Id string - Description string
- app
Id String - slug
Id String - description String
- app
Id string - slug
Id string - description string
- app_
id str - slug_
id str - description str
- app
Id String - slug
Id String - description String
Outputs
All input properties are implicitly available as output properties. Additionally, the Release resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
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,
app_id: Optional[str] = None,
description: Optional[str] = None,
slug_id: 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)
Resource lookup is not supported in YAML
- 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.
- App
Id string - Description string
- Slug
Id string
- App
Id string - Description string
- Slug
Id string
- app
Id String - description String
- slug
Id String
- app
Id string - description string
- slug
Id string
- app_
id str - description str
- slug_
id str
- app
Id String - description String
- slug
Id String
Package Details
- Repository
- heroku pulumiverse/pulumi-heroku
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
heroku
Terraform Provider.
Heroku v1.0.3 published on Friday, Apr 14, 2023 by pulumiverse - Marcel Arns