1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. ApiShieldOperation
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

cloudflare.ApiShieldOperation

Explore with Pulumi AI

cloudflare logo
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleApiShieldOperation = new cloudflare.ApiShieldOperation("example_api_shield_operation", {
        zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
        endpoint: "/api/v1/users/{var1}",
        host: "www.example.com",
        method: "GET",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_api_shield_operation = cloudflare.ApiShieldOperation("example_api_shield_operation",
        zone_id="023e105f4ecef8ad9ca31a8372d0c353",
        endpoint="/api/v1/users/{var1}",
        host="www.example.com",
        method="GET")
    
    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.NewApiShieldOperation(ctx, "example_api_shield_operation", &cloudflare.ApiShieldOperationArgs{
    			ZoneId:   pulumi.String("023e105f4ecef8ad9ca31a8372d0c353"),
    			Endpoint: pulumi.String("/api/v1/users/{var1}"),
    			Host:     pulumi.String("www.example.com"),
    			Method:   pulumi.String("GET"),
    		})
    		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 exampleApiShieldOperation = new Cloudflare.ApiShieldOperation("example_api_shield_operation", new()
        {
            ZoneId = "023e105f4ecef8ad9ca31a8372d0c353",
            Endpoint = "/api/v1/users/{var1}",
            Host = "www.example.com",
            Method = "GET",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudflare.ApiShieldOperation;
    import com.pulumi.cloudflare.ApiShieldOperationArgs;
    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) {
            var exampleApiShieldOperation = new ApiShieldOperation("exampleApiShieldOperation", ApiShieldOperationArgs.builder()
                .zoneId("023e105f4ecef8ad9ca31a8372d0c353")
                .endpoint("/api/v1/users/{var1}")
                .host("www.example.com")
                .method("GET")
                .build());
    
        }
    }
    
    resources:
      exampleApiShieldOperation:
        type: cloudflare:ApiShieldOperation
        name: example_api_shield_operation
        properties:
          zoneId: 023e105f4ecef8ad9ca31a8372d0c353
          endpoint: /api/v1/users/{var1}
          host: www.example.com
          method: GET
    

    Create ApiShieldOperation Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ApiShieldOperation(name: string, args: ApiShieldOperationArgs, opts?: CustomResourceOptions);
    @overload
    def ApiShieldOperation(resource_name: str,
                           args: ApiShieldOperationArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def ApiShieldOperation(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           endpoint: Optional[str] = None,
                           host: Optional[str] = None,
                           method: Optional[str] = None,
                           zone_id: Optional[str] = None)
    func NewApiShieldOperation(ctx *Context, name string, args ApiShieldOperationArgs, opts ...ResourceOption) (*ApiShieldOperation, error)
    public ApiShieldOperation(string name, ApiShieldOperationArgs args, CustomResourceOptions? opts = null)
    public ApiShieldOperation(String name, ApiShieldOperationArgs args)
    public ApiShieldOperation(String name, ApiShieldOperationArgs args, CustomResourceOptions options)
    
    type: cloudflare:ApiShieldOperation
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ApiShieldOperationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ApiShieldOperationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ApiShieldOperationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ApiShieldOperationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ApiShieldOperationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var apiShieldOperationResource = new Cloudflare.ApiShieldOperation("apiShieldOperationResource", new()
    {
        Endpoint = "string",
        Host = "string",
        Method = "string",
        ZoneId = "string",
    });
    
    example, err := cloudflare.NewApiShieldOperation(ctx, "apiShieldOperationResource", &cloudflare.ApiShieldOperationArgs{
    	Endpoint: pulumi.String("string"),
    	Host:     pulumi.String("string"),
    	Method:   pulumi.String("string"),
    	ZoneId:   pulumi.String("string"),
    })
    
    var apiShieldOperationResource = new ApiShieldOperation("apiShieldOperationResource", ApiShieldOperationArgs.builder()
        .endpoint("string")
        .host("string")
        .method("string")
        .zoneId("string")
        .build());
    
    api_shield_operation_resource = cloudflare.ApiShieldOperation("apiShieldOperationResource",
        endpoint="string",
        host="string",
        method="string",
        zone_id="string")
    
    const apiShieldOperationResource = new cloudflare.ApiShieldOperation("apiShieldOperationResource", {
        endpoint: "string",
        host: "string",
        method: "string",
        zoneId: "string",
    });
    
    type: cloudflare:ApiShieldOperation
    properties:
        endpoint: string
        host: string
        method: string
        zoneId: string
    

    ApiShieldOperation Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ApiShieldOperation resource accepts the following input properties:

    Endpoint string
    The endpoint which can contain path parameter templates in curly braces, each will be replaced from left to right with {varN}, starting with {var1}, during insertion. This will further be Cloudflare-normalized upon insertion. See: https://developers.cloudflare.com/rules/normalization/how-it-works/.
    Host string
    RFC3986-compliant host.
    Method string
    The HTTP method used to access the endpoint. Available values: "GET", "POST", "HEAD", "OPTIONS", "PUT", "DELETE", "CONNECT", "PATCH", "TRACE".
    ZoneId string
    Identifier
    Endpoint string
    The endpoint which can contain path parameter templates in curly braces, each will be replaced from left to right with {varN}, starting with {var1}, during insertion. This will further be Cloudflare-normalized upon insertion. See: https://developers.cloudflare.com/rules/normalization/how-it-works/.
    Host string
    RFC3986-compliant host.
    Method string
    The HTTP method used to access the endpoint. Available values: "GET", "POST", "HEAD", "OPTIONS", "PUT", "DELETE", "CONNECT", "PATCH", "TRACE".
    ZoneId string
    Identifier
    endpoint String
    The endpoint which can contain path parameter templates in curly braces, each will be replaced from left to right with {varN}, starting with {var1}, during insertion. This will further be Cloudflare-normalized upon insertion. See: https://developers.cloudflare.com/rules/normalization/how-it-works/.
    host String
    RFC3986-compliant host.
    method String
    The HTTP method used to access the endpoint. Available values: "GET", "POST", "HEAD", "OPTIONS", "PUT", "DELETE", "CONNECT", "PATCH", "TRACE".
    zoneId String
    Identifier
    endpoint string
    The endpoint which can contain path parameter templates in curly braces, each will be replaced from left to right with {varN}, starting with {var1}, during insertion. This will further be Cloudflare-normalized upon insertion. See: https://developers.cloudflare.com/rules/normalization/how-it-works/.
    host string
    RFC3986-compliant host.
    method string
    The HTTP method used to access the endpoint. Available values: "GET", "POST", "HEAD", "OPTIONS", "PUT", "DELETE", "CONNECT", "PATCH", "TRACE".
    zoneId string
    Identifier
    endpoint str
    The endpoint which can contain path parameter templates in curly braces, each will be replaced from left to right with {varN}, starting with {var1}, during insertion. This will further be Cloudflare-normalized upon insertion. See: https://developers.cloudflare.com/rules/normalization/how-it-works/.
    host str
    RFC3986-compliant host.
    method str
    The HTTP method used to access the endpoint. Available values: "GET", "POST", "HEAD", "OPTIONS", "PUT", "DELETE", "CONNECT", "PATCH", "TRACE".
    zone_id str
    Identifier
    endpoint String
    The endpoint which can contain path parameter templates in curly braces, each will be replaced from left to right with {varN}, starting with {var1}, during insertion. This will further be Cloudflare-normalized upon insertion. See: https://developers.cloudflare.com/rules/normalization/how-it-works/.
    host String
    RFC3986-compliant host.
    method String
    The HTTP method used to access the endpoint. Available values: "GET", "POST", "HEAD", "OPTIONS", "PUT", "DELETE", "CONNECT", "PATCH", "TRACE".
    zoneId String
    Identifier

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ApiShieldOperation resource produces the following output properties:

    Features ApiShieldOperationFeatures
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdated string
    OperationId string
    UUID
    Features ApiShieldOperationFeatures
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdated string
    OperationId string
    UUID
    features ApiShieldOperationFeatures
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdated String
    operationId String
    UUID
    features ApiShieldOperationFeatures
    id string
    The provider-assigned unique ID for this managed resource.
    lastUpdated string
    operationId string
    UUID
    features ApiShieldOperationFeatures
    id str
    The provider-assigned unique ID for this managed resource.
    last_updated str
    operation_id str
    UUID
    features Property Map
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdated String
    operationId String
    UUID

    Look up Existing ApiShieldOperation Resource

    Get an existing ApiShieldOperation resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ApiShieldOperationState, opts?: CustomResourceOptions): ApiShieldOperation
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            endpoint: Optional[str] = None,
            features: Optional[ApiShieldOperationFeaturesArgs] = None,
            host: Optional[str] = None,
            last_updated: Optional[str] = None,
            method: Optional[str] = None,
            operation_id: Optional[str] = None,
            zone_id: Optional[str] = None) -> ApiShieldOperation
    func GetApiShieldOperation(ctx *Context, name string, id IDInput, state *ApiShieldOperationState, opts ...ResourceOption) (*ApiShieldOperation, error)
    public static ApiShieldOperation Get(string name, Input<string> id, ApiShieldOperationState? state, CustomResourceOptions? opts = null)
    public static ApiShieldOperation get(String name, Output<String> id, ApiShieldOperationState state, CustomResourceOptions options)
    resources:  _:    type: cloudflare:ApiShieldOperation    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Endpoint string
    The endpoint which can contain path parameter templates in curly braces, each will be replaced from left to right with {varN}, starting with {var1}, during insertion. This will further be Cloudflare-normalized upon insertion. See: https://developers.cloudflare.com/rules/normalization/how-it-works/.
    Features ApiShieldOperationFeatures
    Host string
    RFC3986-compliant host.
    LastUpdated string
    Method string
    The HTTP method used to access the endpoint. Available values: "GET", "POST", "HEAD", "OPTIONS", "PUT", "DELETE", "CONNECT", "PATCH", "TRACE".
    OperationId string
    UUID
    ZoneId string
    Identifier
    Endpoint string
    The endpoint which can contain path parameter templates in curly braces, each will be replaced from left to right with {varN}, starting with {var1}, during insertion. This will further be Cloudflare-normalized upon insertion. See: https://developers.cloudflare.com/rules/normalization/how-it-works/.
    Features ApiShieldOperationFeaturesArgs
    Host string
    RFC3986-compliant host.
    LastUpdated string
    Method string
    The HTTP method used to access the endpoint. Available values: "GET", "POST", "HEAD", "OPTIONS", "PUT", "DELETE", "CONNECT", "PATCH", "TRACE".
    OperationId string
    UUID
    ZoneId string
    Identifier
    endpoint String
    The endpoint which can contain path parameter templates in curly braces, each will be replaced from left to right with {varN}, starting with {var1}, during insertion. This will further be Cloudflare-normalized upon insertion. See: https://developers.cloudflare.com/rules/normalization/how-it-works/.
    features ApiShieldOperationFeatures
    host String
    RFC3986-compliant host.
    lastUpdated String
    method String
    The HTTP method used to access the endpoint. Available values: "GET", "POST", "HEAD", "OPTIONS", "PUT", "DELETE", "CONNECT", "PATCH", "TRACE".
    operationId String
    UUID
    zoneId String
    Identifier
    endpoint string
    The endpoint which can contain path parameter templates in curly braces, each will be replaced from left to right with {varN}, starting with {var1}, during insertion. This will further be Cloudflare-normalized upon insertion. See: https://developers.cloudflare.com/rules/normalization/how-it-works/.
    features ApiShieldOperationFeatures
    host string
    RFC3986-compliant host.
    lastUpdated string
    method string
    The HTTP method used to access the endpoint. Available values: "GET", "POST", "HEAD", "OPTIONS", "PUT", "DELETE", "CONNECT", "PATCH", "TRACE".
    operationId string
    UUID
    zoneId string
    Identifier
    endpoint str
    The endpoint which can contain path parameter templates in curly braces, each will be replaced from left to right with {varN}, starting with {var1}, during insertion. This will further be Cloudflare-normalized upon insertion. See: https://developers.cloudflare.com/rules/normalization/how-it-works/.
    features ApiShieldOperationFeaturesArgs
    host str
    RFC3986-compliant host.
    last_updated str
    method str
    The HTTP method used to access the endpoint. Available values: "GET", "POST", "HEAD", "OPTIONS", "PUT", "DELETE", "CONNECT", "PATCH", "TRACE".
    operation_id str
    UUID
    zone_id str
    Identifier
    endpoint String
    The endpoint which can contain path parameter templates in curly braces, each will be replaced from left to right with {varN}, starting with {var1}, during insertion. This will further be Cloudflare-normalized upon insertion. See: https://developers.cloudflare.com/rules/normalization/how-it-works/.
    features Property Map
    host String
    RFC3986-compliant host.
    lastUpdated String
    method String
    The HTTP method used to access the endpoint. Available values: "GET", "POST", "HEAD", "OPTIONS", "PUT", "DELETE", "CONNECT", "PATCH", "TRACE".
    operationId String
    UUID
    zoneId String
    Identifier

    Supporting Types

    ApiShieldOperationFeatures, ApiShieldOperationFeaturesArgs

    ApiShieldOperationFeaturesApiRouting, ApiShieldOperationFeaturesApiRoutingArgs

    LastUpdated string
    Route string
    Target route.
    LastUpdated string
    Route string
    Target route.
    lastUpdated String
    route String
    Target route.
    lastUpdated string
    route string
    Target route.
    last_updated str
    route str
    Target route.
    lastUpdated String
    route String
    Target route.

    ApiShieldOperationFeaturesConfidenceIntervals, ApiShieldOperationFeaturesConfidenceIntervalsArgs

    ApiShieldOperationFeaturesConfidenceIntervalsSuggestedThreshold, ApiShieldOperationFeaturesConfidenceIntervalsSuggestedThresholdArgs

    confidenceIntervals Property Map
    mean Number
    Suggested threshold.

    ApiShieldOperationFeaturesConfidenceIntervalsSuggestedThresholdConfidenceIntervals, ApiShieldOperationFeaturesConfidenceIntervalsSuggestedThresholdConfidenceIntervalsArgs

    p90 Property Map
    Upper and lower bound for percentile estimate
    p95 Property Map
    Upper and lower bound for percentile estimate
    p99 Property Map
    Upper and lower bound for percentile estimate

    ApiShieldOperationFeaturesConfidenceIntervalsSuggestedThresholdConfidenceIntervalsP90, ApiShieldOperationFeaturesConfidenceIntervalsSuggestedThresholdConfidenceIntervalsP90Args

    Lower double
    Lower bound for percentile estimate
    Upper double
    Upper bound for percentile estimate
    Lower float64
    Lower bound for percentile estimate
    Upper float64
    Upper bound for percentile estimate
    lower Double
    Lower bound for percentile estimate
    upper Double
    Upper bound for percentile estimate
    lower number
    Lower bound for percentile estimate
    upper number
    Upper bound for percentile estimate
    lower float
    Lower bound for percentile estimate
    upper float
    Upper bound for percentile estimate
    lower Number
    Lower bound for percentile estimate
    upper Number
    Upper bound for percentile estimate

    ApiShieldOperationFeaturesConfidenceIntervalsSuggestedThresholdConfidenceIntervalsP95, ApiShieldOperationFeaturesConfidenceIntervalsSuggestedThresholdConfidenceIntervalsP95Args

    Lower double
    Lower bound for percentile estimate
    Upper double
    Upper bound for percentile estimate
    Lower float64
    Lower bound for percentile estimate
    Upper float64
    Upper bound for percentile estimate
    lower Double
    Lower bound for percentile estimate
    upper Double
    Upper bound for percentile estimate
    lower number
    Lower bound for percentile estimate
    upper number
    Upper bound for percentile estimate
    lower float
    Lower bound for percentile estimate
    upper float
    Upper bound for percentile estimate
    lower Number
    Lower bound for percentile estimate
    upper Number
    Upper bound for percentile estimate

    ApiShieldOperationFeaturesConfidenceIntervalsSuggestedThresholdConfidenceIntervalsP99, ApiShieldOperationFeaturesConfidenceIntervalsSuggestedThresholdConfidenceIntervalsP99Args

    Lower double
    Lower bound for percentile estimate
    Upper double
    Upper bound for percentile estimate
    Lower float64
    Lower bound for percentile estimate
    Upper float64
    Upper bound for percentile estimate
    lower Double
    Lower bound for percentile estimate
    upper Double
    Upper bound for percentile estimate
    lower number
    Lower bound for percentile estimate
    upper number
    Upper bound for percentile estimate
    lower float
    Lower bound for percentile estimate
    upper float
    Upper bound for percentile estimate
    lower Number
    Lower bound for percentile estimate
    upper Number
    Upper bound for percentile estimate

    ApiShieldOperationFeaturesParameterSchemas, ApiShieldOperationFeaturesParameterSchemasArgs

    LastUpdated string
    ParameterSchemas ApiShieldOperationFeaturesParameterSchemasParameterSchemas
    An operation schema object containing a response.
    LastUpdated string
    ParameterSchemas ApiShieldOperationFeaturesParameterSchemasParameterSchemas
    An operation schema object containing a response.
    lastUpdated String
    parameterSchemas ApiShieldOperationFeaturesParameterSchemasParameterSchemas
    An operation schema object containing a response.
    lastUpdated string
    parameterSchemas ApiShieldOperationFeaturesParameterSchemasParameterSchemas
    An operation schema object containing a response.
    lastUpdated String
    parameterSchemas Property Map
    An operation schema object containing a response.

    ApiShieldOperationFeaturesParameterSchemasParameterSchemas, ApiShieldOperationFeaturesParameterSchemasParameterSchemasArgs

    Parameters List<string>
    An array containing the learned parameter schemas.
    Responses string
    An empty response object. This field is required to yield a valid operation schema.
    Parameters []string
    An array containing the learned parameter schemas.
    Responses string
    An empty response object. This field is required to yield a valid operation schema.
    parameters List<String>
    An array containing the learned parameter schemas.
    responses String
    An empty response object. This field is required to yield a valid operation schema.
    parameters string[]
    An array containing the learned parameter schemas.
    responses string
    An empty response object. This field is required to yield a valid operation schema.
    parameters Sequence[str]
    An array containing the learned parameter schemas.
    responses str
    An empty response object. This field is required to yield a valid operation schema.
    parameters List<String>
    An array containing the learned parameter schemas.
    responses String
    An empty response object. This field is required to yield a valid operation schema.

    ApiShieldOperationFeaturesSchemaInfo, ApiShieldOperationFeaturesSchemaInfoArgs

    ActiveSchema ApiShieldOperationFeaturesSchemaInfoActiveSchema
    Schema active on endpoint.
    LearnedAvailable bool
    True if a Cloudflare-provided learned schema is available for this endpoint.
    MitigationAction string
    Action taken on requests failing validation. Available values: "none", "log", "block".
    ActiveSchema ApiShieldOperationFeaturesSchemaInfoActiveSchema
    Schema active on endpoint.
    LearnedAvailable bool
    True if a Cloudflare-provided learned schema is available for this endpoint.
    MitigationAction string
    Action taken on requests failing validation. Available values: "none", "log", "block".
    activeSchema ApiShieldOperationFeaturesSchemaInfoActiveSchema
    Schema active on endpoint.
    learnedAvailable Boolean
    True if a Cloudflare-provided learned schema is available for this endpoint.
    mitigationAction String
    Action taken on requests failing validation. Available values: "none", "log", "block".
    activeSchema ApiShieldOperationFeaturesSchemaInfoActiveSchema
    Schema active on endpoint.
    learnedAvailable boolean
    True if a Cloudflare-provided learned schema is available for this endpoint.
    mitigationAction string
    Action taken on requests failing validation. Available values: "none", "log", "block".
    active_schema ApiShieldOperationFeaturesSchemaInfoActiveSchema
    Schema active on endpoint.
    learned_available bool
    True if a Cloudflare-provided learned schema is available for this endpoint.
    mitigation_action str
    Action taken on requests failing validation. Available values: "none", "log", "block".
    activeSchema Property Map
    Schema active on endpoint.
    learnedAvailable Boolean
    True if a Cloudflare-provided learned schema is available for this endpoint.
    mitigationAction String
    Action taken on requests failing validation. Available values: "none", "log", "block".

    ApiShieldOperationFeaturesSchemaInfoActiveSchema, ApiShieldOperationFeaturesSchemaInfoActiveSchemaArgs

    CreatedAt string
    Id string
    UUID
    IsLearned bool
    True if schema is Cloudflare-provided.
    Name string
    Schema file name.
    CreatedAt string
    Id string
    UUID
    IsLearned bool
    True if schema is Cloudflare-provided.
    Name string
    Schema file name.
    createdAt String
    id String
    UUID
    isLearned Boolean
    True if schema is Cloudflare-provided.
    name String
    Schema file name.
    createdAt string
    id string
    UUID
    isLearned boolean
    True if schema is Cloudflare-provided.
    name string
    Schema file name.
    created_at str
    id str
    UUID
    is_learned bool
    True if schema is Cloudflare-provided.
    name str
    Schema file name.
    createdAt String
    id String
    UUID
    isLearned Boolean
    True if schema is Cloudflare-provided.
    name String
    Schema file name.

    ApiShieldOperationFeaturesThresholds, ApiShieldOperationFeaturesThresholdsArgs

    AuthIdTokens int
    The total number of auth-ids seen across this calculation.
    DataPoints int
    The number of data points used for the threshold suggestion calculation.
    LastUpdated string
    P50 int
    The p50 quantile of requests (in period_seconds).
    P90 int
    The p90 quantile of requests (in period_seconds).
    P99 int
    The p99 quantile of requests (in period_seconds).
    PeriodSeconds int
    The period over which this threshold is suggested.
    Requests int
    The estimated number of requests covered by these calculations.
    SuggestedThreshold int
    The suggested threshold in requests done by the same authid or periodseconds.
    AuthIdTokens int
    The total number of auth-ids seen across this calculation.
    DataPoints int
    The number of data points used for the threshold suggestion calculation.
    LastUpdated string
    P50 int
    The p50 quantile of requests (in period_seconds).
    P90 int
    The p90 quantile of requests (in period_seconds).
    P99 int
    The p99 quantile of requests (in period_seconds).
    PeriodSeconds int
    The period over which this threshold is suggested.
    Requests int
    The estimated number of requests covered by these calculations.
    SuggestedThreshold int
    The suggested threshold in requests done by the same authid or periodseconds.
    authIdTokens Integer
    The total number of auth-ids seen across this calculation.
    dataPoints Integer
    The number of data points used for the threshold suggestion calculation.
    lastUpdated String
    p50 Integer
    The p50 quantile of requests (in period_seconds).
    p90 Integer
    The p90 quantile of requests (in period_seconds).
    p99 Integer
    The p99 quantile of requests (in period_seconds).
    periodSeconds Integer
    The period over which this threshold is suggested.
    requests Integer
    The estimated number of requests covered by these calculations.
    suggestedThreshold Integer
    The suggested threshold in requests done by the same authid or periodseconds.
    authIdTokens number
    The total number of auth-ids seen across this calculation.
    dataPoints number
    The number of data points used for the threshold suggestion calculation.
    lastUpdated string
    p50 number
    The p50 quantile of requests (in period_seconds).
    p90 number
    The p90 quantile of requests (in period_seconds).
    p99 number
    The p99 quantile of requests (in period_seconds).
    periodSeconds number
    The period over which this threshold is suggested.
    requests number
    The estimated number of requests covered by these calculations.
    suggestedThreshold number
    The suggested threshold in requests done by the same authid or periodseconds.
    auth_id_tokens int
    The total number of auth-ids seen across this calculation.
    data_points int
    The number of data points used for the threshold suggestion calculation.
    last_updated str
    p50 int
    The p50 quantile of requests (in period_seconds).
    p90 int
    The p90 quantile of requests (in period_seconds).
    p99 int
    The p99 quantile of requests (in period_seconds).
    period_seconds int
    The period over which this threshold is suggested.
    requests int
    The estimated number of requests covered by these calculations.
    suggested_threshold int
    The suggested threshold in requests done by the same authid or periodseconds.
    authIdTokens Number
    The total number of auth-ids seen across this calculation.
    dataPoints Number
    The number of data points used for the threshold suggestion calculation.
    lastUpdated String
    p50 Number
    The p50 quantile of requests (in period_seconds).
    p90 Number
    The p90 quantile of requests (in period_seconds).
    p99 Number
    The p99 quantile of requests (in period_seconds).
    periodSeconds Number
    The period over which this threshold is suggested.
    requests Number
    The estimated number of requests covered by these calculations.
    suggestedThreshold Number
    The suggested threshold in requests done by the same authid or periodseconds.

    Import

    $ pulumi import cloudflare:index/apiShieldOperation:ApiShieldOperation example '<zone_id>/<operation_id>'
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.1.2 published on Monday, Apr 28, 2025 by Pulumi