Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.DelegateAccessControl.getServiceProviderAction
Explore with Pulumi AI
This data source provides details about a specific Service Provider Action resource in Oracle Cloud Infrastructure Delegate Access Control service.
Gets the Service Provider Action associated with the specified Service Provider Action ID.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testServiceProviderAction = oci.DelegateAccessControl.getServiceProviderAction({
    serviceProviderActionId: testServiceProviderActionOciDelegateAccessControlServiceProviderAction.id,
});
import pulumi
import pulumi_oci as oci
test_service_provider_action = oci.DelegateAccessControl.get_service_provider_action(service_provider_action_id=test_service_provider_action_oci_delegate_access_control_service_provider_action["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.GetServiceProviderAction(ctx, &delegateaccesscontrol.GetServiceProviderActionArgs{
			ServiceProviderActionId: testServiceProviderActionOciDelegateAccessControlServiceProviderAction.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 testServiceProviderAction = Oci.DelegateAccessControl.GetServiceProviderAction.Invoke(new()
    {
        ServiceProviderActionId = testServiceProviderActionOciDelegateAccessControlServiceProviderAction.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.GetServiceProviderActionArgs;
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 testServiceProviderAction = DelegateAccessControlFunctions.getServiceProviderAction(GetServiceProviderActionArgs.builder()
            .serviceProviderActionId(testServiceProviderActionOciDelegateAccessControlServiceProviderAction.id())
            .build());
    }
}
variables:
  testServiceProviderAction:
    fn::invoke:
      function: oci:DelegateAccessControl:getServiceProviderAction
      arguments:
        serviceProviderActionId: ${testServiceProviderActionOciDelegateAccessControlServiceProviderAction.id}
Using getServiceProviderAction
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 getServiceProviderAction(args: GetServiceProviderActionArgs, opts?: InvokeOptions): Promise<GetServiceProviderActionResult>
function getServiceProviderActionOutput(args: GetServiceProviderActionOutputArgs, opts?: InvokeOptions): Output<GetServiceProviderActionResult>def get_service_provider_action(service_provider_action_id: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetServiceProviderActionResult
def get_service_provider_action_output(service_provider_action_id: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetServiceProviderActionResult]func GetServiceProviderAction(ctx *Context, args *GetServiceProviderActionArgs, opts ...InvokeOption) (*GetServiceProviderActionResult, error)
func GetServiceProviderActionOutput(ctx *Context, args *GetServiceProviderActionOutputArgs, opts ...InvokeOption) GetServiceProviderActionResultOutput> Note: This function is named GetServiceProviderAction in the Go SDK.
public static class GetServiceProviderAction 
{
    public static Task<GetServiceProviderActionResult> InvokeAsync(GetServiceProviderActionArgs args, InvokeOptions? opts = null)
    public static Output<GetServiceProviderActionResult> Invoke(GetServiceProviderActionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetServiceProviderActionResult> getServiceProviderAction(GetServiceProviderActionArgs args, InvokeOptions options)
public static Output<GetServiceProviderActionResult> getServiceProviderAction(GetServiceProviderActionArgs args, InvokeOptions options)
fn::invoke:
  function: oci:DelegateAccessControl/getServiceProviderAction:getServiceProviderAction
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ServiceProvider stringAction Id 
- Unique Oracle supplied identifier associated with the Service Provider Action.
- ServiceProvider stringAction Id 
- Unique Oracle supplied identifier associated with the Service Provider Action.
- serviceProvider StringAction Id 
- Unique Oracle supplied identifier associated with the Service Provider Action.
- serviceProvider stringAction Id 
- Unique Oracle supplied identifier associated with the Service Provider Action.
- service_provider_ straction_ id 
- Unique Oracle supplied identifier associated with the Service Provider Action.
- serviceProvider StringAction Id 
- Unique Oracle supplied identifier associated with the Service Provider Action.
getServiceProviderAction Result
The following output properties are available:
- Component string
- Name of the infrastructure layer associated with the Service Provider Action.
- CustomerDisplay stringName 
- 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
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of the property
- Properties
List<GetService Provider Action Property> 
- Fine grained properties associated with the Delegation Control.
- ResourceType string
- resourceType for which the ServiceProviderAction is applicable
- ServiceProvider stringAction Id 
- ServiceProvider List<string>Service Types 
- List of Service Provider Service Types that this Service Provider Action is applicable to.
- State string
- The current lifecycle state of the Service Provider Action.
- Component string
- Name of the infrastructure layer associated with the Service Provider Action.
- CustomerDisplay stringName 
- 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
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of the property
- Properties
[]GetService Provider Action Property 
- Fine grained properties associated with the Delegation Control.
- ResourceType string
- resourceType for which the ServiceProviderAction is applicable
- ServiceProvider stringAction Id 
- ServiceProvider []stringService Types 
- List of Service Provider Service Types that this Service Provider Action is applicable to.
- State string
- The current lifecycle state of the Service Provider Action.
- component String
- Name of the infrastructure layer associated with the Service Provider Action.
- customerDisplay StringName 
- 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
- The provider-assigned unique ID for this managed resource.
- name String
- Name of the property
- properties
List<GetService Provider Action Property> 
- Fine grained properties associated with the Delegation Control.
- resourceType String
- resourceType for which the ServiceProviderAction is applicable
- serviceProvider StringAction Id 
- serviceProvider List<String>Service Types 
- List of Service Provider Service Types that this Service Provider Action is applicable to.
- state String
- The current lifecycle state of the Service Provider Action.
- component string
- Name of the infrastructure layer associated with the Service Provider Action.
- customerDisplay stringName 
- 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
- The provider-assigned unique ID for this managed resource.
- name string
- Name of the property
- properties
GetService Provider Action Property[] 
- Fine grained properties associated with the Delegation Control.
- resourceType string
- resourceType for which the ServiceProviderAction is applicable
- serviceProvider stringAction Id 
- serviceProvider string[]Service Types 
- List of Service Provider Service Types that this Service Provider Action is applicable to.
- state string
- The current lifecycle state of the Service Provider Action.
- component str
- Name of the infrastructure layer associated with the Service Provider Action.
- customer_display_ strname 
- 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
- The provider-assigned unique ID for this managed resource.
- name str
- Name of the property
- properties
Sequence[GetService Provider Action Property] 
- Fine grained properties associated with the Delegation Control.
- resource_type str
- resourceType for which the ServiceProviderAction is applicable
- service_provider_ straction_ id 
- service_provider_ Sequence[str]service_ types 
- List of Service Provider Service Types that this Service Provider Action is applicable to.
- state str
- The current lifecycle state of the Service Provider Action.
- component String
- Name of the infrastructure layer associated with the Service Provider Action.
- customerDisplay StringName 
- 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
- The provider-assigned unique ID for this managed resource.
- name String
- Name of the property
- properties List<Property Map>
- Fine grained properties associated with the Delegation Control.
- resourceType String
- resourceType for which the ServiceProviderAction is applicable
- serviceProvider StringAction Id 
- serviceProvider List<String>Service Types 
- List of Service Provider Service Types that this Service Provider Action is applicable to.
- state String
- The current lifecycle state of the Service Provider Action.
Supporting Types
GetServiceProviderActionProperty    
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.