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
Accepted Permissions
Snippets ReadSnippets Write
Using getSnippetList
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 getSnippetList(args: GetSnippetListArgs, opts?: InvokeOptions): Promise<GetSnippetListResult>
function getSnippetListOutput(args: GetSnippetListOutputArgs, opts?: InvokeOptions): Output<GetSnippetListResult>def get_snippet_list(max_items: Optional[int] = None,
zone_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSnippetListResult
def get_snippet_list_output(max_items: Optional[pulumi.Input[int]] = None,
zone_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSnippetListResult]func LookupSnippetList(ctx *Context, args *LookupSnippetListArgs, opts ...InvokeOption) (*LookupSnippetListResult, error)
func LookupSnippetListOutput(ctx *Context, args *LookupSnippetListOutputArgs, opts ...InvokeOption) LookupSnippetListResultOutput> Note: This function is named LookupSnippetList in the Go SDK.
public static class GetSnippetList
{
public static Task<GetSnippetListResult> InvokeAsync(GetSnippetListArgs args, InvokeOptions? opts = null)
public static Output<GetSnippetListResult> Invoke(GetSnippetListInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSnippetListResult> getSnippetList(GetSnippetListArgs args, InvokeOptions options)
public static Output<GetSnippetListResult> getSnippetList(GetSnippetListArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getSnippetList:getSnippetList
arguments:
# arguments dictionaryThe following arguments are supported:
getSnippetList Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
List<Get
Snippet List Result> - The items returned by the data source
- Max
Items int - Max items to fetch, default: 1000
- Zone
Id string - Use this field to specify the unique ID of the zone.
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
[]Get
Snippet List Result - The items returned by the data source
- Max
Items int - Max items to fetch, default: 1000
- Zone
Id string - Use this field to specify the unique ID of the zone.
- id String
- The provider-assigned unique ID for this managed resource.
- results
List<Get
Snippet List Result> - The items returned by the data source
- max
Items Integer - Max items to fetch, default: 1000
- zone
Id String - Use this field to specify the unique ID of the zone.
- id string
- The provider-assigned unique ID for this managed resource.
- results
Get
Snippet List Result[] - The items returned by the data source
- max
Items number - Max items to fetch, default: 1000
- zone
Id string - Use this field to specify the unique ID of the zone.
- id str
- The provider-assigned unique ID for this managed resource.
- results
Sequence[Get
Snippet List Result] - The items returned by the data source
- max_
items int - Max items to fetch, default: 1000
- zone_
id str - Use this field to specify the unique ID of the zone.
- id String
- The provider-assigned unique ID for this managed resource.
- results List<Property Map>
- The items returned by the data source
- max
Items Number - Max items to fetch, default: 1000
- zone
Id String - Use this field to specify the unique ID of the zone.
Supporting Types
GetSnippetListResult
- Created
On string - Indicates when the snippet was created.
- Modified
On string - Indicates when the snippet was last modified.
- Snippet
Name string - Identify the snippet.
- Created
On string - Indicates when the snippet was created.
- Modified
On string - Indicates when the snippet was last modified.
- Snippet
Name string - Identify the snippet.
- created
On String - Indicates when the snippet was created.
- modified
On String - Indicates when the snippet was last modified.
- snippet
Name String - Identify the snippet.
- created
On string - Indicates when the snippet was created.
- modified
On string - Indicates when the snippet was last modified.
- snippet
Name string - Identify the snippet.
- created_
on str - Indicates when the snippet was created.
- modified_
on str - Indicates when the snippet was last modified.
- snippet_
name str - Identify the snippet.
- created
On String - Indicates when the snippet was created.
- modified
On String - Indicates when the snippet was last modified.
- snippet
Name String - Identify the snippet.
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
