1. Packages
  2. Fastly
  3. API Docs
  4. getVclSnippets
Fastly v8.6.0 published on Monday, Apr 22, 2024 by Pulumi

fastly.getVclSnippets

Explore with Pulumi AI

fastly logo
Fastly v8.6.0 published on Monday, Apr 22, 2024 by Pulumi

    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:

    getVclSnippets Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    ServiceId string
    ServiceVersion int
    VclSnippets List<GetVclSnippetsVclSnippet>
    Id string
    The provider-assigned unique ID for this managed resource.
    ServiceId string
    ServiceVersion int
    VclSnippets []GetVclSnippetsVclSnippet
    id String
    The provider-assigned unique ID for this managed resource.
    serviceId String
    serviceVersion Integer
    vclSnippets List<GetVclSnippetsVclSnippet>
    id string
    The provider-assigned unique ID for this managed resource.
    serviceId string
    serviceVersion number
    vclSnippets GetVclSnippetsVclSnippet[]
    id str
    The provider-assigned unique ID for this managed resource.
    service_id str
    service_version int
    vcl_snippets Sequence[GetVclSnippetsVclSnippet]
    id String
    The provider-assigned unique ID for this managed resource.
    serviceId String
    serviceVersion Number
    vclSnippets 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.
    fastly logo
    Fastly v8.6.0 published on Monday, Apr 22, 2024 by Pulumi