Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.DelegateAccessControl.getDelegatedResourceAccessRequestHistories
Explore with Pulumi AI
This data source provides the list of Delegated Resource Access Request Histories in Oracle Cloud Infrastructure Delegate Access Control service.
Returns a history of all status associated with the Delegated Resource Access RequestId.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDelegatedResourceAccessRequestHistories = oci.DelegateAccessControl.getDelegatedResourceAccessRequestHistories({
delegatedResourceAccessRequestId: testDelegatedResourceAccessRequest.id,
});
import pulumi
import pulumi_oci as oci
test_delegated_resource_access_request_histories = oci.DelegateAccessControl.get_delegated_resource_access_request_histories(delegated_resource_access_request_id=test_delegated_resource_access_request["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DelegateAccessControl"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := DelegateAccessControl.GetDelegatedResourceAccessRequestHistories(ctx, &delegateaccesscontrol.GetDelegatedResourceAccessRequestHistoriesArgs{
DelegatedResourceAccessRequestId: testDelegatedResourceAccessRequest.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 testDelegatedResourceAccessRequestHistories = Oci.DelegateAccessControl.GetDelegatedResourceAccessRequestHistories.Invoke(new()
{
DelegatedResourceAccessRequestId = testDelegatedResourceAccessRequest.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegatedResourceAccessRequestHistoriesArgs;
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 testDelegatedResourceAccessRequestHistories = DelegateAccessControlFunctions.getDelegatedResourceAccessRequestHistories(GetDelegatedResourceAccessRequestHistoriesArgs.builder()
.delegatedResourceAccessRequestId(testDelegatedResourceAccessRequest.id())
.build());
}
}
variables:
testDelegatedResourceAccessRequestHistories:
fn::invoke:
Function: oci:DelegateAccessControl:getDelegatedResourceAccessRequestHistories
Arguments:
delegatedResourceAccessRequestId: ${testDelegatedResourceAccessRequest.id}
Using getDelegatedResourceAccessRequestHistories
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 getDelegatedResourceAccessRequestHistories(args: GetDelegatedResourceAccessRequestHistoriesArgs, opts?: InvokeOptions): Promise<GetDelegatedResourceAccessRequestHistoriesResult>
function getDelegatedResourceAccessRequestHistoriesOutput(args: GetDelegatedResourceAccessRequestHistoriesOutputArgs, opts?: InvokeOptions): Output<GetDelegatedResourceAccessRequestHistoriesResult>
def get_delegated_resource_access_request_histories(delegated_resource_access_request_id: Optional[str] = None,
filters: Optional[Sequence[_delegateaccesscontrol.GetDelegatedResourceAccessRequestHistoriesFilter]] = None,
opts: Optional[InvokeOptions] = None) -> GetDelegatedResourceAccessRequestHistoriesResult
def get_delegated_resource_access_request_histories_output(delegated_resource_access_request_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_delegateaccesscontrol.GetDelegatedResourceAccessRequestHistoriesFilterArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDelegatedResourceAccessRequestHistoriesResult]
func GetDelegatedResourceAccessRequestHistories(ctx *Context, args *GetDelegatedResourceAccessRequestHistoriesArgs, opts ...InvokeOption) (*GetDelegatedResourceAccessRequestHistoriesResult, error)
func GetDelegatedResourceAccessRequestHistoriesOutput(ctx *Context, args *GetDelegatedResourceAccessRequestHistoriesOutputArgs, opts ...InvokeOption) GetDelegatedResourceAccessRequestHistoriesResultOutput
> Note: This function is named GetDelegatedResourceAccessRequestHistories
in the Go SDK.
public static class GetDelegatedResourceAccessRequestHistories
{
public static Task<GetDelegatedResourceAccessRequestHistoriesResult> InvokeAsync(GetDelegatedResourceAccessRequestHistoriesArgs args, InvokeOptions? opts = null)
public static Output<GetDelegatedResourceAccessRequestHistoriesResult> Invoke(GetDelegatedResourceAccessRequestHistoriesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDelegatedResourceAccessRequestHistoriesResult> getDelegatedResourceAccessRequestHistories(GetDelegatedResourceAccessRequestHistoriesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:DelegateAccessControl/getDelegatedResourceAccessRequestHistories:getDelegatedResourceAccessRequestHistories
arguments:
# arguments dictionary
The following arguments are supported:
- Delegated
Resource stringAccess Request Id - Unique Delegated Resource Access Request identifier
- Filters
List<Get
Delegated Resource Access Request Histories Filter>
- Delegated
Resource stringAccess Request Id - Unique Delegated Resource Access Request identifier
- Filters
[]Get
Delegated Resource Access Request Histories Filter
- delegated
Resource StringAccess Request Id - Unique Delegated Resource Access Request identifier
- filters
List<Get
Delegated Resource Access Request Histories Filter>
- delegated
Resource stringAccess Request Id - Unique Delegated Resource Access Request identifier
- filters
Get
Delegated Resource Access Request Histories Filter[]
- delegated_
resource_ straccess_ request_ id - Unique Delegated Resource Access Request identifier
- filters
Sequence[delegateaccesscontrol.
Get Delegated Resource Access Request Histories Filter]
- delegated
Resource StringAccess Request Id - Unique Delegated Resource Access Request identifier
- filters List<Property Map>
getDelegatedResourceAccessRequestHistories Result
The following output properties are available:
- Delegated
Resource List<GetAccess Request History Collections Delegated Resource Access Request Histories Delegated Resource Access Request History Collection> - The list of delegated_resource_access_request_history_collection.
- Delegated
Resource stringAccess Request Id - Id string
- The provider-assigned unique ID for this managed resource.
- Filters
List<Get
Delegated Resource Access Request Histories Filter>
- Delegated
Resource []GetAccess Request History Collections Delegated Resource Access Request Histories Delegated Resource Access Request History Collection - The list of delegated_resource_access_request_history_collection.
- Delegated
Resource stringAccess Request Id - Id string
- The provider-assigned unique ID for this managed resource.
- Filters
[]Get
Delegated Resource Access Request Histories Filter
- delegated
Resource List<GetAccess Request History Collections Delegated Resource Access Request Histories Delegated Resource Access Request History Collection> - The list of delegated_resource_access_request_history_collection.
- delegated
Resource StringAccess Request Id - id String
- The provider-assigned unique ID for this managed resource.
- filters
List<Get
Delegated Resource Access Request Histories Filter>
- delegated
Resource GetAccess Request History Collections Delegated Resource Access Request Histories Delegated Resource Access Request History Collection[] - The list of delegated_resource_access_request_history_collection.
- delegated
Resource stringAccess Request Id - id string
- The provider-assigned unique ID for this managed resource.
- filters
Get
Delegated Resource Access Request Histories Filter[]
- delegated_
resource_ Sequence[delegateaccesscontrol.access_ request_ history_ collections Get Delegated Resource Access Request Histories Delegated Resource Access Request History Collection] - The list of delegated_resource_access_request_history_collection.
- delegated_
resource_ straccess_ request_ id - id str
- The provider-assigned unique ID for this managed resource.
- filters
Sequence[delegateaccesscontrol.
Get Delegated Resource Access Request Histories Filter]
- delegated
Resource List<Property Map>Access Request History Collections - The list of delegated_resource_access_request_history_collection.
- delegated
Resource StringAccess Request Id - id String
- The provider-assigned unique ID for this managed resource.
- filters List<Property Map>
Supporting Types
GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollection
- Items
List<Get
Delegated Resource Access Request Histories Delegated Resource Access Request History Collection Item> - List of DelegatedResourceAccessRequestHistorySummary objects.
- Items
[]Get
Delegated Resource Access Request Histories Delegated Resource Access Request History Collection Item - List of DelegatedResourceAccessRequestHistorySummary objects.
- items
List<Get
Delegated Resource Access Request Histories Delegated Resource Access Request History Collection Item> - List of DelegatedResourceAccessRequestHistorySummary objects.
- items
Get
Delegated Resource Access Request Histories Delegated Resource Access Request History Collection Item[] - List of DelegatedResourceAccessRequestHistorySummary objects.
- items
Sequence[delegateaccesscontrol.
Get Delegated Resource Access Request Histories Delegated Resource Access Request History Collection Item] - List of DelegatedResourceAccessRequestHistorySummary objects.
- items List<Property Map>
- List of DelegatedResourceAccessRequestHistorySummary objects.
GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItem
- Comment string
- Comment about the status change.
- Request
Status string - The current status of the Delegated Resource Access Request.
- State string
- The current lifecycle state of the Delegated Resource Access Request.
- Timestamp string
- Time when the respective action happened in RFC 3339timestamp format, e.g. '2020-05-22T21:10:29.600Z'.
- User
Id string - ID of user who modified the Delegated Resource Access Request. For operator, this field is "Operator".
- Comment string
- Comment about the status change.
- Request
Status string - The current status of the Delegated Resource Access Request.
- State string
- The current lifecycle state of the Delegated Resource Access Request.
- Timestamp string
- Time when the respective action happened in RFC 3339timestamp format, e.g. '2020-05-22T21:10:29.600Z'.
- User
Id string - ID of user who modified the Delegated Resource Access Request. For operator, this field is "Operator".
- comment String
- Comment about the status change.
- request
Status String - The current status of the Delegated Resource Access Request.
- state String
- The current lifecycle state of the Delegated Resource Access Request.
- timestamp String
- Time when the respective action happened in RFC 3339timestamp format, e.g. '2020-05-22T21:10:29.600Z'.
- user
Id String - ID of user who modified the Delegated Resource Access Request. For operator, this field is "Operator".
- comment string
- Comment about the status change.
- request
Status string - The current status of the Delegated Resource Access Request.
- state string
- The current lifecycle state of the Delegated Resource Access Request.
- timestamp string
- Time when the respective action happened in RFC 3339timestamp format, e.g. '2020-05-22T21:10:29.600Z'.
- user
Id string - ID of user who modified the Delegated Resource Access Request. For operator, this field is "Operator".
- comment str
- Comment about the status change.
- request_
status str - The current status of the Delegated Resource Access Request.
- state str
- The current lifecycle state of the Delegated Resource Access Request.
- timestamp str
- Time when the respective action happened in RFC 3339timestamp format, e.g. '2020-05-22T21:10:29.600Z'.
- user_
id str - ID of user who modified the Delegated Resource Access Request. For operator, this field is "Operator".
- comment String
- Comment about the status change.
- request
Status String - The current status of the Delegated Resource Access Request.
- state String
- The current lifecycle state of the Delegated Resource Access Request.
- timestamp String
- Time when the respective action happened in RFC 3339timestamp format, e.g. '2020-05-22T21:10:29.600Z'.
- user
Id String - ID of user who modified the Delegated Resource Access Request. For operator, this field is "Operator".
GetDelegatedResourceAccessRequestHistoriesFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.