get static method

Gets an existing LogDeliveryDestinationPolicy resource's state with the given name and id.

Implementation

static LogDeliveryDestinationPolicy get(
  String name,
  pulumi.Input<String> id, {
  LogDeliveryDestinationPolicyState? state,
}) {
  return LogDeliveryDestinationPolicy._get(
    name,
    state: state?.toMap(),
    options: pulumi.CustomResourceOptions(id: id),
  );
}