get Vpc Firewall Cens
This data source provides Cloud Firewall Vpc Firewall Cen available to the user.What is Vpc Firewall Cen
NOTE: Available in 1.194.0+
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.cloudfirewall.CloudfirewallFunctions;
import com.pulumi.alicloud.cloudfirewall.inputs.GetVpcFirewallCensArgs;
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 default = CloudfirewallFunctions.getVpcFirewallCens(GetVpcFirewallCensArgs.builder()
.ids(alicloud_cloud_firewall_vpc_firewall_cen.default().id())
.cenId("cen-cjok7uyb5w2b27573v")
.memberUid("1415189284827022")
.status("closed")
.vpcFirewallName("tf-test")
.build());
ctx.export("alicloudCloudFirewallVpcFirewallCenExampleId", default_.cens()[0].id());
}
}
Return
A collection of values returned by getVpcFirewallCens.
Parameters
A collection of arguments for invoking getVpcFirewallCens.
Return
A collection of values returned by getVpcFirewallCens.
See also
Parameters
The ID of the CEN instance.
A list of Vpc Firewall Cen IDs.
The language type of the requested and received messages. Value:-zh (default): Chinese.-en: English.
The UID of the member account (other Alibaba Cloud account) of the current Alibaba cloud account.
The ID of the VPC instance that created the VPC firewall.
File name where to save data source results (after running pulumi preview
).
Firewall switch status
VPC firewall ID
The name of the VPC firewall instance.
Return
A collection of values returned by getVpcFirewallCens.
See also
Parameters
Builder for com.pulumi.alicloud.cloudfirewall.kotlin.inputs.GetVpcFirewallCensPlainArgs.