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