1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. FleetAppsManagement
  5. Patch
Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi

oci.FleetAppsManagement.Patch

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi

    This resource provides the Patch resource in Oracle Cloud Infrastructure Fleet Apps Management service.

    Creates a new Patch.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testPatch = new oci.fleetappsmanagement.Patch("test_patch", {
        artifactDetails: {
            category: patchArtifactDetailsCategory,
            artifact: {
                content: {
                    bucket: patchArtifactDetailsArtifactContentBucket,
                    checksum: patchArtifactDetailsArtifactContentChecksum,
                    namespace: patchArtifactDetailsArtifactContentNamespace,
                    object: patchArtifactDetailsArtifactContentObject,
                    sourceType: patchArtifactDetailsArtifactContentSourceType,
                },
            },
            artifacts: [{
                architecture: patchArtifactDetailsArtifactsArchitecture,
                content: {
                    bucket: patchArtifactDetailsArtifactsContentBucket,
                    checksum: patchArtifactDetailsArtifactsContentChecksum,
                    namespace: patchArtifactDetailsArtifactsContentNamespace,
                    object: patchArtifactDetailsArtifactsContentObject,
                    sourceType: patchArtifactDetailsArtifactsContentSourceType,
                },
                osType: patchArtifactDetailsArtifactsOsType,
            }],
        },
        compartmentId: compartmentId,
        name: patchName,
        patchType: {
            platformConfigurationId: testPlatformConfiguration.id,
        },
        product: {
            platformConfigurationId: testPlatformConfiguration.id,
            version: patchProductVersion,
        },
        severity: patchSeverity,
        timeReleased: patchTimeReleased,
        definedTags: {
            "foo-namespace.bar-key": "value",
        },
        dependentPatches: [{
            id: patchDependentPatchesId,
        }],
        description: patchDescription,
        freeformTags: {
            "bar-key": "value",
        },
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_patch = oci.fleet_apps_management.Patch("test_patch",
        artifact_details={
            "category": patch_artifact_details_category,
            "artifact": {
                "content": {
                    "bucket": patch_artifact_details_artifact_content_bucket,
                    "checksum": patch_artifact_details_artifact_content_checksum,
                    "namespace": patch_artifact_details_artifact_content_namespace,
                    "object": patch_artifact_details_artifact_content_object,
                    "source_type": patch_artifact_details_artifact_content_source_type,
                },
            },
            "artifacts": [{
                "architecture": patch_artifact_details_artifacts_architecture,
                "content": {
                    "bucket": patch_artifact_details_artifacts_content_bucket,
                    "checksum": patch_artifact_details_artifacts_content_checksum,
                    "namespace": patch_artifact_details_artifacts_content_namespace,
                    "object": patch_artifact_details_artifacts_content_object,
                    "source_type": patch_artifact_details_artifacts_content_source_type,
                },
                "os_type": patch_artifact_details_artifacts_os_type,
            }],
        },
        compartment_id=compartment_id,
        name=patch_name,
        patch_type={
            "platform_configuration_id": test_platform_configuration["id"],
        },
        product={
            "platform_configuration_id": test_platform_configuration["id"],
            "version": patch_product_version,
        },
        severity=patch_severity,
        time_released=patch_time_released,
        defined_tags={
            "foo-namespace.bar-key": "value",
        },
        dependent_patches=[{
            "id": patch_dependent_patches_id,
        }],
        description=patch_description,
        freeform_tags={
            "bar-key": "value",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/fleetappsmanagement"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := fleetappsmanagement.NewPatch(ctx, "test_patch", &fleetappsmanagement.PatchArgs{
    			ArtifactDetails: &fleetappsmanagement.PatchArtifactDetailsArgs{
    				Category: pulumi.Any(patchArtifactDetailsCategory),
    				Artifact: &fleetappsmanagement.PatchArtifactDetailsArtifactArgs{
    					Content: &fleetappsmanagement.PatchArtifactDetailsArtifactContentArgs{
    						Bucket:     pulumi.Any(patchArtifactDetailsArtifactContentBucket),
    						Checksum:   pulumi.Any(patchArtifactDetailsArtifactContentChecksum),
    						Namespace:  pulumi.Any(patchArtifactDetailsArtifactContentNamespace),
    						Object:     pulumi.Any(patchArtifactDetailsArtifactContentObject),
    						SourceType: pulumi.Any(patchArtifactDetailsArtifactContentSourceType),
    					},
    				},
    				Artifacts: fleetappsmanagement.PatchArtifactDetailsArtifactArray{
    					&fleetappsmanagement.PatchArtifactDetailsArtifactArgs{
    						Architecture: pulumi.Any(patchArtifactDetailsArtifactsArchitecture),
    						Content: &fleetappsmanagement.PatchArtifactDetailsArtifactContentArgs{
    							Bucket:     pulumi.Any(patchArtifactDetailsArtifactsContentBucket),
    							Checksum:   pulumi.Any(patchArtifactDetailsArtifactsContentChecksum),
    							Namespace:  pulumi.Any(patchArtifactDetailsArtifactsContentNamespace),
    							Object:     pulumi.Any(patchArtifactDetailsArtifactsContentObject),
    							SourceType: pulumi.Any(patchArtifactDetailsArtifactsContentSourceType),
    						},
    						OsType: pulumi.Any(patchArtifactDetailsArtifactsOsType),
    					},
    				},
    			},
    			CompartmentId: pulumi.Any(compartmentId),
    			Name:          pulumi.Any(patchName),
    			PatchType: &fleetappsmanagement.PatchPatchTypeArgs{
    				PlatformConfigurationId: pulumi.Any(testPlatformConfiguration.Id),
    			},
    			Product: &fleetappsmanagement.PatchProductArgs{
    				PlatformConfigurationId: pulumi.Any(testPlatformConfiguration.Id),
    				Version:                 pulumi.Any(patchProductVersion),
    			},
    			Severity:     pulumi.Any(patchSeverity),
    			TimeReleased: pulumi.Any(patchTimeReleased),
    			DefinedTags: pulumi.StringMap{
    				"foo-namespace.bar-key": pulumi.String("value"),
    			},
    			DependentPatches: fleetappsmanagement.PatchDependentPatchArray{
    				&fleetappsmanagement.PatchDependentPatchArgs{
    					Id: pulumi.Any(patchDependentPatchesId),
    				},
    			},
    			Description: pulumi.Any(patchDescription),
    			FreeformTags: pulumi.StringMap{
    				"bar-key": pulumi.String("value"),
    			},
    		})
    		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 = new Oci.FleetAppsManagement.Patch("test_patch", new()
        {
            ArtifactDetails = new Oci.FleetAppsManagement.Inputs.PatchArtifactDetailsArgs
            {
                Category = patchArtifactDetailsCategory,
                Artifact = new Oci.FleetAppsManagement.Inputs.PatchArtifactDetailsArtifactArgs
                {
                    Content = new Oci.FleetAppsManagement.Inputs.PatchArtifactDetailsArtifactContentArgs
                    {
                        Bucket = patchArtifactDetailsArtifactContentBucket,
                        Checksum = patchArtifactDetailsArtifactContentChecksum,
                        Namespace = patchArtifactDetailsArtifactContentNamespace,
                        Object = patchArtifactDetailsArtifactContentObject,
                        SourceType = patchArtifactDetailsArtifactContentSourceType,
                    },
                },
                Artifacts = new[]
                {
                    new Oci.FleetAppsManagement.Inputs.PatchArtifactDetailsArtifactArgs
                    {
                        Architecture = patchArtifactDetailsArtifactsArchitecture,
                        Content = new Oci.FleetAppsManagement.Inputs.PatchArtifactDetailsArtifactContentArgs
                        {
                            Bucket = patchArtifactDetailsArtifactsContentBucket,
                            Checksum = patchArtifactDetailsArtifactsContentChecksum,
                            Namespace = patchArtifactDetailsArtifactsContentNamespace,
                            Object = patchArtifactDetailsArtifactsContentObject,
                            SourceType = patchArtifactDetailsArtifactsContentSourceType,
                        },
                        OsType = patchArtifactDetailsArtifactsOsType,
                    },
                },
            },
            CompartmentId = compartmentId,
            Name = patchName,
            PatchType = new Oci.FleetAppsManagement.Inputs.PatchPatchTypeArgs
            {
                PlatformConfigurationId = testPlatformConfiguration.Id,
            },
            Product = new Oci.FleetAppsManagement.Inputs.PatchProductArgs
            {
                PlatformConfigurationId = testPlatformConfiguration.Id,
                Version = patchProductVersion,
            },
            Severity = patchSeverity,
            TimeReleased = patchTimeReleased,
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            DependentPatches = new[]
            {
                new Oci.FleetAppsManagement.Inputs.PatchDependentPatchArgs
                {
                    Id = patchDependentPatchesId,
                },
            },
            Description = patchDescription,
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.FleetAppsManagement.Patch;
    import com.pulumi.oci.FleetAppsManagement.PatchArgs;
    import com.pulumi.oci.FleetAppsManagement.inputs.PatchArtifactDetailsArgs;
    import com.pulumi.oci.FleetAppsManagement.inputs.PatchArtifactDetailsArtifactArgs;
    import com.pulumi.oci.FleetAppsManagement.inputs.PatchArtifactDetailsArtifactContentArgs;
    import com.pulumi.oci.FleetAppsManagement.inputs.PatchPatchTypeArgs;
    import com.pulumi.oci.FleetAppsManagement.inputs.PatchProductArgs;
    import com.pulumi.oci.FleetAppsManagement.inputs.PatchDependentPatchArgs;
    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) {
            var testPatch = new Patch("testPatch", PatchArgs.builder()
                .artifactDetails(PatchArtifactDetailsArgs.builder()
                    .category(patchArtifactDetailsCategory)
                    .artifact(PatchArtifactDetailsArtifactArgs.builder()
                        .content(PatchArtifactDetailsArtifactContentArgs.builder()
                            .bucket(patchArtifactDetailsArtifactContentBucket)
                            .checksum(patchArtifactDetailsArtifactContentChecksum)
                            .namespace(patchArtifactDetailsArtifactContentNamespace)
                            .object(patchArtifactDetailsArtifactContentObject)
                            .sourceType(patchArtifactDetailsArtifactContentSourceType)
                            .build())
                        .build())
                    .artifacts(PatchArtifactDetailsArtifactArgs.builder()
                        .architecture(patchArtifactDetailsArtifactsArchitecture)
                        .content(PatchArtifactDetailsArtifactContentArgs.builder()
                            .bucket(patchArtifactDetailsArtifactsContentBucket)
                            .checksum(patchArtifactDetailsArtifactsContentChecksum)
                            .namespace(patchArtifactDetailsArtifactsContentNamespace)
                            .object(patchArtifactDetailsArtifactsContentObject)
                            .sourceType(patchArtifactDetailsArtifactsContentSourceType)
                            .build())
                        .osType(patchArtifactDetailsArtifactsOsType)
                        .build())
                    .build())
                .compartmentId(compartmentId)
                .name(patchName)
                .patchType(PatchPatchTypeArgs.builder()
                    .platformConfigurationId(testPlatformConfiguration.id())
                    .build())
                .product(PatchProductArgs.builder()
                    .platformConfigurationId(testPlatformConfiguration.id())
                    .version(patchProductVersion)
                    .build())
                .severity(patchSeverity)
                .timeReleased(patchTimeReleased)
                .definedTags(Map.of("foo-namespace.bar-key", "value"))
                .dependentPatches(PatchDependentPatchArgs.builder()
                    .id(patchDependentPatchesId)
                    .build())
                .description(patchDescription)
                .freeformTags(Map.of("bar-key", "value"))
                .build());
    
        }
    }
    
    resources:
      testPatch:
        type: oci:FleetAppsManagement:Patch
        name: test_patch
        properties:
          artifactDetails:
            category: ${patchArtifactDetailsCategory}
            artifact:
              content:
                bucket: ${patchArtifactDetailsArtifactContentBucket}
                checksum: ${patchArtifactDetailsArtifactContentChecksum}
                namespace: ${patchArtifactDetailsArtifactContentNamespace}
                object: ${patchArtifactDetailsArtifactContentObject}
                sourceType: ${patchArtifactDetailsArtifactContentSourceType}
            artifacts:
              - architecture: ${patchArtifactDetailsArtifactsArchitecture}
                content:
                  bucket: ${patchArtifactDetailsArtifactsContentBucket}
                  checksum: ${patchArtifactDetailsArtifactsContentChecksum}
                  namespace: ${patchArtifactDetailsArtifactsContentNamespace}
                  object: ${patchArtifactDetailsArtifactsContentObject}
                  sourceType: ${patchArtifactDetailsArtifactsContentSourceType}
                osType: ${patchArtifactDetailsArtifactsOsType}
          compartmentId: ${compartmentId}
          name: ${patchName}
          patchType:
            platformConfigurationId: ${testPlatformConfiguration.id}
          product:
            platformConfigurationId: ${testPlatformConfiguration.id}
            version: ${patchProductVersion}
          severity: ${patchSeverity}
          timeReleased: ${patchTimeReleased}
          definedTags:
            foo-namespace.bar-key: value
          dependentPatches:
            - id: ${patchDependentPatchesId}
          description: ${patchDescription}
          freeformTags:
            bar-key: value
    

    Create Patch Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Patch(name: string, args: PatchArgs, opts?: CustomResourceOptions);
    @overload
    def Patch(resource_name: str,
              args: PatchArgs,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Patch(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              artifact_details: Optional[_fleetappsmanagement.PatchArtifactDetailsArgs] = None,
              compartment_id: Optional[str] = None,
              patch_type: Optional[_fleetappsmanagement.PatchPatchTypeArgs] = None,
              product: Optional[_fleetappsmanagement.PatchProductArgs] = None,
              severity: Optional[str] = None,
              time_released: Optional[str] = None,
              defined_tags: Optional[Mapping[str, str]] = None,
              dependent_patches: Optional[Sequence[_fleetappsmanagement.PatchDependentPatchArgs]] = None,
              description: Optional[str] = None,
              freeform_tags: Optional[Mapping[str, str]] = None,
              name: Optional[str] = None)
    func NewPatch(ctx *Context, name string, args PatchArgs, opts ...ResourceOption) (*Patch, error)
    public Patch(string name, PatchArgs args, CustomResourceOptions? opts = null)
    public Patch(String name, PatchArgs args)
    public Patch(String name, PatchArgs args, CustomResourceOptions options)
    
    type: oci:FleetAppsManagement:Patch
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args PatchArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args PatchArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args PatchArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PatchArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PatchArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var patchResource = new Oci.FleetAppsManagement.Patch("patchResource", new()
    {
        ArtifactDetails = new Oci.FleetAppsManagement.Inputs.PatchArtifactDetailsArgs
        {
            Category = "string",
            Artifact = new Oci.FleetAppsManagement.Inputs.PatchArtifactDetailsArtifactArgs
            {
                Architecture = "string",
                Content = new Oci.FleetAppsManagement.Inputs.PatchArtifactDetailsArtifactContentArgs
                {
                    Bucket = "string",
                    Checksum = "string",
                    Namespace = "string",
                    Object = "string",
                    SourceType = "string",
                },
                OsType = "string",
            },
            Artifacts = new[]
            {
                new Oci.FleetAppsManagement.Inputs.PatchArtifactDetailsArtifactArgs
                {
                    Architecture = "string",
                    Content = new Oci.FleetAppsManagement.Inputs.PatchArtifactDetailsArtifactContentArgs
                    {
                        Bucket = "string",
                        Checksum = "string",
                        Namespace = "string",
                        Object = "string",
                        SourceType = "string",
                    },
                    OsType = "string",
                },
            },
        },
        CompartmentId = "string",
        PatchType = new Oci.FleetAppsManagement.Inputs.PatchPatchTypeArgs
        {
            PlatformConfigurationId = "string",
        },
        Product = new Oci.FleetAppsManagement.Inputs.PatchProductArgs
        {
            PlatformConfigurationId = "string",
            Version = "string",
        },
        Severity = "string",
        TimeReleased = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        DependentPatches = new[]
        {
            new Oci.FleetAppsManagement.Inputs.PatchDependentPatchArgs
            {
                Id = "string",
            },
        },
        Description = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
        Name = "string",
    });
    
    example, err := FleetAppsManagement.NewPatch(ctx, "patchResource", &FleetAppsManagement.PatchArgs{
    	ArtifactDetails: &fleetappsmanagement.PatchArtifactDetailsArgs{
    		Category: pulumi.String("string"),
    		Artifact: &fleetappsmanagement.PatchArtifactDetailsArtifactArgs{
    			Architecture: pulumi.String("string"),
    			Content: &fleetappsmanagement.PatchArtifactDetailsArtifactContentArgs{
    				Bucket:     pulumi.String("string"),
    				Checksum:   pulumi.String("string"),
    				Namespace:  pulumi.String("string"),
    				Object:     pulumi.String("string"),
    				SourceType: pulumi.String("string"),
    			},
    			OsType: pulumi.String("string"),
    		},
    		Artifacts: fleetappsmanagement.PatchArtifactDetailsArtifactArray{
    			&fleetappsmanagement.PatchArtifactDetailsArtifactArgs{
    				Architecture: pulumi.String("string"),
    				Content: &fleetappsmanagement.PatchArtifactDetailsArtifactContentArgs{
    					Bucket:     pulumi.String("string"),
    					Checksum:   pulumi.String("string"),
    					Namespace:  pulumi.String("string"),
    					Object:     pulumi.String("string"),
    					SourceType: pulumi.String("string"),
    				},
    				OsType: pulumi.String("string"),
    			},
    		},
    	},
    	CompartmentId: pulumi.String("string"),
    	PatchType: &fleetappsmanagement.PatchPatchTypeArgs{
    		PlatformConfigurationId: pulumi.String("string"),
    	},
    	Product: &fleetappsmanagement.PatchProductArgs{
    		PlatformConfigurationId: pulumi.String("string"),
    		Version:                 pulumi.String("string"),
    	},
    	Severity:     pulumi.String("string"),
    	TimeReleased: pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	DependentPatches: fleetappsmanagement.PatchDependentPatchArray{
    		&fleetappsmanagement.PatchDependentPatchArgs{
    			Id: pulumi.String("string"),
    		},
    	},
    	Description: pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    })
    
    var patchResource = new Patch("patchResource", PatchArgs.builder()
        .artifactDetails(PatchArtifactDetailsArgs.builder()
            .category("string")
            .artifact(PatchArtifactDetailsArtifactArgs.builder()
                .architecture("string")
                .content(PatchArtifactDetailsArtifactContentArgs.builder()
                    .bucket("string")
                    .checksum("string")
                    .namespace("string")
                    .object("string")
                    .sourceType("string")
                    .build())
                .osType("string")
                .build())
            .artifacts(PatchArtifactDetailsArtifactArgs.builder()
                .architecture("string")
                .content(PatchArtifactDetailsArtifactContentArgs.builder()
                    .bucket("string")
                    .checksum("string")
                    .namespace("string")
                    .object("string")
                    .sourceType("string")
                    .build())
                .osType("string")
                .build())
            .build())
        .compartmentId("string")
        .patchType(PatchPatchTypeArgs.builder()
            .platformConfigurationId("string")
            .build())
        .product(PatchProductArgs.builder()
            .platformConfigurationId("string")
            .version("string")
            .build())
        .severity("string")
        .timeReleased("string")
        .definedTags(Map.of("string", "string"))
        .dependentPatches(PatchDependentPatchArgs.builder()
            .id("string")
            .build())
        .description("string")
        .freeformTags(Map.of("string", "string"))
        .name("string")
        .build());
    
    patch_resource = oci.fleet_apps_management.Patch("patchResource",
        artifact_details={
            "category": "string",
            "artifact": {
                "architecture": "string",
                "content": {
                    "bucket": "string",
                    "checksum": "string",
                    "namespace": "string",
                    "object": "string",
                    "source_type": "string",
                },
                "os_type": "string",
            },
            "artifacts": [{
                "architecture": "string",
                "content": {
                    "bucket": "string",
                    "checksum": "string",
                    "namespace": "string",
                    "object": "string",
                    "source_type": "string",
                },
                "os_type": "string",
            }],
        },
        compartment_id="string",
        patch_type={
            "platform_configuration_id": "string",
        },
        product={
            "platform_configuration_id": "string",
            "version": "string",
        },
        severity="string",
        time_released="string",
        defined_tags={
            "string": "string",
        },
        dependent_patches=[{
            "id": "string",
        }],
        description="string",
        freeform_tags={
            "string": "string",
        },
        name="string")
    
    const patchResource = new oci.fleetappsmanagement.Patch("patchResource", {
        artifactDetails: {
            category: "string",
            artifact: {
                architecture: "string",
                content: {
                    bucket: "string",
                    checksum: "string",
                    namespace: "string",
                    object: "string",
                    sourceType: "string",
                },
                osType: "string",
            },
            artifacts: [{
                architecture: "string",
                content: {
                    bucket: "string",
                    checksum: "string",
                    namespace: "string",
                    object: "string",
                    sourceType: "string",
                },
                osType: "string",
            }],
        },
        compartmentId: "string",
        patchType: {
            platformConfigurationId: "string",
        },
        product: {
            platformConfigurationId: "string",
            version: "string",
        },
        severity: "string",
        timeReleased: "string",
        definedTags: {
            string: "string",
        },
        dependentPatches: [{
            id: "string",
        }],
        description: "string",
        freeformTags: {
            string: "string",
        },
        name: "string",
    });
    
    type: oci:FleetAppsManagement:Patch
    properties:
        artifactDetails:
            artifact:
                architecture: string
                content:
                    bucket: string
                    checksum: string
                    namespace: string
                    object: string
                    sourceType: string
                osType: string
            artifacts:
                - architecture: string
                  content:
                    bucket: string
                    checksum: string
                    namespace: string
                    object: string
                    sourceType: string
                  osType: string
            category: string
        compartmentId: string
        definedTags:
            string: string
        dependentPatches:
            - id: string
        description: string
        freeformTags:
            string: string
        name: string
        patchType:
            platformConfigurationId: string
        product:
            platformConfigurationId: string
            version: string
        severity: string
        timeReleased: string
    

    Patch Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Patch resource accepts the following input properties:

    ArtifactDetails PatchArtifactDetails
    (Updatable) Patch artifact description and content details.
    CompartmentId string
    (Updatable)
    PatchType PatchPatchType
    (Updatable) Patch Type
    Product PatchProduct
    (Updatable) Product
    Severity string
    (Updatable) Patch Severity.
    TimeReleased string

    (Updatable) Date when the patch was released.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DependentPatches List<PatchDependentPatch>
    (Updatable) Dependent Patches for this patch.
    Description string
    (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
    FreeformTags Dictionary<string, string>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Name string
    A user-friendly name. Should be unique within the tenancy, and cannot be changed after creation. Avoid entering confidential information.
    ArtifactDetails PatchArtifactDetailsArgs
    (Updatable) Patch artifact description and content details.
    CompartmentId string
    (Updatable)
    PatchType PatchPatchTypeArgs
    (Updatable) Patch Type
    Product PatchProductArgs
    (Updatable) Product
    Severity string
    (Updatable) Patch Severity.
    TimeReleased string

    (Updatable) Date when the patch was released.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DependentPatches []PatchDependentPatchArgs
    (Updatable) Dependent Patches for this patch.
    Description string
    (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
    FreeformTags map[string]string
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Name string
    A user-friendly name. Should be unique within the tenancy, and cannot be changed after creation. Avoid entering confidential information.
    artifactDetails PatchArtifactDetails
    (Updatable) Patch artifact description and content details.
    compartmentId String
    (Updatable)
    patchType PatchPatchType
    (Updatable) Patch Type
    product PatchProduct
    (Updatable) Product
    severity String
    (Updatable) Patch Severity.
    timeReleased String

    (Updatable) Date when the patch was released.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    dependentPatches List<PatchDependentPatch>
    (Updatable) Dependent Patches for this patch.
    description String
    (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
    freeformTags Map<String,String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    name String
    A user-friendly name. Should be unique within the tenancy, and cannot be changed after creation. Avoid entering confidential information.
    artifactDetails PatchArtifactDetails
    (Updatable) Patch artifact description and content details.
    compartmentId string
    (Updatable)
    patchType PatchPatchType
    (Updatable) Patch Type
    product PatchProduct
    (Updatable) Product
    severity string
    (Updatable) Patch Severity.
    timeReleased string

    (Updatable) Date when the patch was released.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    dependentPatches PatchDependentPatch[]
    (Updatable) Dependent Patches for this patch.
    description string
    (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
    freeformTags {[key: string]: string}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    name string
    A user-friendly name. Should be unique within the tenancy, and cannot be changed after creation. Avoid entering confidential information.
    artifact_details fleetappsmanagement.PatchArtifactDetailsArgs
    (Updatable) Patch artifact description and content details.
    compartment_id str
    (Updatable)
    patch_type fleetappsmanagement.PatchPatchTypeArgs
    (Updatable) Patch Type
    product fleetappsmanagement.PatchProductArgs
    (Updatable) Product
    severity str
    (Updatable) Patch Severity.
    time_released str

    (Updatable) Date when the patch was released.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    dependent_patches Sequence[fleetappsmanagement.PatchDependentPatchArgs]
    (Updatable) Dependent Patches for this patch.
    description str
    (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
    freeform_tags Mapping[str, str]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    name str
    A user-friendly name. Should be unique within the tenancy, and cannot be changed after creation. Avoid entering confidential information.
    artifactDetails Property Map
    (Updatable) Patch artifact description and content details.
    compartmentId String
    (Updatable)
    patchType Property Map
    (Updatable) Patch Type
    product Property Map
    (Updatable) Product
    severity String
    (Updatable) Patch Severity.
    timeReleased String

    (Updatable) Date when the patch was released.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    dependentPatches List<Property Map>
    (Updatable) Dependent Patches for this patch.
    description String
    (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
    freeformTags Map<String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    name String
    A user-friendly name. Should be unique within the tenancy, and cannot be changed after creation. Avoid entering confidential information.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Patch resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails 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.
    ResourceRegion string
    Associated region
    State string
    The current state of the Patch.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time this resource was created. An RFC3339 formatted datetime string.
    TimeUpdated 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
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails 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.
    ResourceRegion string
    Associated region
    State string
    The current state of the Patch.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time this resource was created. An RFC3339 formatted datetime string.
    TimeUpdated 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
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails 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.
    resourceRegion String
    Associated region
    state String
    The current state of the Patch.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time this resource was created. An RFC3339 formatted datetime string.
    timeUpdated 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
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails 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.
    resourceRegion string
    Associated region
    state string
    The current state of the Patch.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time this resource was created. An RFC3339 formatted datetime string.
    timeUpdated 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
    id str
    The provider-assigned unique ID for this managed 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.
    resource_region str
    Associated region
    state str
    The current state of the Patch.
    system_tags 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_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
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails 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.
    resourceRegion String
    Associated region
    state String
    The current state of the Patch.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time this resource was created. An RFC3339 formatted datetime string.
    timeUpdated 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

    Look up Existing Patch Resource

    Get an existing Patch resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: PatchState, opts?: CustomResourceOptions): Patch
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            artifact_details: Optional[_fleetappsmanagement.PatchArtifactDetailsArgs] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            dependent_patches: Optional[Sequence[_fleetappsmanagement.PatchDependentPatchArgs]] = None,
            description: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            lifecycle_details: Optional[str] = None,
            name: Optional[str] = None,
            patch_type: Optional[_fleetappsmanagement.PatchPatchTypeArgs] = None,
            product: Optional[_fleetappsmanagement.PatchProductArgs] = None,
            resource_region: Optional[str] = None,
            severity: Optional[str] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None,
            time_released: Optional[str] = None,
            time_updated: Optional[str] = None,
            type: Optional[str] = None) -> Patch
    func GetPatch(ctx *Context, name string, id IDInput, state *PatchState, opts ...ResourceOption) (*Patch, error)
    public static Patch Get(string name, Input<string> id, PatchState? state, CustomResourceOptions? opts = null)
    public static Patch get(String name, Output<String> id, PatchState state, CustomResourceOptions options)
    resources:  _:    type: oci:FleetAppsManagement:Patch    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ArtifactDetails PatchArtifactDetails
    (Updatable) Patch artifact description and content details.
    CompartmentId string
    (Updatable)
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DependentPatches List<PatchDependentPatch>
    (Updatable) Dependent Patches for this patch.
    Description string
    (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
    FreeformTags Dictionary<string, string>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    LifecycleDetails 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.
    PatchType PatchPatchType
    (Updatable) Patch Type
    Product PatchProduct
    (Updatable) Product
    ResourceRegion string
    Associated region
    Severity string
    (Updatable) Patch Severity.
    State string
    The current state of the Patch.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time this resource was created. An RFC3339 formatted datetime string.
    TimeReleased string

    (Updatable) Date when the patch was released.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    TimeUpdated 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
    ArtifactDetails PatchArtifactDetailsArgs
    (Updatable) Patch artifact description and content details.
    CompartmentId string
    (Updatable)
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DependentPatches []PatchDependentPatchArgs
    (Updatable) Dependent Patches for this patch.
    Description string
    (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
    FreeformTags map[string]string
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    LifecycleDetails 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.
    PatchType PatchPatchTypeArgs
    (Updatable) Patch Type
    Product PatchProductArgs
    (Updatable) Product
    ResourceRegion string
    Associated region
    Severity string
    (Updatable) Patch Severity.
    State string
    The current state of the Patch.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time this resource was created. An RFC3339 formatted datetime string.
    TimeReleased string

    (Updatable) Date when the patch was released.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    TimeUpdated 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
    artifactDetails PatchArtifactDetails
    (Updatable) Patch artifact description and content details.
    compartmentId String
    (Updatable)
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    dependentPatches List<PatchDependentPatch>
    (Updatable) Dependent Patches for this patch.
    description String
    (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
    freeformTags Map<String,String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    lifecycleDetails 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.
    patchType PatchPatchType
    (Updatable) Patch Type
    product PatchProduct
    (Updatable) Product
    resourceRegion String
    Associated region
    severity String
    (Updatable) Patch Severity.
    state String
    The current state of the Patch.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time this resource was created. An RFC3339 formatted datetime string.
    timeReleased String

    (Updatable) Date when the patch was released.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    timeUpdated 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
    artifactDetails PatchArtifactDetails
    (Updatable) Patch artifact description and content details.
    compartmentId string
    (Updatable)
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    dependentPatches PatchDependentPatch[]
    (Updatable) Dependent Patches for this patch.
    description string
    (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
    freeformTags {[key: string]: string}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    lifecycleDetails 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.
    patchType PatchPatchType
    (Updatable) Patch Type
    product PatchProduct
    (Updatable) Product
    resourceRegion string
    Associated region
    severity string
    (Updatable) Patch Severity.
    state string
    The current state of the Patch.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time this resource was created. An RFC3339 formatted datetime string.
    timeReleased string

    (Updatable) Date when the patch was released.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    timeUpdated 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 fleetappsmanagement.PatchArtifactDetailsArgs
    (Updatable) Patch artifact description and content details.
    compartment_id str
    (Updatable)
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    dependent_patches Sequence[fleetappsmanagement.PatchDependentPatchArgs]
    (Updatable) Dependent Patches for this patch.
    description str
    (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
    freeform_tags Mapping[str, str]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    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_type fleetappsmanagement.PatchPatchTypeArgs
    (Updatable) Patch Type
    product fleetappsmanagement.PatchProductArgs
    (Updatable) Product
    resource_region str
    Associated region
    severity str
    (Updatable) Patch Severity.
    state str
    The current state of the Patch.
    system_tags 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

    (Updatable) Date when the patch was released.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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
    artifactDetails Property Map
    (Updatable) Patch artifact description and content details.
    compartmentId String
    (Updatable)
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    dependentPatches List<Property Map>
    (Updatable) Dependent Patches for this patch.
    description String
    (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
    freeformTags Map<String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    lifecycleDetails 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.
    patchType Property Map
    (Updatable) Patch Type
    product Property Map
    (Updatable) Product
    resourceRegion String
    Associated region
    severity String
    (Updatable) Patch Severity.
    state String
    The current state of the Patch.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time this resource was created. An RFC3339 formatted datetime string.
    timeReleased String

    (Updatable) Date when the patch was released.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    timeUpdated 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

    PatchArtifactDetails, PatchArtifactDetailsArgs

    Category string
    (Updatable) Artifact category details.
    Artifact PatchArtifactDetailsArtifact
    (Updatable) Patch artifact metadata Details which is common for all platforms.
    Artifacts List<PatchArtifactDetailsArtifact>
    (Updatable) Artifacts.
    Category string
    (Updatable) Artifact category details.
    Artifact PatchArtifactDetailsArtifact
    (Updatable) Patch artifact metadata Details which is common for all platforms.
    Artifacts []PatchArtifactDetailsArtifact
    (Updatable) Artifacts.
    category String
    (Updatable) Artifact category details.
    artifact PatchArtifactDetailsArtifact
    (Updatable) Patch artifact metadata Details which is common for all platforms.
    artifacts List<PatchArtifactDetailsArtifact>
    (Updatable) Artifacts.
    category string
    (Updatable) Artifact category details.
    artifact PatchArtifactDetailsArtifact
    (Updatable) Patch artifact metadata Details which is common for all platforms.
    artifacts PatchArtifactDetailsArtifact[]
    (Updatable) Artifacts.
    category str
    (Updatable) Artifact category details.
    artifact fleetappsmanagement.PatchArtifactDetailsArtifact
    (Updatable) Patch artifact metadata Details which is common for all platforms.
    artifacts Sequence[fleetappsmanagement.PatchArtifactDetailsArtifact]
    (Updatable) Artifacts.
    category String
    (Updatable) Artifact category details.
    artifact Property Map
    (Updatable) Patch artifact metadata Details which is common for all platforms.
    artifacts List<Property Map>
    (Updatable) Artifacts.

    PatchArtifactDetailsArtifact, PatchArtifactDetailsArtifactArgs

    Architecture string
    (Updatable) System architecture.
    Content PatchArtifactDetailsArtifactContent
    (Updatable) Content Source details.
    OsType string
    (Updatable) The OS type the patch is applicable for.
    Architecture string
    (Updatable) System architecture.
    Content PatchArtifactDetailsArtifactContent
    (Updatable) Content Source details.
    OsType string
    (Updatable) The OS type the patch is applicable for.
    architecture String
    (Updatable) System architecture.
    content PatchArtifactDetailsArtifactContent
    (Updatable) Content Source details.
    osType String
    (Updatable) The OS type the patch is applicable for.
    architecture string
    (Updatable) System architecture.
    content PatchArtifactDetailsArtifactContent
    (Updatable) Content Source details.
    osType string
    (Updatable) The OS type the patch is applicable for.
    architecture str
    (Updatable) System architecture.
    content fleetappsmanagement.PatchArtifactDetailsArtifactContent
    (Updatable) Content Source details.
    os_type str
    (Updatable) The OS type the patch is applicable for.
    architecture String
    (Updatable) System architecture.
    content Property Map
    (Updatable) Content Source details.
    osType String
    (Updatable) The OS type the patch is applicable for.

    PatchArtifactDetailsArtifactContent, PatchArtifactDetailsArtifactContentArgs

    Bucket string
    (Updatable) Bucket Name.
    Checksum string
    (Updatable) md5 checksum of the artifact.
    Namespace string
    (Updatable) Namespace.
    Object string
    (Updatable) Object Name.
    SourceType string
    (Updatable) Content Source type details.
    Bucket string
    (Updatable) Bucket Name.
    Checksum string
    (Updatable) md5 checksum of the artifact.
    Namespace string
    (Updatable) Namespace.
    Object string
    (Updatable) Object Name.
    SourceType string
    (Updatable) Content Source type details.
    bucket String
    (Updatable) Bucket Name.
    checksum String
    (Updatable) md5 checksum of the artifact.
    namespace String
    (Updatable) Namespace.
    object String
    (Updatable) Object Name.
    sourceType String
    (Updatable) Content Source type details.
    bucket string
    (Updatable) Bucket Name.
    checksum string
    (Updatable) md5 checksum of the artifact.
    namespace string
    (Updatable) Namespace.
    object string
    (Updatable) Object Name.
    sourceType string
    (Updatable) Content Source type details.
    bucket str
    (Updatable) Bucket Name.
    checksum str
    (Updatable) md5 checksum of the artifact.
    namespace str
    (Updatable) Namespace.
    object str
    (Updatable) Object Name.
    source_type str
    (Updatable) Content Source type details.
    bucket String
    (Updatable) Bucket Name.
    checksum String
    (Updatable) md5 checksum of the artifact.
    namespace String
    (Updatable) Namespace.
    object String
    (Updatable) Object Name.
    sourceType String
    (Updatable) Content Source type details.

    PatchDependentPatch, PatchDependentPatchArgs

    Id string
    (Updatable) The OCID of the resource.
    Id string
    (Updatable) The OCID of the resource.
    id String
    (Updatable) The OCID of the resource.
    id string
    (Updatable) The OCID of the resource.
    id str
    (Updatable) The OCID of the resource.
    id String
    (Updatable) The OCID of the resource.

    PatchPatchType, PatchPatchTypeArgs

    PlatformConfigurationId string
    (Updatable) PlatformConfiguration Id corresponding to the Patch Type
    PlatformConfigurationId string
    (Updatable) PlatformConfiguration Id corresponding to the Patch Type
    platformConfigurationId String
    (Updatable) PlatformConfiguration Id corresponding to the Patch Type
    platformConfigurationId string
    (Updatable) PlatformConfiguration Id corresponding to the Patch Type
    platform_configuration_id str
    (Updatable) PlatformConfiguration Id corresponding to the Patch Type
    platformConfigurationId String
    (Updatable) PlatformConfiguration Id corresponding to the Patch Type

    PatchProduct, PatchProductArgs

    PlatformConfigurationId string
    (Updatable) PlatformConfiguration Id corresponding to the Product
    Version string
    (Updatable) product version.
    PlatformConfigurationId string
    (Updatable) PlatformConfiguration Id corresponding to the Product
    Version string
    (Updatable) product version.
    platformConfigurationId String
    (Updatable) PlatformConfiguration Id corresponding to the Product
    version String
    (Updatable) product version.
    platformConfigurationId string
    (Updatable) PlatformConfiguration Id corresponding to the Product
    version string
    (Updatable) product version.
    platform_configuration_id str
    (Updatable) PlatformConfiguration Id corresponding to the Product
    version str
    (Updatable) product version.
    platformConfigurationId String
    (Updatable) PlatformConfiguration Id corresponding to the Product
    version String
    (Updatable) product version.

    Import

    Patches can be imported using the id, e.g.

    $ pulumi import oci:FleetAppsManagement/patch:Patch test_patch "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi