Cloudflare v6.4.1 published on Wednesday, Jul 16, 2025 by Pulumi
cloudflare.getSchemaValidationSchemasList
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleSchemaValidationSchemasList = cloudflare.getSchemaValidationSchemasList({
zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
validationEnabled: true,
});
import pulumi
import pulumi_cloudflare as cloudflare
example_schema_validation_schemas_list = cloudflare.get_schema_validation_schemas_list(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.LookupSchemaValidationSchemasList(ctx, &cloudflare.LookupSchemaValidationSchemasListArgs{
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 exampleSchemaValidationSchemasList = Cloudflare.GetSchemaValidationSchemasList.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.GetSchemaValidationSchemasListArgs;
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 exampleSchemaValidationSchemasList = CloudflareFunctions.getSchemaValidationSchemasList(GetSchemaValidationSchemasListArgs.builder()
.zoneId("023e105f4ecef8ad9ca31a8372d0c353")
.validationEnabled(true)
.build());
}
}
variables:
exampleSchemaValidationSchemasList:
fn::invoke:
function: cloudflare:getSchemaValidationSchemasList
arguments:
zoneId: 023e105f4ecef8ad9ca31a8372d0c353
validationEnabled: true
Using getSchemaValidationSchemasList
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 getSchemaValidationSchemasList(args: GetSchemaValidationSchemasListArgs, opts?: InvokeOptions): Promise<GetSchemaValidationSchemasListResult>
function getSchemaValidationSchemasListOutput(args: GetSchemaValidationSchemasListOutputArgs, opts?: InvokeOptions): Output<GetSchemaValidationSchemasListResult>
def get_schema_validation_schemas_list(max_items: Optional[int] = None,
omit_source: Optional[bool] = None,
validation_enabled: Optional[bool] = None,
zone_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSchemaValidationSchemasListResult
def get_schema_validation_schemas_list_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[GetSchemaValidationSchemasListResult]
func LookupSchemaValidationSchemasList(ctx *Context, args *LookupSchemaValidationSchemasListArgs, opts ...InvokeOption) (*LookupSchemaValidationSchemasListResult, error)
func LookupSchemaValidationSchemasListOutput(ctx *Context, args *LookupSchemaValidationSchemasListOutputArgs, opts ...InvokeOption) LookupSchemaValidationSchemasListResultOutput
> Note: This function is named LookupSchemaValidationSchemasList
in the Go SDK.
public static class GetSchemaValidationSchemasList
{
public static Task<GetSchemaValidationSchemasListResult> InvokeAsync(GetSchemaValidationSchemasListArgs args, InvokeOptions? opts = null)
public static Output<GetSchemaValidationSchemasListResult> Invoke(GetSchemaValidationSchemasListInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSchemaValidationSchemasListResult> getSchemaValidationSchemasList(GetSchemaValidationSchemasListArgs args, InvokeOptions options)
public static Output<GetSchemaValidationSchemasListResult> getSchemaValidationSchemasList(GetSchemaValidationSchemasListArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getSchemaValidationSchemasList:getSchemaValidationSchemasList
arguments:
# arguments dictionary
The 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 - Filter for enabled schemas
- 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 - Filter for enabled schemas
- 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 - Filter for enabled schemas
- 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 - Filter for enabled schemas
- 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 - Filter for enabled schemas
- 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 - Filter for enabled schemas
getSchemaValidationSchemasList 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
Schema Validation Schemas List Result> - The items returned by the data source
- Zone
Id string - Identifier.
- Max
Items int - Max items to fetch, default: 1000
- Validation
Enabled bool - Filter for enabled schemas
- 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
Schema Validation Schemas List Result - The items returned by the data source
- Zone
Id string - Identifier.
- Max
Items int - Max items to fetch, default: 1000
- Validation
Enabled bool - Filter for enabled schemas
- 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
Schema Validation Schemas List Result> - The items returned by the data source
- zone
Id String - Identifier.
- max
Items Integer - Max items to fetch, default: 1000
- validation
Enabled Boolean - Filter for enabled schemas
- 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
Schema Validation Schemas List Result[] - The items returned by the data source
- zone
Id string - Identifier.
- max
Items number - Max items to fetch, default: 1000
- validation
Enabled boolean - Filter for enabled schemas
- 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
Schema Validation Schemas List Result] - The items returned by the data source
- zone_
id str - Identifier.
- max_
items int - Max items to fetch, default: 1000
- validation_
enabled bool - Filter for enabled schemas
- 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 - Filter for enabled schemas
Supporting Types
GetSchemaValidationSchemasListResult
- Created
At string - Kind string
- The kind of the schema Available values: "openapi_v3".
- Name string
- A human-readable name for the schema
- Schema
Id string - A unique identifier of this schema
- Source string
- The raw schema, e.g., the OpenAPI schema, either as JSON or YAML
- Validation
Enabled bool - An indicator if this schema is enabled
- Created
At string - Kind string
- The kind of the schema Available values: "openapi_v3".
- Name string
- A human-readable name for the schema
- Schema
Id string - A unique identifier of this schema
- Source string
- The raw schema, e.g., the OpenAPI schema, either as JSON or YAML
- Validation
Enabled bool - An indicator if this schema is enabled
- created
At String - kind String
- The kind of the schema Available values: "openapi_v3".
- name String
- A human-readable name for the schema
- schema
Id String - A unique identifier of this schema
- source String
- The raw schema, e.g., the OpenAPI schema, either as JSON or YAML
- validation
Enabled Boolean - An indicator if this schema is enabled
- created
At string - kind string
- The kind of the schema Available values: "openapi_v3".
- name string
- A human-readable name for the schema
- schema
Id string - A unique identifier of this schema
- source string
- The raw schema, e.g., the OpenAPI schema, either as JSON or YAML
- validation
Enabled boolean - An indicator if this schema is enabled
- created_
at str - kind str
- The kind of the schema Available values: "openapi_v3".
- name str
- A human-readable name for the schema
- schema_
id str - A unique identifier of this schema
- source str
- The raw schema, e.g., the OpenAPI schema, either as JSON or YAML
- validation_
enabled bool - An indicator if this schema is enabled
- created
At String - kind String
- The kind of the schema Available values: "openapi_v3".
- name String
- A human-readable name for the schema
- schema
Id String - A unique identifier of this schema
- source String
- The raw schema, e.g., the OpenAPI schema, either as JSON or YAML
- validation
Enabled Boolean - An indicator if this schema is enabled
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.