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

oci.DataSafe.getUserAssessmentUserAccessAnalytics

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    This data source provides the list of User Assessment User Access Analytics in Oracle Cloud Infrastructure Data Safe service.

    Gets a list of aggregated user access analytics in the specified target in a compartment.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testUserAssessmentUserAccessAnalytics = oci.DataSafe.getUserAssessmentUserAccessAnalytics({
        userAssessmentId: testUserAssessment.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_user_assessment_user_access_analytics = oci.DataSafe.get_user_assessment_user_access_analytics(user_assessment_id=test_user_assessment["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DataSafe"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := DataSafe.GetUserAssessmentUserAccessAnalytics(ctx, &datasafe.GetUserAssessmentUserAccessAnalyticsArgs{
    			UserAssessmentId: testUserAssessment.Id,
    		}, 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 testUserAssessmentUserAccessAnalytics = Oci.DataSafe.GetUserAssessmentUserAccessAnalytics.Invoke(new()
        {
            UserAssessmentId = testUserAssessment.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DataSafe.DataSafeFunctions;
    import com.pulumi.oci.DataSafe.inputs.GetUserAssessmentUserAccessAnalyticsArgs;
    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 testUserAssessmentUserAccessAnalytics = DataSafeFunctions.getUserAssessmentUserAccessAnalytics(GetUserAssessmentUserAccessAnalyticsArgs.builder()
                .userAssessmentId(testUserAssessment.id())
                .build());
    
        }
    }
    
    variables:
      testUserAssessmentUserAccessAnalytics:
        fn::invoke:
          Function: oci:DataSafe:getUserAssessmentUserAccessAnalytics
          Arguments:
            userAssessmentId: ${testUserAssessment.id}
    

    Using getUserAssessmentUserAccessAnalytics

    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 getUserAssessmentUserAccessAnalytics(args: GetUserAssessmentUserAccessAnalyticsArgs, opts?: InvokeOptions): Promise<GetUserAssessmentUserAccessAnalyticsResult>
    function getUserAssessmentUserAccessAnalyticsOutput(args: GetUserAssessmentUserAccessAnalyticsOutputArgs, opts?: InvokeOptions): Output<GetUserAssessmentUserAccessAnalyticsResult>
    def get_user_assessment_user_access_analytics(filters: Optional[Sequence[_datasafe.GetUserAssessmentUserAccessAnalyticsFilter]] = None,
                                                  user_assessment_id: Optional[str] = None,
                                                  opts: Optional[InvokeOptions] = None) -> GetUserAssessmentUserAccessAnalyticsResult
    def get_user_assessment_user_access_analytics_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[_datasafe.GetUserAssessmentUserAccessAnalyticsFilterArgs]]]] = None,
                                                  user_assessment_id: Optional[pulumi.Input[str]] = None,
                                                  opts: Optional[InvokeOptions] = None) -> Output[GetUserAssessmentUserAccessAnalyticsResult]
    func GetUserAssessmentUserAccessAnalytics(ctx *Context, args *GetUserAssessmentUserAccessAnalyticsArgs, opts ...InvokeOption) (*GetUserAssessmentUserAccessAnalyticsResult, error)
    func GetUserAssessmentUserAccessAnalyticsOutput(ctx *Context, args *GetUserAssessmentUserAccessAnalyticsOutputArgs, opts ...InvokeOption) GetUserAssessmentUserAccessAnalyticsResultOutput

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

    public static class GetUserAssessmentUserAccessAnalytics 
    {
        public static Task<GetUserAssessmentUserAccessAnalyticsResult> InvokeAsync(GetUserAssessmentUserAccessAnalyticsArgs args, InvokeOptions? opts = null)
        public static Output<GetUserAssessmentUserAccessAnalyticsResult> Invoke(GetUserAssessmentUserAccessAnalyticsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetUserAssessmentUserAccessAnalyticsResult> getUserAssessmentUserAccessAnalytics(GetUserAssessmentUserAccessAnalyticsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:DataSafe/getUserAssessmentUserAccessAnalytics:getUserAssessmentUserAccessAnalytics
      arguments:
        # arguments dictionary

    The following arguments are supported:

    userAssessmentId String
    The OCID of the user assessment.
    filters List<Property Map>

    getUserAssessmentUserAccessAnalytics Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    UserAccessAnalyticsCollections List<GetUserAssessmentUserAccessAnalyticsUserAccessAnalyticsCollection>
    The list of user_access_analytics_collection.
    UserAssessmentId string
    Filters List<GetUserAssessmentUserAccessAnalyticsFilter>
    Id string
    The provider-assigned unique ID for this managed resource.
    UserAccessAnalyticsCollections []GetUserAssessmentUserAccessAnalyticsUserAccessAnalyticsCollection
    The list of user_access_analytics_collection.
    UserAssessmentId string
    Filters []GetUserAssessmentUserAccessAnalyticsFilter
    id String
    The provider-assigned unique ID for this managed resource.
    userAccessAnalyticsCollections List<GetUserAssessmentUserAccessAnalyticsUserAccessAnalyticsCollection>
    The list of user_access_analytics_collection.
    userAssessmentId String
    filters List<GetUserAssessmentUserAccessAnalyticsFilter>
    id string
    The provider-assigned unique ID for this managed resource.
    userAccessAnalyticsCollections GetUserAssessmentUserAccessAnalyticsUserAccessAnalyticsCollection[]
    The list of user_access_analytics_collection.
    userAssessmentId string
    filters GetUserAssessmentUserAccessAnalyticsFilter[]
    id String
    The provider-assigned unique ID for this managed resource.
    userAccessAnalyticsCollections List<Property Map>
    The list of user_access_analytics_collection.
    userAssessmentId String
    filters List<Property Map>

    Supporting Types

    GetUserAssessmentUserAccessAnalyticsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetUserAssessmentUserAccessAnalyticsUserAccessAnalyticsCollection

    Items []GetUserAssessmentUserAccessAnalyticsUserAccessAnalyticsCollectionItem
    An array of user access analytics summary objects.
    items GetUserAssessmentUserAccessAnalyticsUserAccessAnalyticsCollectionItem[]
    An array of user access analytics summary objects.
    items List<Property Map>
    An array of user access analytics summary objects.

    GetUserAssessmentUserAccessAnalyticsUserAccessAnalyticsCollectionItem

    UserAssessmentUserAccessAnalyticCount string
    The total count of schemas a user can access
    UserName string
    Name of the user.
    UserAssessmentUserAccessAnalyticCount string
    The total count of schemas a user can access
    UserName string
    Name of the user.
    userAssessmentUserAccessAnalyticCount String
    The total count of schemas a user can access
    userName String
    Name of the user.
    userAssessmentUserAccessAnalyticCount string
    The total count of schemas a user can access
    userName string
    Name of the user.
    user_assessment_user_access_analytic_count str
    The total count of schemas a user can access
    user_name str
    Name of the user.
    userAssessmentUserAccessAnalyticCount String
    The total count of schemas a user can access
    userName String
    Name of the user.

    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