1. Packages
  2. Juju Provider
  3. API Docs
  4. getApplication
juju 0.19.0 published on Wednesday, Apr 30, 2025 by juju

juju.getApplication

Explore with Pulumi AI

juju logo
juju 0.19.0 published on Wednesday, Apr 30, 2025 by juju

    A data source that represents a single Juju application deployment from a charm.

    Using getApplication

    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 getApplication(args: GetApplicationArgs, opts?: InvokeOptions): Promise<GetApplicationResult>
    function getApplicationOutput(args: GetApplicationOutputArgs, opts?: InvokeOptions): Output<GetApplicationResult>
    def get_application(model: Optional[str] = None,
                        name: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetApplicationResult
    def get_application_output(model: Optional[pulumi.Input[str]] = None,
                        name: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetApplicationResult]
    func LookupApplication(ctx *Context, args *LookupApplicationArgs, opts ...InvokeOption) (*LookupApplicationResult, error)
    func LookupApplicationOutput(ctx *Context, args *LookupApplicationOutputArgs, opts ...InvokeOption) LookupApplicationResultOutput

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

    public static class GetApplication 
    {
        public static Task<GetApplicationResult> InvokeAsync(GetApplicationArgs args, InvokeOptions? opts = null)
        public static Output<GetApplicationResult> Invoke(GetApplicationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetApplicationResult> getApplication(GetApplicationArgs args, InvokeOptions options)
    public static Output<GetApplicationResult> getApplication(GetApplicationArgs args, InvokeOptions options)
    
    fn::invoke:
      function: juju:index/getApplication:getApplication
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Model string
    The name of the model where the application is deployed.
    Name string
    Name of the application.
    Model string
    The name of the model where the application is deployed.
    Name string
    Name of the application.
    model String
    The name of the model where the application is deployed.
    name String
    Name of the application.
    model string
    The name of the model where the application is deployed.
    name string
    Name of the application.
    model str
    The name of the model where the application is deployed.
    name str
    Name of the application.
    model String
    The name of the model where the application is deployed.
    name String
    Name of the application.

    getApplication Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Model string
    The name of the model where the application is deployed.
    Name string
    Name of the application.
    Id string
    The provider-assigned unique ID for this managed resource.
    Model string
    The name of the model where the application is deployed.
    Name string
    Name of the application.
    id String
    The provider-assigned unique ID for this managed resource.
    model String
    The name of the model where the application is deployed.
    name String
    Name of the application.
    id string
    The provider-assigned unique ID for this managed resource.
    model string
    The name of the model where the application is deployed.
    name string
    Name of the application.
    id str
    The provider-assigned unique ID for this managed resource.
    model str
    The name of the model where the application is deployed.
    name str
    Name of the application.
    id String
    The provider-assigned unique ID for this managed resource.
    model String
    The name of the model where the application is deployed.
    name String
    Name of the application.

    Package Details

    Repository
    juju juju/terraform-provider-juju
    License
    Notes
    This Pulumi package is based on the juju Terraform Provider.
    juju logo
    juju 0.19.0 published on Wednesday, Apr 30, 2025 by juju