get static method
SecurityPolicy
get(
- String name,
- Input<
String> id, { - SecurityPolicyState? state,
- CustomResourceOptions? options,
Gets an existing SecurityPolicy resource's state with the given name and id.
Implementation
static SecurityPolicy get(
String name,
pulumi.Input<String> id, {
SecurityPolicyState? state,
pulumi.CustomResourceOptions? options,
}) {
return SecurityPolicy._get(
name,
state: state?.toMap(),
options: pulumi.CustomResourceOptions(id: id).merge(options),
);
}