alicloud.resourcemanager.DeliveryChannel
Provides a Resource Manager Delivery Channel resource.
Delivery channel resources of current account.
For information about Resource Manager Delivery Channel and how to use it, see What is Delivery Channel.
NOTE: Available since v1.262.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "terraform-example";
const _default = new alicloud.resourcemanager.DeliveryChannel("default", {
resourceChangeDelivery: {
slsProperties: {
oversizedDataOssTargetArn: "acs:oss:cn-hangzhou:1511928242963727:resourcecenter-aone-example-delivery-oss",
},
targetArn: "acs:log:cn-hangzhou:1511928242963727:project/delivery-aone-example/logstore/resourcecenter-delivery-aone-example-sls",
},
deliveryChannelName: "delivery_channel_resource_spec_example",
deliveryChannelDescription: "delivery_channel_resource_spec_example",
deliveryChannelFilter: {
resourceTypes: [
"ACS::ECS::Instance",
"ACS::ECS::Disk",
"ACS::VPC::VPC",
],
},
resourceSnapshotDelivery: {
deliveryTime: "16:00Z",
targetArn: "acs:log:cn-hangzhou:1511928242963727:project/delivery-aone-example/logstore/resourcecenter-delivery-aone-example-sls",
targetType: "SLS",
customExpression: "select * from resources limit 10;",
slsProperties: {
oversizedDataOssTargetArn: "acs:oss:cn-hangzhou:1511928242963727:resourcecenter-aone-example-delivery-oss",
},
},
});
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "terraform-example"
default = alicloud.resourcemanager.DeliveryChannel("default",
resource_change_delivery={
"sls_properties": {
"oversized_data_oss_target_arn": "acs:oss:cn-hangzhou:1511928242963727:resourcecenter-aone-example-delivery-oss",
},
"target_arn": "acs:log:cn-hangzhou:1511928242963727:project/delivery-aone-example/logstore/resourcecenter-delivery-aone-example-sls",
},
delivery_channel_name="delivery_channel_resource_spec_example",
delivery_channel_description="delivery_channel_resource_spec_example",
delivery_channel_filter={
"resource_types": [
"ACS::ECS::Instance",
"ACS::ECS::Disk",
"ACS::VPC::VPC",
],
},
resource_snapshot_delivery={
"delivery_time": "16:00Z",
"target_arn": "acs:log:cn-hangzhou:1511928242963727:project/delivery-aone-example/logstore/resourcecenter-delivery-aone-example-sls",
"target_type": "SLS",
"custom_expression": "select * from resources limit 10;",
"sls_properties": {
"oversized_data_oss_target_arn": "acs:oss:cn-hangzhou:1511928242963727:resourcecenter-aone-example-delivery-oss",
},
})
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "terraform-example"
if param := cfg.Get("name"); param != "" {
name = param
}
_, err := resourcemanager.NewDeliveryChannel(ctx, "default", &resourcemanager.DeliveryChannelArgs{
ResourceChangeDelivery: &resourcemanager.DeliveryChannelResourceChangeDeliveryArgs{
SlsProperties: &resourcemanager.DeliveryChannelResourceChangeDeliverySlsPropertiesArgs{
OversizedDataOssTargetArn: pulumi.String("acs:oss:cn-hangzhou:1511928242963727:resourcecenter-aone-example-delivery-oss"),
},
TargetArn: pulumi.String("acs:log:cn-hangzhou:1511928242963727:project/delivery-aone-example/logstore/resourcecenter-delivery-aone-example-sls"),
},
DeliveryChannelName: pulumi.String("delivery_channel_resource_spec_example"),
DeliveryChannelDescription: pulumi.String("delivery_channel_resource_spec_example"),
DeliveryChannelFilter: &resourcemanager.DeliveryChannelDeliveryChannelFilterArgs{
ResourceTypes: pulumi.StringArray{
pulumi.String("ACS::ECS::Instance"),
pulumi.String("ACS::ECS::Disk"),
pulumi.String("ACS::VPC::VPC"),
},
},
ResourceSnapshotDelivery: &resourcemanager.DeliveryChannelResourceSnapshotDeliveryArgs{
DeliveryTime: pulumi.String("16:00Z"),
TargetArn: pulumi.String("acs:log:cn-hangzhou:1511928242963727:project/delivery-aone-example/logstore/resourcecenter-delivery-aone-example-sls"),
TargetType: pulumi.String("SLS"),
CustomExpression: pulumi.String("select * from resources limit 10;"),
SlsProperties: &resourcemanager.DeliveryChannelResourceSnapshotDeliverySlsPropertiesArgs{
OversizedDataOssTargetArn: pulumi.String("acs:oss:cn-hangzhou:1511928242963727:resourcecenter-aone-example-delivery-oss"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "terraform-example";
var @default = new AliCloud.ResourceManager.DeliveryChannel("default", new()
{
ResourceChangeDelivery = new AliCloud.ResourceManager.Inputs.DeliveryChannelResourceChangeDeliveryArgs
{
SlsProperties = new AliCloud.ResourceManager.Inputs.DeliveryChannelResourceChangeDeliverySlsPropertiesArgs
{
OversizedDataOssTargetArn = "acs:oss:cn-hangzhou:1511928242963727:resourcecenter-aone-example-delivery-oss",
},
TargetArn = "acs:log:cn-hangzhou:1511928242963727:project/delivery-aone-example/logstore/resourcecenter-delivery-aone-example-sls",
},
DeliveryChannelName = "delivery_channel_resource_spec_example",
DeliveryChannelDescription = "delivery_channel_resource_spec_example",
DeliveryChannelFilter = new AliCloud.ResourceManager.Inputs.DeliveryChannelDeliveryChannelFilterArgs
{
ResourceTypes = new[]
{
"ACS::ECS::Instance",
"ACS::ECS::Disk",
"ACS::VPC::VPC",
},
},
ResourceSnapshotDelivery = new AliCloud.ResourceManager.Inputs.DeliveryChannelResourceSnapshotDeliveryArgs
{
DeliveryTime = "16:00Z",
TargetArn = "acs:log:cn-hangzhou:1511928242963727:project/delivery-aone-example/logstore/resourcecenter-delivery-aone-example-sls",
TargetType = "SLS",
CustomExpression = "select * from resources limit 10;",
SlsProperties = new AliCloud.ResourceManager.Inputs.DeliveryChannelResourceSnapshotDeliverySlsPropertiesArgs
{
OversizedDataOssTargetArn = "acs:oss:cn-hangzhou:1511928242963727:resourcecenter-aone-example-delivery-oss",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.resourcemanager.DeliveryChannel;
import com.pulumi.alicloud.resourcemanager.DeliveryChannelArgs;
import com.pulumi.alicloud.resourcemanager.inputs.DeliveryChannelResourceChangeDeliveryArgs;
import com.pulumi.alicloud.resourcemanager.inputs.DeliveryChannelResourceChangeDeliverySlsPropertiesArgs;
import com.pulumi.alicloud.resourcemanager.inputs.DeliveryChannelDeliveryChannelFilterArgs;
import com.pulumi.alicloud.resourcemanager.inputs.DeliveryChannelResourceSnapshotDeliveryArgs;
import com.pulumi.alicloud.resourcemanager.inputs.DeliveryChannelResourceSnapshotDeliverySlsPropertiesArgs;
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 config = ctx.config();
final var name = config.get("name").orElse("terraform-example");
var default_ = new DeliveryChannel("default", DeliveryChannelArgs.builder()
.resourceChangeDelivery(DeliveryChannelResourceChangeDeliveryArgs.builder()
.slsProperties(DeliveryChannelResourceChangeDeliverySlsPropertiesArgs.builder()
.oversizedDataOssTargetArn("acs:oss:cn-hangzhou:1511928242963727:resourcecenter-aone-example-delivery-oss")
.build())
.targetArn("acs:log:cn-hangzhou:1511928242963727:project/delivery-aone-example/logstore/resourcecenter-delivery-aone-example-sls")
.build())
.deliveryChannelName("delivery_channel_resource_spec_example")
.deliveryChannelDescription("delivery_channel_resource_spec_example")
.deliveryChannelFilter(DeliveryChannelDeliveryChannelFilterArgs.builder()
.resourceTypes(
"ACS::ECS::Instance",
"ACS::ECS::Disk",
"ACS::VPC::VPC")
.build())
.resourceSnapshotDelivery(DeliveryChannelResourceSnapshotDeliveryArgs.builder()
.deliveryTime("16:00Z")
.targetArn("acs:log:cn-hangzhou:1511928242963727:project/delivery-aone-example/logstore/resourcecenter-delivery-aone-example-sls")
.targetType("SLS")
.customExpression("select * from resources limit 10;")
.slsProperties(DeliveryChannelResourceSnapshotDeliverySlsPropertiesArgs.builder()
.oversizedDataOssTargetArn("acs:oss:cn-hangzhou:1511928242963727:resourcecenter-aone-example-delivery-oss")
.build())
.build())
.build());
}
}
configuration:
name:
type: string
default: terraform-example
resources:
default:
type: alicloud:resourcemanager:DeliveryChannel
properties:
resourceChangeDelivery:
slsProperties:
oversizedDataOssTargetArn: acs:oss:cn-hangzhou:1511928242963727:resourcecenter-aone-example-delivery-oss
targetArn: acs:log:cn-hangzhou:1511928242963727:project/delivery-aone-example/logstore/resourcecenter-delivery-aone-example-sls
deliveryChannelName: delivery_channel_resource_spec_example
deliveryChannelDescription: delivery_channel_resource_spec_example
deliveryChannelFilter:
resourceTypes:
- ACS::ECS::Instance
- ACS::ECS::Disk
- ACS::VPC::VPC
resourceSnapshotDelivery:
deliveryTime: 16:00Z
targetArn: acs:log:cn-hangzhou:1511928242963727:project/delivery-aone-example/logstore/resourcecenter-delivery-aone-example-sls
targetType: SLS
customExpression: select * from resources limit 10;
slsProperties:
oversizedDataOssTargetArn: acs:oss:cn-hangzhou:1511928242963727:resourcecenter-aone-example-delivery-oss
Create DeliveryChannel Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DeliveryChannel(name: string, args: DeliveryChannelArgs, opts?: CustomResourceOptions);@overload
def DeliveryChannel(resource_name: str,
args: DeliveryChannelArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DeliveryChannel(resource_name: str,
opts: Optional[ResourceOptions] = None,
delivery_channel_filter: Optional[DeliveryChannelDeliveryChannelFilterArgs] = None,
delivery_channel_name: Optional[str] = None,
delivery_channel_description: Optional[str] = None,
resource_change_delivery: Optional[DeliveryChannelResourceChangeDeliveryArgs] = None,
resource_snapshot_delivery: Optional[DeliveryChannelResourceSnapshotDeliveryArgs] = None)func NewDeliveryChannel(ctx *Context, name string, args DeliveryChannelArgs, opts ...ResourceOption) (*DeliveryChannel, error)public DeliveryChannel(string name, DeliveryChannelArgs args, CustomResourceOptions? opts = null)
public DeliveryChannel(String name, DeliveryChannelArgs args)
public DeliveryChannel(String name, DeliveryChannelArgs args, CustomResourceOptions options)
type: alicloud:resourcemanager:DeliveryChannel
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DeliveryChannelArgs
- 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 DeliveryChannelArgs
- 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 DeliveryChannelArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DeliveryChannelArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DeliveryChannelArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var alicloudDeliveryChannelResource = new AliCloud.ResourceManager.DeliveryChannel("alicloudDeliveryChannelResource", new()
{
DeliveryChannelFilter = new AliCloud.ResourceManager.Inputs.DeliveryChannelDeliveryChannelFilterArgs
{
ResourceTypes = new[]
{
"string",
},
},
DeliveryChannelName = "string",
DeliveryChannelDescription = "string",
ResourceChangeDelivery = new AliCloud.ResourceManager.Inputs.DeliveryChannelResourceChangeDeliveryArgs
{
Enabled = false,
SlsProperties = new AliCloud.ResourceManager.Inputs.DeliveryChannelResourceChangeDeliverySlsPropertiesArgs
{
OversizedDataOssTargetArn = "string",
},
TargetArn = "string",
TargetType = "string",
},
ResourceSnapshotDelivery = new AliCloud.ResourceManager.Inputs.DeliveryChannelResourceSnapshotDeliveryArgs
{
CustomExpression = "string",
DeliveryTime = "string",
Enabled = false,
SlsProperties = new AliCloud.ResourceManager.Inputs.DeliveryChannelResourceSnapshotDeliverySlsPropertiesArgs
{
OversizedDataOssTargetArn = "string",
},
TargetArn = "string",
TargetType = "string",
},
});
example, err := resourcemanager.NewDeliveryChannel(ctx, "alicloudDeliveryChannelResource", &resourcemanager.DeliveryChannelArgs{
DeliveryChannelFilter: &resourcemanager.DeliveryChannelDeliveryChannelFilterArgs{
ResourceTypes: pulumi.StringArray{
pulumi.String("string"),
},
},
DeliveryChannelName: pulumi.String("string"),
DeliveryChannelDescription: pulumi.String("string"),
ResourceChangeDelivery: &resourcemanager.DeliveryChannelResourceChangeDeliveryArgs{
Enabled: pulumi.Bool(false),
SlsProperties: &resourcemanager.DeliveryChannelResourceChangeDeliverySlsPropertiesArgs{
OversizedDataOssTargetArn: pulumi.String("string"),
},
TargetArn: pulumi.String("string"),
TargetType: pulumi.String("string"),
},
ResourceSnapshotDelivery: &resourcemanager.DeliveryChannelResourceSnapshotDeliveryArgs{
CustomExpression: pulumi.String("string"),
DeliveryTime: pulumi.String("string"),
Enabled: pulumi.Bool(false),
SlsProperties: &resourcemanager.DeliveryChannelResourceSnapshotDeliverySlsPropertiesArgs{
OversizedDataOssTargetArn: pulumi.String("string"),
},
TargetArn: pulumi.String("string"),
TargetType: pulumi.String("string"),
},
})
var alicloudDeliveryChannelResource = new com.pulumi.alicloud.resourcemanager.DeliveryChannel("alicloudDeliveryChannelResource", com.pulumi.alicloud.resourcemanager.DeliveryChannelArgs.builder()
.deliveryChannelFilter(DeliveryChannelDeliveryChannelFilterArgs.builder()
.resourceTypes("string")
.build())
.deliveryChannelName("string")
.deliveryChannelDescription("string")
.resourceChangeDelivery(DeliveryChannelResourceChangeDeliveryArgs.builder()
.enabled(false)
.slsProperties(DeliveryChannelResourceChangeDeliverySlsPropertiesArgs.builder()
.oversizedDataOssTargetArn("string")
.build())
.targetArn("string")
.targetType("string")
.build())
.resourceSnapshotDelivery(DeliveryChannelResourceSnapshotDeliveryArgs.builder()
.customExpression("string")
.deliveryTime("string")
.enabled(false)
.slsProperties(DeliveryChannelResourceSnapshotDeliverySlsPropertiesArgs.builder()
.oversizedDataOssTargetArn("string")
.build())
.targetArn("string")
.targetType("string")
.build())
.build());
alicloud_delivery_channel_resource = alicloud.resourcemanager.DeliveryChannel("alicloudDeliveryChannelResource",
delivery_channel_filter={
"resource_types": ["string"],
},
delivery_channel_name="string",
delivery_channel_description="string",
resource_change_delivery={
"enabled": False,
"sls_properties": {
"oversized_data_oss_target_arn": "string",
},
"target_arn": "string",
"target_type": "string",
},
resource_snapshot_delivery={
"custom_expression": "string",
"delivery_time": "string",
"enabled": False,
"sls_properties": {
"oversized_data_oss_target_arn": "string",
},
"target_arn": "string",
"target_type": "string",
})
const alicloudDeliveryChannelResource = new alicloud.resourcemanager.DeliveryChannel("alicloudDeliveryChannelResource", {
deliveryChannelFilter: {
resourceTypes: ["string"],
},
deliveryChannelName: "string",
deliveryChannelDescription: "string",
resourceChangeDelivery: {
enabled: false,
slsProperties: {
oversizedDataOssTargetArn: "string",
},
targetArn: "string",
targetType: "string",
},
resourceSnapshotDelivery: {
customExpression: "string",
deliveryTime: "string",
enabled: false,
slsProperties: {
oversizedDataOssTargetArn: "string",
},
targetArn: "string",
targetType: "string",
},
});
type: alicloud:resourcemanager:DeliveryChannel
properties:
deliveryChannelDescription: string
deliveryChannelFilter:
resourceTypes:
- string
deliveryChannelName: string
resourceChangeDelivery:
enabled: false
slsProperties:
oversizedDataOssTargetArn: string
targetArn: string
targetType: string
resourceSnapshotDelivery:
customExpression: string
deliveryTime: string
enabled: false
slsProperties:
oversizedDataOssTargetArn: string
targetArn: string
targetType: string
DeliveryChannel Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DeliveryChannel resource accepts the following input properties:
- Delivery
Channel Pulumi.Filter Ali Cloud. Resource Manager. Inputs. Delivery Channel Delivery Channel Filter - The effective scope of the delivery channel. See
delivery_channel_filterbelow. - Delivery
Channel stringName - The name of the delivery channel.
- Delivery
Channel stringDescription - The description of the delivery channel.
- Resource
Change Pulumi.Delivery Ali Cloud. Resource Manager. Inputs. Delivery Channel Resource Change Delivery - The configurations for delivery of resource configuration change events. See
resource_change_deliverybelow. - Resource
Snapshot Pulumi.Delivery Ali Cloud. Resource Manager. Inputs. Delivery Channel Resource Snapshot Delivery - The configurations for delivery of scheduled resource snapshots. See
resource_snapshot_deliverybelow.
- Delivery
Channel DeliveryFilter Channel Delivery Channel Filter Args - The effective scope of the delivery channel. See
delivery_channel_filterbelow. - Delivery
Channel stringName - The name of the delivery channel.
- Delivery
Channel stringDescription - The description of the delivery channel.
- Resource
Change DeliveryDelivery Channel Resource Change Delivery Args - The configurations for delivery of resource configuration change events. See
resource_change_deliverybelow. - Resource
Snapshot DeliveryDelivery Channel Resource Snapshot Delivery Args - The configurations for delivery of scheduled resource snapshots. See
resource_snapshot_deliverybelow.
- delivery
Channel DeliveryFilter Channel Delivery Channel Filter - The effective scope of the delivery channel. See
delivery_channel_filterbelow. - delivery
Channel StringName - The name of the delivery channel.
- delivery
Channel StringDescription - The description of the delivery channel.
- resource
Change DeliveryDelivery Channel Resource Change Delivery - The configurations for delivery of resource configuration change events. See
resource_change_deliverybelow. - resource
Snapshot DeliveryDelivery Channel Resource Snapshot Delivery - The configurations for delivery of scheduled resource snapshots. See
resource_snapshot_deliverybelow.
- delivery
Channel DeliveryFilter Channel Delivery Channel Filter - The effective scope of the delivery channel. See
delivery_channel_filterbelow. - delivery
Channel stringName - The name of the delivery channel.
- delivery
Channel stringDescription - The description of the delivery channel.
- resource
Change DeliveryDelivery Channel Resource Change Delivery - The configurations for delivery of resource configuration change events. See
resource_change_deliverybelow. - resource
Snapshot DeliveryDelivery Channel Resource Snapshot Delivery - The configurations for delivery of scheduled resource snapshots. See
resource_snapshot_deliverybelow.
- delivery_
channel_ Deliveryfilter Channel Delivery Channel Filter Args - The effective scope of the delivery channel. See
delivery_channel_filterbelow. - delivery_
channel_ strname - The name of the delivery channel.
- delivery_
channel_ strdescription - The description of the delivery channel.
- resource_
change_ Deliverydelivery Channel Resource Change Delivery Args - The configurations for delivery of resource configuration change events. See
resource_change_deliverybelow. - resource_
snapshot_ Deliverydelivery Channel Resource Snapshot Delivery Args - The configurations for delivery of scheduled resource snapshots. See
resource_snapshot_deliverybelow.
- delivery
Channel Property MapFilter - The effective scope of the delivery channel. See
delivery_channel_filterbelow. - delivery
Channel StringName - The name of the delivery channel.
- delivery
Channel StringDescription - The description of the delivery channel.
- resource
Change Property MapDelivery - The configurations for delivery of resource configuration change events. See
resource_change_deliverybelow. - resource
Snapshot Property MapDelivery - The configurations for delivery of scheduled resource snapshots. See
resource_snapshot_deliverybelow.
Outputs
All input properties are implicitly available as output properties. Additionally, the DeliveryChannel resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing DeliveryChannel Resource
Get an existing DeliveryChannel 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?: DeliveryChannelState, opts?: CustomResourceOptions): DeliveryChannel@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
delivery_channel_description: Optional[str] = None,
delivery_channel_filter: Optional[DeliveryChannelDeliveryChannelFilterArgs] = None,
delivery_channel_name: Optional[str] = None,
resource_change_delivery: Optional[DeliveryChannelResourceChangeDeliveryArgs] = None,
resource_snapshot_delivery: Optional[DeliveryChannelResourceSnapshotDeliveryArgs] = None) -> DeliveryChannelfunc GetDeliveryChannel(ctx *Context, name string, id IDInput, state *DeliveryChannelState, opts ...ResourceOption) (*DeliveryChannel, error)public static DeliveryChannel Get(string name, Input<string> id, DeliveryChannelState? state, CustomResourceOptions? opts = null)public static DeliveryChannel get(String name, Output<String> id, DeliveryChannelState state, CustomResourceOptions options)resources: _: type: alicloud:resourcemanager:DeliveryChannel get: id: ${id}- 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.
- Delivery
Channel stringDescription - The description of the delivery channel.
- Delivery
Channel Pulumi.Filter Ali Cloud. Resource Manager. Inputs. Delivery Channel Delivery Channel Filter - The effective scope of the delivery channel. See
delivery_channel_filterbelow. - Delivery
Channel stringName - The name of the delivery channel.
- Resource
Change Pulumi.Delivery Ali Cloud. Resource Manager. Inputs. Delivery Channel Resource Change Delivery - The configurations for delivery of resource configuration change events. See
resource_change_deliverybelow. - Resource
Snapshot Pulumi.Delivery Ali Cloud. Resource Manager. Inputs. Delivery Channel Resource Snapshot Delivery - The configurations for delivery of scheduled resource snapshots. See
resource_snapshot_deliverybelow.
- Delivery
Channel stringDescription - The description of the delivery channel.
- Delivery
Channel DeliveryFilter Channel Delivery Channel Filter Args - The effective scope of the delivery channel. See
delivery_channel_filterbelow. - Delivery
Channel stringName - The name of the delivery channel.
- Resource
Change DeliveryDelivery Channel Resource Change Delivery Args - The configurations for delivery of resource configuration change events. See
resource_change_deliverybelow. - Resource
Snapshot DeliveryDelivery Channel Resource Snapshot Delivery Args - The configurations for delivery of scheduled resource snapshots. See
resource_snapshot_deliverybelow.
- delivery
Channel StringDescription - The description of the delivery channel.
- delivery
Channel DeliveryFilter Channel Delivery Channel Filter - The effective scope of the delivery channel. See
delivery_channel_filterbelow. - delivery
Channel StringName - The name of the delivery channel.
- resource
Change DeliveryDelivery Channel Resource Change Delivery - The configurations for delivery of resource configuration change events. See
resource_change_deliverybelow. - resource
Snapshot DeliveryDelivery Channel Resource Snapshot Delivery - The configurations for delivery of scheduled resource snapshots. See
resource_snapshot_deliverybelow.
- delivery
Channel stringDescription - The description of the delivery channel.
- delivery
Channel DeliveryFilter Channel Delivery Channel Filter - The effective scope of the delivery channel. See
delivery_channel_filterbelow. - delivery
Channel stringName - The name of the delivery channel.
- resource
Change DeliveryDelivery Channel Resource Change Delivery - The configurations for delivery of resource configuration change events. See
resource_change_deliverybelow. - resource
Snapshot DeliveryDelivery Channel Resource Snapshot Delivery - The configurations for delivery of scheduled resource snapshots. See
resource_snapshot_deliverybelow.
- delivery_
channel_ strdescription - The description of the delivery channel.
- delivery_
channel_ Deliveryfilter Channel Delivery Channel Filter Args - The effective scope of the delivery channel. See
delivery_channel_filterbelow. - delivery_
channel_ strname - The name of the delivery channel.
- resource_
change_ Deliverydelivery Channel Resource Change Delivery Args - The configurations for delivery of resource configuration change events. See
resource_change_deliverybelow. - resource_
snapshot_ Deliverydelivery Channel Resource Snapshot Delivery Args - The configurations for delivery of scheduled resource snapshots. See
resource_snapshot_deliverybelow.
- delivery
Channel StringDescription - The description of the delivery channel.
- delivery
Channel Property MapFilter - The effective scope of the delivery channel. See
delivery_channel_filterbelow. - delivery
Channel StringName - The name of the delivery channel.
- resource
Change Property MapDelivery - The configurations for delivery of resource configuration change events. See
resource_change_deliverybelow. - resource
Snapshot Property MapDelivery - The configurations for delivery of scheduled resource snapshots. See
resource_snapshot_deliverybelow.
Supporting Types
DeliveryChannelDeliveryChannelFilter, DeliveryChannelDeliveryChannelFilterArgs
- Resource
Types List<string> - An array of effective resource types for the delivery channel.
- Example: ["ACS::VPC::VPC", "ACS::ECS::Instance"].
- If you want to deliver items of all resource types supported by Resource Center, set this parameter to ["ALL"].
- Resource
Types []string - An array of effective resource types for the delivery channel.
- Example: ["ACS::VPC::VPC", "ACS::ECS::Instance"].
- If you want to deliver items of all resource types supported by Resource Center, set this parameter to ["ALL"].
- resource
Types List<String> - An array of effective resource types for the delivery channel.
- Example: ["ACS::VPC::VPC", "ACS::ECS::Instance"].
- If you want to deliver items of all resource types supported by Resource Center, set this parameter to ["ALL"].
- resource
Types string[] - An array of effective resource types for the delivery channel.
- Example: ["ACS::VPC::VPC", "ACS::ECS::Instance"].
- If you want to deliver items of all resource types supported by Resource Center, set this parameter to ["ALL"].
- resource_
types Sequence[str] - An array of effective resource types for the delivery channel.
- Example: ["ACS::VPC::VPC", "ACS::ECS::Instance"].
- If you want to deliver items of all resource types supported by Resource Center, set this parameter to ["ALL"].
- resource
Types List<String> - An array of effective resource types for the delivery channel.
- Example: ["ACS::VPC::VPC", "ACS::ECS::Instance"].
- If you want to deliver items of all resource types supported by Resource Center, set this parameter to ["ALL"].
DeliveryChannelResourceChangeDelivery, DeliveryChannelResourceChangeDeliveryArgs
- Enabled bool
- Specifies whether to enable delivery of resource configuration change events. Valid values:
- true
- false
- Sls
Properties Pulumi.Ali Cloud. Resource Manager. Inputs. Delivery Channel Resource Change Delivery Sls Properties - The Simple Log Service configurations. See
sls_propertiesbelow. - Target
Arn string - The ARN of the delivery destination.
- If you set TargetType to
OSS, you must set TargetArn to the ARN of a bucket whose name is prefixed withresourcecenter-. - If you set TargetType to
SLS, you must set TargetArn to the ARN of a Logstore whose name is prefixed withresourcecenter-.
- If you set TargetType to
- Target
Type string The type of the delivery destination.
Valid values:
- SLS
- Enabled bool
- Specifies whether to enable delivery of resource configuration change events. Valid values:
- true
- false
- Sls
Properties DeliveryChannel Resource Change Delivery Sls Properties - The Simple Log Service configurations. See
sls_propertiesbelow. - Target
Arn string - The ARN of the delivery destination.
- If you set TargetType to
OSS, you must set TargetArn to the ARN of a bucket whose name is prefixed withresourcecenter-. - If you set TargetType to
SLS, you must set TargetArn to the ARN of a Logstore whose name is prefixed withresourcecenter-.
- If you set TargetType to
- Target
Type string The type of the delivery destination.
Valid values:
- SLS
- enabled Boolean
- Specifies whether to enable delivery of resource configuration change events. Valid values:
- true
- false
- sls
Properties DeliveryChannel Resource Change Delivery Sls Properties - The Simple Log Service configurations. See
sls_propertiesbelow. - target
Arn String - The ARN of the delivery destination.
- If you set TargetType to
OSS, you must set TargetArn to the ARN of a bucket whose name is prefixed withresourcecenter-. - If you set TargetType to
SLS, you must set TargetArn to the ARN of a Logstore whose name is prefixed withresourcecenter-.
- If you set TargetType to
- target
Type String The type of the delivery destination.
Valid values:
- SLS
- enabled boolean
- Specifies whether to enable delivery of resource configuration change events. Valid values:
- true
- false
- sls
Properties DeliveryChannel Resource Change Delivery Sls Properties - The Simple Log Service configurations. See
sls_propertiesbelow. - target
Arn string - The ARN of the delivery destination.
- If you set TargetType to
OSS, you must set TargetArn to the ARN of a bucket whose name is prefixed withresourcecenter-. - If you set TargetType to
SLS, you must set TargetArn to the ARN of a Logstore whose name is prefixed withresourcecenter-.
- If you set TargetType to
- target
Type string The type of the delivery destination.
Valid values:
- SLS
- enabled bool
- Specifies whether to enable delivery of resource configuration change events. Valid values:
- true
- false
- sls_
properties DeliveryChannel Resource Change Delivery Sls Properties - The Simple Log Service configurations. See
sls_propertiesbelow. - target_
arn str - The ARN of the delivery destination.
- If you set TargetType to
OSS, you must set TargetArn to the ARN of a bucket whose name is prefixed withresourcecenter-. - If you set TargetType to
SLS, you must set TargetArn to the ARN of a Logstore whose name is prefixed withresourcecenter-.
- If you set TargetType to
- target_
type str The type of the delivery destination.
Valid values:
- SLS
- enabled Boolean
- Specifies whether to enable delivery of resource configuration change events. Valid values:
- true
- false
- sls
Properties Property Map - The Simple Log Service configurations. See
sls_propertiesbelow. - target
Arn String - The ARN of the delivery destination.
- If you set TargetType to
OSS, you must set TargetArn to the ARN of a bucket whose name is prefixed withresourcecenter-. - If you set TargetType to
SLS, you must set TargetArn to the ARN of a Logstore whose name is prefixed withresourcecenter-.
- If you set TargetType to
- target
Type String The type of the delivery destination.
Valid values:
- SLS
DeliveryChannelResourceChangeDeliverySlsProperties, DeliveryChannelResourceChangeDeliverySlsPropertiesArgs
- Oversized
Data stringOss Target Arn
- Oversized
Data stringOss Target Arn
- oversized
Data StringOss Target Arn
- oversized
Data stringOss Target Arn
- oversized
Data StringOss Target Arn
DeliveryChannelResourceSnapshotDelivery, DeliveryChannelResourceSnapshotDeliveryArgs
- Custom
Expression string - The custom expression.
- Delivery
Time string - The delivery time.
- Enabled bool
- Specifies whether to enable delivery of scheduled resource snapshots. Valid values:
- true
- false
- Sls
Properties Pulumi.Ali Cloud. Resource Manager. Inputs. Delivery Channel Resource Snapshot Delivery Sls Properties - The Simple Log Service configurations. See
sls_propertiesbelow. - Target
Arn string - The Alibaba Cloud Resource Name (ARN) of the delivery destination.
- If you set TargetType to
OSS, you must set TargetArn to the ARN of a bucket whose name is prefixed withresourcecenter-. - If you set TargetType to
SLS, you must set TargetArn to the ARN of a Logstore whose name is prefixed withresourcecenter-.
- If you set TargetType to
- Target
Type string The type of the delivery destination.
Valid values:
OSSfor standard deliveryOSSorSLSfor custom delivery
- Custom
Expression string - The custom expression.
- Delivery
Time string - The delivery time.
- Enabled bool
- Specifies whether to enable delivery of scheduled resource snapshots. Valid values:
- true
- false
- Sls
Properties DeliveryChannel Resource Snapshot Delivery Sls Properties - The Simple Log Service configurations. See
sls_propertiesbelow. - Target
Arn string - The Alibaba Cloud Resource Name (ARN) of the delivery destination.
- If you set TargetType to
OSS, you must set TargetArn to the ARN of a bucket whose name is prefixed withresourcecenter-. - If you set TargetType to
SLS, you must set TargetArn to the ARN of a Logstore whose name is prefixed withresourcecenter-.
- If you set TargetType to
- Target
Type string The type of the delivery destination.
Valid values:
OSSfor standard deliveryOSSorSLSfor custom delivery
- custom
Expression String - The custom expression.
- delivery
Time String - The delivery time.
- enabled Boolean
- Specifies whether to enable delivery of scheduled resource snapshots. Valid values:
- true
- false
- sls
Properties DeliveryChannel Resource Snapshot Delivery Sls Properties - The Simple Log Service configurations. See
sls_propertiesbelow. - target
Arn String - The Alibaba Cloud Resource Name (ARN) of the delivery destination.
- If you set TargetType to
OSS, you must set TargetArn to the ARN of a bucket whose name is prefixed withresourcecenter-. - If you set TargetType to
SLS, you must set TargetArn to the ARN of a Logstore whose name is prefixed withresourcecenter-.
- If you set TargetType to
- target
Type String The type of the delivery destination.
Valid values:
OSSfor standard deliveryOSSorSLSfor custom delivery
- custom
Expression string - The custom expression.
- delivery
Time string - The delivery time.
- enabled boolean
- Specifies whether to enable delivery of scheduled resource snapshots. Valid values:
- true
- false
- sls
Properties DeliveryChannel Resource Snapshot Delivery Sls Properties - The Simple Log Service configurations. See
sls_propertiesbelow. - target
Arn string - The Alibaba Cloud Resource Name (ARN) of the delivery destination.
- If you set TargetType to
OSS, you must set TargetArn to the ARN of a bucket whose name is prefixed withresourcecenter-. - If you set TargetType to
SLS, you must set TargetArn to the ARN of a Logstore whose name is prefixed withresourcecenter-.
- If you set TargetType to
- target
Type string The type of the delivery destination.
Valid values:
OSSfor standard deliveryOSSorSLSfor custom delivery
- custom_
expression str - The custom expression.
- delivery_
time str - The delivery time.
- enabled bool
- Specifies whether to enable delivery of scheduled resource snapshots. Valid values:
- true
- false
- sls_
properties DeliveryChannel Resource Snapshot Delivery Sls Properties - The Simple Log Service configurations. See
sls_propertiesbelow. - target_
arn str - The Alibaba Cloud Resource Name (ARN) of the delivery destination.
- If you set TargetType to
OSS, you must set TargetArn to the ARN of a bucket whose name is prefixed withresourcecenter-. - If you set TargetType to
SLS, you must set TargetArn to the ARN of a Logstore whose name is prefixed withresourcecenter-.
- If you set TargetType to
- target_
type str The type of the delivery destination.
Valid values:
OSSfor standard deliveryOSSorSLSfor custom delivery
- custom
Expression String - The custom expression.
- delivery
Time String - The delivery time.
- enabled Boolean
- Specifies whether to enable delivery of scheduled resource snapshots. Valid values:
- true
- false
- sls
Properties Property Map - The Simple Log Service configurations. See
sls_propertiesbelow. - target
Arn String - The Alibaba Cloud Resource Name (ARN) of the delivery destination.
- If you set TargetType to
OSS, you must set TargetArn to the ARN of a bucket whose name is prefixed withresourcecenter-. - If you set TargetType to
SLS, you must set TargetArn to the ARN of a Logstore whose name is prefixed withresourcecenter-.
- If you set TargetType to
- target
Type String The type of the delivery destination.
Valid values:
OSSfor standard deliveryOSSorSLSfor custom delivery
DeliveryChannelResourceSnapshotDeliverySlsProperties, DeliveryChannelResourceSnapshotDeliverySlsPropertiesArgs
- Oversized
Data stringOss Target Arn
- Oversized
Data stringOss Target Arn
- oversized
Data StringOss Target Arn
- oversized
Data stringOss Target Arn
- oversized
Data StringOss Target Arn
Import
Resource Manager Delivery Channel can be imported using the id, e.g.
$ pulumi import alicloud:resourcemanager/deliveryChannel:DeliveryChannel example <id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
