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

oci.DelegateAccessControl.getServiceProviderAction

Explore with Pulumi AI

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

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:DelegateAccessControl/getServiceProviderAction:getServiceProviderAction
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ServiceProviderActionId string
    Unique Oracle supplied identifier associated with the Service Provider Action.
    ServiceProviderActionId string
    Unique Oracle supplied identifier associated with the Service Provider Action.
    serviceProviderActionId String
    Unique Oracle supplied identifier associated with the Service Provider Action.
    serviceProviderActionId string
    Unique Oracle supplied identifier associated with the Service Provider Action.
    service_provider_action_id str
    Unique Oracle supplied identifier associated with the Service Provider Action.
    serviceProviderActionId String
    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.
    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
    The provider-assigned unique ID for this managed resource.
    Name string
    Name of the property
    Properties List<GetServiceProviderActionProperty>
    Fine grained properties associated with the Delegation Control.
    ResourceType string
    resourceType for which the ServiceProviderAction is applicable
    ServiceProviderActionId string
    ServiceProviderServiceTypes List<string>
    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.
    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
    The provider-assigned unique ID for this managed resource.
    Name string
    Name of the property
    Properties []GetServiceProviderActionProperty
    Fine grained properties associated with the Delegation Control.
    ResourceType string
    resourceType for which the ServiceProviderAction is applicable
    ServiceProviderActionId string
    ServiceProviderServiceTypes []string
    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.
    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
    The provider-assigned unique ID for this managed resource.
    name String
    Name of the property
    properties List<GetServiceProviderActionProperty>
    Fine grained properties associated with the Delegation Control.
    resourceType String
    resourceType for which the ServiceProviderAction is applicable
    serviceProviderActionId String
    serviceProviderServiceTypes List<String>
    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.
    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
    The provider-assigned unique ID for this managed resource.
    name string
    Name of the property
    properties GetServiceProviderActionProperty[]
    Fine grained properties associated with the Delegation Control.
    resourceType string
    resourceType for which the ServiceProviderAction is applicable
    serviceProviderActionId string
    serviceProviderServiceTypes string[]
    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_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
    The provider-assigned unique ID for this managed resource.
    name str
    Name of the property
    properties Sequence[delegateaccesscontrol.GetServiceProviderActionProperty]
    Fine grained properties associated with the Delegation Control.
    resource_type str
    resourceType for which the ServiceProviderAction is applicable
    service_provider_action_id str
    service_provider_service_types Sequence[str]
    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.
    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
    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
    serviceProviderActionId String
    serviceProviderServiceTypes List<String>
    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

    Name string
    Name of the property
    Value string
    value of the property
    Name string
    Name of the property
    Value string
    value of the property
    name String
    Name of the property
    value String
    value of the property
    name string
    Name of the property
    value string
    value of the property
    name str
    Name of the property
    value str
    value of the property
    name String
    Name of the property
    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.17.0 published on Friday, Nov 15, 2024 by Pulumi