Oracle Cloud Infrastructure v3.9.0 published on Wednesday, Sep 24, 2025 by Pulumi
oci.Jms.getFleetBlocklists
This data source provides the list of Fleet Blocklists in Oracle Cloud Infrastructure Jms service.
Returns a list of blocklist entities contained by a fleet.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testFleetBlocklists = oci.Jms.getFleetBlocklists({
fleetId: testFleet.id,
managedInstanceId: fleetBlocklistManagedInstanceId,
operation: fleetBlocklistOperation,
});
import pulumi
import pulumi_oci as oci
test_fleet_blocklists = oci.Jms.get_fleet_blocklists(fleet_id=test_fleet["id"],
managed_instance_id=fleet_blocklist_managed_instance_id,
operation=fleet_blocklist_operation)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/jms"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := jms.GetFleetBlocklists(ctx, &jms.GetFleetBlocklistsArgs{
FleetId: testFleet.Id,
ManagedInstanceId: pulumi.StringRef(fleetBlocklistManagedInstanceId),
Operation: pulumi.StringRef(fleetBlocklistOperation),
}, 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 testFleetBlocklists = Oci.Jms.GetFleetBlocklists.Invoke(new()
{
FleetId = testFleet.Id,
ManagedInstanceId = fleetBlocklistManagedInstanceId,
Operation = fleetBlocklistOperation,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Jms.JmsFunctions;
import com.pulumi.oci.Jms.inputs.GetFleetBlocklistsArgs;
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 testFleetBlocklists = JmsFunctions.getFleetBlocklists(GetFleetBlocklistsArgs.builder()
.fleetId(testFleet.id())
.managedInstanceId(fleetBlocklistManagedInstanceId)
.operation(fleetBlocklistOperation)
.build());
}
}
variables:
testFleetBlocklists:
fn::invoke:
function: oci:Jms:getFleetBlocklists
arguments:
fleetId: ${testFleet.id}
managedInstanceId: ${fleetBlocklistManagedInstanceId}
operation: ${fleetBlocklistOperation}
Using getFleetBlocklists
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 getFleetBlocklists(args: GetFleetBlocklistsArgs, opts?: InvokeOptions): Promise<GetFleetBlocklistsResult>
function getFleetBlocklistsOutput(args: GetFleetBlocklistsOutputArgs, opts?: InvokeOptions): Output<GetFleetBlocklistsResult>def get_fleet_blocklists(filters: Optional[Sequence[GetFleetBlocklistsFilter]] = None,
fleet_id: Optional[str] = None,
managed_instance_id: Optional[str] = None,
operation: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFleetBlocklistsResult
def get_fleet_blocklists_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetFleetBlocklistsFilterArgs]]]] = None,
fleet_id: Optional[pulumi.Input[str]] = None,
managed_instance_id: Optional[pulumi.Input[str]] = None,
operation: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFleetBlocklistsResult]func GetFleetBlocklists(ctx *Context, args *GetFleetBlocklistsArgs, opts ...InvokeOption) (*GetFleetBlocklistsResult, error)
func GetFleetBlocklistsOutput(ctx *Context, args *GetFleetBlocklistsOutputArgs, opts ...InvokeOption) GetFleetBlocklistsResultOutput> Note: This function is named GetFleetBlocklists in the Go SDK.
public static class GetFleetBlocklists
{
public static Task<GetFleetBlocklistsResult> InvokeAsync(GetFleetBlocklistsArgs args, InvokeOptions? opts = null)
public static Output<GetFleetBlocklistsResult> Invoke(GetFleetBlocklistsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetFleetBlocklistsResult> getFleetBlocklists(GetFleetBlocklistsArgs args, InvokeOptions options)
public static Output<GetFleetBlocklistsResult> getFleetBlocklists(GetFleetBlocklistsArgs args, InvokeOptions options)
fn::invoke:
function: oci:Jms/getFleetBlocklists:getFleetBlocklists
arguments:
# arguments dictionaryThe following arguments are supported:
- Fleet
Id string - The OCID of the Fleet.
- Filters
List<Get
Fleet Blocklists Filter> - Managed
Instance stringId - The Fleet-unique identifier of the related managed instance.
- Operation string
- The operation type.
- Fleet
Id string - The OCID of the Fleet.
- Filters
[]Get
Fleet Blocklists Filter - Managed
Instance stringId - The Fleet-unique identifier of the related managed instance.
- Operation string
- The operation type.
- fleet
Id String - The OCID of the Fleet.
- filters
List<Get
Fleet Blocklists Filter> - managed
Instance StringId - The Fleet-unique identifier of the related managed instance.
- operation String
- The operation type.
- fleet
Id string - The OCID of the Fleet.
- filters
Get
Fleet Blocklists Filter[] - managed
Instance stringId - The Fleet-unique identifier of the related managed instance.
- operation string
- The operation type.
- fleet_
id str - The OCID of the Fleet.
- filters
Sequence[Get
Fleet Blocklists Filter] - managed_
instance_ strid - The Fleet-unique identifier of the related managed instance.
- operation str
- The operation type.
- fleet
Id String - The OCID of the Fleet.
- filters List<Property Map>
- managed
Instance StringId - The Fleet-unique identifier of the related managed instance.
- operation String
- The operation type.
getFleetBlocklists Result
The following output properties are available:
- Fleet
Id string - The OCID of the fleet.
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
List<Get
Fleet Blocklists Item> - The blocklist
- Filters
List<Get
Fleet Blocklists Filter> - Managed
Instance stringId - The OCID of the related managed instance.
- Operation string
- The operation type
- Fleet
Id string - The OCID of the fleet.
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
[]Get
Fleet Blocklists Item - The blocklist
- Filters
[]Get
Fleet Blocklists Filter - Managed
Instance stringId - The OCID of the related managed instance.
- Operation string
- The operation type
- fleet
Id String - The OCID of the fleet.
- id String
- The provider-assigned unique ID for this managed resource.
- items
List<Get
Fleet Blocklists Item> - The blocklist
- filters
List<Get
Fleet Blocklists Filter> - managed
Instance StringId - The OCID of the related managed instance.
- operation String
- The operation type
- fleet
Id string - The OCID of the fleet.
- id string
- The provider-assigned unique ID for this managed resource.
- items
Get
Fleet Blocklists Item[] - The blocklist
- filters
Get
Fleet Blocklists Filter[] - managed
Instance stringId - The OCID of the related managed instance.
- operation string
- The operation type
- fleet_
id str - The OCID of the fleet.
- id str
- The provider-assigned unique ID for this managed resource.
- items
Sequence[Get
Fleet Blocklists Item] - The blocklist
- filters
Sequence[Get
Fleet Blocklists Filter] - managed_
instance_ strid - The OCID of the related managed instance.
- operation str
- The operation type
- fleet
Id String - The OCID of the fleet.
- id String
- The provider-assigned unique ID for this managed resource.
- items List<Property Map>
- The blocklist
- filters List<Property Map>
- managed
Instance StringId - The OCID of the related managed instance.
- operation String
- The operation type
Supporting Types
GetFleetBlocklistsFilter
GetFleetBlocklistsItem
- Key string
- The unique identifier of this blocklist record.
- Operation string
- The operation type.
- Reason string
- The reason why the operation is blocklisted.
- Targets
List<Get
Fleet Blocklists Item Target> - A resource to blocklist for certain operation.
- Key string
- The unique identifier of this blocklist record.
- Operation string
- The operation type.
- Reason string
- The reason why the operation is blocklisted.
- Targets
[]Get
Fleet Blocklists Item Target - A resource to blocklist for certain operation.
- key String
- The unique identifier of this blocklist record.
- operation String
- The operation type.
- reason String
- The reason why the operation is blocklisted.
- targets
List<Get
Fleet Blocklists Item Target> - A resource to blocklist for certain operation.
- key string
- The unique identifier of this blocklist record.
- operation string
- The operation type.
- reason string
- The reason why the operation is blocklisted.
- targets
Get
Fleet Blocklists Item Target[] - A resource to blocklist for certain operation.
- key str
- The unique identifier of this blocklist record.
- operation str
- The operation type.
- reason str
- The reason why the operation is blocklisted.
- targets
Sequence[Get
Fleet Blocklists Item Target] - A resource to blocklist for certain operation.
- key String
- The unique identifier of this blocklist record.
- operation String
- The operation type.
- reason String
- The reason why the operation is blocklisted.
- targets List<Property Map>
- A resource to blocklist for certain operation.
GetFleetBlocklistsItemTarget
- Fleet
Id string - The OCID of the Fleet.
- Installation
Key string - The unique identifier for the installation of Java Runtime at a specific path on a specific operating system.
- Managed
Instance stringId - The Fleet-unique identifier of the related managed instance.
- Fleet
Id string - The OCID of the Fleet.
- Installation
Key string - The unique identifier for the installation of Java Runtime at a specific path on a specific operating system.
- Managed
Instance stringId - The Fleet-unique identifier of the related managed instance.
- fleet
Id String - The OCID of the Fleet.
- installation
Key String - The unique identifier for the installation of Java Runtime at a specific path on a specific operating system.
- managed
Instance StringId - The Fleet-unique identifier of the related managed instance.
- fleet
Id string - The OCID of the Fleet.
- installation
Key string - The unique identifier for the installation of Java Runtime at a specific path on a specific operating system.
- managed
Instance stringId - The Fleet-unique identifier of the related managed instance.
- fleet_
id str - The OCID of the Fleet.
- installation_
key str - The unique identifier for the installation of Java Runtime at a specific path on a specific operating system.
- managed_
instance_ strid - The Fleet-unique identifier of the related managed instance.
- fleet
Id String - The OCID of the Fleet.
- installation
Key String - The unique identifier for the installation of Java Runtime at a specific path on a specific operating system.
- managed
Instance StringId - The Fleet-unique identifier of the related managed instance.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
