1. Packages
  2. Aquasec
  3. API Docs
  4. getIntegrationState
Aquasec v0.8.27 published on Monday, Jan 29, 2024 by Pulumiverse

aquasec.getIntegrationState

Explore with Pulumi AI

aquasec logo
Aquasec v0.8.27 published on Monday, Jan 29, 2024 by Pulumiverse

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aquasec = Pulumi.Aquasec;
    
    return await Deployment.RunAsync(() => 
    {
        var integrationState = Aquasec.GetIntegrationState.Invoke();
    
        return new Dictionary<string, object?>
        {
            ["aquasecIntegrationState"] = integrationState,
        };
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-aquasec/sdk/go/aquasec"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		integrationState, err := aquasec.GetIntegrationState(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("aquasecIntegrationState", integrationState)
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aquasec.AquasecFunctions;
    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 integrationState = AquasecFunctions.getIntegrationState();
    
            ctx.export("aquasecIntegrationState", integrationState.applyValue(getIntegrationStateResult -> getIntegrationStateResult));
        }
    }
    
    import pulumi
    import pulumi_aquasec as aquasec
    
    integration_state = aquasec.get_integration_state()
    pulumi.export("aquasecIntegrationState", integration_state)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aquasec from "@pulumi/aquasec";
    
    const integrationState = aquasec.getIntegrationState({});
    export const aquasecIntegrationState = integrationState;
    
    variables:
      integrationState:
        fn::invoke:
          Function: aquasec:getIntegrationState
          Arguments: {}
    outputs:
      aquasecIntegrationState: ${integrationState}
    

    Using getIntegrationState

    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 getIntegrationState(opts?: InvokeOptions): Promise<GetIntegrationStateResult>
    function getIntegrationStateOutput(opts?: InvokeOptions): Output<GetIntegrationStateResult>
    def get_integration_state(opts: Optional[InvokeOptions] = None) -> GetIntegrationStateResult
    def get_integration_state_output(opts: Optional[InvokeOptions] = None) -> Output[GetIntegrationStateResult]
    func GetIntegrationState(ctx *Context, opts ...InvokeOption) (*GetIntegrationStateResult, error)
    func GetIntegrationStateOutput(ctx *Context, opts ...InvokeOption) GetIntegrationStateResultOutput

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

    public static class GetIntegrationState 
    {
        public static Task<GetIntegrationStateResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetIntegrationStateResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIntegrationStateResult> getIntegrationState(InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aquasec:index/getIntegrationState:getIntegrationState
      arguments:
        # arguments dictionary

    getIntegrationState Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    OidcSettings bool
    OIDCSettings enabled status
    OpenidSettings bool
    OpenIdSettings enabled status
    SamlSettings bool
    SAMLSettings enabled status
    Id string
    The provider-assigned unique ID for this managed resource.
    OidcSettings bool
    OIDCSettings enabled status
    OpenidSettings bool
    OpenIdSettings enabled status
    SamlSettings bool
    SAMLSettings enabled status
    id String
    The provider-assigned unique ID for this managed resource.
    oidcSettings Boolean
    OIDCSettings enabled status
    openidSettings Boolean
    OpenIdSettings enabled status
    samlSettings Boolean
    SAMLSettings enabled status
    id string
    The provider-assigned unique ID for this managed resource.
    oidcSettings boolean
    OIDCSettings enabled status
    openidSettings boolean
    OpenIdSettings enabled status
    samlSettings boolean
    SAMLSettings enabled status
    id str
    The provider-assigned unique ID for this managed resource.
    oidc_settings bool
    OIDCSettings enabled status
    openid_settings bool
    OpenIdSettings enabled status
    saml_settings bool
    SAMLSettings enabled status
    id String
    The provider-assigned unique ID for this managed resource.
    oidcSettings Boolean
    OIDCSettings enabled status
    openidSettings Boolean
    OpenIdSettings enabled status
    samlSettings Boolean
    SAMLSettings enabled status

    Package Details

    Repository
    aquasec pulumiverse/pulumi-aquasec
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aquasec Terraform Provider.
    aquasec logo
    Aquasec v0.8.27 published on Monday, Jan 29, 2024 by Pulumiverse