Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.DelegateAccessControl.getServiceProviderActions
Explore with Pulumi AI
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:
- Compartment
Id string - The OCID of the compartment.
- Filters
List<Get
Service Provider Actions Filter> - Name string
- A filter to return only resources that match the entire name given.
- Resource
Type string - A filter to return only resources that match the given resource type.
- Service
Provider List<string>Service Types - 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 string - The OCID of the compartment.
- Filters
[]Get
Service Provider Actions Filter - Name string
- A filter to return only resources that match the entire name given.
- Resource
Type string - A filter to return only resources that match the given resource type.
- Service
Provider []stringService Types - 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 String - The OCID of the compartment.
- filters
List<Get
Service Provider Actions Filter> - name String
- A filter to return only resources that match the entire name given.
- resource
Type String - A filter to return only resources that match the given resource type.
- service
Provider List<String>Service Types - 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 string - The OCID of the compartment.
- filters
Get
Service Provider Actions Filter[] - name string
- A filter to return only resources that match the entire name given.
- resource
Type string - A filter to return only resources that match the given resource type.
- service
Provider string[]Service Types - 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.
Get Service Provider Actions Filter] - 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_ Sequence[str]service_ types - 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.
- compartment
Id String - The OCID of the compartment.
- filters List<Property Map>
- name String
- A filter to return only resources that match the entire name given.
- resource
Type String - A filter to return only resources that match the given resource type.
- service
Provider List<String>Service Types - 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:
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Service
Provider List<GetAction Summary Collections Service Provider Actions Service Provider Action Summary Collection> - The list of service_provider_action_summary_collection.
- Filters
List<Get
Service Provider Actions Filter> - Name string
- Name of the property
- Resource
Type string - resourceType for which the ServiceProviderAction is applicable
- Service
Provider List<string>Service Types - State string
- The current lifecycle state of the Service Provider Action.
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Service
Provider []GetAction Summary Collections Service Provider Actions Service Provider Action Summary Collection - The list of service_provider_action_summary_collection.
- Filters
[]Get
Service Provider Actions Filter - Name string
- Name of the property
- Resource
Type string - resourceType for which the ServiceProviderAction is applicable
- Service
Provider []stringService Types - State string
- The current lifecycle state of the Service Provider Action.
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- service
Provider List<GetAction Summary Collections Service Provider Actions Service Provider Action Summary Collection> - The list of service_provider_action_summary_collection.
- filters
List<Get
Service Provider Actions Filter> - name String
- Name of the property
- resource
Type String - resourceType for which the ServiceProviderAction is applicable
- service
Provider List<String>Service Types - state String
- The current lifecycle state of the Service Provider Action.
- compartment
Id string - id string
- The provider-assigned unique ID for this managed resource.
- service
Provider GetAction Summary Collections Service Provider Actions Service Provider Action Summary Collection[] - The list of service_provider_action_summary_collection.
- filters
Get
Service Provider Actions Filter[] - name string
- Name of the property
- resource
Type string - resourceType for which the ServiceProviderAction is applicable
- service
Provider string[]Service Types - 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_ Sequence[delegateaccesscontrol.action_ summary_ collections Get Service Provider Actions Service Provider Action Summary Collection] - The list of service_provider_action_summary_collection.
- filters
Sequence[delegateaccesscontrol.
Get Service Provider Actions Filter] - name str
- Name of the property
- resource_
type str - resourceType for which the ServiceProviderAction is applicable
- service_
provider_ Sequence[str]service_ types - state str
- The current lifecycle state of the Service Provider Action.
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- service
Provider List<Property Map>Action Summary Collections - The list of service_provider_action_summary_collection.
- filters List<Property Map>
- name String
- Name of the property
- resource
Type String - resourceType for which the ServiceProviderAction is applicable
- service
Provider List<String>Service Types - state String
- The current lifecycle state of the Service Provider Action.
Supporting Types
GetServiceProviderActionsFilter
GetServiceProviderActionsServiceProviderActionSummaryCollection
GetServiceProviderActionsServiceProviderActionSummaryCollectionItem
- 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
- 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<Get
Service Provider Actions Service Provider Action Summary Collection Item Property> - Fine grained properties associated with the Delegation Control.
- Resource
Type string - A filter to return only resources that match the given resource type.
- Service
Provider List<string>Service Types - 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.
- 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
- Unique Oracle assigned identifier for the Service Provider Action.
- Name string
- A filter to return only resources that match the entire name given.
- Properties
[]Get
Service Provider Actions Service Provider Action Summary Collection Item Property - Fine grained properties associated with the Delegation Control.
- Resource
Type string - A filter to return only resources that match the given resource type.
- Service
Provider []stringService Types - 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.
- 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
- 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<Get
Service Provider Actions Service Provider Action Summary Collection Item Property> - Fine grained properties associated with the Delegation Control.
- resource
Type String - A filter to return only resources that match the given resource type.
- service
Provider List<String>Service Types - 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.
- 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
- Unique Oracle assigned identifier for the Service Provider Action.
- name string
- A filter to return only resources that match the entire name given.
- properties
Get
Service Provider Actions Service Provider Action Summary Collection Item Property[] - Fine grained properties associated with the Delegation Control.
- resource
Type string - A filter to return only resources that match the given resource type.
- service
Provider string[]Service Types - 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_ 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
- 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.
Get Service Provider Actions Service Provider Action Summary Collection Item Property] - 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_ Sequence[str]service_ types - 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.
- 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
- 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.
- resource
Type String - A filter to return only resources that match the given resource type.
- service
Provider List<String>Service Types - 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
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.