1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DelegateAccessControl
  5. getServiceProviderActions
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.DelegateAccessControl.getServiceProviderActions

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

    This data source provides the list of Service Provider Actions in Oracle Cloud Infrastructure Delegate Access Control service.

    Lists all the ServiceProviderActions available in the system.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testServiceProviderActions = oci.DelegateAccessControl.getServiceProviderActions({
        compartmentId: compartmentId,
        name: serviceProviderActionName,
        resourceType: serviceProviderActionResourceType,
        serviceProviderServiceTypes: serviceProviderActionServiceProviderServiceType,
        state: serviceProviderActionState,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_service_provider_actions = oci.DelegateAccessControl.get_service_provider_actions(compartment_id=compartment_id,
        name=service_provider_action_name,
        resource_type=service_provider_action_resource_type,
        service_provider_service_types=service_provider_action_service_provider_service_type,
        state=service_provider_action_state)
    
    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.GetServiceProviderActions(ctx, &delegateaccesscontrol.GetServiceProviderActionsArgs{
    			CompartmentId:               compartmentId,
    			Name:                        pulumi.StringRef(serviceProviderActionName),
    			ResourceType:                pulumi.StringRef(serviceProviderActionResourceType),
    			ServiceProviderServiceTypes: serviceProviderActionServiceProviderServiceType,
    			State:                       pulumi.StringRef(serviceProviderActionState),
    		}, 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 testServiceProviderActions = Oci.DelegateAccessControl.GetServiceProviderActions.Invoke(new()
        {
            CompartmentId = compartmentId,
            Name = serviceProviderActionName,
            ResourceType = serviceProviderActionResourceType,
            ServiceProviderServiceTypes = serviceProviderActionServiceProviderServiceType,
            State = serviceProviderActionState,
        });
    
    });
    
    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.GetServiceProviderActionsArgs;
    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 testServiceProviderActions = DelegateAccessControlFunctions.getServiceProviderActions(GetServiceProviderActionsArgs.builder()
                .compartmentId(compartmentId)
                .name(serviceProviderActionName)
                .resourceType(serviceProviderActionResourceType)
                .serviceProviderServiceTypes(serviceProviderActionServiceProviderServiceType)
                .state(serviceProviderActionState)
                .build());
    
        }
    }
    
    variables:
      testServiceProviderActions:
        fn::invoke:
          Function: oci:DelegateAccessControl:getServiceProviderActions
          Arguments:
            compartmentId: ${compartmentId}
            name: ${serviceProviderActionName}
            resourceType: ${serviceProviderActionResourceType}
            serviceProviderServiceTypes: ${serviceProviderActionServiceProviderServiceType}
            state: ${serviceProviderActionState}
    

    Using getServiceProviderActions

    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 getServiceProviderActions(args: GetServiceProviderActionsArgs, opts?: InvokeOptions): Promise<GetServiceProviderActionsResult>
    function getServiceProviderActionsOutput(args: GetServiceProviderActionsOutputArgs, opts?: InvokeOptions): Output<GetServiceProviderActionsResult>
    def get_service_provider_actions(compartment_id: Optional[str] = None,
                                     filters: Optional[Sequence[_delegateaccesscontrol.GetServiceProviderActionsFilter]] = None,
                                     name: Optional[str] = None,
                                     resource_type: Optional[str] = None,
                                     service_provider_service_types: Optional[Sequence[str]] = None,
                                     state: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetServiceProviderActionsResult
    def get_service_provider_actions_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                     filters: Optional[pulumi.Input[Sequence[pulumi.Input[_delegateaccesscontrol.GetServiceProviderActionsFilterArgs]]]] = None,
                                     name: Optional[pulumi.Input[str]] = None,
                                     resource_type: Optional[pulumi.Input[str]] = None,
                                     service_provider_service_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                     state: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetServiceProviderActionsResult]
    func GetServiceProviderActions(ctx *Context, args *GetServiceProviderActionsArgs, opts ...InvokeOption) (*GetServiceProviderActionsResult, error)
    func GetServiceProviderActionsOutput(ctx *Context, args *GetServiceProviderActionsOutputArgs, opts ...InvokeOption) GetServiceProviderActionsResultOutput

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

    public static class GetServiceProviderActions 
    {
        public static Task<GetServiceProviderActionsResult> InvokeAsync(GetServiceProviderActionsArgs args, InvokeOptions? opts = null)
        public static Output<GetServiceProviderActionsResult> Invoke(GetServiceProviderActionsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetServiceProviderActionsResult> getServiceProviderActions(GetServiceProviderActionsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:DelegateAccessControl/getServiceProviderActions:getServiceProviderActions
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The OCID of the compartment.
    Filters List<GetServiceProviderActionsFilter>
    Name string
    A filter to return only resources that match the entire name given.
    ResourceType string
    A filter to return only resources that match the given resource type.
    ServiceProviderServiceTypes List<string>
    A filter to return only resources that match the given Service Provider service type.
    State string
    A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState.
    CompartmentId string
    The OCID of the compartment.
    Filters []GetServiceProviderActionsFilter
    Name string
    A filter to return only resources that match the entire name given.
    ResourceType string
    A filter to return only resources that match the given resource type.
    ServiceProviderServiceTypes []string
    A filter to return only resources that match the given Service Provider service type.
    State string
    A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState.
    compartmentId String
    The OCID of the compartment.
    filters List<GetServiceProviderActionsFilter>
    name String
    A filter to return only resources that match the entire name given.
    resourceType String
    A filter to return only resources that match the given resource type.
    serviceProviderServiceTypes List<String>
    A filter to return only resources that match the given Service Provider service type.
    state String
    A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState.
    compartmentId string
    The OCID of the compartment.
    filters GetServiceProviderActionsFilter[]
    name string
    A filter to return only resources that match the entire name given.
    resourceType string
    A filter to return only resources that match the given resource type.
    serviceProviderServiceTypes string[]
    A filter to return only resources that match the given Service Provider service type.
    state string
    A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState.
    compartment_id str
    The OCID of the compartment.
    filters Sequence[delegateaccesscontrol.GetServiceProviderActionsFilter]
    name str
    A filter to return only resources that match the entire name given.
    resource_type str
    A filter to return only resources that match the given resource type.
    service_provider_service_types Sequence[str]
    A filter to return only resources that match the given Service Provider service type.
    state str
    A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState.
    compartmentId String
    The OCID of the compartment.
    filters List<Property Map>
    name String
    A filter to return only resources that match the entire name given.
    resourceType String
    A filter to return only resources that match the given resource type.
    serviceProviderServiceTypes List<String>
    A filter to return only resources that match the given Service Provider service type.
    state String
    A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState.

    getServiceProviderActions Result

    The following output properties are available:

    CompartmentId string
    Id string
    The provider-assigned unique ID for this managed resource.
    ServiceProviderActionSummaryCollections List<GetServiceProviderActionsServiceProviderActionSummaryCollection>
    The list of service_provider_action_summary_collection.
    Filters List<GetServiceProviderActionsFilter>
    Name string
    Name of the property
    ResourceType string
    resourceType for which the ServiceProviderAction is applicable
    ServiceProviderServiceTypes List<string>
    State string
    The current lifecycle state of the Service Provider Action.
    CompartmentId string
    Id string
    The provider-assigned unique ID for this managed resource.
    ServiceProviderActionSummaryCollections []GetServiceProviderActionsServiceProviderActionSummaryCollection
    The list of service_provider_action_summary_collection.
    Filters []GetServiceProviderActionsFilter
    Name string
    Name of the property
    ResourceType string
    resourceType for which the ServiceProviderAction is applicable
    ServiceProviderServiceTypes []string
    State string
    The current lifecycle state of the Service Provider Action.
    compartmentId String
    id String
    The provider-assigned unique ID for this managed resource.
    serviceProviderActionSummaryCollections List<GetServiceProviderActionsServiceProviderActionSummaryCollection>
    The list of service_provider_action_summary_collection.
    filters List<GetServiceProviderActionsFilter>
    name String
    Name of the property
    resourceType String
    resourceType for which the ServiceProviderAction is applicable
    serviceProviderServiceTypes List<String>
    state String
    The current lifecycle state of the Service Provider Action.
    compartmentId string
    id string
    The provider-assigned unique ID for this managed resource.
    serviceProviderActionSummaryCollections GetServiceProviderActionsServiceProviderActionSummaryCollection[]
    The list of service_provider_action_summary_collection.
    filters GetServiceProviderActionsFilter[]
    name string
    Name of the property
    resourceType string
    resourceType for which the ServiceProviderAction is applicable
    serviceProviderServiceTypes string[]
    state string
    The current lifecycle state of the Service Provider Action.
    compartment_id str
    id str
    The provider-assigned unique ID for this managed resource.
    service_provider_action_summary_collections Sequence[delegateaccesscontrol.GetServiceProviderActionsServiceProviderActionSummaryCollection]
    The list of service_provider_action_summary_collection.
    filters Sequence[delegateaccesscontrol.GetServiceProviderActionsFilter]
    name str
    Name of the property
    resource_type str
    resourceType for which the ServiceProviderAction is applicable
    service_provider_service_types Sequence[str]
    state str
    The current lifecycle state of the Service Provider Action.
    compartmentId String
    id String
    The provider-assigned unique ID for this managed resource.
    serviceProviderActionSummaryCollections List<Property Map>
    The list of service_provider_action_summary_collection.
    filters List<Property Map>
    name String
    Name of the property
    resourceType String
    resourceType for which the ServiceProviderAction is applicable
    serviceProviderServiceTypes List<String>
    state String
    The current lifecycle state of the Service Provider Action.

    Supporting Types

    GetServiceProviderActionsFilter

    Name string
    A filter to return only resources that match the entire name given.
    Values List<string>
    Regex bool
    Name string
    A filter to return only resources that match the entire name given.
    Values []string
    Regex bool
    name String
    A filter to return only resources that match the entire name given.
    values List<String>
    regex Boolean
    name string
    A filter to return only resources that match the entire name given.
    values string[]
    regex boolean
    name str
    A filter to return only resources that match the entire name given.
    values Sequence[str]
    regex bool
    name String
    A filter to return only resources that match the entire name given.
    values List<String>
    regex Boolean

    GetServiceProviderActionsServiceProviderActionSummaryCollection

    GetServiceProviderActionsServiceProviderActionSummaryCollectionItem

    Component string
    Name of the infrastructure layer associated with the Service Provider Action.
    CustomerDisplayName string
    Display Name of the Service Provider Action.
    Description string
    Description of the Service Provider Action in terms of associated risk profile, and characteristics of the operating system commands made available to the support operator under this Service Provider Action.
    Id string
    Unique Oracle assigned identifier for the Service Provider Action.
    Name string
    A filter to return only resources that match the entire name given.
    Properties List<GetServiceProviderActionsServiceProviderActionSummaryCollectionItemProperty>
    Fine grained properties associated with the Delegation Control.
    ResourceType string
    A filter to return only resources that match the given resource type.
    ServiceProviderServiceTypes List<string>
    List of Service Provider Service Types that this Service Provider Action is applicable to.
    State string
    A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState.
    Component string
    Name of the infrastructure layer associated with the Service Provider Action.
    CustomerDisplayName string
    Display Name of the Service Provider Action.
    Description string
    Description of the Service Provider Action in terms of associated risk profile, and characteristics of the operating system commands made available to the support operator under this Service Provider Action.
    Id string
    Unique Oracle assigned identifier for the Service Provider Action.
    Name string
    A filter to return only resources that match the entire name given.
    Properties []GetServiceProviderActionsServiceProviderActionSummaryCollectionItemProperty
    Fine grained properties associated with the Delegation Control.
    ResourceType string
    A filter to return only resources that match the given resource type.
    ServiceProviderServiceTypes []string
    List of Service Provider Service Types that this Service Provider Action is applicable to.
    State string
    A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState.
    component String
    Name of the infrastructure layer associated with the Service Provider Action.
    customerDisplayName String
    Display Name of the Service Provider Action.
    description String
    Description of the Service Provider Action in terms of associated risk profile, and characteristics of the operating system commands made available to the support operator under this Service Provider Action.
    id String
    Unique Oracle assigned identifier for the Service Provider Action.
    name String
    A filter to return only resources that match the entire name given.
    properties List<GetServiceProviderActionsServiceProviderActionSummaryCollectionItemProperty>
    Fine grained properties associated with the Delegation Control.
    resourceType String
    A filter to return only resources that match the given resource type.
    serviceProviderServiceTypes List<String>
    List of Service Provider Service Types that this Service Provider Action is applicable to.
    state String
    A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState.
    component string
    Name of the infrastructure layer associated with the Service Provider Action.
    customerDisplayName string
    Display Name of the Service Provider Action.
    description string
    Description of the Service Provider Action in terms of associated risk profile, and characteristics of the operating system commands made available to the support operator under this Service Provider Action.
    id string
    Unique Oracle assigned identifier for the Service Provider Action.
    name string
    A filter to return only resources that match the entire name given.
    properties GetServiceProviderActionsServiceProviderActionSummaryCollectionItemProperty[]
    Fine grained properties associated with the Delegation Control.
    resourceType string
    A filter to return only resources that match the given resource type.
    serviceProviderServiceTypes string[]
    List of Service Provider Service Types that this Service Provider Action is applicable to.
    state string
    A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState.
    component str
    Name of the infrastructure layer associated with the Service Provider Action.
    customer_display_name str
    Display Name of the Service Provider Action.
    description str
    Description of the Service Provider Action in terms of associated risk profile, and characteristics of the operating system commands made available to the support operator under this Service Provider Action.
    id str
    Unique Oracle assigned identifier for the Service Provider Action.
    name str
    A filter to return only resources that match the entire name given.
    properties Sequence[delegateaccesscontrol.GetServiceProviderActionsServiceProviderActionSummaryCollectionItemProperty]
    Fine grained properties associated with the Delegation Control.
    resource_type str
    A filter to return only resources that match the given resource type.
    service_provider_service_types Sequence[str]
    List of Service Provider Service Types that this Service Provider Action is applicable to.
    state str
    A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState.
    component String
    Name of the infrastructure layer associated with the Service Provider Action.
    customerDisplayName String
    Display Name of the Service Provider Action.
    description String
    Description of the Service Provider Action in terms of associated risk profile, and characteristics of the operating system commands made available to the support operator under this Service Provider Action.
    id String
    Unique Oracle assigned identifier for the Service Provider Action.
    name String
    A filter to return only resources that match the entire name given.
    properties List<Property Map>
    Fine grained properties associated with the Delegation Control.
    resourceType String
    A filter to return only resources that match the given resource type.
    serviceProviderServiceTypes List<String>
    List of Service Provider Service Types that this Service Provider Action is applicable to.
    state String
    A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState.

    GetServiceProviderActionsServiceProviderActionSummaryCollectionItemProperty

    Name string
    A filter to return only resources that match the entire name given.
    Value string
    value of the property
    Name string
    A filter to return only resources that match the entire name given.
    Value string
    value of the property
    name String
    A filter to return only resources that match the entire name given.
    value String
    value of the property
    name string
    A filter to return only resources that match the entire name given.
    value string
    value of the property
    name str
    A filter to return only resources that match the entire name given.
    value str
    value of the property
    name String
    A filter to return only resources that match the entire name given.
    value String
    value of the property

    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.11.0 published on Thursday, Sep 19, 2024 by Pulumi