1. Packages
  2. Juju Provider
  3. API Docs
  4. getApplication
juju 0.18.0 published on Monday, Apr 14, 2025 by juju

juju.getApplication

Explore with Pulumi AI

juju 0.18.0 published on Monday, Apr 14, 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>
Copy
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]
Copy
func LookupApplication(ctx *Context, args *LookupApplicationArgs, opts ...InvokeOption) (*LookupApplicationResult, error)
func LookupApplicationOutput(ctx *Context, args *LookupApplicationOutputArgs, opts ...InvokeOption) LookupApplicationResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetApplicationResult> getApplication(GetApplicationArgs args, InvokeOptions options)
public static Output<GetApplicationResult> getApplication(GetApplicationArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: juju:index/getApplication:getApplication
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Model This property is required. string
The name of the model where the application is deployed.
Name This property is required. string
Name of the application.
Model This property is required. string
The name of the model where the application is deployed.
Name This property is required. string
Name of the application.
model This property is required. String
The name of the model where the application is deployed.
name This property is required. String
Name of the application.
model This property is required. string
The name of the model where the application is deployed.
name This property is required. string
Name of the application.
model This property is required. str
The name of the model where the application is deployed.
name This property is required. str
Name of the application.
model This property is required. String
The name of the model where the application is deployed.
name This property is required. 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 0.18.0 published on Monday, Apr 14, 2025 by juju