Heroku

v1.0.1 published on Monday, Nov 21, 2022 by pulumiverse - Marcel Arns

Drain

Create Drain Resource

new Drain(name: string, args: DrainArgs, opts?: CustomResourceOptions);
@overload
def Drain(resource_name: str,
          opts: Optional[ResourceOptions] = None,
          app_id: Optional[str] = None,
          sensitive_url: Optional[str] = None,
          url: Optional[str] = None)
@overload
def Drain(resource_name: str,
          args: DrainArgs,
          opts: Optional[ResourceOptions] = None)
func NewDrain(ctx *Context, name string, args DrainArgs, opts ...ResourceOption) (*Drain, error)
public Drain(string name, DrainArgs args, CustomResourceOptions? opts = null)
public Drain(String name, DrainArgs args)
public Drain(String name, DrainArgs args, CustomResourceOptions options)
type: heroku:drain:Drain
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args DrainArgs
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 DrainArgs
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 DrainArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DrainArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args DrainArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Drain 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 Drain resource accepts the following input properties:

AppId string
SensitiveUrl string
Url string
AppId string
SensitiveUrl string
Url string
appId String
sensitiveUrl String
url String
appId string
sensitiveUrl string
url string
appId String
sensitiveUrl String
url String

Outputs

All input properties are implicitly available as output properties. Additionally, the Drain resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Token string
Id string

The provider-assigned unique ID for this managed resource.

Token string
id String

The provider-assigned unique ID for this managed resource.

token String
id string

The provider-assigned unique ID for this managed resource.

token string
id str

The provider-assigned unique ID for this managed resource.

token str
id String

The provider-assigned unique ID for this managed resource.

token String

Look up Existing Drain Resource

Get an existing Drain 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?: DrainState, opts?: CustomResourceOptions): Drain
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        app_id: Optional[str] = None,
        sensitive_url: Optional[str] = None,
        token: Optional[str] = None,
        url: Optional[str] = None) -> Drain
func GetDrain(ctx *Context, name string, id IDInput, state *DrainState, opts ...ResourceOption) (*Drain, error)
public static Drain Get(string name, Input<string> id, DrainState? state, CustomResourceOptions? opts = null)
public static Drain get(String name, Output<String> id, DrainState 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.
The following state arguments are supported:
AppId string
SensitiveUrl string
Token string
Url string
AppId string
SensitiveUrl string
Token string
Url string
appId String
sensitiveUrl String
token String
url String
appId string
sensitiveUrl string
token string
url string
appId String
sensitiveUrl String
token String
url String

Package Details

Repository
https://github.com/pulumiverse/pulumi-heroku
License
Apache-2.0
Notes

This Pulumi package is based on the heroku Terraform Provider.