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