get Zero Trust Access Application
suspend fun getZeroTrustAccessApplication(argument: GetZeroTrustAccessApplicationPlainArgs): GetZeroTrustAccessApplicationResult
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleZeroTrustAccessApplication = cloudflare.getZeroTrustAccessApplication({
appId: "023e105f4ecef8ad9ca31a8372d0c353",
accountId: "account_id",
zoneId: "zone_id",
});
Content copied to clipboard
import pulumi
import pulumi_cloudflare as cloudflare
example_zero_trust_access_application = cloudflare.get_zero_trust_access_application(app_id="023e105f4ecef8ad9ca31a8372d0c353",
account_id="account_id",
zone_id="zone_id")
Content copied to clipboard
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var exampleZeroTrustAccessApplication = Cloudflare.GetZeroTrustAccessApplication.Invoke(new()
{
AppId = "023e105f4ecef8ad9ca31a8372d0c353",
AccountId = "account_id",
ZoneId = "zone_id",
});
});
Content copied to clipboard
package main
import (
"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudflare.LookupZeroTrustAccessApplication(ctx, &cloudflare.LookupZeroTrustAccessApplicationArgs{
AppId: pulumi.StringRef("023e105f4ecef8ad9ca31a8372d0c353"),
AccountId: pulumi.StringRef("account_id"),
ZoneId: pulumi.StringRef("zone_id"),
}, nil)
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.CloudflareFunctions;
import com.pulumi.cloudflare.inputs.GetZeroTrustAccessApplicationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var exampleZeroTrustAccessApplication = CloudflareFunctions.getZeroTrustAccessApplication(GetZeroTrustAccessApplicationArgs.builder()
.appId("023e105f4ecef8ad9ca31a8372d0c353")
.accountId("account_id")
.zoneId("zone_id")
.build());
}
}
Content copied to clipboard
variables:
exampleZeroTrustAccessApplication:
fn::invoke:
function: cloudflare:getZeroTrustAccessApplication
arguments:
appId: 023e105f4ecef8ad9ca31a8372d0c353
accountId: account_id
zoneId: zone_id
Content copied to clipboard
Return
A collection of values returned by getZeroTrustAccessApplication.
Parameters
argument
A collection of arguments for invoking getZeroTrustAccessApplication.
suspend fun getZeroTrustAccessApplication(accountId: String? = null, appId: String? = null, filter: GetZeroTrustAccessApplicationFilter? = null, zoneId: String? = null): GetZeroTrustAccessApplicationResult
Return
A collection of values returned by getZeroTrustAccessApplication.
Parameters
account Id
The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
app Id
Identifier.
filter
zone Id
The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
See also
suspend fun getZeroTrustAccessApplication(argument: suspend GetZeroTrustAccessApplicationPlainArgsBuilder.() -> Unit): GetZeroTrustAccessApplicationResult
Return
A collection of values returned by getZeroTrustAccessApplication.
Parameters
argument
Builder for com.pulumi.cloudflare.kotlin.inputs.GetZeroTrustAccessApplicationPlainArgs.