Viewing docs for gcore 2.0.0-alpha.3
published on Monday, Mar 30, 2026 by g-core
published on Monday, Mar 30, 2026 by g-core
Viewing docs for gcore 2.0.0-alpha.3
published on Monday, Mar 30, 2026 by g-core
published on Monday, Mar 30, 2026 by g-core
WAAP domains enable Web Application and API Protection for monitoring and defending web applications against security threats.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcore from "@pulumi/gcore";
const exampleWaapDomain = gcore.getWaapDomain({
domainId: 1,
});
import pulumi
import pulumi_gcore as gcore
example_waap_domain = gcore.get_waap_domain(domain_id=1)
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.LookupWaapDomain(ctx, &gcore.LookupWaapDomainArgs{
DomainId: 1,
}, nil)
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 = Gcore.GetWaapDomain.Invoke(new()
{
DomainId = 1,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcore.GcoreFunctions;
import com.pulumi.gcore.inputs.GetWaapDomainArgs;
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 exampleWaapDomain = GcoreFunctions.getWaapDomain(GetWaapDomainArgs.builder()
.domainId(1)
.build());
}
}
variables:
exampleWaapDomain:
fn::invoke:
function: gcore:getWaapDomain
arguments:
domainId: 1
Using getWaapDomain
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 getWaapDomain(args: GetWaapDomainArgs, opts?: InvokeOptions): Promise<GetWaapDomainResult>
function getWaapDomainOutput(args: GetWaapDomainOutputArgs, opts?: InvokeOptions): Output<GetWaapDomainResult>def get_waap_domain(domain_id: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetWaapDomainResult
def get_waap_domain_output(domain_id: Optional[pulumi.Input[float]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWaapDomainResult]func LookupWaapDomain(ctx *Context, args *LookupWaapDomainArgs, opts ...InvokeOption) (*LookupWaapDomainResult, error)
func LookupWaapDomainOutput(ctx *Context, args *LookupWaapDomainOutputArgs, opts ...InvokeOption) LookupWaapDomainResultOutput> Note: This function is named LookupWaapDomain in the Go SDK.
public static class GetWaapDomain
{
public static Task<GetWaapDomainResult> InvokeAsync(GetWaapDomainArgs args, InvokeOptions? opts = null)
public static Output<GetWaapDomainResult> Invoke(GetWaapDomainInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetWaapDomainResult> getWaapDomain(GetWaapDomainArgs args, InvokeOptions options)
public static Output<GetWaapDomainResult> getWaapDomain(GetWaapDomainArgs args, InvokeOptions options)
fn::invoke:
function: gcore:index/getWaapDomain:getWaapDomain
arguments:
# arguments dictionaryThe following arguments are supported:
- Domain
Id double - The domain ID
- Domain
Id float64 - The domain ID
- domain
Id Double - The domain ID
- domain
Id number - The domain ID
- domain_
id float - The domain ID
- domain
Id Number - The domain ID
getWaapDomain Result
The following output properties are available:
- 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
- Id double
- The domain ID
- Name string
- The domain name
- Quotas
Dictionary<string, Get
Waap Domain Quotas> - Domain level quotas
- Status string
- The different statuses a domain can have Available values: "active", "bypass", "monitor", "locked".
- 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
- Id float64
- The domain ID
- Name string
- The domain name
- Quotas
map[string]Get
Waap Domain Quotas - Domain level quotas
- Status string
- The different statuses a domain can have Available values: "active", "bypass", "monitor", "locked".
- 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
- id Double
- The domain ID
- name String
- The domain name
- quotas
Map<String,Get
Waap Domain Quotas> - Domain level quotas
- status String
- The different statuses a domain can have Available values: "active", "bypass", "monitor", "locked".
- 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
- id number
- The domain ID
- name string
- The domain name
- quotas
{[key: string]: Get
Waap Domain Quotas} - Domain level quotas
- status string
- The different statuses a domain can have Available values: "active", "bypass", "monitor", "locked".
- 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
- id float
- The domain ID
- name str
- The domain name
- quotas
Mapping[str, Get
Waap Domain Quotas] - Domain level quotas
- status str
- The different statuses a domain can have Available values: "active", "bypass", "monitor", "locked".
- 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
- id Number
- The domain ID
- name String
- The domain name
- quotas Map<Property Map>
- Domain level quotas
- status String
- The different statuses a domain can have Available values: "active", "bypass", "monitor", "locked".
Supporting Types
GetWaapDomainQuotas
Package Details
- Repository
- gcore g-core/terraform-provider-gcore
- License
- Notes
- This Pulumi package is based on the
gcoreTerraform Provider.
Viewing docs for gcore 2.0.0-alpha.3
published on Monday, Mar 30, 2026 by g-core
published on Monday, Mar 30, 2026 by g-core
