get Delivery Channels
DEPRECATED: This resource is based on Config's old version OpenAPI, and it has been deprecated from version
1.173.0
. Please use new datasource alicloud.cfg.getDeliveries instead. This data source provides the Config Delivery Channels of the current Alibaba Cloud user. NOTE: Available in 1.99.0+. NOTE: The Cloud Config region only supportcn-shanghai
andap-southeast-1
.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.cfg.CfgFunctions;
import com.pulumi.alicloud.cfg.inputs.GetDeliveryChannelsArgs;
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 = CfgFunctions.getDeliveryChannels(GetDeliveryChannelsArgs.builder()
.ids("cdc-49a2ad756057********")
.nameRegex("tftest")
.build());
ctx.export("firstConfigDeliveryChannelId", example.applyValue(getDeliveryChannelsResult -> getDeliveryChannelsResult.channels()[0].id()));
}
}
Return
A collection of values returned by getDeliveryChannels.
Parameters
A collection of arguments for invoking getDeliveryChannels.
Return
A collection of values returned by getDeliveryChannels.
See also
Parameters
A list of Config Delivery Channel IDs.
A regex string to filter results by delivery channel name.
File name where to save data source results (after running pulumi preview
).
The status of the config delivery channel. Valid values 0
: Disable delivery channel, 1
: Enable delivery channel.
Return
A collection of values returned by getDeliveryChannels.
See also
Parameters
Builder for com.pulumi.alicloud.cfg.kotlin.inputs.GetDeliveryChannelsPlainArgs.