# NOT RUN {
# This example replaces the policies that are currently associated with
# the specified port.
# }
# NOT RUN {
svc$set_load_balancer_policies_for_backend_server(
InstancePort = 80L,
LoadBalancerName = "my-load-balancer",
PolicyNames = list(
"my-ProxyProtocol-policy"
)
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataCamp Workspace