Alibaba Cloud

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

RealTimeLogDelivery

Provides a CDN Real Time Log Delivery resource.

For information about CDN Real Time Log Delivery and how to use it, see What is Real Time Log Delivery.

NOTE: Available in v1.134.0+.

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var example = new AliCloud.Cdn.RealTimeLogDelivery("example", new AliCloud.Cdn.RealTimeLogDeliveryArgs
        {
            Domain = "example_value",
            Logstore = "example_value",
            Project = "example_value",
            SlsRegion = "cn-hanghzou",
        });
    }

}
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 {
		_, err := cdn.NewRealTimeLogDelivery(ctx, "example", &cdn.RealTimeLogDeliveryArgs{
			Domain:    pulumi.String("example_value"),
			Logstore:  pulumi.String("example_value"),
			Project:   pulumi.String("example_value"),
			SlsRegion: pulumi.String("cn-hanghzou"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_alicloud as alicloud

example = alicloud.cdn.RealTimeLogDelivery("example",
    domain="example_value",
    logstore="example_value",
    project="example_value",
    sls_region="cn-hanghzou")
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const example = new alicloud.cdn.RealTimeLogDelivery("example", {
    domain: "example_value",
    logstore: "example_value",
    project: "example_value",
    slsRegion: "cn-hanghzou",
});

Coming soon!

Create a RealTimeLogDelivery Resource

new RealTimeLogDelivery(name: string, args: RealTimeLogDeliveryArgs, opts?: CustomResourceOptions);
@overload
def RealTimeLogDelivery(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        domain: Optional[str] = None,
                        logstore: Optional[str] = None,
                        project: Optional[str] = None,
                        sls_region: Optional[str] = None)
@overload
def RealTimeLogDelivery(resource_name: str,
                        args: RealTimeLogDeliveryArgs,
                        opts: Optional[ResourceOptions] = None)
func NewRealTimeLogDelivery(ctx *Context, name string, args RealTimeLogDeliveryArgs, opts ...ResourceOption) (*RealTimeLogDelivery, error)
public RealTimeLogDelivery(string name, RealTimeLogDeliveryArgs args, CustomResourceOptions? opts = null)
public RealTimeLogDelivery(String name, RealTimeLogDeliveryArgs args)
public RealTimeLogDelivery(String name, RealTimeLogDeliveryArgs args, CustomResourceOptions options)
type: alicloud:cdn:RealTimeLogDelivery
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args RealTimeLogDeliveryArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args RealTimeLogDeliveryArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args RealTimeLogDeliveryArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args RealTimeLogDeliveryArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args RealTimeLogDeliveryArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

RealTimeLogDelivery Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The RealTimeLogDelivery resource accepts the following input properties:

Domain string

The accelerated domain name for which you want to configure real-time log delivery. You can specify multiple domain names and separate them with commas (,).

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.

Domain string

The accelerated domain name for which you want to configure real-time log delivery. You can specify multiple domain names and separate them with commas (,).

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.

domain String

The accelerated domain name for which you want to configure real-time log delivery. You can specify multiple domain names and separate them with commas (,).

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.

domain string

The accelerated domain name for which you want to configure real-time log delivery. You can specify multiple domain names and separate them with commas (,).

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.

domain str

The accelerated domain name for which you want to configure real-time log delivery. You can specify multiple domain names and separate them with commas (,).

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.

domain String

The accelerated domain name for which you want to configure real-time log delivery. You can specify multiple domain names and separate them with commas (,).

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.

Outputs

All input properties are implicitly available as output properties. Additionally, the RealTimeLogDelivery resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Status string

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

Id string

The provider-assigned unique ID for this managed resource.

Status string

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

id String

The provider-assigned unique ID for this managed resource.

status String

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

id string

The provider-assigned unique ID for this managed resource.

status string

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

id str

The provider-assigned unique ID for this managed resource.

status str

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

id String

The provider-assigned unique ID for this managed resource.

status String

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

Look up an Existing RealTimeLogDelivery Resource

Get an existing RealTimeLogDelivery resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: RealTimeLogDeliveryState, opts?: CustomResourceOptions): RealTimeLogDelivery
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        domain: Optional[str] = None,
        logstore: Optional[str] = None,
        project: Optional[str] = None,
        sls_region: Optional[str] = None,
        status: Optional[str] = None) -> RealTimeLogDelivery
func GetRealTimeLogDelivery(ctx *Context, name string, id IDInput, state *RealTimeLogDeliveryState, opts ...ResourceOption) (*RealTimeLogDelivery, error)
public static RealTimeLogDelivery Get(string name, Input<string> id, RealTimeLogDeliveryState? state, CustomResourceOptions? opts = null)
public static RealTimeLogDelivery get(String name, Output<String> id, RealTimeLogDeliveryState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Domain string

The accelerated domain name for which you want to configure real-time log delivery. You can specify multiple domain names and separate them with commas (,).

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

The accelerated domain name for which you want to configure real-time log delivery. You can specify multiple domain names and separate them with commas (,).

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

The accelerated domain name for which you want to configure real-time log delivery. You can specify multiple domain names and separate them with commas (,).

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

The accelerated domain name for which you want to configure real-time log delivery. You can specify multiple domain names and separate them with commas (,).

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

The accelerated domain name for which you want to configure real-time log delivery. You can specify multiple domain names and separate them with commas (,).

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

The accelerated domain name for which you want to configure real-time log delivery. You can specify multiple domain names and separate them with commas (,).

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.

Import

CDN Real Time Log Delivery can be imported using the id, e.g.

 $ pulumi import alicloud:cdn/realTimeLogDelivery:RealTimeLogDelivery example <domain>

Package Details

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

This Pulumi package is based on the alicloud Terraform Provider.