Cloudflare v6.4.1 published on Wednesday, Jul 16, 2025 by Pulumi
cloudflare.getSchemaValidationSchemas
Explore with Pulumi AI
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:
- Zone
Id string - Identifier.
- Filter
Get
Schema Validation Schemas Filter - Omit
Source bool - Omit the source-files of schemas and only retrieve their meta-data.
- Schema
Id string - UUID.
- Zone
Id string - Identifier.
- Filter
Get
Schema Validation Schemas Filter - Omit
Source bool - Omit the source-files of schemas and only retrieve their meta-data.
- Schema
Id string - UUID.
- zone
Id String - Identifier.
- filter
Get
Schema Validation Schemas Filter - omit
Source Boolean - Omit the source-files of schemas and only retrieve their meta-data.
- schema
Id String - UUID.
- zone
Id string - Identifier.
- filter
Get
Schema Validation Schemas Filter - omit
Source boolean - Omit the source-files of schemas and only retrieve their meta-data.
- schema
Id string - UUID.
- zone_
id str - Identifier.
- filter
Get
Schema Validation Schemas Filter - omit_
source bool - Omit the source-files of schemas and only retrieve their meta-data.
- schema_
id str - UUID.
- zone
Id String - Identifier.
- filter Property Map
- omit
Source Boolean - Omit the source-files of schemas and only retrieve their meta-data.
- schema
Id String - UUID.
getSchemaValidationSchemas Result
The following output properties are available:
- Created
At string - Id string
- UUID.
- Kind string
- The kind of the schema Available values: "openapi_v3".
- Name string
- A human-readable name for the schema
- Omit
Source bool - Omit the source-files of schemas and only retrieve their meta-data.
- Schema
Id string - UUID.
- 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
- Zone
Id string - Identifier.
- Filter
Get
Schema Validation Schemas Filter
- Created
At string - Id string
- UUID.
- Kind string
- The kind of the schema Available values: "openapi_v3".
- Name string
- A human-readable name for the schema
- Omit
Source bool - Omit the source-files of schemas and only retrieve their meta-data.
- Schema
Id string - UUID.
- 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
- Zone
Id string - Identifier.
- Filter
Get
Schema Validation Schemas Filter
- created
At String - id String
- UUID.
- kind String
- The kind of the schema Available values: "openapi_v3".
- name String
- A human-readable name for the schema
- omit
Source Boolean - Omit the source-files of schemas and only retrieve their meta-data.
- schema
Id String - UUID.
- 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
- zone
Id String - Identifier.
- filter
Get
Schema Validation Schemas Filter
- created
At string - id string
- UUID.
- kind string
- The kind of the schema Available values: "openapi_v3".
- name string
- A human-readable name for the schema
- omit
Source boolean - Omit the source-files of schemas and only retrieve their meta-data.
- schema
Id string - UUID.
- 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
- zone
Id string - Identifier.
- filter
Get
Schema Validation Schemas Filter
- 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
Get
Schema Validation Schemas Filter
- created
At String - id String
- UUID.
- kind String
- The kind of the schema Available values: "openapi_v3".
- name String
- A human-readable name for the schema
- omit
Source Boolean - Omit the source-files of schemas and only retrieve their meta-data.
- schema
Id String - UUID.
- 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
- zone
Id String - Identifier.
- filter Property Map
Supporting Types
GetSchemaValidationSchemasFilter
- Omit
Source bool - Omit the source-files of schemas and only retrieve their meta-data.
- Validation
Enabled bool - 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
- omit
Source Boolean - Omit the source-files of schemas and only retrieve their meta-data.
- validation
Enabled Boolean - Filter for enabled schemas
- omit
Source boolean - Omit the source-files of schemas and only retrieve their meta-data.
- validation
Enabled 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
- omit
Source Boolean - Omit the source-files of schemas and only retrieve their meta-data.
- validation
Enabled 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.