flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
flexibleengine.getWafDedicatedInstances
Explore with Pulumi AI
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
Use this data source to get a list of WAF dedicated instances.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const config = new pulumi.Config();
const instanceName = config.requireObject("instanceName");
const instances = flexibleengine.getWafDedicatedInstances({
name: instanceName,
});
import pulumi
import pulumi_flexibleengine as flexibleengine
config = pulumi.Config()
instance_name = config.require_object("instanceName")
instances = flexibleengine.get_waf_dedicated_instances(name=instance_name)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
instanceName := cfg.RequireObject("instanceName")
_, err := flexibleengine.GetWafDedicatedInstances(ctx, &flexibleengine.GetWafDedicatedInstancesArgs{
Name: pulumi.StringRef(instanceName),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var instanceName = config.RequireObject<dynamic>("instanceName");
var instances = Flexibleengine.GetWafDedicatedInstances.Invoke(new()
{
Name = instanceName,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.FlexibleengineFunctions;
import com.pulumi.flexibleengine.inputs.GetWafDedicatedInstancesArgs;
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 config = ctx.config();
final var instanceName = config.get("instanceName");
final var instances = FlexibleengineFunctions.getWafDedicatedInstances(GetWafDedicatedInstancesArgs.builder()
.name(instanceName)
.build());
}
}
configuration:
instanceName:
type: dynamic
variables:
instances:
fn::invoke:
function: flexibleengine:getWafDedicatedInstances
arguments:
name: ${instanceName}
Using getWafDedicatedInstances
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 getWafDedicatedInstances(args: GetWafDedicatedInstancesArgs, opts?: InvokeOptions): Promise<GetWafDedicatedInstancesResult>
function getWafDedicatedInstancesOutput(args: GetWafDedicatedInstancesOutputArgs, opts?: InvokeOptions): Output<GetWafDedicatedInstancesResult>
def get_waf_dedicated_instances(enterprise_project_id: Optional[str] = None,
id: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWafDedicatedInstancesResult
def get_waf_dedicated_instances_output(enterprise_project_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWafDedicatedInstancesResult]
func GetWafDedicatedInstances(ctx *Context, args *GetWafDedicatedInstancesArgs, opts ...InvokeOption) (*GetWafDedicatedInstancesResult, error)
func GetWafDedicatedInstancesOutput(ctx *Context, args *GetWafDedicatedInstancesOutputArgs, opts ...InvokeOption) GetWafDedicatedInstancesResultOutput
> Note: This function is named GetWafDedicatedInstances
in the Go SDK.
public static class GetWafDedicatedInstances
{
public static Task<GetWafDedicatedInstancesResult> InvokeAsync(GetWafDedicatedInstancesArgs args, InvokeOptions? opts = null)
public static Output<GetWafDedicatedInstancesResult> Invoke(GetWafDedicatedInstancesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetWafDedicatedInstancesResult> getWafDedicatedInstances(GetWafDedicatedInstancesArgs args, InvokeOptions options)
public static Output<GetWafDedicatedInstancesResult> getWafDedicatedInstances(GetWafDedicatedInstancesArgs args, InvokeOptions options)
fn::invoke:
function: flexibleengine:index/getWafDedicatedInstances:getWafDedicatedInstances
arguments:
# arguments dictionary
The following arguments are supported:
- Enterprise
Project stringId - Specifies the enterprise project id of the WAF dedicated instance.
- Id string
- The id of WAF dedicated instance.
- Name string
- The name of WAF dedicated instance.
- Region string
- The region in which to query the WAF dedicated instance. If omitted, the provider-level region will be used.
- Enterprise
Project stringId - Specifies the enterprise project id of the WAF dedicated instance.
- Id string
- The id of WAF dedicated instance.
- Name string
- The name of WAF dedicated instance.
- Region string
- The region in which to query the WAF dedicated instance. If omitted, the provider-level region will be used.
- enterprise
Project StringId - Specifies the enterprise project id of the WAF dedicated instance.
- id String
- The id of WAF dedicated instance.
- name String
- The name of WAF dedicated instance.
- region String
- The region in which to query the WAF dedicated instance. If omitted, the provider-level region will be used.
- enterprise
Project stringId - Specifies the enterprise project id of the WAF dedicated instance.
- id string
- The id of WAF dedicated instance.
- name string
- The name of WAF dedicated instance.
- region string
- The region in which to query the WAF dedicated instance. If omitted, the provider-level region will be used.
- enterprise_
project_ strid - Specifies the enterprise project id of the WAF dedicated instance.
- id str
- The id of WAF dedicated instance.
- name str
- The name of WAF dedicated instance.
- region str
- The region in which to query the WAF dedicated instance. If omitted, the provider-level region will be used.
- enterprise
Project StringId - Specifies the enterprise project id of the WAF dedicated instance.
- id String
- The id of WAF dedicated instance.
- name String
- The name of WAF dedicated instance.
- region String
- The region in which to query the WAF dedicated instance. If omitted, the provider-level region will be used.
getWafDedicatedInstances Result
The following output properties are available:
- Id string
- The id of WAF dedicated instance.
- Instances
List<Get
Waf Dedicated Instances Instance> - An array of available WAF dedicated instances. The instances object structure is documented below.
- Region string
- Enterprise
Project stringId - Name string
- The name of WAF dedicated instance.
- Id string
- The id of WAF dedicated instance.
- Instances
[]Get
Waf Dedicated Instances Instance - An array of available WAF dedicated instances. The instances object structure is documented below.
- Region string
- Enterprise
Project stringId - Name string
- The name of WAF dedicated instance.
- id String
- The id of WAF dedicated instance.
- instances
List<Get
Waf Dedicated Instances Instance> - An array of available WAF dedicated instances. The instances object structure is documented below.
- region String
- enterprise
Project StringId - name String
- The name of WAF dedicated instance.
- id string
- The id of WAF dedicated instance.
- instances
Get
Waf Dedicated Instances Instance[] - An array of available WAF dedicated instances. The instances object structure is documented below.
- region string
- enterprise
Project stringId - name string
- The name of WAF dedicated instance.
- id str
- The id of WAF dedicated instance.
- instances
Sequence[Get
Waf Dedicated Instances Instance] - An array of available WAF dedicated instances. The instances object structure is documented below.
- region str
- enterprise_
project_ strid - name str
- The name of WAF dedicated instance.
- id String
- The id of WAF dedicated instance.
- instances List<Property Map>
- An array of available WAF dedicated instances. The instances object structure is documented below.
- region String
- enterprise
Project StringId - name String
- The name of WAF dedicated instance.
Supporting Types
GetWafDedicatedInstancesInstance
- Access
Status double - The access status of the instance.
0
: inaccessible,1
: accessible. - Available
Zone string - The available zone names for the WAF dedicated instances.
- Cpu
Architecture string - The ECS cpu architecture of WAF dedicated instance.
- Ecs
Flavor string - The flavor of the ECS used by the WAF instance.
- Group
Id string - The instance group ID used by the WAF dedicated instance in ELB mode.
- Id string
- The id of WAF dedicated instance.
- Name string
- The name of WAF dedicated instance.
- Run
Status double - The running status of the instance. Values are:
- Security
Groups List<string> - The security group of the instance. This is an array of security group ids.
- Server
Id string - The service of the instance.
- Service
Ip string - The service ip of the instance.
- Subnet
Id string - The ID of the VPC Subnet of WAF dedicated instance VPC.
- Upgradable double
- The instance is to support upgrades.
0
: Cannot be upgraded,1
: Can be upgraded. - Vpc
Id string - The VPC id of WAF dedicated instance.
- Access
Status float64 - The access status of the instance.
0
: inaccessible,1
: accessible. - Available
Zone string - The available zone names for the WAF dedicated instances.
- Cpu
Architecture string - The ECS cpu architecture of WAF dedicated instance.
- Ecs
Flavor string - The flavor of the ECS used by the WAF instance.
- Group
Id string - The instance group ID used by the WAF dedicated instance in ELB mode.
- Id string
- The id of WAF dedicated instance.
- Name string
- The name of WAF dedicated instance.
- Run
Status float64 - The running status of the instance. Values are:
- Security
Groups []string - The security group of the instance. This is an array of security group ids.
- Server
Id string - The service of the instance.
- Service
Ip string - The service ip of the instance.
- Subnet
Id string - The ID of the VPC Subnet of WAF dedicated instance VPC.
- Upgradable float64
- The instance is to support upgrades.
0
: Cannot be upgraded,1
: Can be upgraded. - Vpc
Id string - The VPC id of WAF dedicated instance.
- access
Status Double - The access status of the instance.
0
: inaccessible,1
: accessible. - available
Zone String - The available zone names for the WAF dedicated instances.
- cpu
Architecture String - The ECS cpu architecture of WAF dedicated instance.
- ecs
Flavor String - The flavor of the ECS used by the WAF instance.
- group
Id String - The instance group ID used by the WAF dedicated instance in ELB mode.
- id String
- The id of WAF dedicated instance.
- name String
- The name of WAF dedicated instance.
- run
Status Double - The running status of the instance. Values are:
- security
Groups List<String> - The security group of the instance. This is an array of security group ids.
- server
Id String - The service of the instance.
- service
Ip String - The service ip of the instance.
- subnet
Id String - The ID of the VPC Subnet of WAF dedicated instance VPC.
- upgradable Double
- The instance is to support upgrades.
0
: Cannot be upgraded,1
: Can be upgraded. - vpc
Id String - The VPC id of WAF dedicated instance.
- access
Status number - The access status of the instance.
0
: inaccessible,1
: accessible. - available
Zone string - The available zone names for the WAF dedicated instances.
- cpu
Architecture string - The ECS cpu architecture of WAF dedicated instance.
- ecs
Flavor string - The flavor of the ECS used by the WAF instance.
- group
Id string - The instance group ID used by the WAF dedicated instance in ELB mode.
- id string
- The id of WAF dedicated instance.
- name string
- The name of WAF dedicated instance.
- run
Status number - The running status of the instance. Values are:
- security
Groups string[] - The security group of the instance. This is an array of security group ids.
- server
Id string - The service of the instance.
- service
Ip string - The service ip of the instance.
- subnet
Id string - The ID of the VPC Subnet of WAF dedicated instance VPC.
- upgradable number
- The instance is to support upgrades.
0
: Cannot be upgraded,1
: Can be upgraded. - vpc
Id string - The VPC id of WAF dedicated instance.
- access_
status float - The access status of the instance.
0
: inaccessible,1
: accessible. - available_
zone str - The available zone names for the WAF dedicated instances.
- cpu_
architecture str - The ECS cpu architecture of WAF dedicated instance.
- ecs_
flavor str - The flavor of the ECS used by the WAF instance.
- group_
id str - The instance group ID used by the WAF dedicated instance in ELB mode.
- id str
- The id of WAF dedicated instance.
- name str
- The name of WAF dedicated instance.
- run_
status float - The running status of the instance. Values are:
- security_
groups Sequence[str] - The security group of the instance. This is an array of security group ids.
- server_
id str - The service of the instance.
- service_
ip str - The service ip of the instance.
- subnet_
id str - The ID of the VPC Subnet of WAF dedicated instance VPC.
- upgradable float
- The instance is to support upgrades.
0
: Cannot be upgraded,1
: Can be upgraded. - vpc_
id str - The VPC id of WAF dedicated instance.
- access
Status Number - The access status of the instance.
0
: inaccessible,1
: accessible. - available
Zone String - The available zone names for the WAF dedicated instances.
- cpu
Architecture String - The ECS cpu architecture of WAF dedicated instance.
- ecs
Flavor String - The flavor of the ECS used by the WAF instance.
- group
Id String - The instance group ID used by the WAF dedicated instance in ELB mode.
- id String
- The id of WAF dedicated instance.
- name String
- The name of WAF dedicated instance.
- run
Status Number - The running status of the instance. Values are:
- security
Groups List<String> - The security group of the instance. This is an array of security group ids.
- server
Id String - The service of the instance.
- service
Ip String - The service ip of the instance.
- subnet
Id String - The ID of the VPC Subnet of WAF dedicated instance VPC.
- upgradable Number
- The instance is to support upgrades.
0
: Cannot be upgraded,1
: Can be upgraded. - vpc
Id String - The VPC id of WAF dedicated instance.
Package Details
- Repository
- flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
- License
- Notes
- This Pulumi package is based on the
flexibleengine
Terraform Provider.
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud