getAppSecHostnameCoverageMatchTargets

Use the akamai.getAppSecHostnameCoverageMatchTargets data source to retrieve information about the API and website match targets that protect a hostname. The information available is described here.

Example Usage

using Pulumi;
using Akamai = Pulumi.Akamai;

class MyStack : Stack
{
    public MyStack()
    {
        var matchTargets = Output.Create(Akamai.GetAppSecHostnameCoverageMatchTargets.InvokeAsync(new Akamai.GetAppSecHostnameCoverageMatchTargetsArgs
        {
            ConfigId = 43253,
            Hostname = "example.com",
        }));
    }

}
package main

import (
	"github.com/pulumi/pulumi-akamai/sdk/v2/go/akamai"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := akamai.GetAppSecHostnameCoverageMatchTargets(ctx, &akamai.GetAppSecHostnameCoverageMatchTargetsArgs{
			ConfigId: 43253,
			Hostname: "example.com",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
import pulumi
import pulumi_akamai as akamai

match_targets = akamai.get_app_sec_hostname_coverage_match_targets(config_id=43253,
    hostname="example.com")
import * as pulumi from "@pulumi/pulumi";
import * as akamai from "@pulumi/akamai";

const matchTargets = pulumi.output(akamai.getAppSecHostnameCoverageMatchTargets({
    configId: 43253,
    hostname: "example.com",
}));

Using getAppSecHostnameCoverageMatchTargets

function getAppSecHostnameCoverageMatchTargets(args: GetAppSecHostnameCoverageMatchTargetsArgs, opts?: InvokeOptions): Promise<GetAppSecHostnameCoverageMatchTargetsResult>
def get_app_sec_hostname_coverage_match_targets(config_id: Optional[int] = None,
                                                hostname: Optional[str] = None,
                                                opts: Optional[InvokeOptions] = None) -> GetAppSecHostnameCoverageMatchTargetsResult
func GetAppSecHostnameCoverageMatchTargets(ctx *Context, args *GetAppSecHostnameCoverageMatchTargetsArgs, opts ...InvokeOption) (*GetAppSecHostnameCoverageMatchTargetsResult, error)

Note: This function is named GetAppSecHostnameCoverageMatchTargets in the Go SDK.

public static class GetAppSecHostnameCoverageMatchTargets {
    public static Task<GetAppSecHostnameCoverageMatchTargetsResult> InvokeAsync(GetAppSecHostnameCoverageMatchTargetsArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

ConfigId int
The configuration ID.
Hostname string
The hostname for which to retrieve information.
ConfigId int
The configuration ID.
Hostname string
The hostname for which to retrieve information.
configId number
The configuration ID.
hostname string
The hostname for which to retrieve information.
config_id int
The configuration ID.
hostname str
The hostname for which to retrieve information.

getAppSecHostnameCoverageMatchTargets Result

The following output properties are available:

ConfigId int
Hostname string
Id string
The provider-assigned unique ID for this managed resource.
Json string
A JSON-formatted list of the coverage information.
OutputText string
A tabular display of the coverage information.
ConfigId int
Hostname string
Id string
The provider-assigned unique ID for this managed resource.
Json string
A JSON-formatted list of the coverage information.
OutputText string
A tabular display of the coverage information.
configId number
hostname string
id string
The provider-assigned unique ID for this managed resource.
json string
A JSON-formatted list of the coverage information.
outputText string
A tabular display of the coverage information.
config_id int
hostname str
id str
The provider-assigned unique ID for this managed resource.
json str
A JSON-formatted list of the coverage information.
output_text str
A tabular display of the coverage information.

Package Details

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