1. Packages
  2. Fastly Provider
  3. API Docs
  4. getServices
Fastly v8.11.1 published on Monday, Sep 16, 2024 by Pulumi

fastly.getServices

Explore with Pulumi AI

fastly logo
Fastly v8.11.1 published on Monday, Sep 16, 2024 by Pulumi

    Use this data source to get the list of the Fastly services.

    Using getServices

    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 getServices(opts?: InvokeOptions): Promise<GetServicesResult>
    function getServicesOutput(opts?: InvokeOptions): Output<GetServicesResult>
    def get_services(opts: Optional[InvokeOptions] = None) -> GetServicesResult
    def get_services_output(opts: Optional[InvokeOptions] = None) -> Output[GetServicesResult]
    func GetServices(ctx *Context, opts ...InvokeOption) (*GetServicesResult, error)
    func GetServicesOutput(ctx *Context, opts ...InvokeOption) GetServicesResultOutput

    > Note: This function is named GetServices in the Go SDK.

    public static class GetServices 
    {
        public static Task<GetServicesResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetServicesResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetServicesResult> getServices(InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: fastly:index/getServices:getServices
      arguments:
        # arguments dictionary

    getServices Result

    The following output properties are available:

    Details List<GetServicesDetail>
    A detailed list of Fastly services in your account. This is limited to the services the API token can read.
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids List<string>
    A list of service IDs in your account. This is limited to the services the API token can read.
    Details []GetServicesDetail
    A detailed list of Fastly services in your account. This is limited to the services the API token can read.
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    A list of service IDs in your account. This is limited to the services the API token can read.
    details List<GetServicesDetail>
    A detailed list of Fastly services in your account. This is limited to the services the API token can read.
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    A list of service IDs in your account. This is limited to the services the API token can read.
    details GetServicesDetail[]
    A detailed list of Fastly services in your account. This is limited to the services the API token can read.
    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    A list of service IDs in your account. This is limited to the services the API token can read.
    details Sequence[GetServicesDetail]
    A detailed list of Fastly services in your account. This is limited to the services the API token can read.
    id str
    The provider-assigned unique ID for this managed resource.
    ids Sequence[str]
    A list of service IDs in your account. This is limited to the services the API token can read.
    details List<Property Map>
    A detailed list of Fastly services in your account. This is limited to the services the API token can read.
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    A list of service IDs in your account. This is limited to the services the API token can read.

    Supporting Types

    GetServicesDetail

    Comment string
    A freeform descriptive note.
    CreatedAt string
    Date and time in ISO 8601 format.
    CustomerId string
    Alphanumeric string identifying the customer.
    Id string
    Alphanumeric string identifying the service.
    Name string
    The name of the service.
    Type string
    The type of this service. One of vcl, wasm.
    UpdatedAt string
    Date and time in ISO 8601 format.
    Version int
    The currently activated version.
    Comment string
    A freeform descriptive note.
    CreatedAt string
    Date and time in ISO 8601 format.
    CustomerId string
    Alphanumeric string identifying the customer.
    Id string
    Alphanumeric string identifying the service.
    Name string
    The name of the service.
    Type string
    The type of this service. One of vcl, wasm.
    UpdatedAt string
    Date and time in ISO 8601 format.
    Version int
    The currently activated version.
    comment String
    A freeform descriptive note.
    createdAt String
    Date and time in ISO 8601 format.
    customerId String
    Alphanumeric string identifying the customer.
    id String
    Alphanumeric string identifying the service.
    name String
    The name of the service.
    type String
    The type of this service. One of vcl, wasm.
    updatedAt String
    Date and time in ISO 8601 format.
    version Integer
    The currently activated version.
    comment string
    A freeform descriptive note.
    createdAt string
    Date and time in ISO 8601 format.
    customerId string
    Alphanumeric string identifying the customer.
    id string
    Alphanumeric string identifying the service.
    name string
    The name of the service.
    type string
    The type of this service. One of vcl, wasm.
    updatedAt string
    Date and time in ISO 8601 format.
    version number
    The currently activated version.
    comment str
    A freeform descriptive note.
    created_at str
    Date and time in ISO 8601 format.
    customer_id str
    Alphanumeric string identifying the customer.
    id str
    Alphanumeric string identifying the service.
    name str
    The name of the service.
    type str
    The type of this service. One of vcl, wasm.
    updated_at str
    Date and time in ISO 8601 format.
    version int
    The currently activated version.
    comment String
    A freeform descriptive note.
    createdAt String
    Date and time in ISO 8601 format.
    customerId String
    Alphanumeric string identifying the customer.
    id String
    Alphanumeric string identifying the service.
    name String
    The name of the service.
    type String
    The type of this service. One of vcl, wasm.
    updatedAt String
    Date and time in ISO 8601 format.
    version Number
    The currently activated version.

    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.11.1 published on Monday, Sep 16, 2024 by Pulumi