GetApp
Use this data source to retrieve the collaborators for a given repository.
Example Usage
using Pulumi;
using Okta = Pulumi.Okta;
class MyStack : Stack
{
public MyStack()
{
var example = Output.Create(Okta.App.GetApp.InvokeAsync(new Okta.App.GetAppArgs
{
Label = "Example App",
}));
}
}
Coming soon!
import pulumi
import pulumi_okta as okta
example = okta.app.get_app(label="Example App")import * as pulumi from "@pulumi/pulumi";
import * as okta from "@pulumi/okta";
const example = pulumi.output(okta.app.getApp({
label: "Example App",
}, { async: true }));Using GetApp
function getApp(args: GetAppArgs, opts?: InvokeOptions): Promise<GetAppResult>function get_app(active_only=None, id=None, label=None, label_prefix=None, opts=None)func GetApp(ctx *Context, args *GetAppArgs, opts ...InvokeOption) (*GetAppResult, error)public static class GetApp {
public static Task<GetAppResult> InvokeAsync(GetAppArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
- Active
Only bool tells the provider to query for only
ACTIVEapplications.- Id string
idof application to retrieve, conflicts withlabelandlabel_prefix.- Label string
The label of the app to retrieve, conflicts with
label_prefixandid.- Label
Prefix string Label prefix of the app to retrieve, conflicts with
labelandid. This will tell the provider to do astarts withquery as opposed to anequalsquery.
- Active
Only bool tells the provider to query for only
ACTIVEapplications.- Id string
idof application to retrieve, conflicts withlabelandlabel_prefix.- Label string
The label of the app to retrieve, conflicts with
label_prefixandid.- Label
Prefix string Label prefix of the app to retrieve, conflicts with
labelandid. This will tell the provider to do astarts withquery as opposed to anequalsquery.
- active
Only boolean tells the provider to query for only
ACTIVEapplications.- id string
idof application to retrieve, conflicts withlabelandlabel_prefix.- label string
The label of the app to retrieve, conflicts with
label_prefixandid.- label
Prefix string Label prefix of the app to retrieve, conflicts with
labelandid. This will tell the provider to do astarts withquery as opposed to anequalsquery.
- active_
only bool tells the provider to query for only
ACTIVEapplications.- id str
idof application to retrieve, conflicts withlabelandlabel_prefix.- label str
The label of the app to retrieve, conflicts with
label_prefixandid.- label_
prefix str Label prefix of the app to retrieve, conflicts with
labelandid. This will tell the provider to do astarts withquery as opposed to anequalsquery.
GetApp Result
The following output properties are available:
- Description string
descriptionof application.- Name string
nameof application.- Status string
statusof application.- Active
Only bool - Id string
idof application.- Label string
labelof application.- Label
Prefix string
- Description string
descriptionof application.- Name string
nameof application.- Status string
statusof application.- Active
Only bool - Id string
idof application.- Label string
labelof application.- Label
Prefix string
- description string
descriptionof application.- name string
nameof application.- status string
statusof application.- active
Only boolean - id string
idof application.- label string
labelof application.- label
Prefix string
- description str
descriptionof application.- name str
nameof application.- status str
statusof application.- active_
only bool - id str
idof application.- label str
labelof application.- label_
prefix str
Package Details
- Repository
- https://github.com/pulumi/pulumi-okta
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oktaTerraform Provider.