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

cloudflare.getSchemaValidationSchemas

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 exampleSchemaValidationSchemas = cloudflare.getSchemaValidationSchemas({
        zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
        schemaId: "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
        omitSource: true,
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_schema_validation_schemas = cloudflare.get_schema_validation_schemas(zone_id="023e105f4ecef8ad9ca31a8372d0c353",
        schema_id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
        omit_source=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.LookupSchemaValidationSchemas(ctx, &cloudflare.LookupSchemaValidationSchemasArgs{
    			ZoneId:     "023e105f4ecef8ad9ca31a8372d0c353",
    			SchemaId:   pulumi.StringRef("f174e90a-fafe-4643-bbbc-4a0ed4fc8415"),
    			OmitSource: 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 exampleSchemaValidationSchemas = Cloudflare.GetSchemaValidationSchemas.Invoke(new()
        {
            ZoneId = "023e105f4ecef8ad9ca31a8372d0c353",
            SchemaId = "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
            OmitSource = 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.GetSchemaValidationSchemasArgs;
    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 exampleSchemaValidationSchemas = CloudflareFunctions.getSchemaValidationSchemas(GetSchemaValidationSchemasArgs.builder()
                .zoneId("023e105f4ecef8ad9ca31a8372d0c353")
                .schemaId("f174e90a-fafe-4643-bbbc-4a0ed4fc8415")
                .omitSource(true)
                .build());
    
        }
    }
    
    variables:
      exampleSchemaValidationSchemas:
        fn::invoke:
          function: cloudflare:getSchemaValidationSchemas
          arguments:
            zoneId: 023e105f4ecef8ad9ca31a8372d0c353
            schemaId: f174e90a-fafe-4643-bbbc-4a0ed4fc8415
            omitSource: true
    

    Using getSchemaValidationSchemas

    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 getSchemaValidationSchemas(args: GetSchemaValidationSchemasArgs, opts?: InvokeOptions): Promise<GetSchemaValidationSchemasResult>
    function getSchemaValidationSchemasOutput(args: GetSchemaValidationSchemasOutputArgs, opts?: InvokeOptions): Output<GetSchemaValidationSchemasResult>
    def get_schema_validation_schemas(filter: Optional[GetSchemaValidationSchemasFilter] = None,
                                      omit_source: Optional[bool] = None,
                                      schema_id: Optional[str] = None,
                                      zone_id: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetSchemaValidationSchemasResult
    def get_schema_validation_schemas_output(filter: Optional[pulumi.Input[GetSchemaValidationSchemasFilterArgs]] = None,
                                      omit_source: Optional[pulumi.Input[bool]] = None,
                                      schema_id: Optional[pulumi.Input[str]] = None,
                                      zone_id: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetSchemaValidationSchemasResult]
    func LookupSchemaValidationSchemas(ctx *Context, args *LookupSchemaValidationSchemasArgs, opts ...InvokeOption) (*LookupSchemaValidationSchemasResult, error)
    func LookupSchemaValidationSchemasOutput(ctx *Context, args *LookupSchemaValidationSchemasOutputArgs, opts ...InvokeOption) LookupSchemaValidationSchemasResultOutput

    > Note: This function is named LookupSchemaValidationSchemas in the Go SDK.

    public static class GetSchemaValidationSchemas 
    {
        public static Task<GetSchemaValidationSchemasResult> InvokeAsync(GetSchemaValidationSchemasArgs args, InvokeOptions? opts = null)
        public static Output<GetSchemaValidationSchemasResult> Invoke(GetSchemaValidationSchemasInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSchemaValidationSchemasResult> getSchemaValidationSchemas(GetSchemaValidationSchemasArgs args, InvokeOptions options)
    public static Output<GetSchemaValidationSchemasResult> getSchemaValidationSchemas(GetSchemaValidationSchemasArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getSchemaValidationSchemas:getSchemaValidationSchemas
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ZoneId string
    Identifier.
    Filter GetSchemaValidationSchemasFilter
    OmitSource bool
    Omit the source-files of schemas and only retrieve their meta-data.
    SchemaId string
    UUID.
    ZoneId string
    Identifier.
    Filter GetSchemaValidationSchemasFilter
    OmitSource bool
    Omit the source-files of schemas and only retrieve their meta-data.
    SchemaId string
    UUID.
    zoneId String
    Identifier.
    filter GetSchemaValidationSchemasFilter
    omitSource Boolean
    Omit the source-files of schemas and only retrieve their meta-data.
    schemaId String
    UUID.
    zoneId string
    Identifier.
    filter GetSchemaValidationSchemasFilter
    omitSource boolean
    Omit the source-files of schemas and only retrieve their meta-data.
    schemaId string
    UUID.
    zone_id str
    Identifier.
    filter GetSchemaValidationSchemasFilter
    omit_source bool
    Omit the source-files of schemas and only retrieve their meta-data.
    schema_id str
    UUID.
    zoneId String
    Identifier.
    filter Property Map
    omitSource Boolean
    Omit the source-files of schemas and only retrieve their meta-data.
    schemaId String
    UUID.

    getSchemaValidationSchemas Result

    The following output properties are available:

    CreatedAt string
    Id string
    UUID.
    Kind string
    The kind of the schema Available values: "openapi_v3".
    Name string
    A human-readable name for the schema
    OmitSource bool
    Omit the source-files of schemas and only retrieve their meta-data.
    SchemaId string
    UUID.
    Source string
    The raw schema, e.g., the OpenAPI schema, either as JSON or YAML
    ValidationEnabled bool
    An indicator if this schema is enabled
    ZoneId string
    Identifier.
    Filter GetSchemaValidationSchemasFilter
    CreatedAt string
    Id string
    UUID.
    Kind string
    The kind of the schema Available values: "openapi_v3".
    Name string
    A human-readable name for the schema
    OmitSource bool
    Omit the source-files of schemas and only retrieve their meta-data.
    SchemaId string
    UUID.
    Source string
    The raw schema, e.g., the OpenAPI schema, either as JSON or YAML
    ValidationEnabled bool
    An indicator if this schema is enabled
    ZoneId string
    Identifier.
    Filter GetSchemaValidationSchemasFilter
    createdAt String
    id String
    UUID.
    kind String
    The kind of the schema Available values: "openapi_v3".
    name String
    A human-readable name for the schema
    omitSource Boolean
    Omit the source-files of schemas and only retrieve their meta-data.
    schemaId String
    UUID.
    source String
    The raw schema, e.g., the OpenAPI schema, either as JSON or YAML
    validationEnabled Boolean
    An indicator if this schema is enabled
    zoneId String
    Identifier.
    filter GetSchemaValidationSchemasFilter
    createdAt string
    id string
    UUID.
    kind string
    The kind of the schema Available values: "openapi_v3".
    name string
    A human-readable name for the schema
    omitSource boolean
    Omit the source-files of schemas and only retrieve their meta-data.
    schemaId string
    UUID.
    source string
    The raw schema, e.g., the OpenAPI schema, either as JSON or YAML
    validationEnabled boolean
    An indicator if this schema is enabled
    zoneId string
    Identifier.
    filter GetSchemaValidationSchemasFilter
    created_at str
    id str
    UUID.
    kind str
    The kind of the schema Available values: "openapi_v3".
    name str
    A human-readable name for the schema
    omit_source bool
    Omit the source-files of schemas and only retrieve their meta-data.
    schema_id str
    UUID.
    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
    zone_id str
    Identifier.
    filter GetSchemaValidationSchemasFilter
    createdAt String
    id String
    UUID.
    kind String
    The kind of the schema Available values: "openapi_v3".
    name String
    A human-readable name for the schema
    omitSource Boolean
    Omit the source-files of schemas and only retrieve their meta-data.
    schemaId String
    UUID.
    source String
    The raw schema, e.g., the OpenAPI schema, either as JSON or YAML
    validationEnabled Boolean
    An indicator if this schema is enabled
    zoneId String
    Identifier.
    filter Property Map

    Supporting Types

    GetSchemaValidationSchemasFilter

    OmitSource bool
    Omit the source-files of schemas and only retrieve their meta-data.
    ValidationEnabled bool
    Filter for enabled schemas
    OmitSource bool
    Omit the source-files of schemas and only retrieve their meta-data.
    ValidationEnabled bool
    Filter for enabled schemas
    omitSource Boolean
    Omit the source-files of schemas and only retrieve their meta-data.
    validationEnabled Boolean
    Filter for enabled schemas
    omitSource boolean
    Omit the source-files of schemas and only retrieve their meta-data.
    validationEnabled boolean
    Filter for enabled schemas
    omit_source bool
    Omit the source-files of schemas and only retrieve their meta-data.
    validation_enabled bool
    Filter for enabled schemas
    omitSource Boolean
    Omit the source-files of schemas and only retrieve their meta-data.
    validationEnabled Boolean
    Filter for enabled schemas

    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