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