Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.DataSafe.getUserAssessmentUserAccessAnalytics
Explore with Pulumi AI
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:
- User
Assessment stringId - The OCID of the user assessment.
- Filters
List<Get
User Assessment User Access Analytics Filter>
- User
Assessment stringId - The OCID of the user assessment.
- Filters
[]Get
User Assessment User Access Analytics Filter
- user
Assessment StringId - The OCID of the user assessment.
- filters
List<Get
User Assessment User Access Analytics Filter>
- user
Assessment stringId - The OCID of the user assessment.
- filters
Get
User Assessment User Access Analytics Filter[]
- user_
assessment_ strid - The OCID of the user assessment.
- filters
Sequence[datasafe.
Get User Assessment User Access Analytics Filter]
- user
Assessment StringId - 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.
- User
Access List<GetAnalytics Collections User Assessment User Access Analytics User Access Analytics Collection> - The list of user_access_analytics_collection.
- User
Assessment stringId - Filters
List<Get
User Assessment User Access Analytics Filter>
- Id string
- The provider-assigned unique ID for this managed resource.
- User
Access []GetAnalytics Collections User Assessment User Access Analytics User Access Analytics Collection - The list of user_access_analytics_collection.
- User
Assessment stringId - Filters
[]Get
User Assessment User Access Analytics Filter
- id String
- The provider-assigned unique ID for this managed resource.
- user
Access List<GetAnalytics Collections User Assessment User Access Analytics User Access Analytics Collection> - The list of user_access_analytics_collection.
- user
Assessment StringId - filters
List<Get
User Assessment User Access Analytics Filter>
- id string
- The provider-assigned unique ID for this managed resource.
- user
Access GetAnalytics Collections User Assessment User Access Analytics User Access Analytics Collection[] - The list of user_access_analytics_collection.
- user
Assessment stringId - filters
Get
User Assessment User Access Analytics Filter[]
- id str
- The provider-assigned unique ID for this managed resource.
- user_
access_ Sequence[datasafe.analytics_ collections Get User Assessment User Access Analytics User Access Analytics Collection] - The list of user_access_analytics_collection.
- user_
assessment_ strid - filters
Sequence[datasafe.
Get User Assessment User Access Analytics Filter]
- id String
- The provider-assigned unique ID for this managed resource.
- user
Access List<Property Map>Analytics Collections - The list of user_access_analytics_collection.
- user
Assessment StringId - filters List<Property Map>
Supporting Types
GetUserAssessmentUserAccessAnalyticsFilter
GetUserAssessmentUserAccessAnalyticsUserAccessAnalyticsCollection
- Items
List<Get
User Assessment User Access Analytics User Access Analytics Collection Item> - An array of user access analytics summary objects.
- Items
[]Get
User Assessment User Access Analytics User Access Analytics Collection Item - An array of user access analytics summary objects.
- items
List<Get
User Assessment User Access Analytics User Access Analytics Collection Item> - An array of user access analytics summary objects.
- items
Get
User Assessment User Access Analytics User Access Analytics Collection Item[] - An array of user access analytics summary objects.
- items
Sequence[datasafe.
Get User Assessment User Access Analytics User Access Analytics Collection Item] - An array of user access analytics summary objects.
- items List<Property Map>
- An array of user access analytics summary objects.
GetUserAssessmentUserAccessAnalyticsUserAccessAnalyticsCollectionItem
- User
Assessment stringUser Access Analytic Count - The total count of schemas a user can access
- User
Name string - Name of the user.
- User
Assessment stringUser Access Analytic Count - The total count of schemas a user can access
- User
Name string - Name of the user.
- user
Assessment StringUser Access Analytic Count - The total count of schemas a user can access
- user
Name String - Name of the user.
- user
Assessment stringUser Access Analytic Count - The total count of schemas a user can access
- user
Name string - Name of the user.
- user_
assessment_ struser_ access_ analytic_ count - The total count of schemas a user can access
- user_
name str - Name of the user.
- user
Assessment StringUser Access Analytic Count - The total count of schemas a user can access
- user
Name 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.