Viewing docs for Oracle Cloud Infrastructure v4.2.0
published on Friday, Mar 6, 2026 by Pulumi
published on Friday, Mar 6, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.2.0
published on Friday, Mar 6, 2026 by Pulumi
published on Friday, Mar 6, 2026 by Pulumi
This data source provides details about a specific Software Source Manifest resource in Oracle Cloud Infrastructure Os Management Hub service.
Returns an archive containing the list of packages in the software source.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testSoftwareSourceManifest = oci.OsManagementHub.getSoftwareSourceManifest({
softwareSourceId: testSoftwareSource.id,
});
import pulumi
import pulumi_oci as oci
test_software_source_manifest = oci.OsManagementHub.get_software_source_manifest(software_source_id=test_software_source["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/osmanagementhub"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := osmanagementhub.GetSoftwareSourceManifest(ctx, &osmanagementhub.GetSoftwareSourceManifestArgs{
SoftwareSourceId: testSoftwareSource.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testSoftwareSourceManifest = Oci.OsManagementHub.GetSoftwareSourceManifest.Invoke(new()
{
SoftwareSourceId = testSoftwareSource.Id,
});
});
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.GetSoftwareSourceManifestArgs;
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 testSoftwareSourceManifest = OsManagementHubFunctions.getSoftwareSourceManifest(GetSoftwareSourceManifestArgs.builder()
.softwareSourceId(testSoftwareSource.id())
.build());
}
}
variables:
testSoftwareSourceManifest:
fn::invoke:
function: oci:OsManagementHub:getSoftwareSourceManifest
arguments:
softwareSourceId: ${testSoftwareSource.id}
Using getSoftwareSourceManifest
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 getSoftwareSourceManifest(args: GetSoftwareSourceManifestArgs, opts?: InvokeOptions): Promise<GetSoftwareSourceManifestResult>
function getSoftwareSourceManifestOutput(args: GetSoftwareSourceManifestOutputArgs, opts?: InvokeOptions): Output<GetSoftwareSourceManifestResult>def get_software_source_manifest(software_source_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSoftwareSourceManifestResult
def get_software_source_manifest_output(software_source_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSoftwareSourceManifestResult]func LookupSoftwareSourceManifest(ctx *Context, args *LookupSoftwareSourceManifestArgs, opts ...InvokeOption) (*LookupSoftwareSourceManifestResult, error)
func LookupSoftwareSourceManifestOutput(ctx *Context, args *LookupSoftwareSourceManifestOutputArgs, opts ...InvokeOption) LookupSoftwareSourceManifestResultOutput> Note: This function is named LookupSoftwareSourceManifest in the Go SDK.
public static class GetSoftwareSourceManifest
{
public static Task<GetSoftwareSourceManifestResult> InvokeAsync(GetSoftwareSourceManifestArgs args, InvokeOptions? opts = null)
public static Output<GetSoftwareSourceManifestResult> Invoke(GetSoftwareSourceManifestInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSoftwareSourceManifestResult> getSoftwareSourceManifest(GetSoftwareSourceManifestArgs args, InvokeOptions options)
public static Output<GetSoftwareSourceManifestResult> getSoftwareSourceManifest(GetSoftwareSourceManifestArgs args, InvokeOptions options)
fn::invoke:
function: oci:OsManagementHub/getSoftwareSourceManifest:getSoftwareSourceManifest
arguments:
# arguments dictionaryThe following arguments are supported:
- Software
Source stringId - The OCID of the software source.
- Software
Source stringId - The OCID of the software source.
- software
Source StringId - The OCID of the software source.
- software
Source stringId - The OCID of the software source.
- software_
source_ strid - The OCID of the software source.
- software
Source StringId - The OCID of the software source.
getSoftwareSourceManifest Result
The following output properties are available:
- Content string
- Provides the manifest content used to update the package list of the software source.
- Id string
- Software
Source stringId - The OCID of the software source.
- Content string
- Provides the manifest content used to update the package list of the software source.
- Id string
- Software
Source stringId - The OCID of the software source.
- content String
- Provides the manifest content used to update the package list of the software source.
- id String
- software
Source StringId - The OCID of the software source.
- content string
- Provides the manifest content used to update the package list of the software source.
- id string
- software
Source stringId - The OCID of the software source.
- content str
- Provides the manifest content used to update the package list of the software source.
- id str
- software_
source_ strid - The OCID of the software source.
- content String
- Provides the manifest content used to update the package list of the software source.
- id String
- software
Source StringId - The OCID of the software source.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v4.2.0
published on Friday, Mar 6, 2026 by Pulumi
published on Friday, Mar 6, 2026 by Pulumi
