published on Tuesday, Mar 24, 2026 by g-core
published on Tuesday, Mar 24, 2026 by g-core
WAAP domains enable Web Application and API Protection for monitoring and defending web applications against security threats.
Example Usage
All attributes
The following example shows all configurable attributes for this resource.
import * as pulumi from "@pulumi/pulumi";
import * as gcore from "@pulumi/gcore";
const exampleWaapDomain = new gcore.WaapDomain("example_waap_domain", {
domainId: 1,
status: "active",
});
import pulumi
import pulumi_gcore as gcore
example_waap_domain = gcore.WaapDomain("example_waap_domain",
domain_id=1,
status="active")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/gcore/v2/gcore"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := gcore.NewWaapDomain(ctx, "example_waap_domain", &gcore.WaapDomainArgs{
DomainId: pulumi.Float64(1),
Status: pulumi.String("active"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcore = Pulumi.Gcore;
return await Deployment.RunAsync(() =>
{
var exampleWaapDomain = new Gcore.WaapDomain("example_waap_domain", new()
{
DomainId = 1,
Status = "active",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcore.WaapDomain;
import com.pulumi.gcore.WaapDomainArgs;
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 exampleWaapDomain = new WaapDomain("exampleWaapDomain", WaapDomainArgs.builder()
.domainId(1.0)
.status("active")
.build());
}
}
resources:
exampleWaapDomain:
type: gcore:WaapDomain
name: example_waap_domain
properties:
domainId: 1
status: active
Create WaapDomain Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WaapDomain(name: string, args: WaapDomainArgs, opts?: CustomResourceOptions);@overload
def WaapDomain(resource_name: str,
args: WaapDomainArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WaapDomain(resource_name: str,
opts: Optional[ResourceOptions] = None,
domain_id: Optional[float] = None,
status: Optional[str] = None)func NewWaapDomain(ctx *Context, name string, args WaapDomainArgs, opts ...ResourceOption) (*WaapDomain, error)public WaapDomain(string name, WaapDomainArgs args, CustomResourceOptions? opts = null)
public WaapDomain(String name, WaapDomainArgs args)
public WaapDomain(String name, WaapDomainArgs args, CustomResourceOptions options)
type: gcore:WaapDomain
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 WaapDomainArgs
- 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 WaapDomainArgs
- 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 WaapDomainArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WaapDomainArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WaapDomainArgs
- 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 waapDomainResource = new Gcore.WaapDomain("waapDomainResource", new()
{
DomainId = 0,
Status = "string",
});
example, err := gcore.NewWaapDomain(ctx, "waapDomainResource", &gcore.WaapDomainArgs{
DomainId: pulumi.Float64(0),
Status: pulumi.String("string"),
})
var waapDomainResource = new WaapDomain("waapDomainResource", WaapDomainArgs.builder()
.domainId(0.0)
.status("string")
.build());
waap_domain_resource = gcore.WaapDomain("waapDomainResource",
domain_id=0,
status="string")
const waapDomainResource = new gcore.WaapDomain("waapDomainResource", {
domainId: 0,
status: "string",
});
type: gcore:WaapDomain
properties:
domainId: 0
status: string
WaapDomain 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 WaapDomain resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the WaapDomain resource produces the following output properties:
- Created
At string - The date and time the domain was created in ISO 8601 format
- Custom
Page doubleSet - The ID of the custom page set
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The domain name
- Quotas
Dictionary<string, Waap
Domain Quotas> - Domain level quotas
- Waap
Domain doubleId - The domain ID
- Created
At string - The date and time the domain was created in ISO 8601 format
- Custom
Page float64Set - The ID of the custom page set
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The domain name
- Quotas
map[string]Waap
Domain Quotas - Domain level quotas
- Waap
Domain float64Id - The domain ID
- created
At String - The date and time the domain was created in ISO 8601 format
- custom
Page DoubleSet - The ID of the custom page set
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The domain name
- quotas
Map<String,Waap
Domain Quotas> - Domain level quotas
- waap
Domain DoubleId - The domain ID
- created
At string - The date and time the domain was created in ISO 8601 format
- custom
Page numberSet - The ID of the custom page set
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The domain name
- quotas
{[key: string]: Waap
Domain Quotas} - Domain level quotas
- waap
Domain numberId - The domain ID
- created_
at str - The date and time the domain was created in ISO 8601 format
- custom_
page_ floatset - The ID of the custom page set
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The domain name
- quotas
Mapping[str, Waap
Domain Quotas] - Domain level quotas
- waap_
domain_ floatid - The domain ID
- created
At String - The date and time the domain was created in ISO 8601 format
- custom
Page NumberSet - The ID of the custom page set
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The domain name
- quotas Map<Property Map>
- Domain level quotas
- waap
Domain NumberId - The domain ID
Look up Existing WaapDomain Resource
Get an existing WaapDomain 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?: WaapDomainState, opts?: CustomResourceOptions): WaapDomain@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_at: Optional[str] = None,
custom_page_set: Optional[float] = None,
domain_id: Optional[float] = None,
name: Optional[str] = None,
quotas: Optional[Mapping[str, WaapDomainQuotasArgs]] = None,
status: Optional[str] = None,
waap_domain_id: Optional[float] = None) -> WaapDomainfunc GetWaapDomain(ctx *Context, name string, id IDInput, state *WaapDomainState, opts ...ResourceOption) (*WaapDomain, error)public static WaapDomain Get(string name, Input<string> id, WaapDomainState? state, CustomResourceOptions? opts = null)public static WaapDomain get(String name, Output<String> id, WaapDomainState state, CustomResourceOptions options)resources: _: type: gcore:WaapDomain 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.
- Created
At string - The date and time the domain was created in ISO 8601 format
- Custom
Page doubleSet - The ID of the custom page set
- Domain
Id double - The domain ID
- Name string
- The domain name
- Quotas
Dictionary<string, Waap
Domain Quotas Args> - Domain level quotas
- Status string
- The current status of the domain Available values: "active", "monitor".
- Waap
Domain doubleId - The domain ID
- Created
At string - The date and time the domain was created in ISO 8601 format
- Custom
Page float64Set - The ID of the custom page set
- Domain
Id float64 - The domain ID
- Name string
- The domain name
- Quotas
map[string]Waap
Domain Quotas Args - Domain level quotas
- Status string
- The current status of the domain Available values: "active", "monitor".
- Waap
Domain float64Id - The domain ID
- created
At String - The date and time the domain was created in ISO 8601 format
- custom
Page DoubleSet - The ID of the custom page set
- domain
Id Double - The domain ID
- name String
- The domain name
- quotas
Map<String,Waap
Domain Quotas Args> - Domain level quotas
- status String
- The current status of the domain Available values: "active", "monitor".
- waap
Domain DoubleId - The domain ID
- created
At string - The date and time the domain was created in ISO 8601 format
- custom
Page numberSet - The ID of the custom page set
- domain
Id number - The domain ID
- name string
- The domain name
- quotas
{[key: string]: Waap
Domain Quotas Args} - Domain level quotas
- status string
- The current status of the domain Available values: "active", "monitor".
- waap
Domain numberId - The domain ID
- created_
at str - The date and time the domain was created in ISO 8601 format
- custom_
page_ floatset - The ID of the custom page set
- domain_
id float - The domain ID
- name str
- The domain name
- quotas
Mapping[str, Waap
Domain Quotas Args] - Domain level quotas
- status str
- The current status of the domain Available values: "active", "monitor".
- waap_
domain_ floatid - The domain ID
- created
At String - The date and time the domain was created in ISO 8601 format
- custom
Page NumberSet - The ID of the custom page set
- domain
Id Number - The domain ID
- name String
- The domain name
- quotas Map<Property Map>
- Domain level quotas
- status String
- The current status of the domain Available values: "active", "monitor".
- waap
Domain NumberId - The domain ID
Supporting Types
WaapDomainQuotas, WaapDomainQuotasArgs
Package Details
- Repository
- gcore g-core/terraform-provider-gcore
- License
- Notes
- This Pulumi package is based on the
gcoreTerraform Provider.
published on Tuesday, Mar 24, 2026 by g-core
