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