getAppSecApiEndpoints

Use the akamai.getAppSecApiEndpoints data source to retrieve information about the API Endpoints associated with a security policy or configuration. The information available is described here.

Example Usage

using Pulumi;
using Akamai = Pulumi.Akamai;

class MyStack : Stack
{
    public MyStack()
    {
        var apiEndpoints = Output.Create(Akamai.GetAppSecApiEndpoints.InvokeAsync(new Akamai.GetAppSecApiEndpointsArgs
        {
            ApiName = "TestEndpoint",
            ConfigId = 43253,
        }));
    }

}
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 {
		opt0 := "TestEndpoint"
		_, err := akamai.GetAppSecApiEndpoints(ctx, &akamai.GetAppSecApiEndpointsArgs{
			ApiName:  &opt0,
			ConfigId: 43253,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
import pulumi
import pulumi_akamai as akamai

api_endpoints = akamai.get_app_sec_api_endpoints(api_name="TestEndpoint",
    config_id=43253)
import * as pulumi from "@pulumi/pulumi";
import * as akamai from "@pulumi/akamai";

const apiEndpoints = pulumi.output(akamai.getAppSecApiEndpoints({
    apiName: "TestEndpoint",
    configId: 43253,
}));

Using getAppSecApiEndpoints

function getAppSecApiEndpoints(args: GetAppSecApiEndpointsArgs, opts?: InvokeOptions): Promise<GetAppSecApiEndpointsResult>
def get_app_sec_api_endpoints(api_name: Optional[str] = None,
                              config_id: Optional[int] = None,
                              security_policy_id: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetAppSecApiEndpointsResult
func GetAppSecApiEndpoints(ctx *Context, args *GetAppSecApiEndpointsArgs, opts ...InvokeOption) (*GetAppSecApiEndpointsResult, error)

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

public static class GetAppSecApiEndpoints {
    public static Task<GetAppSecApiEndpointsResult> InvokeAsync(GetAppSecApiEndpointsArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

ConfigId int
The configuration ID.
ApiName string
The name of a specific endpoint.
SecurityPolicyId string
The ID of the security policy to use.
ConfigId int
The configuration ID.
ApiName string
The name of a specific endpoint.
SecurityPolicyId string
The ID of the security policy to use.
configId number
The configuration ID.
apiName string
The name of a specific endpoint.
securityPolicyId string
The ID of the security policy to use.
config_id int
The configuration ID.
api_name str
The name of a specific endpoint.
security_policy_id str
The ID of the security policy to use.

getAppSecApiEndpoints Result

The following output properties are available:

ConfigId int
Id string
The provider-assigned unique ID for this managed resource.
IdLists List<int>
A list of IDs of the API endpoints.
Json string
A JSON-formatted list of information about the API endpoints.
OutputText string
A tabular display showing the ID and name of the API endpoints.
ApiName string
SecurityPolicyId string
ConfigId int
Id string
The provider-assigned unique ID for this managed resource.
IdLists []int
A list of IDs of the API endpoints.
Json string
A JSON-formatted list of information about the API endpoints.
OutputText string
A tabular display showing the ID and name of the API endpoints.
ApiName string
SecurityPolicyId string
configId number
id string
The provider-assigned unique ID for this managed resource.
idLists number[]
A list of IDs of the API endpoints.
json string
A JSON-formatted list of information about the API endpoints.
outputText string
A tabular display showing the ID and name of the API endpoints.
apiName string
securityPolicyId string
config_id int
id str
The provider-assigned unique ID for this managed resource.
id_lists Sequence[int]
A list of IDs of the API endpoints.
json str
A JSON-formatted list of information about the API endpoints.
output_text str
A tabular display showing the ID and name of the API endpoints.
api_name str
security_policy_id 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.