1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. ServiceMesh
  5. getProxyDetail
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.ServiceMesh.getProxyDetail

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 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({});
    
    import pulumi
    import pulumi_oci as oci
    
    test_proxy_detail = oci.ServiceMesh.get_proxy_detail()
    
    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
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testProxyDetail = Oci.ServiceMesh.GetProxyDetail.Invoke();
    
    });
    
    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();
    
        }
    }
    
    variables:
      testProxyDetail:
        fn::invoke:
          Function: oci:ServiceMesh:getProxyDetail
          Arguments: {}
    

    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>
    def get_proxy_detail(opts: Optional[InvokeOptions] = None) -> GetProxyDetailResult
    def get_proxy_detail_output(opts: Optional[InvokeOptions] = None) -> Output[GetProxyDetailResult]
    func GetProxyDetail(ctx *Context, opts ...InvokeOption) (*GetProxyDetailResult, error)
    func GetProxyDetailOutput(ctx *Context, opts ...InvokeOption) GetProxyDetailResultOutput

    > 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)
    }
    public static CompletableFuture<GetProxyDetailResult> getProxyDetail(InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:ServiceMesh/getProxyDetail:getProxyDetail
      arguments:
        # arguments dictionary

    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.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi