ApiShieldOperationArgs

data class ApiShieldOperationArgs(val endpoint: Output<String>? = null, val host: Output<String>? = null, val method: Output<String>? = null, val zoneId: Output<String>? = null) : ConvertibleToJava<ApiShieldOperationArgs>

Provides a resource to manage an operation in API Shield Endpoint Management.

Example Usage

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 example = new ApiShieldOperation("example", ApiShieldOperationArgs.builder()
.endpoint("/path")
.host("api.example.com")
.method("GET")
.zoneId("0da42c8d2132a9ddaf714f9e7c920711")
.build());
}
}

Constructors

Link copied to clipboard
fun ApiShieldOperationArgs(endpoint: Output<String>? = null, host: Output<String>? = null, method: Output<String>? = null, zoneId: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ApiShieldOperationArgs

Properties

Link copied to clipboard
val endpoint: Output<String>? = null

The endpoint which can contain path parameter templates in curly braces, each will be replaced from left to right with {varN}, starting with {var1}. This will then be Cloudflare-normalized. Modifying this attribute will force creation of a new resource.

Link copied to clipboard
val host: Output<String>? = null

RFC3986-compliant host. Modifying this attribute will force creation of a new resource.

Link copied to clipboard
val method: Output<String>? = null

The HTTP method used to access the endpoint. Modifying this attribute will force creation of a new resource.

Link copied to clipboard
val zoneId: Output<String>? = null

The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.