1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getSchemaValidationSchemasList
Cloudflare v6.4.1 published on Wednesday, Jul 16, 2025 by Pulumi

cloudflare.getSchemaValidationSchemasList

Explore with Pulumi AI

cloudflare logo
Cloudflare v6.4.1 published on Wednesday, Jul 16, 2025 by Pulumi

    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:

    ZoneId string
    Identifier.
    MaxItems int
    Max items to fetch, default: 1000
    OmitSource bool
    Omit the source-files of schemas and only retrieve their meta-data.
    ValidationEnabled bool
    Filter for enabled schemas
    ZoneId string
    Identifier.
    MaxItems int
    Max items to fetch, default: 1000
    OmitSource bool
    Omit the source-files of schemas and only retrieve their meta-data.
    ValidationEnabled bool
    Filter for enabled schemas
    zoneId String
    Identifier.
    maxItems Integer
    Max items to fetch, default: 1000
    omitSource Boolean
    Omit the source-files of schemas and only retrieve their meta-data.
    validationEnabled Boolean
    Filter for enabled schemas
    zoneId string
    Identifier.
    maxItems number
    Max items to fetch, default: 1000
    omitSource boolean
    Omit the source-files of schemas and only retrieve their meta-data.
    validationEnabled 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
    zoneId String
    Identifier.
    maxItems Number
    Max items to fetch, default: 1000
    omitSource Boolean
    Omit the source-files of schemas and only retrieve their meta-data.
    validationEnabled Boolean
    Filter for enabled schemas

    getSchemaValidationSchemasList Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    OmitSource bool
    Omit the source-files of schemas and only retrieve their meta-data.
    Results List<GetSchemaValidationSchemasListResult>
    The items returned by the data source
    ZoneId string
    Identifier.
    MaxItems int
    Max items to fetch, default: 1000
    ValidationEnabled bool
    Filter for enabled schemas
    Id string
    The provider-assigned unique ID for this managed resource.
    OmitSource bool
    Omit the source-files of schemas and only retrieve their meta-data.
    Results []GetSchemaValidationSchemasListResult
    The items returned by the data source
    ZoneId string
    Identifier.
    MaxItems int
    Max items to fetch, default: 1000
    ValidationEnabled bool
    Filter for enabled schemas
    id String
    The provider-assigned unique ID for this managed resource.
    omitSource Boolean
    Omit the source-files of schemas and only retrieve their meta-data.
    results List<GetSchemaValidationSchemasListResult>
    The items returned by the data source
    zoneId String
    Identifier.
    maxItems Integer
    Max items to fetch, default: 1000
    validationEnabled Boolean
    Filter for enabled schemas
    id string
    The provider-assigned unique ID for this managed resource.
    omitSource boolean
    Omit the source-files of schemas and only retrieve their meta-data.
    results GetSchemaValidationSchemasListResult[]
    The items returned by the data source
    zoneId string
    Identifier.
    maxItems number
    Max items to fetch, default: 1000
    validationEnabled 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[GetSchemaValidationSchemasListResult]
    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.
    omitSource Boolean
    Omit the source-files of schemas and only retrieve their meta-data.
    results List<Property Map>
    The items returned by the data source
    zoneId String
    Identifier.
    maxItems Number
    Max items to fetch, default: 1000
    validationEnabled Boolean
    Filter for enabled schemas

    Supporting Types

    GetSchemaValidationSchemasListResult

    CreatedAt string
    Kind string
    The kind of the schema Available values: "openapi_v3".
    Name string
    A human-readable name for the schema
    SchemaId string
    A unique identifier of this schema
    Source string
    The raw schema, e.g., the OpenAPI schema, either as JSON or YAML
    ValidationEnabled bool
    An indicator if this schema is enabled
    CreatedAt string
    Kind string
    The kind of the schema Available values: "openapi_v3".
    Name string
    A human-readable name for the schema
    SchemaId string
    A unique identifier of this schema
    Source string
    The raw schema, e.g., the OpenAPI schema, either as JSON or YAML
    ValidationEnabled bool
    An indicator if this schema is enabled
    createdAt String
    kind String
    The kind of the schema Available values: "openapi_v3".
    name String
    A human-readable name for the schema
    schemaId String
    A unique identifier of this schema
    source String
    The raw schema, e.g., the OpenAPI schema, either as JSON or YAML
    validationEnabled Boolean
    An indicator if this schema is enabled
    createdAt string
    kind string
    The kind of the schema Available values: "openapi_v3".
    name string
    A human-readable name for the schema
    schemaId string
    A unique identifier of this schema
    source string
    The raw schema, e.g., the OpenAPI schema, either as JSON or YAML
    validationEnabled 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
    createdAt String
    kind String
    The kind of the schema Available values: "openapi_v3".
    name String
    A human-readable name for the schema
    schemaId String
    A unique identifier of this schema
    source String
    The raw schema, e.g., the OpenAPI schema, either as JSON or YAML
    validationEnabled 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.
    cloudflare logo
    Cloudflare v6.4.1 published on Wednesday, Jul 16, 2025 by Pulumi