Viewing docs for Cloudflare v6.15.0
published on Saturday, May 2, 2026 by Pulumi
published on Saturday, May 2, 2026 by Pulumi
Viewing docs for Cloudflare v6.15.0
published on Saturday, May 2, 2026 by Pulumi
published on Saturday, May 2, 2026 by Pulumi
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleVulnerabilityScannerCredential = cloudflare.getVulnerabilityScannerCredential({
accountId: "023e105f4ecef8ad9ca31a8372d0c353",
credentialSetId: "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
credentialId: "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_vulnerability_scanner_credential = cloudflare.get_vulnerability_scanner_credential(account_id="023e105f4ecef8ad9ca31a8372d0c353",
credential_set_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
credential_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
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.GetVulnerabilityScannerCredential(ctx, &cloudflare.LookupVulnerabilityScannerCredentialArgs{
AccountId: pulumi.StringRef("023e105f4ecef8ad9ca31a8372d0c353"),
CredentialSetId: "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
CredentialId: "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
}, 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 exampleVulnerabilityScannerCredential = Cloudflare.Index.GetVulnerabilityScannerCredential.Invoke(new()
{
AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
CredentialSetId = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
CredentialId = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
});
});
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.GetVulnerabilityScannerCredentialArgs;
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 exampleVulnerabilityScannerCredential = CloudflareFunctions.getVulnerabilityScannerCredential(GetVulnerabilityScannerCredentialArgs.builder()
.accountId("023e105f4ecef8ad9ca31a8372d0c353")
.credentialSetId("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
.credentialId("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
.build());
}
}
variables:
exampleVulnerabilityScannerCredential:
fn::invoke:
function: cloudflare:getVulnerabilityScannerCredential
arguments:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
credentialSetId: 182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e
credentialId: 182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e
Using getVulnerabilityScannerCredential
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 getVulnerabilityScannerCredential(args: GetVulnerabilityScannerCredentialArgs, opts?: InvokeOptions): Promise<GetVulnerabilityScannerCredentialResult>
function getVulnerabilityScannerCredentialOutput(args: GetVulnerabilityScannerCredentialOutputArgs, opts?: InvokeOptions): Output<GetVulnerabilityScannerCredentialResult>def get_vulnerability_scanner_credential(account_id: Optional[str] = None,
credential_id: Optional[str] = None,
credential_set_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVulnerabilityScannerCredentialResult
def get_vulnerability_scanner_credential_output(account_id: Optional[pulumi.Input[str]] = None,
credential_id: Optional[pulumi.Input[str]] = None,
credential_set_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVulnerabilityScannerCredentialResult]func LookupVulnerabilityScannerCredential(ctx *Context, args *LookupVulnerabilityScannerCredentialArgs, opts ...InvokeOption) (*LookupVulnerabilityScannerCredentialResult, error)
func LookupVulnerabilityScannerCredentialOutput(ctx *Context, args *LookupVulnerabilityScannerCredentialOutputArgs, opts ...InvokeOption) LookupVulnerabilityScannerCredentialResultOutput> Note: This function is named LookupVulnerabilityScannerCredential in the Go SDK.
public static class GetVulnerabilityScannerCredential
{
public static Task<GetVulnerabilityScannerCredentialResult> InvokeAsync(GetVulnerabilityScannerCredentialArgs args, InvokeOptions? opts = null)
public static Output<GetVulnerabilityScannerCredentialResult> Invoke(GetVulnerabilityScannerCredentialInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVulnerabilityScannerCredentialResult> getVulnerabilityScannerCredential(GetVulnerabilityScannerCredentialArgs args, InvokeOptions options)
public static Output<GetVulnerabilityScannerCredentialResult> getVulnerabilityScannerCredential(GetVulnerabilityScannerCredentialArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getVulnerabilityScannerCredential:getVulnerabilityScannerCredential
arguments:
# arguments dictionaryThe following arguments are supported:
- Credential
Id string - Credential
Set stringId - Account
Id string - Identifier.
- Credential
Id string - Credential
Set stringId - Account
Id string - Identifier.
- credential
Id String - credential
Set StringId - account
Id String - Identifier.
- credential
Id string - credential
Set stringId - account
Id string - Identifier.
- credential_
id str - credential_
set_ strid - account_
id str - Identifier.
- credential
Id String - credential
Set StringId - account
Id String - Identifier.
getVulnerabilityScannerCredential Result
The following output properties are available:
- Credential
Id string - Credential
Set stringId - Id string
- The ID of this resource.
- Location string
- Where the credential is attached in outgoing requests. Available values: "header", "cookie".
- Location
Name string - Name of the header or cookie where the credential is attached.
- Name string
- Human-readable name.
- Account
Id string - Identifier.
- Credential
Id string - Credential
Set stringId - Id string
- The ID of this resource.
- Location string
- Where the credential is attached in outgoing requests. Available values: "header", "cookie".
- Location
Name string - Name of the header or cookie where the credential is attached.
- Name string
- Human-readable name.
- Account
Id string - Identifier.
- credential
Id String - credential
Set StringId - id String
- The ID of this resource.
- location String
- Where the credential is attached in outgoing requests. Available values: "header", "cookie".
- location
Name String - Name of the header or cookie where the credential is attached.
- name String
- Human-readable name.
- account
Id String - Identifier.
- credential
Id string - credential
Set stringId - id string
- The ID of this resource.
- location string
- Where the credential is attached in outgoing requests. Available values: "header", "cookie".
- location
Name string - Name of the header or cookie where the credential is attached.
- name string
- Human-readable name.
- account
Id string - Identifier.
- credential_
id str - credential_
set_ strid - id str
- The ID of this resource.
- location str
- Where the credential is attached in outgoing requests. Available values: "header", "cookie".
- location_
name str - Name of the header or cookie where the credential is attached.
- name str
- Human-readable name.
- account_
id str - Identifier.
- credential
Id String - credential
Set StringId - id String
- The ID of this resource.
- location String
- Where the credential is attached in outgoing requests. Available values: "header", "cookie".
- location
Name String - Name of the header or cookie where the credential is attached.
- name String
- Human-readable name.
- account
Id String - Identifier.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflareTerraform Provider.
Viewing docs for Cloudflare v6.15.0
published on Saturday, May 2, 2026 by Pulumi
published on Saturday, May 2, 2026 by Pulumi
