akamai logo
Akamai v4.1.0, Jan 25 23

akamai.getDatastreams

Use the akamai.getDatastreams data source to list details about the DataStream configuration.

Attributes reference

This data source returns these attributes:

  • streams - Returns the latest versions of the stream configurations for all groups within in your account. You can use the group_id parameter to view the latest versions of all configurations in a specific group.
    • activation_status - The activation status of the stream. These are possible values: ACTIVATED, DEACTIVATED, ACTIVATING, DEACTIVATING, or INACTIVE. See the Activate a stream and Deactivate a stream operations.
    • archived - Whether the stream is archived.
    • connectors - The connector where the stream sends logs.
    • contract_id - Identifies the contract that the stream is associated with.
    • created_by - The user who created the stream.
    • created_date - The date and time when the stream was created in this format: 14-07-2020 07:07:40 GMT.
    • current_version_id - Identifies the current version of the stream.
    • errors - Objects that may indicate stream failure errors. Learn more about Errors.
      • detail - A message informing about the status of the failed stream.
      • title - A descriptive label for the type of error.
      • type - Identifies the error type, either ACTIVATION_ERROR or UNEXPECTED_SYSTEM_ERROR. In case of these errors, contact support for assistance before continuing.
    • group_id - Identifies the group where the stream is created.
    • group_name - The group name where the stream is created.
    • properties - List of properties associated with the stream.
      • property_id - The identifier of the property.
      • property_name - The descriptive label for the property.
    • stream_id - A stream’s unique identifier.
    • stream_name - The name of the stream.
    • stream_type_name - Specifies the type of the data stream. Logs - Raw is the only stream type name currently available.
    • stream_version_id - A stream version’s unique identifier.

Using getDatastreams

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 getDatastreams(args: GetDatastreamsArgs, opts?: InvokeOptions): Promise<GetDatastreamsResult>
function getDatastreamsOutput(args: GetDatastreamsOutputArgs, opts?: InvokeOptions): Output<GetDatastreamsResult>
def get_datastreams(group_id: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetDatastreamsResult
def get_datastreams_output(group_id: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetDatastreamsResult]
func GetDatastreams(ctx *Context, args *GetDatastreamsArgs, opts ...InvokeOption) (*GetDatastreamsResult, error)
func GetDatastreamsOutput(ctx *Context, args *GetDatastreamsOutputArgs, opts ...InvokeOption) GetDatastreamsResultOutput

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

public static class GetDatastreams 
{
    public static Task<GetDatastreamsResult> InvokeAsync(GetDatastreamsArgs args, InvokeOptions? opts = null)
    public static Output<GetDatastreamsResult> Invoke(GetDatastreamsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDatastreamsResult> getDatastreams(GetDatastreamsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: akamai:index/getDatastreams:getDatastreams
  arguments:
    # arguments dictionary

The following arguments are supported:

GroupId string

Unique identifier of the group that can access the product.

GroupId string

Unique identifier of the group that can access the product.

groupId String

Unique identifier of the group that can access the product.

groupId string

Unique identifier of the group that can access the product.

group_id str

Unique identifier of the group that can access the product.

groupId String

Unique identifier of the group that can access the product.

getDatastreams Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Streams List<GetDatastreamsStream>
GroupId string
Id string

The provider-assigned unique ID for this managed resource.

Streams []GetDatastreamsStream
GroupId string
id String

The provider-assigned unique ID for this managed resource.

streams List<GetDatastreamsStream>
groupId String
id string

The provider-assigned unique ID for this managed resource.

streams GetDatastreamsStream[]
groupId string
id str

The provider-assigned unique ID for this managed resource.

streams Sequence[GetDatastreamsStream]
group_id str
id String

The provider-assigned unique ID for this managed resource.

streams List<Property Map>
groupId String

Supporting Types

GetDatastreamsStream

activationStatus String
archived Boolean
connectors String
contractId String
createdBy String
createdDate String
currentVersionId Integer
errors List<GetDatastreamsStreamError>
groupId Integer

Unique identifier of the group that can access the product.

groupName String
properties List<GetDatastreamsStreamProperty>
streamId Integer
streamName String
streamTypeName String
streamVersionId Integer
activationStatus string
archived boolean
connectors string
contractId string
createdBy string
createdDate string
currentVersionId number
errors GetDatastreamsStreamError[]
groupId number

Unique identifier of the group that can access the product.

groupName string
properties GetDatastreamsStreamProperty[]
streamId number
streamName string
streamTypeName string
streamVersionId number
activationStatus String
archived Boolean
connectors String
contractId String
createdBy String
createdDate String
currentVersionId Number
errors List<Property Map>
groupId Number

Unique identifier of the group that can access the product.

groupName String
properties List<Property Map>
streamId Number
streamName String
streamTypeName String
streamVersionId Number

GetDatastreamsStreamError

Detail string
Title string
Type string
Detail string
Title string
Type string
detail String
title String
type String
detail string
title string
type string
detail str
title str
type str
detail String
title String
type String

GetDatastreamsStreamProperty

propertyId Integer
propertyName String

Package Details

Repository
Akamai pulumi/pulumi-akamai
License
Apache-2.0
Notes

This Pulumi package is based on the akamai Terraform Provider.