Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi
oci.OsManagementHub.getErratum
Explore with Pulumi AI
This data source provides details about a specific Erratum resource in Oracle Cloud Infrastructure Os Management Hub service.
Returns information about the specified erratum based on its advisory name.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testErratum = oci.OsManagementHub.getErratum({
compartmentId: compartmentId,
name: erratumName,
});
import pulumi
import pulumi_oci as oci
test_erratum = oci.OsManagementHub.get_erratum(compartment_id=compartment_id,
name=erratum_name)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/osmanagementhub"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := osmanagementhub.GetErratum(ctx, &osmanagementhub.GetErratumArgs{
CompartmentId: compartmentId,
Name: erratumName,
}, 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 testErratum = Oci.OsManagementHub.GetErratum.Invoke(new()
{
CompartmentId = compartmentId,
Name = erratumName,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.OsManagementHub.OsManagementHubFunctions;
import com.pulumi.oci.OsManagementHub.inputs.GetErratumArgs;
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 testErratum = OsManagementHubFunctions.getErratum(GetErratumArgs.builder()
.compartmentId(compartmentId)
.name(erratumName)
.build());
}
}
variables:
testErratum:
fn::invoke:
function: oci:OsManagementHub:getErratum
arguments:
compartmentId: ${compartmentId}
name: ${erratumName}
Using getErratum
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 getErratum(args: GetErratumArgs, opts?: InvokeOptions): Promise<GetErratumResult>
function getErratumOutput(args: GetErratumOutputArgs, opts?: InvokeOptions): Output<GetErratumResult>
def get_erratum(compartment_id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetErratumResult
def get_erratum_output(compartment_id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetErratumResult]
func GetErratum(ctx *Context, args *GetErratumArgs, opts ...InvokeOption) (*GetErratumResult, error)
func GetErratumOutput(ctx *Context, args *GetErratumOutputArgs, opts ...InvokeOption) GetErratumResultOutput
> Note: This function is named GetErratum
in the Go SDK.
public static class GetErratum
{
public static Task<GetErratumResult> InvokeAsync(GetErratumArgs args, InvokeOptions? opts = null)
public static Output<GetErratumResult> Invoke(GetErratumInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetErratumResult> getErratum(GetErratumArgs args, InvokeOptions options)
public static Output<GetErratumResult> getErratum(GetErratumArgs args, InvokeOptions options)
fn::invoke:
function: oci:OsManagementHub/getErratum:getErratum
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id This property is required. string - The OCID of the compartment. This parameter is required and returns only resources contained within the specified compartment.
- Name
This property is required. string - The erratum name (such as ELSA-2023-34678).
- Compartment
Id This property is required. string - The OCID of the compartment. This parameter is required and returns only resources contained within the specified compartment.
- Name
This property is required. string - The erratum name (such as ELSA-2023-34678).
- compartment
Id This property is required. String - The OCID of the compartment. This parameter is required and returns only resources contained within the specified compartment.
- name
This property is required. String - The erratum name (such as ELSA-2023-34678).
- compartment
Id This property is required. string - The OCID of the compartment. This parameter is required and returns only resources contained within the specified compartment.
- name
This property is required. string - The erratum name (such as ELSA-2023-34678).
- compartment_
id This property is required. str - The OCID of the compartment. This parameter is required and returns only resources contained within the specified compartment.
- name
This property is required. str - The erratum name (such as ELSA-2023-34678).
- compartment
Id This property is required. String - The OCID of the compartment. This parameter is required and returns only resources contained within the specified compartment.
- name
This property is required. String - The erratum name (such as ELSA-2023-34678).
getErratum Result
The following output properties are available:
- Advisory
Severity string - The severity for a security advisory, otherwise, null.
- Advisory
Type string - The advisory type of the erratum.
- Classification
Type string - Type of the erratum. This property is deprecated and it will be removed in a future API release. Please refer to the advisoryType property instead.
- Compartment
Id string - Description string
- Software source description.
- From string
- Information specifying from where the erratum was release.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Unique identifier for the package. Note that this is not an OCID.
- Os
Families List<string> - The OS families the package belongs to.
- Packages
List<Get
Erratum Package> - List of packages affected by this erratum.
- References string
- Information describing how to find more information about. the erratum.
- List<string>
- List of CVEs applicable to this erratum.
- Repositories List<string>
- List of repository identifiers.
- Solution string
- Information describing how the erratum can be resolved.
- Synopsis string
- Summary description of the erratum.
- Time
Issued string - The date and time the erratum was issued (in RFC 3339 format).
- Time
Updated string - The date and time the erratum was updated (in RFC 3339 format).
- Advisory
Severity string - The severity for a security advisory, otherwise, null.
- Advisory
Type string - The advisory type of the erratum.
- Classification
Type string - Type of the erratum. This property is deprecated and it will be removed in a future API release. Please refer to the advisoryType property instead.
- Compartment
Id string - Description string
- Software source description.
- From string
- Information specifying from where the erratum was release.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Unique identifier for the package. Note that this is not an OCID.
- Os
Families []string - The OS families the package belongs to.
- Packages
[]Get
Erratum Package - List of packages affected by this erratum.
- References string
- Information describing how to find more information about. the erratum.
- []string
- List of CVEs applicable to this erratum.
- Repositories []string
- List of repository identifiers.
- Solution string
- Information describing how the erratum can be resolved.
- Synopsis string
- Summary description of the erratum.
- Time
Issued string - The date and time the erratum was issued (in RFC 3339 format).
- Time
Updated string - The date and time the erratum was updated (in RFC 3339 format).
- advisory
Severity String - The severity for a security advisory, otherwise, null.
- advisory
Type String - The advisory type of the erratum.
- classification
Type String - Type of the erratum. This property is deprecated and it will be removed in a future API release. Please refer to the advisoryType property instead.
- compartment
Id String - description String
- Software source description.
- from String
- Information specifying from where the erratum was release.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Unique identifier for the package. Note that this is not an OCID.
- os
Families List<String> - The OS families the package belongs to.
- packages
List<Get
Erratum Package> - List of packages affected by this erratum.
- references String
- Information describing how to find more information about. the erratum.
- List<String>
- List of CVEs applicable to this erratum.
- repositories List<String>
- List of repository identifiers.
- solution String
- Information describing how the erratum can be resolved.
- synopsis String
- Summary description of the erratum.
- time
Issued String - The date and time the erratum was issued (in RFC 3339 format).
- time
Updated String - The date and time the erratum was updated (in RFC 3339 format).
- advisory
Severity string - The severity for a security advisory, otherwise, null.
- advisory
Type string - The advisory type of the erratum.
- classification
Type string - Type of the erratum. This property is deprecated and it will be removed in a future API release. Please refer to the advisoryType property instead.
- compartment
Id string - description string
- Software source description.
- from string
- Information specifying from where the erratum was release.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Unique identifier for the package. Note that this is not an OCID.
- os
Families string[] - The OS families the package belongs to.
- packages
Get
Erratum Package[] - List of packages affected by this erratum.
- references string
- Information describing how to find more information about. the erratum.
- string[]
- List of CVEs applicable to this erratum.
- repositories string[]
- List of repository identifiers.
- solution string
- Information describing how the erratum can be resolved.
- synopsis string
- Summary description of the erratum.
- time
Issued string - The date and time the erratum was issued (in RFC 3339 format).
- time
Updated string - The date and time the erratum was updated (in RFC 3339 format).
- advisory_
severity str - The severity for a security advisory, otherwise, null.
- advisory_
type str - The advisory type of the erratum.
- classification_
type str - Type of the erratum. This property is deprecated and it will be removed in a future API release. Please refer to the advisoryType property instead.
- compartment_
id str - description str
- Software source description.
- from_ str
- Information specifying from where the erratum was release.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Unique identifier for the package. Note that this is not an OCID.
- os_
families Sequence[str] - The OS families the package belongs to.
- packages
Sequence[osmanagementhub.
Get Erratum Package] - List of packages affected by this erratum.
- references str
- Information describing how to find more information about. the erratum.
- Sequence[str]
- List of CVEs applicable to this erratum.
- repositories Sequence[str]
- List of repository identifiers.
- solution str
- Information describing how the erratum can be resolved.
- synopsis str
- Summary description of the erratum.
- time_
issued str - The date and time the erratum was issued (in RFC 3339 format).
- time_
updated str - The date and time the erratum was updated (in RFC 3339 format).
- advisory
Severity String - The severity for a security advisory, otherwise, null.
- advisory
Type String - The advisory type of the erratum.
- classification
Type String - Type of the erratum. This property is deprecated and it will be removed in a future API release. Please refer to the advisoryType property instead.
- compartment
Id String - description String
- Software source description.
- from String
- Information specifying from where the erratum was release.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Unique identifier for the package. Note that this is not an OCID.
- os
Families List<String> - The OS families the package belongs to.
- packages List<Property Map>
- List of packages affected by this erratum.
- references String
- Information describing how to find more information about. the erratum.
- List<String>
- List of CVEs applicable to this erratum.
- repositories List<String>
- List of repository identifiers.
- solution String
- Information describing how the erratum can be resolved.
- synopsis String
- Summary description of the erratum.
- time
Issued String - The date and time the erratum was issued (in RFC 3339 format).
- time
Updated String - The date and time the erratum was updated (in RFC 3339 format).
Supporting Types
GetErratumPackage
- Architecture
This property is required. string - The architecture for which this software was built.
- Checksum
This property is required. string - Checksum of the package.
- Checksum
Type This property is required. string - Type of the checksum.
- Display
Name This property is required. string - Software source name.
- Is
Latest This property is required. bool - Indicates whether this package is the latest version.
- Name
This property is required. string - The erratum name (such as ELSA-2023-34678).
- Os
Families This property is required. List<string> - The OS families the package belongs to.
- Software
Sources This property is required. List<GetErratum Package Software Source> - List of software sources that provide the software package. This property is deprecated and it will be removed in a future API release.
- Type
This property is required. string - Type of the package.
- Version
This property is required. string - Version of the package.
- Architecture
This property is required. string - The architecture for which this software was built.
- Checksum
This property is required. string - Checksum of the package.
- Checksum
Type This property is required. string - Type of the checksum.
- Display
Name This property is required. string - Software source name.
- Is
Latest This property is required. bool - Indicates whether this package is the latest version.
- Name
This property is required. string - The erratum name (such as ELSA-2023-34678).
- Os
Families This property is required. []string - The OS families the package belongs to.
- Software
Sources This property is required. []GetErratum Package Software Source - List of software sources that provide the software package. This property is deprecated and it will be removed in a future API release.
- Type
This property is required. string - Type of the package.
- Version
This property is required. string - Version of the package.
- architecture
This property is required. String - The architecture for which this software was built.
- checksum
This property is required. String - Checksum of the package.
- checksum
Type This property is required. String - Type of the checksum.
- display
Name This property is required. String - Software source name.
- is
Latest This property is required. Boolean - Indicates whether this package is the latest version.
- name
This property is required. String - The erratum name (such as ELSA-2023-34678).
- os
Families This property is required. List<String> - The OS families the package belongs to.
- software
Sources This property is required. List<GetErratum Package Software Source> - List of software sources that provide the software package. This property is deprecated and it will be removed in a future API release.
- type
This property is required. String - Type of the package.
- version
This property is required. String - Version of the package.
- architecture
This property is required. string - The architecture for which this software was built.
- checksum
This property is required. string - Checksum of the package.
- checksum
Type This property is required. string - Type of the checksum.
- display
Name This property is required. string - Software source name.
- is
Latest This property is required. boolean - Indicates whether this package is the latest version.
- name
This property is required. string - The erratum name (such as ELSA-2023-34678).
- os
Families This property is required. string[] - The OS families the package belongs to.
- software
Sources This property is required. GetErratum Package Software Source[] - List of software sources that provide the software package. This property is deprecated and it will be removed in a future API release.
- type
This property is required. string - Type of the package.
- version
This property is required. string - Version of the package.
- architecture
This property is required. str - The architecture for which this software was built.
- checksum
This property is required. str - Checksum of the package.
- checksum_
type This property is required. str - Type of the checksum.
- display_
name This property is required. str - Software source name.
- is_
latest This property is required. bool - Indicates whether this package is the latest version.
- name
This property is required. str - The erratum name (such as ELSA-2023-34678).
- os_
families This property is required. Sequence[str] - The OS families the package belongs to.
- software_
sources This property is required. Sequence[osmanagementhub.Get Erratum Package Software Source] - List of software sources that provide the software package. This property is deprecated and it will be removed in a future API release.
- type
This property is required. str - Type of the package.
- version
This property is required. str - Version of the package.
- architecture
This property is required. String - The architecture for which this software was built.
- checksum
This property is required. String - Checksum of the package.
- checksum
Type This property is required. String - Type of the checksum.
- display
Name This property is required. String - Software source name.
- is
Latest This property is required. Boolean - Indicates whether this package is the latest version.
- name
This property is required. String - The erratum name (such as ELSA-2023-34678).
- os
Families This property is required. List<String> - The OS families the package belongs to.
- software
Sources This property is required. List<Property Map> - List of software sources that provide the software package. This property is deprecated and it will be removed in a future API release.
- type
This property is required. String - Type of the package.
- version
This property is required. String - Version of the package.
GetErratumPackageSoftwareSource
- Description
This property is required. string - Software source description.
- Display
Name This property is required. string - Software source name.
- Id
This property is required. string - The OCID of the software source.
- Is
Mandatory For Autonomous Linux This property is required. bool - Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- Software
Source Type This property is required. string - Type of the software source.
- Description
This property is required. string - Software source description.
- Display
Name This property is required. string - Software source name.
- Id
This property is required. string - The OCID of the software source.
- Is
Mandatory For Autonomous Linux This property is required. bool - Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- Software
Source Type This property is required. string - Type of the software source.
- description
This property is required. String - Software source description.
- display
Name This property is required. String - Software source name.
- id
This property is required. String - The OCID of the software source.
- is
Mandatory For Autonomous Linux This property is required. Boolean - Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- software
Source Type This property is required. String - Type of the software source.
- description
This property is required. string - Software source description.
- display
Name This property is required. string - Software source name.
- id
This property is required. string - The OCID of the software source.
- is
Mandatory For Autonomous Linux This property is required. boolean - Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- software
Source Type This property is required. string - Type of the software source.
- description
This property is required. str - Software source description.
- display_
name This property is required. str - Software source name.
- id
This property is required. str - The OCID of the software source.
- is_
mandatory_ for_ autonomous_ linux This property is required. bool - Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- software_
source_ type This property is required. str - Type of the software source.
- description
This property is required. String - Software source description.
- display
Name This property is required. String - Software source name.
- id
This property is required. String - The OCID of the software source.
- is
Mandatory For Autonomous Linux This property is required. Boolean - Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- software
Source Type This property is required. String - Type of the software source.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.