Alibaba Cloud

Pulumi Official
Package maintained by Pulumi
v3.26.0 published on Friday, Jul 29, 2022 by Pulumi

getAggregateDeliveries

This data source provides the Config Aggregate Deliveries of the current Alibaba Cloud user.

NOTE: Available in v1.172.0+.

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var ids = Output.Create(AliCloud.Cfg.GetAggregateDeliveries.InvokeAsync(new AliCloud.Cfg.GetAggregateDeliveriesArgs
        {
            AggregatorId = "example_value",
            Ids = 
            {
                "example_value-1",
                "example_value-2",
            },
        }));
        this.ConfigAggregateDeliveryId1 = ids.Apply(ids => ids.Deliveries?[0]?.Id);
    }

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

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := cfg.GetAggregateDeliveries(ctx, &cfg.GetAggregateDeliveriesArgs{
			AggregatorId: "example_value",
			Ids: []string{
				"example_value-1",
				"example_value-2",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("configAggregateDeliveryId1", ids.Deliveries[0].Id)
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_alicloud as alicloud

ids = alicloud.cfg.get_aggregate_deliveries(aggregator_id="example_value",
    ids=[
        "example_value-1",
        "example_value-2",
    ])
pulumi.export("configAggregateDeliveryId1", ids.deliveries[0].id)
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const ids = alicloud.cfg.getAggregateDeliveries({
    aggregatorId: "example_value",
    ids: [
        "example_value-1",
        "example_value-2",
    ],
});
export const configAggregateDeliveryId1 = ids.then(ids => ids.deliveries?[0]?.id);

Coming soon!

Using getAggregateDeliveries

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 getAggregateDeliveries(args: GetAggregateDeliveriesArgs, opts?: InvokeOptions): Promise<GetAggregateDeliveriesResult>
function getAggregateDeliveriesOutput(args: GetAggregateDeliveriesOutputArgs, opts?: InvokeOptions): Output<GetAggregateDeliveriesResult>
def get_aggregate_deliveries(aggregator_id: Optional[str] = None,
                             ids: Optional[Sequence[str]] = None,
                             name_regex: Optional[str] = None,
                             output_file: Optional[str] = None,
                             status: Optional[int] = None,
                             opts: Optional[InvokeOptions] = None) -> GetAggregateDeliveriesResult
def get_aggregate_deliveries_output(aggregator_id: Optional[pulumi.Input[str]] = None,
                             ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                             name_regex: Optional[pulumi.Input[str]] = None,
                             output_file: Optional[pulumi.Input[str]] = None,
                             status: Optional[pulumi.Input[int]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetAggregateDeliveriesResult]
func GetAggregateDeliveries(ctx *Context, args *GetAggregateDeliveriesArgs, opts ...InvokeOption) (*GetAggregateDeliveriesResult, error)
func GetAggregateDeliveriesOutput(ctx *Context, args *GetAggregateDeliveriesOutputArgs, opts ...InvokeOption) GetAggregateDeliveriesResultOutput

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

public static class GetAggregateDeliveries 
{
    public static Task<GetAggregateDeliveriesResult> InvokeAsync(GetAggregateDeliveriesArgs args, InvokeOptions? opts = null)
    public static Output<GetAggregateDeliveriesResult> Invoke(GetAggregateDeliveriesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAggregateDeliveriesResult> getAggregateDeliveries(GetAggregateDeliveriesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: alicloud:cfg/getAggregateDeliveries:getAggregateDeliveries
  Arguments:
    # Arguments dictionary

The following arguments are supported:

AggregatorId string

The ID of the Aggregator.

Ids List<string>

A list of Aggregate Delivery IDs.

NameRegex string
OutputFile string
Status int

The status of the delivery method. Valid values: 0: The delivery method is disabled. 1: The delivery destination is enabled.

AggregatorId string

The ID of the Aggregator.

Ids []string

A list of Aggregate Delivery IDs.

NameRegex string
OutputFile string
Status int

The status of the delivery method. Valid values: 0: The delivery method is disabled. 1: The delivery destination is enabled.

aggregatorId String

The ID of the Aggregator.

ids List<String>

A list of Aggregate Delivery IDs.

nameRegex String
outputFile String
status Integer

The status of the delivery method. Valid values: 0: The delivery method is disabled. 1: The delivery destination is enabled.

aggregatorId string

The ID of the Aggregator.

ids string[]

A list of Aggregate Delivery IDs.

nameRegex string
outputFile string
status number

The status of the delivery method. Valid values: 0: The delivery method is disabled. 1: The delivery destination is enabled.

aggregator_id str

The ID of the Aggregator.

ids Sequence[str]

A list of Aggregate Delivery IDs.

name_regex str
output_file str
status int

The status of the delivery method. Valid values: 0: The delivery method is disabled. 1: The delivery destination is enabled.

aggregatorId String

The ID of the Aggregator.

ids List<String>

A list of Aggregate Delivery IDs.

nameRegex String
outputFile String
status Number

The status of the delivery method. Valid values: 0: The delivery method is disabled. 1: The delivery destination is enabled.

getAggregateDeliveries Result

The following output properties are available:

AggregatorId string
Deliveries List<Pulumi.AliCloud.Cfg.Outputs.GetAggregateDeliveriesDelivery>
Id string

The provider-assigned unique ID for this managed resource.

Ids List<string>
Names List<string>
NameRegex string
OutputFile string
Status int
AggregatorId string
Deliveries []GetAggregateDeliveriesDelivery
Id string

The provider-assigned unique ID for this managed resource.

Ids []string
Names []string
NameRegex string
OutputFile string
Status int
aggregatorId String
deliveries List<GetAggregateDeliveriesDelivery>
id String

The provider-assigned unique ID for this managed resource.

ids List<String>
names List<String>
nameRegex String
outputFile String
status Integer
aggregatorId string
deliveries GetAggregateDeliveriesDelivery[]
id string

The provider-assigned unique ID for this managed resource.

ids string[]
names string[]
nameRegex string
outputFile string
status number
aggregator_id str
deliveries Sequence[GetAggregateDeliveriesDelivery]
id str

The provider-assigned unique ID for this managed resource.

ids Sequence[str]
names Sequence[str]
name_regex str
output_file str
status int
aggregatorId String
deliveries List<Property Map>
id String

The provider-assigned unique ID for this managed resource.

ids List<String>
names List<String>
nameRegex String
outputFile String
status Number

Supporting Types

GetAggregateDeliveriesDelivery

AccountId string

The Aliyun User Id.

AggregatorId string

The ID of the Aggregator.

ConfigurationItemChangeNotification bool

Open or close delivery configuration change history.

ConfigurationSnapshot bool

Open or close timed snapshot of shipping resources.

DeliveryChannelAssumeRoleArn string

The Alibaba Cloud Resource Name (ARN) of the role to be assumed by the delivery method.

DeliveryChannelCondition string

The rule attached to the delivery method.

DeliveryChannelId string

The ID of the delivery method.

DeliveryChannelName string

The name of the delivery method.

DeliveryChannelTargetArn string

The ARN of the delivery destination.

DeliveryChannelType string

The type of the delivery method.

Description string

The description of the delivery method.

Id string

The ID of the Aggregate Delivery.

NonCompliantNotification bool

Open or close non-compliance events of delivery resources.

OversizedDataOssTargetArn string

The oss ARN of the delivery channel when the value data oversized limit.

Status int

The status of the delivery method. Valid values: 0: The delivery method is disabled. 1: The delivery destination is enabled.

AccountId string

The Aliyun User Id.

AggregatorId string

The ID of the Aggregator.

ConfigurationItemChangeNotification bool

Open or close delivery configuration change history.

ConfigurationSnapshot bool

Open or close timed snapshot of shipping resources.

DeliveryChannelAssumeRoleArn string

The Alibaba Cloud Resource Name (ARN) of the role to be assumed by the delivery method.

DeliveryChannelCondition string

The rule attached to the delivery method.

DeliveryChannelId string

The ID of the delivery method.

DeliveryChannelName string

The name of the delivery method.

DeliveryChannelTargetArn string

The ARN of the delivery destination.

DeliveryChannelType string

The type of the delivery method.

Description string

The description of the delivery method.

Id string

The ID of the Aggregate Delivery.

NonCompliantNotification bool

Open or close non-compliance events of delivery resources.

OversizedDataOssTargetArn string

The oss ARN of the delivery channel when the value data oversized limit.

Status int

The status of the delivery method. Valid values: 0: The delivery method is disabled. 1: The delivery destination is enabled.

accountId String

The Aliyun User Id.

aggregatorId String

The ID of the Aggregator.

configurationItemChangeNotification Boolean

Open or close delivery configuration change history.

configurationSnapshot Boolean

Open or close timed snapshot of shipping resources.

deliveryChannelAssumeRoleArn String

The Alibaba Cloud Resource Name (ARN) of the role to be assumed by the delivery method.

deliveryChannelCondition String

The rule attached to the delivery method.

deliveryChannelId String

The ID of the delivery method.

deliveryChannelName String

The name of the delivery method.

deliveryChannelTargetArn String

The ARN of the delivery destination.

deliveryChannelType String

The type of the delivery method.

description String

The description of the delivery method.

id String

The ID of the Aggregate Delivery.

nonCompliantNotification Boolean

Open or close non-compliance events of delivery resources.

oversizedDataOssTargetArn String

The oss ARN of the delivery channel when the value data oversized limit.

status Integer

The status of the delivery method. Valid values: 0: The delivery method is disabled. 1: The delivery destination is enabled.

accountId string

The Aliyun User Id.

aggregatorId string

The ID of the Aggregator.

configurationItemChangeNotification boolean

Open or close delivery configuration change history.

configurationSnapshot boolean

Open or close timed snapshot of shipping resources.

deliveryChannelAssumeRoleArn string

The Alibaba Cloud Resource Name (ARN) of the role to be assumed by the delivery method.

deliveryChannelCondition string

The rule attached to the delivery method.

deliveryChannelId string

The ID of the delivery method.

deliveryChannelName string

The name of the delivery method.

deliveryChannelTargetArn string

The ARN of the delivery destination.

deliveryChannelType string

The type of the delivery method.

description string

The description of the delivery method.

id string

The ID of the Aggregate Delivery.

nonCompliantNotification boolean

Open or close non-compliance events of delivery resources.

oversizedDataOssTargetArn string

The oss ARN of the delivery channel when the value data oversized limit.

status number

The status of the delivery method. Valid values: 0: The delivery method is disabled. 1: The delivery destination is enabled.

account_id str

The Aliyun User Id.

aggregator_id str

The ID of the Aggregator.

configuration_item_change_notification bool

Open or close delivery configuration change history.

configuration_snapshot bool

Open or close timed snapshot of shipping resources.

delivery_channel_assume_role_arn str

The Alibaba Cloud Resource Name (ARN) of the role to be assumed by the delivery method.

delivery_channel_condition str

The rule attached to the delivery method.

delivery_channel_id str

The ID of the delivery method.

delivery_channel_name str

The name of the delivery method.

delivery_channel_target_arn str

The ARN of the delivery destination.

delivery_channel_type str

The type of the delivery method.

description str

The description of the delivery method.

id str

The ID of the Aggregate Delivery.

non_compliant_notification bool

Open or close non-compliance events of delivery resources.

oversized_data_oss_target_arn str

The oss ARN of the delivery channel when the value data oversized limit.

status int

The status of the delivery method. Valid values: 0: The delivery method is disabled. 1: The delivery destination is enabled.

accountId String

The Aliyun User Id.

aggregatorId String

The ID of the Aggregator.

configurationItemChangeNotification Boolean

Open or close delivery configuration change history.

configurationSnapshot Boolean

Open or close timed snapshot of shipping resources.

deliveryChannelAssumeRoleArn String

The Alibaba Cloud Resource Name (ARN) of the role to be assumed by the delivery method.

deliveryChannelCondition String

The rule attached to the delivery method.

deliveryChannelId String

The ID of the delivery method.

deliveryChannelName String

The name of the delivery method.

deliveryChannelTargetArn String

The ARN of the delivery destination.

deliveryChannelType String

The type of the delivery method.

description String

The description of the delivery method.

id String

The ID of the Aggregate Delivery.

nonCompliantNotification Boolean

Open or close non-compliance events of delivery resources.

oversizedDataOssTargetArn String

The oss ARN of the delivery channel when the value data oversized limit.

status Number

The status of the delivery method. Valid values: 0: The delivery method is disabled. 1: The delivery destination is enabled.

Package Details

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

This Pulumi package is based on the alicloud Terraform Provider.