Hi there! I was looking through Pulumi APIs (java,...
# getting-started
d
Hi there! I was looking through Pulumi APIs (java, mostly) and I’m struggling to find an alternative to TFs datasource techniques, can someone point me to a doc that I might be missing? We have a use case when apps running in a particular cloud region must have an access to cloud services through internal network (call it “Service Gateway”. In TF, we use special datasource that can give an IP address (for all regional services, or to a particular one).
here’s exactly what i need:
Copy code
data "oci_core_services" "all_oci_services" {
  filter {
    name   = "name"
    values = ["All .* Services In Oracle Services Network"]
    regex  = true
  }
}
b
@damp-truck-25843 all data sources are in the format `get<Something`: https://www.pulumi.com/registry/packages/oci/api-docs/core/getservices/ There's also
getSomethingOutput
which returns an output
looks like the java SDK doesn't have the output form of those functions yet, so it'll be
getServices
d
thanks!