1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. OsManagementHub
  5. getSoftwareSourceManifest
Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi

oci.OsManagementHub.getSoftwareSourceManifest

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 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,
});
Copy
import pulumi
import pulumi_oci as oci

test_software_source_manifest = oci.OsManagementHub.get_software_source_manifest(software_source_id=test_software_source["id"])
Copy
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.GetSoftwareSourceManifest(ctx, &osmanagementhub.GetSoftwareSourceManifestArgs{
			SoftwareSourceId: testSoftwareSource.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
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,
    });

});
Copy
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());

    }
}
Copy
variables:
  testSoftwareSourceManifest:
    fn::invoke:
      function: oci:OsManagementHub:getSoftwareSourceManifest
      arguments:
        softwareSourceId: ${testSoftwareSource.id}
Copy

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>
Copy
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]
Copy
func GetSoftwareSourceManifest(ctx *Context, args *GetSoftwareSourceManifestArgs, opts ...InvokeOption) (*GetSoftwareSourceManifestResult, error)
func GetSoftwareSourceManifestOutput(ctx *Context, args *GetSoftwareSourceManifestOutputArgs, opts ...InvokeOption) GetSoftwareSourceManifestResultOutput
Copy

> Note: This function is named GetSoftwareSourceManifest 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)
}
Copy
public static CompletableFuture<GetSoftwareSourceManifestResult> getSoftwareSourceManifest(GetSoftwareSourceManifestArgs args, InvokeOptions options)
public static Output<GetSoftwareSourceManifestResult> getSoftwareSourceManifest(GetSoftwareSourceManifestArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:OsManagementHub/getSoftwareSourceManifest:getSoftwareSourceManifest
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

SoftwareSourceId This property is required. string
The OCID of the software source.
SoftwareSourceId This property is required. string
The OCID of the software source.
softwareSourceId This property is required. String
The OCID of the software source.
softwareSourceId This property is required. string
The OCID of the software source.
software_source_id This property is required. str
The OCID of the software source.
softwareSourceId This property is required. String
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
SoftwareSourceId string
The OCID of the software source.
Content string
Provides the manifest content used to update the package list of the software source.
Id string
SoftwareSourceId string
The OCID of the software source.
content String
Provides the manifest content used to update the package list of the software source.
id String
softwareSourceId String
The OCID of the software source.
content string
Provides the manifest content used to update the package list of the software source.
id string
softwareSourceId string
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_id str
The OCID of the software source.
content String
Provides the manifest content used to update the package list of the software source.
id String
softwareSourceId String
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 oci Terraform Provider.
Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi