Alibaba Cloud

Pulumi Official
Package maintained by Pulumi
v3.21.0 published on Tuesday, Jun 14, 2022 by Pulumi

getRealTimeLogDeliveries

This data source provides the Cdn Real Time Log Deliveries of the current Alibaba Cloud user.

NOTE: Available in v1.134.0+.

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var example = Output.Create(AliCloud.Cdn.GetRealTimeLogDeliveries.InvokeAsync(new AliCloud.Cdn.GetRealTimeLogDeliveriesArgs
        {
            Domain = "example_value",
        }));
        this.CdnRealTimeLogDelivery1 = example.Apply(example => example.Deliveries?[0]?.Id);
    }

    [Output("cdnRealTimeLogDelivery1")]
    public Output<string> CdnRealTimeLogDelivery1 { get; set; }
}
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cdn"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := cdn.GetRealTimeLogDeliveries(ctx, &cdn.GetRealTimeLogDeliveriesArgs{
			Domain: "example_value",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("cdnRealTimeLogDelivery1", example.Deliveries[0].Id)
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_alicloud as alicloud

example = alicloud.cdn.get_real_time_log_deliveries(domain="example_value")
pulumi.export("cdnRealTimeLogDelivery1", example.deliveries[0].id)
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const example = alicloud.cdn.getRealTimeLogDeliveries({
    domain: "example_value",
});
export const cdnRealTimeLogDelivery1 = example.then(example => example.deliveries?[0]?.id);

Coming soon!

Using getRealTimeLogDeliveries

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 getRealTimeLogDeliveries(args: GetRealTimeLogDeliveriesArgs, opts?: InvokeOptions): Promise<GetRealTimeLogDeliveriesResult>
function getRealTimeLogDeliveriesOutput(args: GetRealTimeLogDeliveriesOutputArgs, opts?: InvokeOptions): Output<GetRealTimeLogDeliveriesResult>
def get_real_time_log_deliveries(domain: Optional[str] = None,
                                 output_file: Optional[str] = None,
                                 status: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetRealTimeLogDeliveriesResult
def get_real_time_log_deliveries_output(domain: Optional[pulumi.Input[str]] = None,
                                 output_file: Optional[pulumi.Input[str]] = None,
                                 status: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetRealTimeLogDeliveriesResult]
func GetRealTimeLogDeliveries(ctx *Context, args *GetRealTimeLogDeliveriesArgs, opts ...InvokeOption) (*GetRealTimeLogDeliveriesResult, error)
func GetRealTimeLogDeliveriesOutput(ctx *Context, args *GetRealTimeLogDeliveriesOutputArgs, opts ...InvokeOption) GetRealTimeLogDeliveriesResultOutput

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

public static class GetRealTimeLogDeliveries 
{
    public static Task<GetRealTimeLogDeliveriesResult> InvokeAsync(GetRealTimeLogDeliveriesArgs args, InvokeOptions? opts = null)
    public static Output<GetRealTimeLogDeliveriesResult> Invoke(GetRealTimeLogDeliveriesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRealTimeLogDeliveriesResult> getRealTimeLogDeliveries(GetRealTimeLogDeliveriesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: alicloud:cdn/getRealTimeLogDeliveries:getRealTimeLogDeliveries
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Domain string

Real-Time Log Service Domain.

OutputFile string
Status string

-The status of the real-time log delivery feature. Valid Values: online and offline.

Domain string

Real-Time Log Service Domain.

OutputFile string
Status string

-The status of the real-time log delivery feature. Valid Values: online and offline.

domain String

Real-Time Log Service Domain.

outputFile String
status String

-The status of the real-time log delivery feature. Valid Values: online and offline.

domain string

Real-Time Log Service Domain.

outputFile string
status string

-The status of the real-time log delivery feature. Valid Values: online and offline.

domain str

Real-Time Log Service Domain.

output_file str
status str

-The status of the real-time log delivery feature. Valid Values: online and offline.

domain String

Real-Time Log Service Domain.

outputFile String
status String

-The status of the real-time log delivery feature. Valid Values: online and offline.

getRealTimeLogDeliveries Result

The following output properties are available:

Deliveries List<Pulumi.AliCloud.Cdn.Outputs.GetRealTimeLogDeliveriesDelivery>
Domain string
Id string

The provider-assigned unique ID for this managed resource.

OutputFile string
Status string
Deliveries []GetRealTimeLogDeliveriesDelivery
Domain string
Id string

The provider-assigned unique ID for this managed resource.

OutputFile string
Status string
deliveries List<GetRealTimeLogDeliveriesDelivery>
domain String
id String

The provider-assigned unique ID for this managed resource.

outputFile String
status String
deliveries GetRealTimeLogDeliveriesDelivery[]
domain string
id string

The provider-assigned unique ID for this managed resource.

outputFile string
status string
deliveries Sequence[GetRealTimeLogDeliveriesDelivery]
domain str
id str

The provider-assigned unique ID for this managed resource.

output_file str
status str
deliveries List<Property Map>
domain String
id String

The provider-assigned unique ID for this managed resource.

outputFile String
status String

Supporting Types

GetRealTimeLogDeliveriesDelivery

Domain string

Real-Time Log Service Domain.

Id string

The ID of the Real Time Log Delivery.

Logstore string

The name of the Logstore that collects log data from Alibaba Cloud Content Delivery Network (CDN) in real time.

Project string

The name of the Log Service project that is used for real-time log delivery.

SlsRegion string

The region where the Log Service project is deployed.

Status string

-The status of the real-time log delivery feature. Valid Values: online and offline.

Domain string

Real-Time Log Service Domain.

Id string

The ID of the Real Time Log Delivery.

Logstore string

The name of the Logstore that collects log data from Alibaba Cloud Content Delivery Network (CDN) in real time.

Project string

The name of the Log Service project that is used for real-time log delivery.

SlsRegion string

The region where the Log Service project is deployed.

Status string

-The status of the real-time log delivery feature. Valid Values: online and offline.

domain String

Real-Time Log Service Domain.

id String

The ID of the Real Time Log Delivery.

logstore String

The name of the Logstore that collects log data from Alibaba Cloud Content Delivery Network (CDN) in real time.

project String

The name of the Log Service project that is used for real-time log delivery.

slsRegion String

The region where the Log Service project is deployed.

status String

-The status of the real-time log delivery feature. Valid Values: online and offline.

domain string

Real-Time Log Service Domain.

id string

The ID of the Real Time Log Delivery.

logstore string

The name of the Logstore that collects log data from Alibaba Cloud Content Delivery Network (CDN) in real time.

project string

The name of the Log Service project that is used for real-time log delivery.

slsRegion string

The region where the Log Service project is deployed.

status string

-The status of the real-time log delivery feature. Valid Values: online and offline.

domain str

Real-Time Log Service Domain.

id str

The ID of the Real Time Log Delivery.

logstore str

The name of the Logstore that collects log data from Alibaba Cloud Content Delivery Network (CDN) in real time.

project str

The name of the Log Service project that is used for real-time log delivery.

sls_region str

The region where the Log Service project is deployed.

status str

-The status of the real-time log delivery feature. Valid Values: online and offline.

domain String

Real-Time Log Service Domain.

id String

The ID of the Real Time Log Delivery.

logstore String

The name of the Logstore that collects log data from Alibaba Cloud Content Delivery Network (CDN) in real time.

project String

The name of the Log Service project that is used for real-time log delivery.

slsRegion String

The region where the Log Service project is deployed.

status String

-The status of the real-time log delivery feature. Valid Values: online and offline.

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.