Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

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

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testFleetBlocklists = Output.Create(Oci.Jms.GetFleetBlocklists.InvokeAsync(new Oci.Jms.GetFleetBlocklistsArgs
        {
            FleetId = oci_jms_fleet.Test_fleet.Id,
            ManagedInstanceId = oci_osmanagement_managed_instance.Test_managed_instance.Id,
            Operation = @var.Fleet_blocklist_operation,
        }));
    }

}
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/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:           oci_jms_fleet.Test_fleet.Id,
			ManagedInstanceId: pulumi.StringRef(oci_osmanagement_managed_instance.Test_managed_instance.Id),
			Operation:         pulumi.StringRef(_var.Fleet_blocklist_operation),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_fleet_blocklists = oci.Jms.get_fleet_blocklists(fleet_id=oci_jms_fleet["test_fleet"]["id"],
    managed_instance_id=oci_osmanagement_managed_instance["test_managed_instance"]["id"],
    operation=var["fleet_blocklist_operation"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testFleetBlocklists = oci.Jms.getFleetBlocklists({
    fleetId: oci_jms_fleet.test_fleet.id,
    managedInstanceId: oci_osmanagement_managed_instance.test_managed_instance.id,
    operation: _var.fleet_blocklist_operation,
});

Coming soon!

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[_jms.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[_jms.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)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:Jms/getFleetBlocklists:getFleetBlocklists
  Arguments:
    # Arguments dictionary

The following arguments are supported:

FleetId string

The OCID of the Fleet.

Filters List<GetFleetBlocklistsFilter>
ManagedInstanceId string

The Fleet-unique identifier of the related managed instance.

Operation string

The operation type.

FleetId string

The OCID of the Fleet.

Filters []GetFleetBlocklistsFilter
ManagedInstanceId string

The Fleet-unique identifier of the related managed instance.

Operation string

The operation type.

fleetId String

The OCID of the Fleet.

filters List<GetFleetBlocklistsFilter>
managedInstanceId String

The Fleet-unique identifier of the related managed instance.

operation String

The operation type.

fleetId string

The OCID of the Fleet.

filters GetFleetBlocklistsFilter[]
managedInstanceId string

The Fleet-unique identifier of the related managed instance.

operation string

The operation type.

fleet_id str

The OCID of the Fleet.

filters GetFleetBlocklistsFilter]
managed_instance_id str

The Fleet-unique identifier of the related managed instance.

operation str

The operation type.

fleetId String

The OCID of the Fleet.

filters List<Property Map>
managedInstanceId String

The Fleet-unique identifier of the related managed instance.

operation String

The operation type.

getFleetBlocklists Result

The following output properties are available:

FleetId string

The OCID of the fleet.

Id string

The provider-assigned unique ID for this managed resource.

Items List<GetFleetBlocklistsItem>

The blocklist

Filters List<GetFleetBlocklistsFilter>
ManagedInstanceId string

The OCID of the related managed instance.

Operation string

The operation type

FleetId string

The OCID of the fleet.

Id string

The provider-assigned unique ID for this managed resource.

Items []GetFleetBlocklistsItem

The blocklist

Filters []GetFleetBlocklistsFilter
ManagedInstanceId string

The OCID of the related managed instance.

Operation string

The operation type

fleetId String

The OCID of the fleet.

id String

The provider-assigned unique ID for this managed resource.

items List<GetFleetBlocklistsItem>

The blocklist

filters List<GetFleetBlocklistsFilter>
managedInstanceId String

The OCID of the related managed instance.

operation String

The operation type

fleetId string

The OCID of the fleet.

id string

The provider-assigned unique ID for this managed resource.

items GetFleetBlocklistsItem[]

The blocklist

filters GetFleetBlocklistsFilter[]
managedInstanceId string

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 GetFleetBlocklistsItem]

The blocklist

filters GetFleetBlocklistsFilter]
managed_instance_id str

The OCID of the related managed instance.

operation str

The operation type

fleetId 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>
managedInstanceId String

The OCID of the related managed instance.

operation String

The operation type

Supporting Types

GetFleetBlocklistsFilter

Name string
Values List<string>
Regex bool
Name string
Values []string
Regex bool
name String
values List<String>
regex Boolean
name string
values string[]
regex boolean
name str
values Sequence[str]
regex bool
name String
values List<String>
regex Boolean

GetFleetBlocklistsItem

Key string

The unique identifier of this blocklist record.

Operation string

The operation type.

Reason string

The reason for why the operation is blocklisted

Targets List<GetFleetBlocklistsItemTarget>

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 for why the operation is blocklisted

Targets []GetFleetBlocklistsItemTarget

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 for why the operation is blocklisted

targets List<GetFleetBlocklistsItemTarget>

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 for why the operation is blocklisted

targets GetFleetBlocklistsItemTarget[]

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 for why the operation is blocklisted

targets GetFleetBlocklistsItemTarget]

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 for why the operation is blocklisted

targets List<Property Map>

A resource to blocklist for certain operation.

GetFleetBlocklistsItemTarget

FleetId string

The OCID of the Fleet.

InstallationKey string

The unique identifier for the installation of Java Runtime at a specific path on a specific operating system.

ManagedInstanceId string

The Fleet-unique identifier of the related managed instance.

FleetId string

The OCID of the Fleet.

InstallationKey string

The unique identifier for the installation of Java Runtime at a specific path on a specific operating system.

ManagedInstanceId string

The Fleet-unique identifier of the related managed instance.

fleetId String

The OCID of the Fleet.

installationKey String

The unique identifier for the installation of Java Runtime at a specific path on a specific operating system.

managedInstanceId String

The Fleet-unique identifier of the related managed instance.

fleetId string

The OCID of the Fleet.

installationKey string

The unique identifier for the installation of Java Runtime at a specific path on a specific operating system.

managedInstanceId string

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_id str

The Fleet-unique identifier of the related managed instance.

fleetId String

The OCID of the Fleet.

installationKey String

The unique identifier for the installation of Java Runtime at a specific path on a specific operating system.

managedInstanceId String

The Fleet-unique identifier of the related managed instance.

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.