Oracle Cloud Infrastructure v3.11.0 published on Thursday, Nov 13, 2025 by Pulumi
oci.FleetAppsManagement.getPatch
Oracle Cloud Infrastructure v3.11.0 published on Thursday, Nov 13, 2025 by Pulumi
This data source provides details about a specific Patch resource in Oracle Cloud Infrastructure Fleet Apps Management service.
Gets a Patch by identifier.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testPatch = oci.FleetAppsManagement.getPatch({
patchId: testPatchOciFleetAppsManagementPatch.id,
});
import pulumi
import pulumi_oci as oci
test_patch = oci.FleetAppsManagement.get_patch(patch_id=test_patch_oci_fleet_apps_management_patch["id"])
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.GetPatch(ctx, &fleetappsmanagement.GetPatchArgs{
PatchId: testPatchOciFleetAppsManagementPatch.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 testPatch = Oci.FleetAppsManagement.GetPatch.Invoke(new()
{
PatchId = testPatchOciFleetAppsManagementPatch.Id,
});
});
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.GetPatchArgs;
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 testPatch = FleetAppsManagementFunctions.getPatch(GetPatchArgs.builder()
.patchId(testPatchOciFleetAppsManagementPatch.id())
.build());
}
}
variables:
testPatch:
fn::invoke:
function: oci:FleetAppsManagement:getPatch
arguments:
patchId: ${testPatchOciFleetAppsManagementPatch.id}
Using getPatch
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 getPatch(args: GetPatchArgs, opts?: InvokeOptions): Promise<GetPatchResult>
function getPatchOutput(args: GetPatchOutputArgs, opts?: InvokeOptions): Output<GetPatchResult>def get_patch(patch_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPatchResult
def get_patch_output(patch_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPatchResult]func LookupPatch(ctx *Context, args *LookupPatchArgs, opts ...InvokeOption) (*LookupPatchResult, error)
func LookupPatchOutput(ctx *Context, args *LookupPatchOutputArgs, opts ...InvokeOption) LookupPatchResultOutput> Note: This function is named LookupPatch in the Go SDK.
public static class GetPatch
{
public static Task<GetPatchResult> InvokeAsync(GetPatchArgs args, InvokeOptions? opts = null)
public static Output<GetPatchResult> Invoke(GetPatchInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPatchResult> getPatch(GetPatchArgs args, InvokeOptions options)
public static Output<GetPatchResult> getPatch(GetPatchArgs args, InvokeOptions options)
fn::invoke:
function: oci:FleetAppsManagement/getPatch:getPatch
arguments:
# arguments dictionaryThe following arguments are supported:
- Patch
Id string - Unique Patch identifier.
- Patch
Id string - Unique Patch identifier.
- patch
Id String - Unique Patch identifier.
- patch
Id string - Unique Patch identifier.
- patch_
id str - Unique Patch identifier.
- patch
Id String - Unique Patch identifier.
getPatch Result
The following output properties are available:
- Artifact
Details List<GetPatch Artifact Detail> - Patch artifact description and content details.
- Compartment
Id string - Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Dependent
Patches List<GetPatch Dependent Patch> - Dependent Patches for this patch.
- Description string
- A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - Id string
- The OCID of the resource.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Name string
- A user-friendly name. Should be unique within the tenancy, and cannot be changed after creation. Avoid entering confidential information.
- Patch
Id string - Patch
Types List<GetPatch Patch Type> - Patch Type
- Products
List<Get
Patch Product> - Product
- Resource
Region string - Associated region
- Severity string
- Patch Severity.
- State string
- The current state of the Patch.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Released string - Date when the patch was released.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- Type string
- Provide information on who defined the patch. Example: For Custom Patches the value will be USER_DEFINED For Oracle Defined Patches the value will be ORACLE_DEFINED
- Artifact
Details []GetPatch Artifact Detail - Patch artifact description and content details.
- Compartment
Id string - map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Dependent
Patches []GetPatch Dependent Patch - Dependent Patches for this patch.
- Description string
- A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- map[string]string
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - Id string
- The OCID of the resource.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Name string
- A user-friendly name. Should be unique within the tenancy, and cannot be changed after creation. Avoid entering confidential information.
- Patch
Id string - Patch
Types []GetPatch Patch Type - Patch Type
- Products
[]Get
Patch Product - Product
- Resource
Region string - Associated region
- Severity string
- Patch Severity.
- State string
- The current state of the Patch.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Released string - Date when the patch was released.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- Type string
- Provide information on who defined the patch. Example: For Custom Patches the value will be USER_DEFINED For Oracle Defined Patches the value will be ORACLE_DEFINED
- artifact
Details List<GetPatch Artifact Detail> - Patch artifact description and content details.
- compartment
Id String - Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - dependent
Patches List<GetPatch Dependent Patch> - Dependent Patches for this patch.
- description String
- A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - id String
- The OCID of the resource.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- name String
- A user-friendly name. Should be unique within the tenancy, and cannot be changed after creation. Avoid entering confidential information.
- patch
Id String - patch
Types List<GetPatch Patch Type> - Patch Type
- products
List<Get
Patch Product> - Product
- resource
Region String - Associated region
- severity String
- Patch Severity.
- state String
- The current state of the Patch.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Released String - Date when the patch was released.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
- type String
- Provide information on who defined the patch. Example: For Custom Patches the value will be USER_DEFINED For Oracle Defined Patches the value will be ORACLE_DEFINED
- artifact
Details GetPatch Artifact Detail[] - Patch artifact description and content details.
- compartment
Id string - {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - dependent
Patches GetPatch Dependent Patch[] - Dependent Patches for this patch.
- description string
- A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - id string
- The OCID of the resource.
- lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- name string
- A user-friendly name. Should be unique within the tenancy, and cannot be changed after creation. Avoid entering confidential information.
- patch
Id string - patch
Types GetPatch Patch Type[] - Patch Type
- products
Get
Patch Product[] - Product
- resource
Region string - Associated region
- severity string
- Patch Severity.
- state string
- The current state of the Patch.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- time
Released string - Date when the patch was released.
- time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- type string
- Provide information on who defined the patch. Example: For Custom Patches the value will be USER_DEFINED For Oracle Defined Patches the value will be ORACLE_DEFINED
- artifact_
details Sequence[GetPatch Artifact Detail] - Patch artifact description and content details.
- compartment_
id str - Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - dependent_
patches Sequence[GetPatch Dependent Patch] - Dependent Patches for this patch.
- description str
- A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - id str
- The OCID of the resource.
- lifecycle_
details str - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- name str
- A user-friendly name. Should be unique within the tenancy, and cannot be changed after creation. Avoid entering confidential information.
- patch_
id str - patch_
types Sequence[GetPatch Patch Type] - Patch Type
- products
Sequence[Get
Patch Product] - Product
- resource_
region str - Associated region
- severity str
- Patch Severity.
- state str
- The current state of the Patch.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
created str - The time this resource was created. An RFC3339 formatted datetime string.
- time_
released str - Date when the patch was released.
- time_
updated str - The time this resource was last updated. An RFC3339 formatted datetime string.
- type str
- Provide information on who defined the patch. Example: For Custom Patches the value will be USER_DEFINED For Oracle Defined Patches the value will be ORACLE_DEFINED
- artifact
Details List<Property Map> - Patch artifact description and content details.
- compartment
Id String - Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - dependent
Patches List<Property Map> - Dependent Patches for this patch.
- description String
- A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- Map<String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - id String
- The OCID of the resource.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- name String
- A user-friendly name. Should be unique within the tenancy, and cannot be changed after creation. Avoid entering confidential information.
- patch
Id String - patch
Types List<Property Map> - Patch Type
- products List<Property Map>
- Product
- resource
Region String - Associated region
- severity String
- Patch Severity.
- state String
- The current state of the Patch.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Released String - Date when the patch was released.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
- type String
- Provide information on who defined the patch. Example: For Custom Patches the value will be USER_DEFINED For Oracle Defined Patches the value will be ORACLE_DEFINED
Supporting Types
GetPatchArtifactDetail
- Artifact
List<Get
Patch Artifact Detail Artifact> - Patch artifact metadata Details which is common for all platforms.
- Artifacts
List<Get
Patch Artifact Detail Artifact> - Artifacts.
- Category string
- Artifact category details.
- Artifact
[]Get
Patch Artifact Detail Artifact - Patch artifact metadata Details which is common for all platforms.
- Artifacts
[]Get
Patch Artifact Detail Artifact - Artifacts.
- Category string
- Artifact category details.
- artifact
List<Get
Patch Artifact Detail Artifact> - Patch artifact metadata Details which is common for all platforms.
- artifacts
List<Get
Patch Artifact Detail Artifact> - Artifacts.
- category String
- Artifact category details.
- artifact
Get
Patch Artifact Detail Artifact[] - Patch artifact metadata Details which is common for all platforms.
- artifacts
Get
Patch Artifact Detail Artifact[] - Artifacts.
- category string
- Artifact category details.
- artifact
Sequence[Get
Patch Artifact Detail Artifact] - Patch artifact metadata Details which is common for all platforms.
- artifacts
Sequence[Get
Patch Artifact Detail Artifact] - Artifacts.
- category str
- Artifact category details.
- artifact List<Property Map>
- Patch artifact metadata Details which is common for all platforms.
- artifacts List<Property Map>
- Artifacts.
- category String
- Artifact category details.
GetPatchArtifactDetailArtifact
- Architecture string
- System architecture.
- Contents
List<Get
Patch Artifact Detail Artifact Content> - Content Source details.
- Os
Type string - The OS type the patch is applicable for.
- Architecture string
- System architecture.
- Contents
[]Get
Patch Artifact Detail Artifact Content - Content Source details.
- Os
Type string - The OS type the patch is applicable for.
- architecture String
- System architecture.
- contents
List<Get
Patch Artifact Detail Artifact Content> - Content Source details.
- os
Type String - The OS type the patch is applicable for.
- architecture string
- System architecture.
- contents
Get
Patch Artifact Detail Artifact Content[] - Content Source details.
- os
Type string - The OS type the patch is applicable for.
- architecture str
- System architecture.
- contents
Sequence[Get
Patch Artifact Detail Artifact Content] - Content Source details.
- os_
type str - The OS type the patch is applicable for.
- architecture String
- System architecture.
- contents List<Property Map>
- Content Source details.
- os
Type String - The OS type the patch is applicable for.
GetPatchArtifactDetailArtifactContent
- Bucket string
- Bucket Name.
- Checksum string
- md5 checksum of the artifact.
- Namespace string
- Namespace.
- Object string
- Object Name.
- Source
Type string - Content Source type details.
- Bucket string
- Bucket Name.
- Checksum string
- md5 checksum of the artifact.
- Namespace string
- Namespace.
- Object string
- Object Name.
- Source
Type string - Content Source type details.
- bucket String
- Bucket Name.
- checksum String
- md5 checksum of the artifact.
- namespace String
- Namespace.
- object String
- Object Name.
- source
Type String - Content Source type details.
- bucket string
- Bucket Name.
- checksum string
- md5 checksum of the artifact.
- namespace string
- Namespace.
- object string
- Object Name.
- source
Type string - Content Source type details.
- bucket str
- Bucket Name.
- checksum str
- md5 checksum of the artifact.
- namespace str
- Namespace.
- object str
- Object Name.
- source_
type str - Content Source type details.
- bucket String
- Bucket Name.
- checksum String
- md5 checksum of the artifact.
- namespace String
- Namespace.
- object String
- Object Name.
- source
Type String - Content Source type details.
GetPatchDependentPatch
- Id string
- The OCID of the resource.
- Id string
- The OCID of the resource.
- id String
- The OCID of the resource.
- id string
- The OCID of the resource.
- id str
- The OCID of the resource.
- id String
- The OCID of the resource.
GetPatchPatchType
- Platform
Configuration stringId - PlatformConfiguration Id corresponding to the Product
- Platform
Configuration stringId - PlatformConfiguration Id corresponding to the Product
- platform
Configuration StringId - PlatformConfiguration Id corresponding to the Product
- platform
Configuration stringId - PlatformConfiguration Id corresponding to the Product
- platform_
configuration_ strid - PlatformConfiguration Id corresponding to the Product
- platform
Configuration StringId - PlatformConfiguration Id corresponding to the Product
GetPatchProduct
- Platform
Configuration stringId - PlatformConfiguration Id corresponding to the Product
- Version string
- product version.
- Platform
Configuration stringId - PlatformConfiguration Id corresponding to the Product
- Version string
- product version.
- platform
Configuration StringId - PlatformConfiguration Id corresponding to the Product
- version String
- product version.
- platform
Configuration stringId - PlatformConfiguration Id corresponding to the Product
- version string
- product version.
- platform_
configuration_ strid - PlatformConfiguration Id corresponding to the Product
- version str
- product version.
- platform
Configuration StringId - PlatformConfiguration Id corresponding to the Product
- version String
- product version.
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.0 published on Thursday, Nov 13, 2025 by Pulumi
