1. Packages
  2. Sysdig Provider
  3. API Docs
  4. getSecureTenantExternalId
sysdig 1.56.0 published on Wednesday, Apr 30, 2025 by sysdiglabs

sysdig.getSecureTenantExternalId

Explore with Pulumi AI

sysdig logo
sysdig 1.56.0 published on Wednesday, Apr 30, 2025 by sysdiglabs

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sysdig from "@pulumi/sysdig";
    
    const externalId = sysdig.getSecureTenantExternalId({});
    
    import pulumi
    import pulumi_sysdig as sysdig
    
    external_id = sysdig.get_secure_tenant_external_id()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/sysdig/sysdig"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := sysdig.GetSecureTenantExternalId(ctx, &sysdig.GetSecureTenantExternalIdArgs{}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Sysdig = Pulumi.Sysdig;
    
    return await Deployment.RunAsync(() => 
    {
        var externalId = Sysdig.GetSecureTenantExternalId.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sysdig.SysdigFunctions;
    import com.pulumi.sysdig.inputs.GetSecureTenantExternalIdArgs;
    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 externalId = SysdigFunctions.getSecureTenantExternalId();
    
        }
    }
    
    variables:
      externalId:
        fn::invoke:
          function: sysdig:getSecureTenantExternalId
          arguments: {}
    

    Using getSecureTenantExternalId

    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 getSecureTenantExternalId(args: GetSecureTenantExternalIdArgs, opts?: InvokeOptions): Promise<GetSecureTenantExternalIdResult>
    function getSecureTenantExternalIdOutput(args: GetSecureTenantExternalIdOutputArgs, opts?: InvokeOptions): Output<GetSecureTenantExternalIdResult>
    def get_secure_tenant_external_id(id: Optional[str] = None,
                                      timeouts: Optional[GetSecureTenantExternalIdTimeouts] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetSecureTenantExternalIdResult
    def get_secure_tenant_external_id_output(id: Optional[pulumi.Input[str]] = None,
                                      timeouts: Optional[pulumi.Input[GetSecureTenantExternalIdTimeoutsArgs]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetSecureTenantExternalIdResult]
    func GetSecureTenantExternalId(ctx *Context, args *GetSecureTenantExternalIdArgs, opts ...InvokeOption) (*GetSecureTenantExternalIdResult, error)
    func GetSecureTenantExternalIdOutput(ctx *Context, args *GetSecureTenantExternalIdOutputArgs, opts ...InvokeOption) GetSecureTenantExternalIdResultOutput

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

    public static class GetSecureTenantExternalId 
    {
        public static Task<GetSecureTenantExternalIdResult> InvokeAsync(GetSecureTenantExternalIdArgs args, InvokeOptions? opts = null)
        public static Output<GetSecureTenantExternalIdResult> Invoke(GetSecureTenantExternalIdInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSecureTenantExternalIdResult> getSecureTenantExternalId(GetSecureTenantExternalIdArgs args, InvokeOptions options)
    public static Output<GetSecureTenantExternalIdResult> getSecureTenantExternalId(GetSecureTenantExternalIdArgs args, InvokeOptions options)
    
    fn::invoke:
      function: sysdig:index/getSecureTenantExternalId:getSecureTenantExternalId
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getSecureTenantExternalId Result

    The following output properties are available:

    ExternalId string
    String identifier for external id value
    Id string
    Timeouts GetSecureTenantExternalIdTimeouts
    ExternalId string
    String identifier for external id value
    Id string
    Timeouts GetSecureTenantExternalIdTimeouts
    externalId String
    String identifier for external id value
    id String
    timeouts GetSecureTenantExternalIdTimeouts
    externalId string
    String identifier for external id value
    id string
    timeouts GetSecureTenantExternalIdTimeouts
    external_id str
    String identifier for external id value
    id str
    timeouts GetSecureTenantExternalIdTimeouts
    externalId String
    String identifier for external id value
    id String
    timeouts Property Map

    Supporting Types

    GetSecureTenantExternalIdTimeouts

    Read string
    Read string
    read String
    read string
    read str
    read String

    Package Details

    Repository
    sysdig sysdiglabs/terraform-provider-sysdig
    License
    Notes
    This Pulumi package is based on the sysdig Terraform Provider.
    sysdig logo
    sysdig 1.56.0 published on Wednesday, Apr 30, 2025 by sysdiglabs