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 This property is required. double - The access status of the instance.
0
: inaccessible,1
: accessible. - Available
Zone This property is required. string - The available zone names for the WAF dedicated instances.
- Cpu
Architecture This property is required. string - The ECS cpu architecture of WAF dedicated instance.
- Ecs
Flavor This property is required. string - The flavor of the ECS used by the WAF instance.
- Group
Id This property is required. string - The instance group ID used by the WAF dedicated instance in ELB mode.
- Id
This property is required. string - The id of WAF dedicated instance.
- Name
This property is required. string - The name of WAF dedicated instance.
- Run
Status This property is required. double - The running status of the instance. Values are:
- Security
Groups This property is required. List<string> - The security group of the instance. This is an array of security group ids.
- Server
Id This property is required. string - The service of the instance.
- Service
Ip This property is required. string - The service ip of the instance.
- Subnet
Id This property is required. string - The ID of the VPC Subnet of WAF dedicated instance VPC.
- Upgradable
This property is required. double - The instance is to support upgrades.
0
: Cannot be upgraded,1
: Can be upgraded. - Vpc
Id This property is required. string - The VPC id of WAF dedicated instance.
- Access
Status This property is required. float64 - The access status of the instance.
0
: inaccessible,1
: accessible. - Available
Zone This property is required. string - The available zone names for the WAF dedicated instances.
- Cpu
Architecture This property is required. string - The ECS cpu architecture of WAF dedicated instance.
- Ecs
Flavor This property is required. string - The flavor of the ECS used by the WAF instance.
- Group
Id This property is required. string - The instance group ID used by the WAF dedicated instance in ELB mode.
- Id
This property is required. string - The id of WAF dedicated instance.
- Name
This property is required. string - The name of WAF dedicated instance.
- Run
Status This property is required. float64 - The running status of the instance. Values are:
- Security
Groups This property is required. []string - The security group of the instance. This is an array of security group ids.
- Server
Id This property is required. string - The service of the instance.
- Service
Ip This property is required. string - The service ip of the instance.
- Subnet
Id This property is required. string - The ID of the VPC Subnet of WAF dedicated instance VPC.
- Upgradable
This property is required. float64 - The instance is to support upgrades.
0
: Cannot be upgraded,1
: Can be upgraded. - Vpc
Id This property is required. string - The VPC id of WAF dedicated instance.
- access
Status This property is required. Double - The access status of the instance.
0
: inaccessible,1
: accessible. - available
Zone This property is required. String - The available zone names for the WAF dedicated instances.
- cpu
Architecture This property is required. String - The ECS cpu architecture of WAF dedicated instance.
- ecs
Flavor This property is required. String - The flavor of the ECS used by the WAF instance.
- group
Id This property is required. String - The instance group ID used by the WAF dedicated instance in ELB mode.
- id
This property is required. String - The id of WAF dedicated instance.
- name
This property is required. String - The name of WAF dedicated instance.
- run
Status This property is required. Double - The running status of the instance. Values are:
- security
Groups This property is required. List<String> - The security group of the instance. This is an array of security group ids.
- server
Id This property is required. String - The service of the instance.
- service
Ip This property is required. String - The service ip of the instance.
- subnet
Id This property is required. String - The ID of the VPC Subnet of WAF dedicated instance VPC.
- upgradable
This property is required. Double - The instance is to support upgrades.
0
: Cannot be upgraded,1
: Can be upgraded. - vpc
Id This property is required. String - The VPC id of WAF dedicated instance.
- access
Status This property is required. number - The access status of the instance.
0
: inaccessible,1
: accessible. - available
Zone This property is required. string - The available zone names for the WAF dedicated instances.
- cpu
Architecture This property is required. string - The ECS cpu architecture of WAF dedicated instance.
- ecs
Flavor This property is required. string - The flavor of the ECS used by the WAF instance.
- group
Id This property is required. string - The instance group ID used by the WAF dedicated instance in ELB mode.
- id
This property is required. string - The id of WAF dedicated instance.
- name
This property is required. string - The name of WAF dedicated instance.
- run
Status This property is required. number - The running status of the instance. Values are:
- security
Groups This property is required. string[] - The security group of the instance. This is an array of security group ids.
- server
Id This property is required. string - The service of the instance.
- service
Ip This property is required. string - The service ip of the instance.
- subnet
Id This property is required. string - The ID of the VPC Subnet of WAF dedicated instance VPC.
- upgradable
This property is required. number - The instance is to support upgrades.
0
: Cannot be upgraded,1
: Can be upgraded. - vpc
Id This property is required. string - The VPC id of WAF dedicated instance.
- access_
status This property is required. float - The access status of the instance.
0
: inaccessible,1
: accessible. - available_
zone This property is required. str - The available zone names for the WAF dedicated instances.
- cpu_
architecture This property is required. str - The ECS cpu architecture of WAF dedicated instance.
- ecs_
flavor This property is required. str - The flavor of the ECS used by the WAF instance.
- group_
id This property is required. str - The instance group ID used by the WAF dedicated instance in ELB mode.
- id
This property is required. str - The id of WAF dedicated instance.
- name
This property is required. str - The name of WAF dedicated instance.
- run_
status This property is required. float - The running status of the instance. Values are:
- security_
groups This property is required. Sequence[str] - The security group of the instance. This is an array of security group ids.
- server_
id This property is required. str - The service of the instance.
- service_
ip This property is required. str - The service ip of the instance.
- subnet_
id This property is required. str - The ID of the VPC Subnet of WAF dedicated instance VPC.
- upgradable
This property is required. float - The instance is to support upgrades.
0
: Cannot be upgraded,1
: Can be upgraded. - vpc_
id This property is required. str - The VPC id of WAF dedicated instance.
- access
Status This property is required. Number - The access status of the instance.
0
: inaccessible,1
: accessible. - available
Zone This property is required. String - The available zone names for the WAF dedicated instances.
- cpu
Architecture This property is required. String - The ECS cpu architecture of WAF dedicated instance.
- ecs
Flavor This property is required. String - The flavor of the ECS used by the WAF instance.
- group
Id This property is required. String - The instance group ID used by the WAF dedicated instance in ELB mode.
- id
This property is required. String - The id of WAF dedicated instance.
- name
This property is required. String - The name of WAF dedicated instance.
- run
Status This property is required. Number - The running status of the instance. Values are:
- security
Groups This property is required. List<String> - The security group of the instance. This is an array of security group ids.
- server
Id This property is required. String - The service of the instance.
- service
Ip This property is required. String - The service ip of the instance.
- subnet
Id This property is required. String - The ID of the VPC Subnet of WAF dedicated instance VPC.
- upgradable
This property is required. Number - The instance is to support upgrades.
0
: Cannot be upgraded,1
: Can be upgraded. - vpc
Id This property is required. 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