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