cloudflare.ApiShieldOperation
Explore with Pulumi AI
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".
- Zone
Id 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".
- Zone
Id 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".
- zone
Id 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".
- zone
Id 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".
- zone
Id String - Identifier
Outputs
All input properties are implicitly available as output properties. Additionally, the ApiShieldOperation resource produces the following output properties:
- Features
Api
Shield Operation Features - Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated string - Operation
Id string - UUID
- Features
Api
Shield Operation Features - Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated string - Operation
Id string - UUID
- features
Api
Shield Operation Features - id String
- The provider-assigned unique ID for this managed resource.
- last
Updated String - operation
Id String - UUID
- features
Api
Shield Operation Features - id string
- The provider-assigned unique ID for this managed resource.
- last
Updated string - operation
Id string - UUID
- features
Api
Shield Operation Features - 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.
- last
Updated String - operation
Id 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.
- 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
Api
Shield Operation Features - Host string
- RFC3986-compliant host.
- Last
Updated string - Method string
- The HTTP method used to access the endpoint. Available values: "GET", "POST", "HEAD", "OPTIONS", "PUT", "DELETE", "CONNECT", "PATCH", "TRACE".
- Operation
Id string - UUID
- Zone
Id 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
Api
Shield Operation Features Args - Host string
- RFC3986-compliant host.
- Last
Updated string - Method string
- The HTTP method used to access the endpoint. Available values: "GET", "POST", "HEAD", "OPTIONS", "PUT", "DELETE", "CONNECT", "PATCH", "TRACE".
- Operation
Id string - UUID
- Zone
Id 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
Api
Shield Operation Features - host String
- RFC3986-compliant host.
- last
Updated String - method String
- The HTTP method used to access the endpoint. Available values: "GET", "POST", "HEAD", "OPTIONS", "PUT", "DELETE", "CONNECT", "PATCH", "TRACE".
- operation
Id String - UUID
- zone
Id 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
Api
Shield Operation Features - host string
- RFC3986-compliant host.
- last
Updated string - method string
- The HTTP method used to access the endpoint. Available values: "GET", "POST", "HEAD", "OPTIONS", "PUT", "DELETE", "CONNECT", "PATCH", "TRACE".
- operation
Id string - UUID
- zone
Id 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
Api
Shield Operation Features Args - 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.
- last
Updated String - method String
- The HTTP method used to access the endpoint. Available values: "GET", "POST", "HEAD", "OPTIONS", "PUT", "DELETE", "CONNECT", "PATCH", "TRACE".
- operation
Id String - UUID
- zone
Id String - Identifier
Supporting Types
ApiShieldOperationFeatures, ApiShieldOperationFeaturesArgs
- api_
routing ApiShield Operation Features Api Routing - API Routing settings on endpoint.
- confidence_
intervals ApiShield Operation Features Confidence Intervals - parameter_
schemas ApiShield Operation Features Parameter Schemas - schema_
info ApiShield Operation Features Schema Info - thresholds
Api
Shield Operation Features Thresholds
- api
Routing Property Map - API Routing settings on endpoint.
- confidence
Intervals Property Map - parameter
Schemas Property Map - schema
Info Property Map - thresholds Property Map
ApiShieldOperationFeaturesApiRouting, ApiShieldOperationFeaturesApiRoutingArgs
- Last
Updated string - Route string
- Target route.
- Last
Updated string - Route string
- Target route.
- last
Updated String - route String
- Target route.
- last
Updated string - route string
- Target route.
- last_
updated str - route str
- Target route.
- last
Updated String - route String
- Target route.
ApiShieldOperationFeaturesConfidenceIntervals, ApiShieldOperationFeaturesConfidenceIntervalsArgs
ApiShieldOperationFeaturesConfidenceIntervalsSuggestedThreshold, ApiShieldOperationFeaturesConfidenceIntervalsSuggestedThresholdArgs
- Confidence
Intervals ApiShield Operation Features Confidence Intervals Suggested Threshold Confidence Intervals - Mean double
- Suggested threshold.
- Confidence
Intervals ApiShield Operation Features Confidence Intervals Suggested Threshold Confidence Intervals - Mean float64
- Suggested threshold.
- confidence
Intervals ApiShield Operation Features Confidence Intervals Suggested Threshold Confidence Intervals - mean Double
- Suggested threshold.
- confidence
Intervals ApiShield Operation Features Confidence Intervals Suggested Threshold Confidence Intervals - mean number
- Suggested threshold.
- confidence_
intervals ApiShield Operation Features Confidence Intervals Suggested Threshold Confidence Intervals - mean float
- Suggested threshold.
- confidence
Intervals Property Map - mean Number
- Suggested threshold.
ApiShieldOperationFeaturesConfidenceIntervalsSuggestedThresholdConfidenceIntervals, ApiShieldOperationFeaturesConfidenceIntervalsSuggestedThresholdConfidenceIntervalsArgs
- P90
Api
Shield Operation Features Confidence Intervals Suggested Threshold Confidence Intervals P90 - Upper and lower bound for percentile estimate
- P95
Api
Shield Operation Features Confidence Intervals Suggested Threshold Confidence Intervals P95 - Upper and lower bound for percentile estimate
- P99
Api
Shield Operation Features Confidence Intervals Suggested Threshold Confidence Intervals P99 - Upper and lower bound for percentile estimate
- P90
Api
Shield Operation Features Confidence Intervals Suggested Threshold Confidence Intervals P90 - Upper and lower bound for percentile estimate
- P95
Api
Shield Operation Features Confidence Intervals Suggested Threshold Confidence Intervals P95 - Upper and lower bound for percentile estimate
- P99
Api
Shield Operation Features Confidence Intervals Suggested Threshold Confidence Intervals P99 - Upper and lower bound for percentile estimate
- p90
Api
Shield Operation Features Confidence Intervals Suggested Threshold Confidence Intervals P90 - Upper and lower bound for percentile estimate
- p95
Api
Shield Operation Features Confidence Intervals Suggested Threshold Confidence Intervals P95 - Upper and lower bound for percentile estimate
- p99
Api
Shield Operation Features Confidence Intervals Suggested Threshold Confidence Intervals P99 - Upper and lower bound for percentile estimate
- p90
Api
Shield Operation Features Confidence Intervals Suggested Threshold Confidence Intervals P90 - Upper and lower bound for percentile estimate
- p95
Api
Shield Operation Features Confidence Intervals Suggested Threshold Confidence Intervals P95 - Upper and lower bound for percentile estimate
- p99
Api
Shield Operation Features Confidence Intervals Suggested Threshold Confidence Intervals P99 - Upper and lower bound for percentile estimate
- p90
Api
Shield Operation Features Confidence Intervals Suggested Threshold Confidence Intervals P90 - Upper and lower bound for percentile estimate
- p95
Api
Shield Operation Features Confidence Intervals Suggested Threshold Confidence Intervals P95 - Upper and lower bound for percentile estimate
- p99
Api
Shield Operation Features Confidence Intervals Suggested Threshold Confidence Intervals P99 - Upper and lower bound for percentile estimate
- 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
ApiShieldOperationFeaturesConfidenceIntervalsSuggestedThresholdConfidenceIntervalsP95, ApiShieldOperationFeaturesConfidenceIntervalsSuggestedThresholdConfidenceIntervalsP95Args
ApiShieldOperationFeaturesConfidenceIntervalsSuggestedThresholdConfidenceIntervalsP99, ApiShieldOperationFeaturesConfidenceIntervalsSuggestedThresholdConfidenceIntervalsP99Args
ApiShieldOperationFeaturesParameterSchemas, ApiShieldOperationFeaturesParameterSchemasArgs
- Last
Updated string - Parameter
Schemas ApiShield Operation Features Parameter Schemas Parameter Schemas - An operation schema object containing a response.
- Last
Updated string - Parameter
Schemas ApiShield Operation Features Parameter Schemas Parameter Schemas - An operation schema object containing a response.
- last
Updated String - parameter
Schemas ApiShield Operation Features Parameter Schemas Parameter Schemas - An operation schema object containing a response.
- last
Updated string - parameter
Schemas ApiShield Operation Features Parameter Schemas Parameter Schemas - An operation schema object containing a response.
- last_
updated str - parameter_
schemas ApiShield Operation Features Parameter Schemas Parameter Schemas - An operation schema object containing a response.
- last
Updated String - parameter
Schemas 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
- Active
Schema ApiShield Operation Features Schema Info Active Schema - Schema active on endpoint.
- Learned
Available bool - True if a Cloudflare-provided learned schema is available for this endpoint.
- Mitigation
Action string - Action taken on requests failing validation. Available values: "none", "log", "block".
- Active
Schema ApiShield Operation Features Schema Info Active Schema - Schema active on endpoint.
- Learned
Available bool - True if a Cloudflare-provided learned schema is available for this endpoint.
- Mitigation
Action string - Action taken on requests failing validation. Available values: "none", "log", "block".
- active
Schema ApiShield Operation Features Schema Info Active Schema - Schema active on endpoint.
- learned
Available Boolean - True if a Cloudflare-provided learned schema is available for this endpoint.
- mitigation
Action String - Action taken on requests failing validation. Available values: "none", "log", "block".
- active
Schema ApiShield Operation Features Schema Info Active Schema - Schema active on endpoint.
- learned
Available boolean - True if a Cloudflare-provided learned schema is available for this endpoint.
- mitigation
Action string - Action taken on requests failing validation. Available values: "none", "log", "block".
- active_
schema ApiShield Operation Features Schema Info Active Schema - 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".
- active
Schema Property Map - Schema active on endpoint.
- learned
Available Boolean - True if a Cloudflare-provided learned schema is available for this endpoint.
- mitigation
Action String - Action taken on requests failing validation. Available values: "none", "log", "block".
ApiShieldOperationFeaturesSchemaInfoActiveSchema, ApiShieldOperationFeaturesSchemaInfoActiveSchemaArgs
- created_
at str - id str
- UUID
- is_
learned bool - True if schema is Cloudflare-provided.
- name str
- Schema file name.
ApiShieldOperationFeaturesThresholds, ApiShieldOperationFeaturesThresholdsArgs
- Auth
Id intTokens - 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 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).
- 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.
- Auth
Id intTokens - 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 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).
- 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.
- auth
Id IntegerTokens - The total number of auth-ids seen across this calculation.
- data
Points Integer - The number of data points used for the threshold suggestion calculation.
- last
Updated 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).
- period
Seconds Integer - The period over which this threshold is suggested.
- requests Integer
- The estimated number of requests covered by these calculations.
- suggested
Threshold Integer - The suggested threshold in requests done by the same authid or periodseconds.
- auth
Id numberTokens - The total number of auth-ids seen across this calculation.
- data
Points number - The number of data points used for the threshold suggestion calculation.
- last
Updated 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).
- period
Seconds number - The period over which this threshold is suggested.
- requests number
- The estimated number of requests covered by these calculations.
- suggested
Threshold number - The suggested threshold in requests done by the same authid or periodseconds.
- auth_
id_ inttokens - 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.
- auth
Id NumberTokens - The total number of auth-ids seen across this calculation.
- data
Points Number - The number of data points used for the threshold suggestion calculation.
- last
Updated 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).
- period
Seconds Number - The period over which this threshold is suggested.
- requests Number
- The estimated number of requests covered by these calculations.
- suggested
Threshold 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.