Oracle Cloud Infrastructure v3.11.1 published on Friday, Nov 14, 2025 by Pulumi
Oracle Cloud Infrastructure v3.11.1 published on Friday, Nov 14, 2025 by Pulumi
This data source provides the list of Target Properties in Oracle Cloud Infrastructure Fleet Apps Management service.
Gets a list of target properties for the specified target.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testTargetProperties = oci.FleetAppsManagement.getTargetProperties({
compartmentId: compartmentId,
targetId: fleetTargetId,
targetName: fleetTargetName,
severity: targetPropertySeverity,
});
import pulumi
import pulumi_oci as oci
test_target_properties = oci.FleetAppsManagement.get_target_properties(compartment_id=compartment_id,
target_id=fleet_target_id,
target_name=fleet_target_name,
severity=target_property_severity)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/fleetappsmanagement"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := fleetappsmanagement.GetTargetProperties(ctx, &fleetappsmanagement.GetTargetPropertiesArgs{
CompartmentId: compartmentId,
TargetId: pulumi.StringRef(fleetTargetId),
TargetName: pulumi.StringRef(fleetTargetName),
Severity: pulumi.StringRef(targetPropertySeverity),
}, 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 testTargetProperties = Oci.FleetAppsManagement.GetTargetProperties.Invoke(new()
{
CompartmentId = compartmentId,
TargetId = fleetTargetId,
TargetName = fleetTargetName,
Severity = targetPropertySeverity,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.FleetAppsManagement.FleetAppsManagementFunctions;
import com.pulumi.oci.FleetAppsManagement.inputs.GetTargetPropertiesArgs;
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 testTargetProperties = FleetAppsManagementFunctions.getTargetProperties(GetTargetPropertiesArgs.builder()
.compartmentId(compartmentId)
.targetId(fleetTargetId)
.targetName(fleetTargetName)
.severity(targetPropertySeverity)
.build());
}
}
variables:
testTargetProperties:
fn::invoke:
function: oci:FleetAppsManagement:getTargetProperties
arguments:
compartmentId: ${compartmentId}
targetId: ${fleetTargetId}
targetName: ${fleetTargetName}
severity: ${targetPropertySeverity}
Using getTargetProperties
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 getTargetProperties(args: GetTargetPropertiesArgs, opts?: InvokeOptions): Promise<GetTargetPropertiesResult>
function getTargetPropertiesOutput(args: GetTargetPropertiesOutputArgs, opts?: InvokeOptions): Output<GetTargetPropertiesResult>def get_target_properties(compartment_id: Optional[str] = None,
filters: Optional[Sequence[GetTargetPropertiesFilter]] = None,
severity: Optional[str] = None,
target_id: Optional[str] = None,
target_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTargetPropertiesResult
def get_target_properties_output(compartment_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetTargetPropertiesFilterArgs]]]] = None,
severity: Optional[pulumi.Input[str]] = None,
target_id: Optional[pulumi.Input[str]] = None,
target_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTargetPropertiesResult]func GetTargetProperties(ctx *Context, args *GetTargetPropertiesArgs, opts ...InvokeOption) (*GetTargetPropertiesResult, error)
func GetTargetPropertiesOutput(ctx *Context, args *GetTargetPropertiesOutputArgs, opts ...InvokeOption) GetTargetPropertiesResultOutput> Note: This function is named GetTargetProperties in the Go SDK.
public static class GetTargetProperties
{
public static Task<GetTargetPropertiesResult> InvokeAsync(GetTargetPropertiesArgs args, InvokeOptions? opts = null)
public static Output<GetTargetPropertiesResult> Invoke(GetTargetPropertiesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTargetPropertiesResult> getTargetProperties(GetTargetPropertiesArgs args, InvokeOptions options)
public static Output<GetTargetPropertiesResult> getTargetProperties(GetTargetPropertiesArgs args, InvokeOptions options)
fn::invoke:
function: oci:FleetAppsManagement/getTargetProperties:getTargetProperties
arguments:
# arguments dictionaryThe following arguments are supported:
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Filters
List<Get
Target Properties Filter> - Severity string
- Patch severity.
- Target
Id string - Target identifier.
- Target
Name string - Target name.
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Filters
[]Get
Target Properties Filter - Severity string
- Patch severity.
- Target
Id string - Target identifier.
- Target
Name string - Target name.
- compartment
Id String - The OCID of the compartment in which to list resources.
- filters
List<Get
Target Properties Filter> - severity String
- Patch severity.
- target
Id String - Target identifier.
- target
Name String - Target name.
- compartment
Id string - The OCID of the compartment in which to list resources.
- filters
Get
Target Properties Filter[] - severity string
- Patch severity.
- target
Id string - Target identifier.
- target
Name string - Target name.
- compartment_
id str - The OCID of the compartment in which to list resources.
- filters
Sequence[Get
Target Properties Filter] - severity str
- Patch severity.
- target_
id str - Target identifier.
- target_
name str - Target name.
- compartment
Id String - The OCID of the compartment in which to list resources.
- filters List<Property Map>
- severity String
- Patch severity.
- target
Id String - Target identifier.
- target
Name String - Target name.
getTargetProperties Result
The following output properties are available:
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Target
Property List<GetCollections Target Properties Target Property Collection> - The list of target_property_collection.
- Filters
List<Get
Target Properties Filter> - Severity string
- Target
Id string - Target
Name string
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Target
Property []GetCollections Target Properties Target Property Collection - The list of target_property_collection.
- Filters
[]Get
Target Properties Filter - Severity string
- Target
Id string - Target
Name string
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- target
Property List<GetCollections Target Properties Target Property Collection> - The list of target_property_collection.
- filters
List<Get
Target Properties Filter> - severity String
- target
Id String - target
Name String
- compartment
Id string - id string
- The provider-assigned unique ID for this managed resource.
- target
Property GetCollections Target Properties Target Property Collection[] - The list of target_property_collection.
- filters
Get
Target Properties Filter[] - severity string
- target
Id string - target
Name string
- compartment_
id str - id str
- The provider-assigned unique ID for this managed resource.
- target_
property_ Sequence[Getcollections Target Properties Target Property Collection] - The list of target_property_collection.
- filters
Sequence[Get
Target Properties Filter] - severity str
- target_
id str - target_
name str
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- target
Property List<Property Map>Collections - The list of target_property_collection.
- filters List<Property Map>
- severity String
- target
Id String - target
Name String
Supporting Types
GetTargetPropertiesFilter
GetTargetPropertiesTargetPropertyCollection
- Items
List<Get
Target Properties Target Property Collection Item> - List of target properties.
- Items
[]Get
Target Properties Target Property Collection Item - List of target properties.
- items
List<Get
Target Properties Target Property Collection Item> - List of target properties.
- items
Get
Target Properties Target Property Collection Item[] - List of target properties.
- items
Sequence[Get
Target Properties Target Property Collection Item] - List of target properties.
- items List<Property Map>
- List of target properties.
GetTargetPropertiesTargetPropertyCollectionItem
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Oracle Cloud Infrastructure v3.11.1 published on Friday, Nov 14, 2025 by Pulumi
