Cloudflare v5.43.0 published on Wednesday, Nov 13, 2024 by Pulumi
cloudflare.getGatewayAppTypes
Explore with Pulumi AI
Use this data source to retrieve all Gateway application types for an account.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const example = cloudflare.getGatewayAppTypes({
accountId: "f037e56e89293a057740de681ac9abbe",
});
import pulumi
import pulumi_cloudflare as cloudflare
example = cloudflare.get_gateway_app_types(account_id="f037e56e89293a057740de681ac9abbe")
package main
import (
"github.com/pulumi/pulumi-cloudflare/sdk/v5/go/cloudflare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudflare.GetGatewayAppTypes(ctx, &cloudflare.GetGatewayAppTypesArgs{
AccountId: "f037e56e89293a057740de681ac9abbe",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var example = Cloudflare.GetGatewayAppTypes.Invoke(new()
{
AccountId = "f037e56e89293a057740de681ac9abbe",
});
});
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.GetGatewayAppTypesArgs;
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 example = CloudflareFunctions.getGatewayAppTypes(GetGatewayAppTypesArgs.builder()
.accountId("f037e56e89293a057740de681ac9abbe")
.build());
}
}
variables:
example:
fn::invoke:
Function: cloudflare:getGatewayAppTypes
Arguments:
accountId: f037e56e89293a057740de681ac9abbe
Using getGatewayAppTypes
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 getGatewayAppTypes(args: GetGatewayAppTypesArgs, opts?: InvokeOptions): Promise<GetGatewayAppTypesResult>
function getGatewayAppTypesOutput(args: GetGatewayAppTypesOutputArgs, opts?: InvokeOptions): Output<GetGatewayAppTypesResult>
def get_gateway_app_types(account_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetGatewayAppTypesResult
def get_gateway_app_types_output(account_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGatewayAppTypesResult]
func GetGatewayAppTypes(ctx *Context, args *GetGatewayAppTypesArgs, opts ...InvokeOption) (*GetGatewayAppTypesResult, error)
func GetGatewayAppTypesOutput(ctx *Context, args *GetGatewayAppTypesOutputArgs, opts ...InvokeOption) GetGatewayAppTypesResultOutput
> Note: This function is named GetGatewayAppTypes
in the Go SDK.
public static class GetGatewayAppTypes
{
public static Task<GetGatewayAppTypesResult> InvokeAsync(GetGatewayAppTypesArgs args, InvokeOptions? opts = null)
public static Output<GetGatewayAppTypesResult> Invoke(GetGatewayAppTypesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetGatewayAppTypesResult> getGatewayAppTypes(GetGatewayAppTypesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: cloudflare:index/getGatewayAppTypes:getGatewayAppTypes
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Id string - The account ID to fetch Gateway App Types from.
- Account
Id string - The account ID to fetch Gateway App Types from.
- account
Id String - The account ID to fetch Gateway App Types from.
- account
Id string - The account ID to fetch Gateway App Types from.
- account_
id str - The account ID to fetch Gateway App Types from.
- account
Id String - The account ID to fetch Gateway App Types from.
getGatewayAppTypes Result
The following output properties are available:
- Account
Id string - The account ID to fetch Gateway App Types from.
- App
Types List<GetGateway App Types App Type> - A list of Gateway App Types.
- Id string
- The provider-assigned unique ID for this managed resource.
- Account
Id string - The account ID to fetch Gateway App Types from.
- App
Types []GetGateway App Types App Type - A list of Gateway App Types.
- Id string
- The provider-assigned unique ID for this managed resource.
- account
Id String - The account ID to fetch Gateway App Types from.
- app
Types List<GetGateway App Types App Type> - A list of Gateway App Types.
- id String
- The provider-assigned unique ID for this managed resource.
- account
Id string - The account ID to fetch Gateway App Types from.
- app
Types GetGateway App Types App Type[] - A list of Gateway App Types.
- id string
- The provider-assigned unique ID for this managed resource.
- account_
id str - The account ID to fetch Gateway App Types from.
- app_
types Sequence[GetGateway App Types App Type] - A list of Gateway App Types.
- id str
- The provider-assigned unique ID for this managed resource.
- account
Id String - The account ID to fetch Gateway App Types from.
- app
Types List<Property Map> - A list of Gateway App Types.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
GetGatewayAppTypesAppType
- Application
Type intId - The identifier for the application type of this app.
- Description string
- A short summary of the app type.
- Id int
- The identifier for this app type. There is only one app type per ID.
- Name string
- The name of the app type.
- Application
Type intId - The identifier for the application type of this app.
- Description string
- A short summary of the app type.
- Id int
- The identifier for this app type. There is only one app type per ID.
- Name string
- The name of the app type.
- application
Type IntegerId - The identifier for the application type of this app.
- description String
- A short summary of the app type.
- id Integer
- The identifier for this app type. There is only one app type per ID.
- name String
- The name of the app type.
- application
Type numberId - The identifier for the application type of this app.
- description string
- A short summary of the app type.
- id number
- The identifier for this app type. There is only one app type per ID.
- name string
- The name of the app type.
- application_
type_ intid - The identifier for the application type of this app.
- description str
- A short summary of the app type.
- id int
- The identifier for this app type. There is only one app type per ID.
- name str
- The name of the app type.
- application
Type NumberId - The identifier for the application type of this app.
- description String
- A short summary of the app type.
- id Number
- The identifier for this app type. There is only one app type per ID.
- name String
- The name of the app type.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.