Viewing docs for Cloudflare v6.13.0
published on Wednesday, Jan 21, 2026 by Pulumi
published on Wednesday, Jan 21, 2026 by Pulumi
Viewing docs for Cloudflare v6.13.0
published on Wednesday, Jan 21, 2026 by Pulumi
published on Wednesday, Jan 21, 2026 by Pulumi
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleApiShieldSchemas = cloudflare.getApiShieldSchemas({
zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
validationEnabled: true,
});
import pulumi
import pulumi_cloudflare as cloudflare
example_api_shield_schemas = cloudflare.get_api_shield_schemas(zone_id="023e105f4ecef8ad9ca31a8372d0c353",
validation_enabled=True)
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.LookupApiShieldSchemas(ctx, &cloudflare.LookupApiShieldSchemasArgs{
ZoneId: "023e105f4ecef8ad9ca31a8372d0c353",
ValidationEnabled: pulumi.BoolRef(true),
}, 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 exampleApiShieldSchemas = Cloudflare.GetApiShieldSchemas.Invoke(new()
{
ZoneId = "023e105f4ecef8ad9ca31a8372d0c353",
ValidationEnabled = true,
});
});
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.GetApiShieldSchemasArgs;
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 exampleApiShieldSchemas = CloudflareFunctions.getApiShieldSchemas(GetApiShieldSchemasArgs.builder()
.zoneId("023e105f4ecef8ad9ca31a8372d0c353")
.validationEnabled(true)
.build());
}
}
variables:
exampleApiShieldSchemas:
fn::invoke:
function: cloudflare:getApiShieldSchemas
arguments:
zoneId: 023e105f4ecef8ad9ca31a8372d0c353
validationEnabled: true
Using getApiShieldSchemas
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 getApiShieldSchemas(args: GetApiShieldSchemasArgs, opts?: InvokeOptions): Promise<GetApiShieldSchemasResult>
function getApiShieldSchemasOutput(args: GetApiShieldSchemasOutputArgs, opts?: InvokeOptions): Output<GetApiShieldSchemasResult>def get_api_shield_schemas(max_items: Optional[int] = None,
omit_source: Optional[bool] = None,
validation_enabled: Optional[bool] = None,
zone_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetApiShieldSchemasResult
def get_api_shield_schemas_output(max_items: Optional[pulumi.Input[int]] = None,
omit_source: Optional[pulumi.Input[bool]] = None,
validation_enabled: Optional[pulumi.Input[bool]] = None,
zone_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetApiShieldSchemasResult]func LookupApiShieldSchemas(ctx *Context, args *LookupApiShieldSchemasArgs, opts ...InvokeOption) (*LookupApiShieldSchemasResult, error)
func LookupApiShieldSchemasOutput(ctx *Context, args *LookupApiShieldSchemasOutputArgs, opts ...InvokeOption) LookupApiShieldSchemasResultOutput> Note: This function is named LookupApiShieldSchemas in the Go SDK.
public static class GetApiShieldSchemas
{
public static Task<GetApiShieldSchemasResult> InvokeAsync(GetApiShieldSchemasArgs args, InvokeOptions? opts = null)
public static Output<GetApiShieldSchemasResult> Invoke(GetApiShieldSchemasInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetApiShieldSchemasResult> getApiShieldSchemas(GetApiShieldSchemasArgs args, InvokeOptions options)
public static Output<GetApiShieldSchemasResult> getApiShieldSchemas(GetApiShieldSchemasArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getApiShieldSchemas:getApiShieldSchemas
arguments:
# arguments dictionaryThe following arguments are supported:
- Zone
Id string - Identifier.
- Max
Items int - Max items to fetch, default: 1000
- Omit
Source bool - Omit the source-files of schemas and only retrieve their meta-data.
- Validation
Enabled bool - Flag whether schema is enabled for validation.
- Zone
Id string - Identifier.
- Max
Items int - Max items to fetch, default: 1000
- Omit
Source bool - Omit the source-files of schemas and only retrieve their meta-data.
- Validation
Enabled bool - Flag whether schema is enabled for validation.
- zone
Id String - Identifier.
- max
Items Integer - Max items to fetch, default: 1000
- omit
Source Boolean - Omit the source-files of schemas and only retrieve their meta-data.
- validation
Enabled Boolean - Flag whether schema is enabled for validation.
- zone
Id string - Identifier.
- max
Items number - Max items to fetch, default: 1000
- omit
Source boolean - Omit the source-files of schemas and only retrieve their meta-data.
- validation
Enabled boolean - Flag whether schema is enabled for validation.
- zone_
id str - Identifier.
- max_
items int - Max items to fetch, default: 1000
- omit_
source bool - Omit the source-files of schemas and only retrieve their meta-data.
- validation_
enabled bool - Flag whether schema is enabled for validation.
- zone
Id String - Identifier.
- max
Items Number - Max items to fetch, default: 1000
- omit
Source Boolean - Omit the source-files of schemas and only retrieve their meta-data.
- validation
Enabled Boolean - Flag whether schema is enabled for validation.
getApiShieldSchemas Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Omit
Source bool - Omit the source-files of schemas and only retrieve their meta-data.
- Results
List<Get
Api Shield Schemas Result> - The items returned by the data source
- Zone
Id string - Identifier.
- Max
Items int - Max items to fetch, default: 1000
- Validation
Enabled bool - Flag whether schema is enabled for validation.
- Id string
- The provider-assigned unique ID for this managed resource.
- Omit
Source bool - Omit the source-files of schemas and only retrieve their meta-data.
- Results
[]Get
Api Shield Schemas Result - The items returned by the data source
- Zone
Id string - Identifier.
- Max
Items int - Max items to fetch, default: 1000
- Validation
Enabled bool - Flag whether schema is enabled for validation.
- id String
- The provider-assigned unique ID for this managed resource.
- omit
Source Boolean - Omit the source-files of schemas and only retrieve their meta-data.
- results
List<Get
Api Shield Schemas Result> - The items returned by the data source
- zone
Id String - Identifier.
- max
Items Integer - Max items to fetch, default: 1000
- validation
Enabled Boolean - Flag whether schema is enabled for validation.
- id string
- The provider-assigned unique ID for this managed resource.
- omit
Source boolean - Omit the source-files of schemas and only retrieve their meta-data.
- results
Get
Api Shield Schemas Result[] - The items returned by the data source
- zone
Id string - Identifier.
- max
Items number - Max items to fetch, default: 1000
- validation
Enabled boolean - Flag whether schema is enabled for validation.
- id str
- The provider-assigned unique ID for this managed resource.
- omit_
source bool - Omit the source-files of schemas and only retrieve their meta-data.
- results
Sequence[Get
Api Shield Schemas Result] - The items returned by the data source
- zone_
id str - Identifier.
- max_
items int - Max items to fetch, default: 1000
- validation_
enabled bool - Flag whether schema is enabled for validation.
- id String
- The provider-assigned unique ID for this managed resource.
- omit
Source Boolean - Omit the source-files of schemas and only retrieve their meta-data.
- results List<Property Map>
- The items returned by the data source
- zone
Id String - Identifier.
- max
Items Number - Max items to fetch, default: 1000
- validation
Enabled Boolean - Flag whether schema is enabled for validation.
Supporting Types
GetApiShieldSchemasResult
- Created
At string - Kind string
- Kind of schema Available values: <span pulumi-lang-nodejs=""openapiV3"" pulumi-lang-dotnet=""OpenapiV3"" pulumi-lang-go=""openapiV3"" pulumi-lang-python=""openapi_v3"" pulumi-lang-yaml=""openapiV3"" pulumi-lang-java=""openapiV3"">"openapi_v3".
- Name string
- Name of the schema
- Schema
Id string - UUID.
- Source string
- Source of the schema
- Validation
Enabled bool - Flag whether schema is enabled for validation.
- Created
At string - Kind string
- Kind of schema Available values: <span pulumi-lang-nodejs=""openapiV3"" pulumi-lang-dotnet=""OpenapiV3"" pulumi-lang-go=""openapiV3"" pulumi-lang-python=""openapi_v3"" pulumi-lang-yaml=""openapiV3"" pulumi-lang-java=""openapiV3"">"openapi_v3".
- Name string
- Name of the schema
- Schema
Id string - UUID.
- Source string
- Source of the schema
- Validation
Enabled bool - Flag whether schema is enabled for validation.
- created
At String - kind String
- Kind of schema Available values: <span pulumi-lang-nodejs=""openapiV3"" pulumi-lang-dotnet=""OpenapiV3"" pulumi-lang-go=""openapiV3"" pulumi-lang-python=""openapi_v3"" pulumi-lang-yaml=""openapiV3"" pulumi-lang-java=""openapiV3"">"openapi_v3".
- name String
- Name of the schema
- schema
Id String - UUID.
- source String
- Source of the schema
- validation
Enabled Boolean - Flag whether schema is enabled for validation.
- created
At string - kind string
- Kind of schema Available values: <span pulumi-lang-nodejs=""openapiV3"" pulumi-lang-dotnet=""OpenapiV3"" pulumi-lang-go=""openapiV3"" pulumi-lang-python=""openapi_v3"" pulumi-lang-yaml=""openapiV3"" pulumi-lang-java=""openapiV3"">"openapi_v3".
- name string
- Name of the schema
- schema
Id string - UUID.
- source string
- Source of the schema
- validation
Enabled boolean - Flag whether schema is enabled for validation.
- created_
at str - kind str
- Kind of schema Available values: <span pulumi-lang-nodejs=""openapiV3"" pulumi-lang-dotnet=""OpenapiV3"" pulumi-lang-go=""openapiV3"" pulumi-lang-python=""openapi_v3"" pulumi-lang-yaml=""openapiV3"" pulumi-lang-java=""openapiV3"">"openapi_v3".
- name str
- Name of the schema
- schema_
id str - UUID.
- source str
- Source of the schema
- validation_
enabled bool - Flag whether schema is enabled for validation.
- created
At String - kind String
- Kind of schema Available values: <span pulumi-lang-nodejs=""openapiV3"" pulumi-lang-dotnet=""OpenapiV3"" pulumi-lang-go=""openapiV3"" pulumi-lang-python=""openapi_v3"" pulumi-lang-yaml=""openapiV3"" pulumi-lang-java=""openapiV3"">"openapi_v3".
- name String
- Name of the schema
- schema
Id String - UUID.
- source String
- Source of the schema
- validation
Enabled Boolean - Flag whether schema is enabled for validation.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflareTerraform Provider.
Viewing docs for Cloudflare v6.13.0
published on Wednesday, Jan 21, 2026 by Pulumi
published on Wednesday, Jan 21, 2026 by Pulumi
