Akamai
getAppSecBypassNetworkLists
Scopes: Security configuration
Returns information about the network lists assigned to the bypass network list; networks on this list are not subject to firewall checking. The returned information is described in the BypassNetworkList members section of the Application Security API.
Note that this data source is only applicable to WAP (Web Application Protector) configurations.
Related API Endpoint:/appsec/v1/configs/{configId}/versions/{versionNumber}/bypass-network-lists
Output Options
The following options can be used to determine the information returned, and how that returned information is formatted:
bypass_network_list
. List of network IDs.json
. JSON-formatted list of information about the bypass networks.output_text
. Tabular report showing the bypass network list information.
Example Usage
using Pulumi;
using Akamai = Pulumi.Akamai;
class MyStack : Stack
{
public MyStack()
{
var configuration = Output.Create(Akamai.GetAppSecConfiguration.InvokeAsync(new Akamai.GetAppSecConfigurationArgs
{
Name = "Documentation",
}));
var bypassNetworkLists = configuration.Apply(configuration => Output.Create(Akamai.GetAppSecBypassNetworkLists.InvokeAsync(new Akamai.GetAppSecBypassNetworkListsArgs
{
ConfigId = configuration.ConfigId,
})));
this.BypassNetworkListsOutput = bypassNetworkLists.Apply(bypassNetworkLists => bypassNetworkLists.OutputText);
this.BypassNetworkListsJson = bypassNetworkLists.Apply(bypassNetworkLists => bypassNetworkLists.Json);
this.BypassNetworkListsIdList = bypassNetworkLists.Apply(bypassNetworkLists => bypassNetworkLists.BypassNetworkLists);
}
[Output("bypassNetworkListsOutput")]
public Output<string> BypassNetworkListsOutput { get; set; }
[Output("bypassNetworkListsJson")]
public Output<string> BypassNetworkListsJson { get; set; }
[Output("bypassNetworkListsIdList")]
public Output<string> BypassNetworkListsIdList { get; set; }
}
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 {
configuration, err := akamai.LookupAppSecConfiguration(ctx, &GetAppSecConfigurationArgs{
Name: pulumi.StringRef("Documentation"),
}, nil)
if err != nil {
return err
}
bypassNetworkLists, err := akamai.GetAppSecBypassNetworkLists(ctx, &GetAppSecBypassNetworkListsArgs{
ConfigId: configuration.ConfigId,
}, nil)
if err != nil {
return err
}
ctx.Export("bypassNetworkListsOutput", bypassNetworkLists.OutputText)
ctx.Export("bypassNetworkListsJson", bypassNetworkLists.Json)
ctx.Export("bypassNetworkListsIdList", bypassNetworkLists.BypassNetworkLists)
return nil
})
}
Coming soon!
import pulumi
import pulumi_akamai as akamai
configuration = akamai.get_app_sec_configuration(name="Documentation")
bypass_network_lists = akamai.get_app_sec_bypass_network_lists(config_id=configuration.config_id)
pulumi.export("bypassNetworkListsOutput", bypass_network_lists.output_text)
pulumi.export("bypassNetworkListsJson", bypass_network_lists.json)
pulumi.export("bypassNetworkListsIdList", bypass_network_lists.bypass_network_lists)
import * as pulumi from "@pulumi/pulumi";
import * as akamai from "@pulumi/akamai";
const configuration = akamai.getAppSecConfiguration({
name: "Documentation",
});
const bypassNetworkLists = configuration.then(configuration => akamai.getAppSecBypassNetworkLists({
configId: configuration.configId,
}));
export const bypassNetworkListsOutput = bypassNetworkLists.then(bypassNetworkLists => bypassNetworkLists.outputText);
export const bypassNetworkListsJson = bypassNetworkLists.then(bypassNetworkLists => bypassNetworkLists.json);
export const bypassNetworkListsIdList = bypassNetworkLists.then(bypassNetworkLists => bypassNetworkLists.bypassNetworkLists);
Coming soon!
Using getAppSecBypassNetworkLists
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 getAppSecBypassNetworkLists(args: GetAppSecBypassNetworkListsArgs, opts?: InvokeOptions): Promise<GetAppSecBypassNetworkListsResult>
function getAppSecBypassNetworkListsOutput(args: GetAppSecBypassNetworkListsOutputArgs, opts?: InvokeOptions): Output<GetAppSecBypassNetworkListsResult>
def get_app_sec_bypass_network_lists(config_id: Optional[int] = None,
security_policy_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAppSecBypassNetworkListsResult
def get_app_sec_bypass_network_lists_output(config_id: Optional[pulumi.Input[int]] = None,
security_policy_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAppSecBypassNetworkListsResult]
func GetAppSecBypassNetworkLists(ctx *Context, args *GetAppSecBypassNetworkListsArgs, opts ...InvokeOption) (*GetAppSecBypassNetworkListsResult, error)
func GetAppSecBypassNetworkListsOutput(ctx *Context, args *GetAppSecBypassNetworkListsOutputArgs, opts ...InvokeOption) GetAppSecBypassNetworkListsResultOutput
> Note: This function is named GetAppSecBypassNetworkLists
in the Go SDK.
public static class GetAppSecBypassNetworkLists
{
public static Task<GetAppSecBypassNetworkListsResult> InvokeAsync(GetAppSecBypassNetworkListsArgs args, InvokeOptions? opts = null)
public static Output<GetAppSecBypassNetworkListsResult> Invoke(GetAppSecBypassNetworkListsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAppSecBypassNetworkListsResult> getAppSecBypassNetworkLists(GetAppSecBypassNetworkListsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
Function: akamai:index/getAppSecBypassNetworkLists:getAppSecBypassNetworkLists
Arguments:
# Arguments dictionary
The following arguments are supported:
- Config
Id int . Unique identifier of the security configuration associated with the bypass network list.
- Security
Policy stringId
- Config
Id int . Unique identifier of the security configuration associated with the bypass network list.
- Security
Policy stringId
- config
Id Integer . Unique identifier of the security configuration associated with the bypass network list.
- security
Policy StringId
- config
Id number . Unique identifier of the security configuration associated with the bypass network list.
- security
Policy stringId
- config_
id int . Unique identifier of the security configuration associated with the bypass network list.
- security_
policy_ strid
- config
Id Number . Unique identifier of the security configuration associated with the bypass network list.
- security
Policy StringId
getAppSecBypassNetworkLists Result
The following output properties are available:
- Bypass
Network List<string>Lists - Config
Id int - Id string
The provider-assigned unique ID for this managed resource.
- Json string
- Output
Text string - Security
Policy stringId
- Bypass
Network []stringLists - Config
Id int - Id string
The provider-assigned unique ID for this managed resource.
- Json string
- Output
Text string - Security
Policy stringId
- bypass
Network List<String>Lists - config
Id Integer - id String
The provider-assigned unique ID for this managed resource.
- json String
- output
Text String - security
Policy StringId
- bypass
Network string[]Lists - config
Id number - id string
The provider-assigned unique ID for this managed resource.
- json string
- output
Text string - security
Policy stringId
- bypass_
network_ Sequence[str]lists - config_
id int - id str
The provider-assigned unique ID for this managed resource.
- json str
- output_
text str - security_
policy_ strid
- bypass
Network List<String>Lists - config
Id Number - id String
The provider-assigned unique ID for this managed resource.
- json String
- output
Text String - security
Policy StringId
Package Details
- Repository
- https://github.com/pulumi/pulumi-akamai
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
akamai
Terraform Provider.