getAppSecWapSelectedHostnames

Use the akamai.AppSecWapSelectedHostnames data source to retrieve lists of the hostnames that are currently protected and currently being evaluated under a given security configuration and policy. This resource is available only for WAP accounts. (WAP selected hostnames is currently in beta. Please contact your Akamai representative for more information about this feature.)

Using getAppSecWapSelectedHostnames

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 getAppSecWapSelectedHostnames(args: GetAppSecWapSelectedHostnamesArgs, opts?: InvokeOptions): Promise<GetAppSecWapSelectedHostnamesResult>
function getAppSecWapSelectedHostnamesOutput(args: GetAppSecWapSelectedHostnamesOutputArgs, opts?: InvokeOptions): Output<GetAppSecWapSelectedHostnamesResult>
def get_app_sec_wap_selected_hostnames(config_id: Optional[int] = None,
                                       security_policy_id: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetAppSecWapSelectedHostnamesResult
def get_app_sec_wap_selected_hostnames_output(config_id: Optional[pulumi.Input[int]] = None,
                                       security_policy_id: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetAppSecWapSelectedHostnamesResult]
func LookupAppSecWapSelectedHostnames(ctx *Context, args *LookupAppSecWapSelectedHostnamesArgs, opts ...InvokeOption) (*LookupAppSecWapSelectedHostnamesResult, error)
func LookupAppSecWapSelectedHostnamesOutput(ctx *Context, args *LookupAppSecWapSelectedHostnamesOutputArgs, opts ...InvokeOption) LookupAppSecWapSelectedHostnamesResultOutput

> Note: This function is named LookupAppSecWapSelectedHostnames in the Go SDK.

public static class GetAppSecWapSelectedHostnames 
{
    public static Task<GetAppSecWapSelectedHostnamesResult> InvokeAsync(GetAppSecWapSelectedHostnamesArgs args, InvokeOptions? opts = null)
    public static Output<GetAppSecWapSelectedHostnamesResult> Invoke(GetAppSecWapSelectedHostnamesInvokeArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

ConfigId int
The ID of the security configuration to use.
SecurityPolicyId string
The ID of the security policy to use.
ConfigId int
The ID of the security configuration to use.
SecurityPolicyId string
The ID of the security policy to use.
configId number
The ID of the security configuration to use.
securityPolicyId string
The ID of the security policy to use.
config_id int
The ID of the security configuration to use.
security_policy_id str
The ID of the security policy to use.

getAppSecWapSelectedHostnames Result

The following output properties are available:

ConfigId int
EvaluatedHosts List<string>
Id string
The provider-assigned unique ID for this managed resource.
Json string
MatchTargets string
OutputText string
A tabular display of the protected and evaluated hostnames.
ProtectedHosts List<string>
SecurityPolicyId string
SelectedHosts List<string>
ConfigId int
EvaluatedHosts []string
Id string
The provider-assigned unique ID for this managed resource.
Json string
MatchTargets string
OutputText string
A tabular display of the protected and evaluated hostnames.
ProtectedHosts []string
SecurityPolicyId string
SelectedHosts []string
configId number
evaluatedHosts string[]
id string
The provider-assigned unique ID for this managed resource.
json string
matchTargets string
outputText string
A tabular display of the protected and evaluated hostnames.
protectedHosts string[]
securityPolicyId string
selectedHosts string[]
config_id int
evaluated_hosts Sequence[str]
id str
The provider-assigned unique ID for this managed resource.
json str
match_targets str
output_text str
A tabular display of the protected and evaluated hostnames.
protected_hosts Sequence[str]
security_policy_id str
selected_hosts Sequence[str]

Package Details

Repository
https://github.com/pulumi/pulumi-akamai
License
Apache-2.0
Notes
This Pulumi package is based on the akamai Terraform Provider.