Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi
cloudflare.getPageShieldConnections
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const examplePageShieldConnections = cloudflare.getPageShieldConnections({
zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
connectionId: "023e105f4ecef8ad9ca31a8372d0c353",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_page_shield_connections = cloudflare.get_page_shield_connections(zone_id="023e105f4ecef8ad9ca31a8372d0c353",
connection_id="023e105f4ecef8ad9ca31a8372d0c353")
package main
import (
"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudflare.GetPageShieldConnections(ctx, &cloudflare.GetPageShieldConnectionsArgs{
ZoneId: "023e105f4ecef8ad9ca31a8372d0c353",
ConnectionId: "023e105f4ecef8ad9ca31a8372d0c353",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var examplePageShieldConnections = Cloudflare.GetPageShieldConnections.Invoke(new()
{
ZoneId = "023e105f4ecef8ad9ca31a8372d0c353",
ConnectionId = "023e105f4ecef8ad9ca31a8372d0c353",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.CloudflareFunctions;
import com.pulumi.cloudflare.inputs.GetPageShieldConnectionsArgs;
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 examplePageShieldConnections = CloudflareFunctions.getPageShieldConnections(GetPageShieldConnectionsArgs.builder()
.zoneId("023e105f4ecef8ad9ca31a8372d0c353")
.connectionId("023e105f4ecef8ad9ca31a8372d0c353")
.build());
}
}
variables:
examplePageShieldConnections:
fn::invoke:
function: cloudflare:getPageShieldConnections
arguments:
zoneId: 023e105f4ecef8ad9ca31a8372d0c353
connectionId: 023e105f4ecef8ad9ca31a8372d0c353
Using getPageShieldConnections
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 getPageShieldConnections(args: GetPageShieldConnectionsArgs, opts?: InvokeOptions): Promise<GetPageShieldConnectionsResult>
function getPageShieldConnectionsOutput(args: GetPageShieldConnectionsOutputArgs, opts?: InvokeOptions): Output<GetPageShieldConnectionsResult>
def get_page_shield_connections(connection_id: Optional[str] = None,
zone_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPageShieldConnectionsResult
def get_page_shield_connections_output(connection_id: Optional[pulumi.Input[str]] = None,
zone_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPageShieldConnectionsResult]
func GetPageShieldConnections(ctx *Context, args *GetPageShieldConnectionsArgs, opts ...InvokeOption) (*GetPageShieldConnectionsResult, error)
func GetPageShieldConnectionsOutput(ctx *Context, args *GetPageShieldConnectionsOutputArgs, opts ...InvokeOption) GetPageShieldConnectionsResultOutput
> Note: This function is named GetPageShieldConnections
in the Go SDK.
public static class GetPageShieldConnections
{
public static Task<GetPageShieldConnectionsResult> InvokeAsync(GetPageShieldConnectionsArgs args, InvokeOptions? opts = null)
public static Output<GetPageShieldConnectionsResult> Invoke(GetPageShieldConnectionsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPageShieldConnectionsResult> getPageShieldConnections(GetPageShieldConnectionsArgs args, InvokeOptions options)
public static Output<GetPageShieldConnectionsResult> getPageShieldConnections(GetPageShieldConnectionsArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getPageShieldConnections:getPageShieldConnections
arguments:
# arguments dictionary
The following arguments are supported:
- Connection
Id string - Identifier
- Zone
Id string - Identifier
- Connection
Id string - Identifier
- Zone
Id string - Identifier
- connection
Id String - Identifier
- zone
Id String - Identifier
- connection
Id string - Identifier
- zone
Id string - Identifier
- connection_
id str - Identifier
- zone_
id str - Identifier
- connection
Id String - Identifier
- zone
Id String - Identifier
getPageShieldConnections Result
The following output properties are available:
- Added
At string - Connection
Id string - Identifier
- Domain
Reported boolMalicious - First
Page stringUrl - First
Seen stringAt - Host string
- Id string
- Identifier
- Last
Seen stringAt - Malicious
Domain List<string>Categories - Malicious
Url List<string>Categories - Page
Urls List<string> - Url string
- Url
Contains boolCdn Cgi Path - Url
Reported boolMalicious - Zone
Id string - Identifier
- Added
At string - Connection
Id string - Identifier
- Domain
Reported boolMalicious - First
Page stringUrl - First
Seen stringAt - Host string
- Id string
- Identifier
- Last
Seen stringAt - Malicious
Domain []stringCategories - Malicious
Url []stringCategories - Page
Urls []string - Url string
- Url
Contains boolCdn Cgi Path - Url
Reported boolMalicious - Zone
Id string - Identifier
- added
At String - connection
Id String - Identifier
- domain
Reported BooleanMalicious - first
Page StringUrl - first
Seen StringAt - host String
- id String
- Identifier
- last
Seen StringAt - malicious
Domain List<String>Categories - malicious
Url List<String>Categories - page
Urls List<String> - url String
- url
Contains BooleanCdn Cgi Path - url
Reported BooleanMalicious - zone
Id String - Identifier
- added
At string - connection
Id string - Identifier
- domain
Reported booleanMalicious - first
Page stringUrl - first
Seen stringAt - host string
- id string
- Identifier
- last
Seen stringAt - malicious
Domain string[]Categories - malicious
Url string[]Categories - page
Urls string[] - url string
- url
Contains booleanCdn Cgi Path - url
Reported booleanMalicious - zone
Id string - Identifier
- added_
at str - connection_
id str - Identifier
- domain_
reported_ boolmalicious - first_
page_ strurl - first_
seen_ strat - host str
- id str
- Identifier
- last_
seen_ strat - malicious_
domain_ Sequence[str]categories - malicious_
url_ Sequence[str]categories - page_
urls Sequence[str] - url str
- url_
contains_ boolcdn_ cgi_ path - url_
reported_ boolmalicious - zone_
id str - Identifier
- added
At String - connection
Id String - Identifier
- domain
Reported BooleanMalicious - first
Page StringUrl - first
Seen StringAt - host String
- id String
- Identifier
- last
Seen StringAt - malicious
Domain List<String>Categories - malicious
Url List<String>Categories - page
Urls List<String> - url String
- url
Contains BooleanCdn Cgi Path - url
Reported BooleanMalicious - zone
Id String - Identifier
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.