1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. ServiceMesh
  5. getProxyDetail
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

oci.ServiceMesh.getProxyDetail

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

This data source provides details about a specific Proxy Detail resource in Oracle Cloud Infrastructure Service Mesh service.

Returns the attributes of the Proxy such as proxy image version.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testProxyDetail = oci.ServiceMesh.getProxyDetail({});
Copy
import pulumi
import pulumi_oci as oci

test_proxy_detail = oci.ServiceMesh.get_proxy_detail()
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/servicemesh"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := servicemesh.GetProxyDetail(ctx, map[string]interface{}{}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testProxyDetail = Oci.ServiceMesh.GetProxyDetail.Invoke();

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.ServiceMesh.ServiceMeshFunctions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var testProxyDetail = ServiceMeshFunctions.getProxyDetail(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);

    }
}
Copy
variables:
  testProxyDetail:
    fn::invoke:
      function: oci:ServiceMesh:getProxyDetail
      arguments: {}
Copy

Using getProxyDetail

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getProxyDetail(opts?: InvokeOptions): Promise<GetProxyDetailResult>
function getProxyDetailOutput(opts?: InvokeOptions): Output<GetProxyDetailResult>
Copy
def get_proxy_detail(opts: Optional[InvokeOptions] = None) -> GetProxyDetailResult
def get_proxy_detail_output(opts: Optional[InvokeOptions] = None) -> Output[GetProxyDetailResult]
Copy
func GetProxyDetail(ctx *Context, opts ...InvokeOption) (*GetProxyDetailResult, error)
func GetProxyDetailOutput(ctx *Context, opts ...InvokeOption) GetProxyDetailResultOutput
Copy

> Note: This function is named GetProxyDetail in the Go SDK.

public static class GetProxyDetail 
{
    public static Task<GetProxyDetailResult> InvokeAsync(InvokeOptions? opts = null)
    public static Output<GetProxyDetailResult> Invoke(InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetProxyDetailResult> getProxyDetail(InvokeOptions options)
public static Output<GetProxyDetailResult> getProxyDetail(InvokeOptions options)
Copy
fn::invoke:
  function: oci:ServiceMesh/getProxyDetail:getProxyDetail
  arguments:
    # arguments dictionary
Copy

getProxyDetail Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
ProxyImage string
Proxy container image version to be deployed.
Id string
The provider-assigned unique ID for this managed resource.
ProxyImage string
Proxy container image version to be deployed.
id String
The provider-assigned unique ID for this managed resource.
proxyImage String
Proxy container image version to be deployed.
id string
The provider-assigned unique ID for this managed resource.
proxyImage string
Proxy container image version to be deployed.
id str
The provider-assigned unique ID for this managed resource.
proxy_image str
Proxy container image version to be deployed.
id String
The provider-assigned unique ID for this managed resource.
proxyImage String
Proxy container image version to be deployed.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi