Heroku

v1.0.2 published on Monday, Dec 5, 2022 by pulumiverse - Marcel Arns

getAddon

Using getAddon

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getAddon(args: GetAddonArgs, opts?: InvokeOptions): Promise<GetAddonResult>
function getAddonOutput(args: GetAddonOutputArgs, opts?: InvokeOptions): Output<GetAddonResult>
def get_addon(name: Optional[str] = None,
              opts: Optional[InvokeOptions] = None) -> GetAddonResult
def get_addon_output(name: Optional[pulumi.Input[str]] = None,
              opts: Optional[InvokeOptions] = None) -> Output[GetAddonResult]
func LookupAddon(ctx *Context, args *LookupAddonArgs, opts ...InvokeOption) (*LookupAddonResult, error)
func LookupAddonOutput(ctx *Context, args *LookupAddonOutputArgs, opts ...InvokeOption) LookupAddonResultOutput

> Note: This function is named LookupAddon in the Go SDK.

public static class GetAddon 
{
    public static Task<GetAddonResult> InvokeAsync(GetAddonArgs args, InvokeOptions? opts = null)
    public static Output<GetAddonResult> Invoke(GetAddonInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAddonResult> getAddon(GetAddonArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: heroku:addon/getAddon:getAddon
  arguments:
    # arguments dictionary

The following arguments are supported:

Name string
Name string
name String
name string
name str
name String

getAddon Result

The following output properties are available:

AppId string
ConfigVars List<string>
Id string
Name string
Plan string
ProviderId string
AppId string
ConfigVars []string
Id string
Name string
Plan string
ProviderId string
appId String
configVars List<String>
id String
name String
plan String
providerId String
appId string
configVars string[]
id string
name string
plan string
providerId string
app_id str
config_vars Sequence[str]
id str
name str
plan str
provider_id str
appId String
configVars List<String>
id String
name String
plan String
providerId 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.