Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:DelegateAccessControl/getServiceProviderAction:getServiceProviderAction
arguments:
# arguments dictionary
The following arguments are supported:
- Service
Provider stringAction Id - Unique Oracle supplied identifier associated with the Service Provider Action.
- Service
Provider stringAction Id - Unique Oracle supplied identifier associated with the Service Provider Action.
- service
Provider StringAction Id - Unique Oracle supplied identifier associated with the Service Provider Action.
- service
Provider 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.
- service
Provider 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.
- Customer
Display 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<Get
Service Provider Action Property> - Fine grained properties associated with the Delegation Control.
- Resource
Type string - resourceType for which the ServiceProviderAction is applicable
- Service
Provider stringAction Id - Service
Provider 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.
- Customer
Display 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
[]Get
Service Provider Action Property - Fine grained properties associated with the Delegation Control.
- Resource
Type string - resourceType for which the ServiceProviderAction is applicable
- Service
Provider stringAction Id - Service
Provider []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.
- customer
Display 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<Get
Service Provider Action Property> - Fine grained properties associated with the Delegation Control.
- resource
Type String - resourceType for which the ServiceProviderAction is applicable
- service
Provider StringAction Id - service
Provider 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.
- customer
Display 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
Get
Service Provider Action Property[] - Fine grained properties associated with the Delegation Control.
- resource
Type string - resourceType for which the ServiceProviderAction is applicable
- service
Provider stringAction Id - service
Provider 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[delegateaccesscontrol.
Get Service 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.
- customer
Display 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.
- resource
Type String - resourceType for which the ServiceProviderAction is applicable
- service
Provider StringAction Id - service
Provider 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
oci
Terraform Provider.