Fastly v8.11.1 published on Monday, Sep 16, 2024 by Pulumi
fastly.getServices
Explore with Pulumi AI
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<Get
Services Detail> - 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
[]Get
Services Detail - 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<Get
Services Detail> - 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
Get
Services Detail[] - 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[Get
Services Detail] - 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.
- Created
At string - Date and time in ISO 8601 format.
- Customer
Id 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
. - Updated
At string - Date and time in ISO 8601 format.
- Version int
- The currently activated version.
- Comment string
- A freeform descriptive note.
- Created
At string - Date and time in ISO 8601 format.
- Customer
Id 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
. - Updated
At string - Date and time in ISO 8601 format.
- Version int
- The currently activated version.
- comment String
- A freeform descriptive note.
- created
At String - Date and time in ISO 8601 format.
- customer
Id 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
. - updated
At String - Date and time in ISO 8601 format.
- version Integer
- The currently activated version.
- comment string
- A freeform descriptive note.
- created
At string - Date and time in ISO 8601 format.
- customer
Id 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
. - updated
At 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.
- created
At String - Date and time in ISO 8601 format.
- customer
Id 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
. - updated
At 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.