Fastly v8.6.0 published on Monday, Apr 22, 2024 by Pulumi
fastly.getVclSnippets
Explore with Pulumi AI
Using getVclSnippets
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 getVclSnippets(args: GetVclSnippetsArgs, opts?: InvokeOptions): Promise<GetVclSnippetsResult>
function getVclSnippetsOutput(args: GetVclSnippetsOutputArgs, opts?: InvokeOptions): Output<GetVclSnippetsResult>
def get_vcl_snippets(service_id: Optional[str] = None,
service_version: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetVclSnippetsResult
def get_vcl_snippets_output(service_id: Optional[pulumi.Input[str]] = None,
service_version: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVclSnippetsResult]
func GetVclSnippets(ctx *Context, args *GetVclSnippetsArgs, opts ...InvokeOption) (*GetVclSnippetsResult, error)
func GetVclSnippetsOutput(ctx *Context, args *GetVclSnippetsOutputArgs, opts ...InvokeOption) GetVclSnippetsResultOutput
> Note: This function is named GetVclSnippets
in the Go SDK.
public static class GetVclSnippets
{
public static Task<GetVclSnippetsResult> InvokeAsync(GetVclSnippetsArgs args, InvokeOptions? opts = null)
public static Output<GetVclSnippetsResult> Invoke(GetVclSnippetsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVclSnippetsResult> getVclSnippets(GetVclSnippetsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: fastly:index/getVclSnippets:getVclSnippets
arguments:
# arguments dictionary
The following arguments are supported:
- Service
Id string - Service
Version int
- Service
Id string - Service
Version int
- service
Id String - service
Version Integer
- service
Id string - service
Version number
- service_
id str - service_
version int
- service
Id String - service
Version Number
getVclSnippets Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Service
Id string - Service
Version int - Vcl
Snippets List<GetVcl Snippets Vcl Snippet>
- Id string
- The provider-assigned unique ID for this managed resource.
- Service
Id string - Service
Version int - Vcl
Snippets []GetVcl Snippets Vcl Snippet
- id String
- The provider-assigned unique ID for this managed resource.
- service
Id String - service
Version Integer - vcl
Snippets List<GetVcl Snippets Vcl Snippet>
- id string
- The provider-assigned unique ID for this managed resource.
- service
Id string - service
Version number - vcl
Snippets GetVcl Snippets Vcl Snippet[]
- id str
- The provider-assigned unique ID for this managed resource.
- service_
id str - service_
version int - vcl_
snippets Sequence[GetVcl Snippets Vcl Snippet]
- id String
- The provider-assigned unique ID for this managed resource.
- service
Id String - service
Version Number - vcl
Snippets List<Property Map>
Supporting Types
GetVclSnippetsVclSnippet
- Content string
- The VCL code that specifies exactly what the snippet does.
- Id string
- Alphanumeric string identifying a VCL Snippet.
- Name string
- The name for the snippet.
- Priority int
- Priority determines execution order. Lower numbers execute first.
- Type string
- The location in generated VCL where the snippet should be placed.
- Content string
- The VCL code that specifies exactly what the snippet does.
- Id string
- Alphanumeric string identifying a VCL Snippet.
- Name string
- The name for the snippet.
- Priority int
- Priority determines execution order. Lower numbers execute first.
- Type string
- The location in generated VCL where the snippet should be placed.
- content String
- The VCL code that specifies exactly what the snippet does.
- id String
- Alphanumeric string identifying a VCL Snippet.
- name String
- The name for the snippet.
- priority Integer
- Priority determines execution order. Lower numbers execute first.
- type String
- The location in generated VCL where the snippet should be placed.
- content string
- The VCL code that specifies exactly what the snippet does.
- id string
- Alphanumeric string identifying a VCL Snippet.
- name string
- The name for the snippet.
- priority number
- Priority determines execution order. Lower numbers execute first.
- type string
- The location in generated VCL where the snippet should be placed.
- content str
- The VCL code that specifies exactly what the snippet does.
- id str
- Alphanumeric string identifying a VCL Snippet.
- name str
- The name for the snippet.
- priority int
- Priority determines execution order. Lower numbers execute first.
- type str
- The location in generated VCL where the snippet should be placed.
- content String
- The VCL code that specifies exactly what the snippet does.
- id String
- Alphanumeric string identifying a VCL Snippet.
- name String
- The name for the snippet.
- priority Number
- Priority determines execution order. Lower numbers execute first.
- type String
- The location in generated VCL where the snippet should be placed.
Package Details
- Repository
- Fastly pulumi/pulumi-fastly
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fastly
Terraform Provider.