get Tls Cipher Policies
This data source provides the Slb Tls Cipher Policies of the current Alibaba Cloud user.
NOTE: Available in v1.135.0+.
Example Usage
Basic Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.slb.SlbFunctions;
import com.pulumi.alicloud.slb.inputs.GetTlsCipherPoliciesArgs;
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 ids = SlbFunctions.getTlsCipherPolicies(GetTlsCipherPoliciesArgs.builder()
.ids(
"example_value-1",
"example_value-2")
.build());
ctx.export("slbTlsCipherPolicyId1", ids.applyValue(getTlsCipherPoliciesResult -> getTlsCipherPoliciesResult.policies()[0].id()));
final var nameRegex = SlbFunctions.getTlsCipherPolicies(GetTlsCipherPoliciesArgs.builder()
.nameRegex("^My-TlsCipherPolicy")
.build());
ctx.export("slbTlsCipherPolicyId2", nameRegex.applyValue(getTlsCipherPoliciesResult -> getTlsCipherPoliciesResult.policies()[0].id()));
}
}
Return
A collection of values returned by getTlsCipherPolicies.
Parameters
A collection of arguments for invoking getTlsCipherPolicies.
Return
A collection of values returned by getTlsCipherPolicies.
See also
Parameters
A list of Tls Cipher Policy IDs.
The include listener.
A regex string to filter results by Tls Cipher Policy name.
TLS policy instance state.
TLS policy name. Length is from 2 to 128, or in both the English and Chinese characters must be with an uppercase/lowercase letter or a Chinese character and the beginning, may contain numbers, in dot .
, underscore _
or dash -
.
Return
A collection of values returned by getTlsCipherPolicies.
See also
Parameters
Builder for com.pulumi.alicloud.slb.kotlin.inputs.GetTlsCipherPoliciesPlainArgs.