Alibaba Cloud v3.88.0 published on Saturday, Nov 1, 2025 by Pulumi
alicloud.cdn.getRealTimeLogDeliveries
Start a Neo task
Explain and create an alicloud.cdn.getRealTimeLogDeliveries resource
This data source provides the Cdn Real Time Log Deliveries of the current Alibaba Cloud user.
NOTE: Available in v1.134.0+.
Example Usage
Basic Usage
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);
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)
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
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var example = AliCloud.Cdn.GetRealTimeLogDeliveries.Invoke(new()
{
Domain = "example_value",
});
return new Dictionary<string, object?>
{
["cdnRealTimeLogDelivery1"] = example.Apply(getRealTimeLogDeliveriesResult => getRealTimeLogDeliveriesResult.Deliveries[0]?.Id),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.cdn.CdnFunctions;
import com.pulumi.alicloud.cdn.inputs.GetRealTimeLogDeliveriesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = CdnFunctions.getRealTimeLogDeliveries(GetRealTimeLogDeliveriesArgs.builder()
.domain("example_value")
.build());
ctx.export("cdnRealTimeLogDelivery1", example.deliveries()[0].id());
}
}
variables:
example:
fn::invoke:
function: alicloud:cdn:getRealTimeLogDeliveries
arguments:
domain: example_value
outputs:
cdnRealTimeLogDelivery1: ${example.deliveries[0].id}
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)
public static Output<GetRealTimeLogDeliveriesResult> getRealTimeLogDeliveries(GetRealTimeLogDeliveriesArgs args, InvokeOptions options)
fn::invoke:
function: alicloud:cdn/getRealTimeLogDeliveries:getRealTimeLogDeliveries
arguments:
# arguments dictionaryThe following arguments are supported:
- Domain string
- Output
File string - File name where to save data source results (after running
pulumi preview). - Status string
- The status of the real-time log delivery feature. Valid Values:
onlineandoffline.
- Domain string
- Output
File string - File name where to save data source results (after running
pulumi preview). - Status string
- The status of the real-time log delivery feature. Valid Values:
onlineandoffline.
- domain String
- output
File String - File name where to save data source results (after running
pulumi preview). - status String
- The status of the real-time log delivery feature. Valid Values:
onlineandoffline.
- domain string
- output
File string - File name where to save data source results (after running
pulumi preview). - status string
- The status of the real-time log delivery feature. Valid Values:
onlineandoffline.
- domain str
- output_
file str - File name where to save data source results (after running
pulumi preview). - status str
- The status of the real-time log delivery feature. Valid Values:
onlineandoffline.
- domain String
- output
File String - File name where to save data source results (after running
pulumi preview). - status String
- The status of the real-time log delivery feature. Valid Values:
onlineandoffline.
getRealTimeLogDeliveries Result
The following output properties are available:
- Deliveries
List<Pulumi.
Ali Cloud. Cdn. Outputs. Get Real Time Log Deliveries Delivery> - Domain string
- Id string
- The provider-assigned unique ID for this managed resource.
- Output
File string - Status string
- Deliveries
[]Get
Real Time Log Deliveries Delivery - Domain string
- Id string
- The provider-assigned unique ID for this managed resource.
- Output
File string - Status string
- deliveries
List<Get
Real Time Log Deliveries Delivery> - domain String
- id String
- The provider-assigned unique ID for this managed resource.
- output
File String - status String
- deliveries
Get
Real Time Log Deliveries Delivery[] - domain string
- id string
- The provider-assigned unique ID for this managed resource.
- output
File string - status string
- deliveries
Sequence[Get
Real Time Log Deliveries Delivery] - 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.
- output
File 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.
- Sls
Region string - The region where the Log Service project is deployed.
- Status string
- The status of the real-time log delivery feature. Valid Values:
onlineandoffline.
- 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.
- Sls
Region string - The region where the Log Service project is deployed.
- Status string
- The status of the real-time log delivery feature. Valid Values:
onlineandoffline.
- 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.
- sls
Region String - The region where the Log Service project is deployed.
- status String
- The status of the real-time log delivery feature. Valid Values:
onlineandoffline.
- 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.
- sls
Region string - The region where the Log Service project is deployed.
- status string
- The status of the real-time log delivery feature. Valid Values:
onlineandoffline.
- 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:
onlineandoffline.
- 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.
- sls
Region String - The region where the Log Service project is deployed.
- status String
- The status of the real-time log delivery feature. Valid Values:
onlineandoffline.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
