Cloudflare v6.11.0 published on Friday, Oct 31, 2025 by Pulumi
cloudflare.getSnippetList
Start a Neo task
Explain and create a cloudflare.getSnippetList resource
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
- Zone
Id string - The unique ID of the zone.
- Max
Items int - Max items to fetch, default: 1000
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
[]Get
Snippet List Result - The items returned by the data source
- Zone
Id string - The unique ID of the zone.
- Max
Items int - Max items to fetch, default: 1000
- id String
- The provider-assigned unique ID for this managed resource.
- results
List<Get
Snippet List Result> - The items returned by the data source
- zone
Id String - The unique ID of the zone.
- max
Items Integer - Max items to fetch, default: 1000
- id string
- The provider-assigned unique ID for this managed resource.
- results
Get
Snippet List Result[] - The items returned by the data source
- zone
Id string - The unique ID of the zone.
- max
Items number - Max items to fetch, default: 1000
- id str
- The provider-assigned unique ID for this managed resource.
- results
Sequence[Get
Snippet List Result] - The items returned by the data source
- zone_
id str - The unique ID of the zone.
- max_
items int - Max items to fetch, default: 1000
- id String
- The provider-assigned unique ID for this managed resource.
- results List<Property Map>
- The items returned by the data source
- zone
Id String - The unique ID of the zone.
- max
Items Number - Max items to fetch, default: 1000
Supporting Types
GetSnippetListResult
- Created
On string - The timestamp of when the snippet was created.
- Modified
On string - The timestamp of when the snippet was last modified.
- Snippet
Name string - The identifying name of the snippet.
- Created
On string - The timestamp of when the snippet was created.
- Modified
On string - The timestamp of when the snippet was last modified.
- Snippet
Name string - The identifying name of the snippet.
- created
On String - The timestamp of when the snippet was created.
- modified
On String - The timestamp of when the snippet was last modified.
- snippet
Name String - The identifying name of the snippet.
- created
On string - The timestamp of when the snippet was created.
- modified
On string - The timestamp of when the snippet was last modified.
- snippet
Name string - The identifying name of the snippet.
- created_
on str - The timestamp of when the snippet was created.
- modified_
on str - The timestamp of when the snippet was last modified.
- snippet_
name str - The identifying name of the snippet.
- created
On String - The timestamp of when the snippet was created.
- modified
On String - The timestamp of when the snippet was last modified.
- snippet
Name String - The identifying name of the snippet.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflareTerraform Provider.
