cloudflare.getAccessApplication
Explore with Pulumi AI
Use this data source to lookup a single Access Application
Using getAccessApplication
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 getAccessApplication(args: GetAccessApplicationArgs, opts?: InvokeOptions): Promise<GetAccessApplicationResult>
function getAccessApplicationOutput(args: GetAccessApplicationOutputArgs, opts?: InvokeOptions): Output<GetAccessApplicationResult>
def get_access_application(account_id: Optional[str] = None,
domain: Optional[str] = None,
name: Optional[str] = None,
zone_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAccessApplicationResult
def get_access_application_output(account_id: Optional[pulumi.Input[str]] = None,
domain: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
zone_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAccessApplicationResult]
func LookupAccessApplication(ctx *Context, args *LookupAccessApplicationArgs, opts ...InvokeOption) (*LookupAccessApplicationResult, error)
func LookupAccessApplicationOutput(ctx *Context, args *LookupAccessApplicationOutputArgs, opts ...InvokeOption) LookupAccessApplicationResultOutput
> Note: This function is named LookupAccessApplication
in the Go SDK.
public static class GetAccessApplication
{
public static Task<GetAccessApplicationResult> InvokeAsync(GetAccessApplicationArgs args, InvokeOptions? opts = null)
public static Output<GetAccessApplicationResult> Invoke(GetAccessApplicationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAccessApplicationResult> getAccessApplication(GetAccessApplicationArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: cloudflare:index/getAccessApplication:getAccessApplication
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Id string The account identifier to target for the resource. Must provide only one of
zone_id
,account_id
.- Domain string
The primary hostname and path that Access will secure. Must provide only one of
name
,domain
.- Name string
Friendly name of the Access Application. Must provide only one of
name
,domain
.- Zone
Id string The zone identifier to target for the resource. Must provide only one of
zone_id
,account_id
.
- Account
Id string The account identifier to target for the resource. Must provide only one of
zone_id
,account_id
.- Domain string
The primary hostname and path that Access will secure. Must provide only one of
name
,domain
.- Name string
Friendly name of the Access Application. Must provide only one of
name
,domain
.- Zone
Id string The zone identifier to target for the resource. Must provide only one of
zone_id
,account_id
.
- account
Id String The account identifier to target for the resource. Must provide only one of
zone_id
,account_id
.- domain String
The primary hostname and path that Access will secure. Must provide only one of
name
,domain
.- name String
Friendly name of the Access Application. Must provide only one of
name
,domain
.- zone
Id String The zone identifier to target for the resource. Must provide only one of
zone_id
,account_id
.
- account
Id string The account identifier to target for the resource. Must provide only one of
zone_id
,account_id
.- domain string
The primary hostname and path that Access will secure. Must provide only one of
name
,domain
.- name string
Friendly name of the Access Application. Must provide only one of
name
,domain
.- zone
Id string The zone identifier to target for the resource. Must provide only one of
zone_id
,account_id
.
- account_
id str The account identifier to target for the resource. Must provide only one of
zone_id
,account_id
.- domain str
The primary hostname and path that Access will secure. Must provide only one of
name
,domain
.- name str
Friendly name of the Access Application. Must provide only one of
name
,domain
.- zone_
id str The zone identifier to target for the resource. Must provide only one of
zone_id
,account_id
.
- account
Id String The account identifier to target for the resource. Must provide only one of
zone_id
,account_id
.- domain String
The primary hostname and path that Access will secure. Must provide only one of
name
,domain
.- name String
Friendly name of the Access Application. Must provide only one of
name
,domain
.- zone
Id String The zone identifier to target for the resource. Must provide only one of
zone_id
,account_id
.
getAccessApplication Result
The following output properties are available:
- Aud string
Application Audience (AUD) Tag of the application.
- Domain string
The primary hostname and path that Access will secure. Must provide only one of
name
,domain
.- Id string
The provider-assigned unique ID for this managed resource.
- Name string
Friendly name of the Access Application. Must provide only one of
name
,domain
.- Account
Id string The account identifier to target for the resource. Must provide only one of
zone_id
,account_id
.- Zone
Id string The zone identifier to target for the resource. Must provide only one of
zone_id
,account_id
.
- Aud string
Application Audience (AUD) Tag of the application.
- Domain string
The primary hostname and path that Access will secure. Must provide only one of
name
,domain
.- Id string
The provider-assigned unique ID for this managed resource.
- Name string
Friendly name of the Access Application. Must provide only one of
name
,domain
.- Account
Id string The account identifier to target for the resource. Must provide only one of
zone_id
,account_id
.- Zone
Id string The zone identifier to target for the resource. Must provide only one of
zone_id
,account_id
.
- aud String
Application Audience (AUD) Tag of the application.
- domain String
The primary hostname and path that Access will secure. Must provide only one of
name
,domain
.- id String
The provider-assigned unique ID for this managed resource.
- name String
Friendly name of the Access Application. Must provide only one of
name
,domain
.- account
Id String The account identifier to target for the resource. Must provide only one of
zone_id
,account_id
.- zone
Id String The zone identifier to target for the resource. Must provide only one of
zone_id
,account_id
.
- aud string
Application Audience (AUD) Tag of the application.
- domain string
The primary hostname and path that Access will secure. Must provide only one of
name
,domain
.- id string
The provider-assigned unique ID for this managed resource.
- name string
Friendly name of the Access Application. Must provide only one of
name
,domain
.- account
Id string The account identifier to target for the resource. Must provide only one of
zone_id
,account_id
.- zone
Id string The zone identifier to target for the resource. Must provide only one of
zone_id
,account_id
.
- aud str
Application Audience (AUD) Tag of the application.
- domain str
The primary hostname and path that Access will secure. Must provide only one of
name
,domain
.- id str
The provider-assigned unique ID for this managed resource.
- name str
Friendly name of the Access Application. Must provide only one of
name
,domain
.- account_
id str The account identifier to target for the resource. Must provide only one of
zone_id
,account_id
.- zone_
id str The zone identifier to target for the resource. Must provide only one of
zone_id
,account_id
.
- aud String
Application Audience (AUD) Tag of the application.
- domain String
The primary hostname and path that Access will secure. Must provide only one of
name
,domain
.- id String
The provider-assigned unique ID for this managed resource.
- name String
Friendly name of the Access Application. Must provide only one of
name
,domain
.- account
Id String The account identifier to target for the resource. Must provide only one of
zone_id
,account_id
.- zone
Id String The zone identifier to target for the resource. Must provide only one of
zone_id
,account_id
.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
cloudflare
Terraform Provider.