Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:OsManagementHub/getErratum:getErratum
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The OCID of the compartment. This parameter is required and returns only resources contained within the specified compartment.
- Name string
- The erratum name (such as ELSA-2023-34678).
- Compartment
Id string - The OCID of the compartment. This parameter is required and returns only resources contained within the specified compartment.
- Name string
- The erratum name (such as ELSA-2023-34678).
- compartment
Id String - The OCID of the compartment. This parameter is required and returns only resources contained within the specified compartment.
- name String
- The erratum name (such as ELSA-2023-34678).
- compartment
Id string - The OCID of the compartment. This parameter is required and returns only resources contained within the specified compartment.
- name string
- The erratum name (such as ELSA-2023-34678).
- compartment_
id str - The OCID of the compartment. This parameter is required and returns only resources contained within the specified compartment.
- name str
- The erratum name (such as ELSA-2023-34678).
- compartment
Id String - The OCID of the compartment. This parameter is required and returns only resources contained within the specified compartment.
- name 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 string
- The architecture for which this software was built.
- Checksum string
- Checksum of the package.
- Checksum
Type string - Type of the checksum.
- Display
Name string - Software source name.
- Is
Latest bool - Indicates whether this package is the latest version.
- Name string
- The erratum name (such as ELSA-2023-34678).
- Os
Families List<string> - The OS families the package belongs to.
- Software
Sources 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 string
- Type of the package.
- Version string
- Version of the package.
- Architecture string
- The architecture for which this software was built.
- Checksum string
- Checksum of the package.
- Checksum
Type string - Type of the checksum.
- Display
Name string - Software source name.
- Is
Latest bool - Indicates whether this package is the latest version.
- Name string
- The erratum name (such as ELSA-2023-34678).
- Os
Families []string - The OS families the package belongs to.
- Software
Sources []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 string
- Type of the package.
- Version string
- Version of the package.
- architecture String
- The architecture for which this software was built.
- checksum String
- Checksum of the package.
- checksum
Type String - Type of the checksum.
- display
Name String - Software source name.
- is
Latest Boolean - Indicates whether this package is the latest version.
- name String
- The erratum name (such as ELSA-2023-34678).
- os
Families List<String> - The OS families the package belongs to.
- software
Sources 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 String
- Type of the package.
- version String
- Version of the package.
- architecture string
- The architecture for which this software was built.
- checksum string
- Checksum of the package.
- checksum
Type string - Type of the checksum.
- display
Name string - Software source name.
- is
Latest boolean - Indicates whether this package is the latest version.
- name string
- The erratum name (such as ELSA-2023-34678).
- os
Families string[] - The OS families the package belongs to.
- software
Sources 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 string
- Type of the package.
- version string
- Version of the package.
- architecture str
- The architecture for which this software was built.
- checksum str
- Checksum of the package.
- checksum_
type str - Type of the checksum.
- display_
name str - Software source name.
- is_
latest bool - Indicates whether this package is the latest version.
- name str
- The erratum name (such as ELSA-2023-34678).
- os_
families Sequence[str] - The OS families the package belongs to.
- software_
sources 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 str
- Type of the package.
- version str
- Version of the package.
- architecture String
- The architecture for which this software was built.
- checksum String
- Checksum of the package.
- checksum
Type String - Type of the checksum.
- display
Name String - Software source name.
- is
Latest Boolean - Indicates whether this package is the latest version.
- name String
- The erratum name (such as ELSA-2023-34678).
- os
Families List<String> - The OS families the package belongs to.
- software
Sources 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 String
- Type of the package.
- version String
- Version of the package.
GetErratumPackageSoftwareSource
- Description string
- Software source description.
- Display
Name string - Software source name.
- Id string
- The OCID of the software source.
- Is
Mandatory boolFor Autonomous Linux - Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- Software
Source stringType - Type of the software source.
- Description string
- Software source description.
- Display
Name string - Software source name.
- Id string
- The OCID of the software source.
- Is
Mandatory boolFor Autonomous Linux - Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- Software
Source stringType - Type of the software source.
- description String
- Software source description.
- display
Name String - Software source name.
- id String
- The OCID of the software source.
- is
Mandatory BooleanFor Autonomous Linux - Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- software
Source StringType - Type of the software source.
- description string
- Software source description.
- display
Name string - Software source name.
- id string
- The OCID of the software source.
- is
Mandatory booleanFor Autonomous Linux - Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- software
Source stringType - Type of the software source.
- description str
- Software source description.
- display_
name str - Software source name.
- id str
- The OCID of the software source.
- is_
mandatory_ boolfor_ autonomous_ linux - Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- software_
source_ strtype - Type of the software source.
- description String
- Software source description.
- display
Name String - Software source name.
- id String
- The OCID of the software source.
- is
Mandatory BooleanFor Autonomous Linux - Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- software
Source StringType - 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.