Cloudflare v6.9.0 published on Saturday, Sep 13, 2025 by Pulumi
cloudflare.getSnippetsList
Explore with Pulumi AI
Using getSnippetsList
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 getSnippetsList(args: GetSnippetsListArgs, opts?: InvokeOptions): Promise<GetSnippetsListResult>
function getSnippetsListOutput(args: GetSnippetsListOutputArgs, opts?: InvokeOptions): Output<GetSnippetsListResult>
def get_snippets_list(max_items: Optional[int] = None,
zone_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSnippetsListResult
def get_snippets_list_output(max_items: Optional[pulumi.Input[int]] = None,
zone_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSnippetsListResult]
func LookupSnippetsList(ctx *Context, args *LookupSnippetsListArgs, opts ...InvokeOption) (*LookupSnippetsListResult, error)
func LookupSnippetsListOutput(ctx *Context, args *LookupSnippetsListOutputArgs, opts ...InvokeOption) LookupSnippetsListResultOutput
> Note: This function is named LookupSnippetsList
in the Go SDK.
public static class GetSnippetsList
{
public static Task<GetSnippetsListResult> InvokeAsync(GetSnippetsListArgs args, InvokeOptions? opts = null)
public static Output<GetSnippetsListResult> Invoke(GetSnippetsListInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSnippetsListResult> getSnippetsList(GetSnippetsListArgs args, InvokeOptions options)
public static Output<GetSnippetsListResult> getSnippetsList(GetSnippetsListArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getSnippetsList:getSnippetsList
arguments:
# arguments dictionary
The following arguments are supported:
getSnippetsList Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
List<Get
Snippets 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
Snippets 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
Snippets 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
Snippets 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
Snippets 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
GetSnippetsListResult
- 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
cloudflare
Terraform Provider.