Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.OsManagement.getSoftwareSource
Explore with Pulumi AI
This data source provides details about a specific Software Source resource in Oracle Cloud Infrastructure OS Management service.
Returns a specific Software Source.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testSoftwareSource = oci.OsManagement.getSoftwareSource({
    softwareSourceId: testSoftwareSourceOciOsmanagementSoftwareSource.id,
});
import pulumi
import pulumi_oci as oci
test_software_source = oci.OsManagement.get_software_source(software_source_id=test_software_source_oci_osmanagement_software_source["id"])
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/osmanagement"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := osmanagement.GetSoftwareSource(ctx, &osmanagement.GetSoftwareSourceArgs{
			SoftwareSourceId: testSoftwareSourceOciOsmanagementSoftwareSource.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 testSoftwareSource = Oci.OsManagement.GetSoftwareSource.Invoke(new()
    {
        SoftwareSourceId = testSoftwareSourceOciOsmanagementSoftwareSource.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.OsManagement.OsManagementFunctions;
import com.pulumi.oci.OsManagement.inputs.GetSoftwareSourceArgs;
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 testSoftwareSource = OsManagementFunctions.getSoftwareSource(GetSoftwareSourceArgs.builder()
            .softwareSourceId(testSoftwareSourceOciOsmanagementSoftwareSource.id())
            .build());
    }
}
variables:
  testSoftwareSource:
    fn::invoke:
      function: oci:OsManagement:getSoftwareSource
      arguments:
        softwareSourceId: ${testSoftwareSourceOciOsmanagementSoftwareSource.id}
Using getSoftwareSource
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 getSoftwareSource(args: GetSoftwareSourceArgs, opts?: InvokeOptions): Promise<GetSoftwareSourceResult>
function getSoftwareSourceOutput(args: GetSoftwareSourceOutputArgs, opts?: InvokeOptions): Output<GetSoftwareSourceResult>def get_software_source(software_source_id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetSoftwareSourceResult
def get_software_source_output(software_source_id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetSoftwareSourceResult]func LookupSoftwareSource(ctx *Context, args *LookupSoftwareSourceArgs, opts ...InvokeOption) (*LookupSoftwareSourceResult, error)
func LookupSoftwareSourceOutput(ctx *Context, args *LookupSoftwareSourceOutputArgs, opts ...InvokeOption) LookupSoftwareSourceResultOutput> Note: This function is named LookupSoftwareSource in the Go SDK.
public static class GetSoftwareSource 
{
    public static Task<GetSoftwareSourceResult> InvokeAsync(GetSoftwareSourceArgs args, InvokeOptions? opts = null)
    public static Output<GetSoftwareSourceResult> Invoke(GetSoftwareSourceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSoftwareSourceResult> getSoftwareSource(GetSoftwareSourceArgs args, InvokeOptions options)
public static Output<GetSoftwareSourceResult> getSoftwareSource(GetSoftwareSourceArgs args, InvokeOptions options)
fn::invoke:
  function: oci:OsManagement/getSoftwareSource:getSoftwareSource
  arguments:
    # arguments dictionaryThe following arguments are supported:
- SoftwareSource stringId 
- The OCID of the software source.
- SoftwareSource stringId 
- The OCID of the software source.
- softwareSource StringId 
- The OCID of the software source.
- softwareSource stringId 
- The OCID of the software source.
- software_source_ strid 
- The OCID of the software source.
- softwareSource StringId 
- The OCID of the software source.
getSoftwareSource Result
The following output properties are available:
- ArchType string
- The architecture type supported by the Software Source
- AssociatedManaged List<GetInstances Software Source Associated Managed Instance> 
- list of the Managed Instances associated with this Software Sources
- ChecksumType string
- The yum repository checksum type used by this software source
- CompartmentId string
- OCID for the Compartment
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- Description string
- Information specified by the user about the software source
- DisplayName string
- User friendly name for the software source
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- GpgKey stringFingerprint 
- Fingerprint of the GPG key for this software source
- GpgKey stringId 
- ID of the GPG key for this software source
- GpgKey stringUrl 
- URL of the GPG key for this software source
- Id string
- OCID for the Software Source
- MaintainerEmail string
- Email address of the person maintaining this software source
- MaintainerName string
- Name of the person maintaining this software source
- MaintainerPhone string
- Phone number of the person maintaining this software source
- Packages int
- Number of packages
- ParentId string
- OCID for the parent software source, if there is one
- ParentName string
- Display name the parent software source, if there is one
- RepoType string
- Type of the Software Source
- SoftwareSource stringId 
- State string
- The current state of the Software Source.
- Status string
- status of the software source.
- Url string
- URL for the repostiory
- ArchType string
- The architecture type supported by the Software Source
- AssociatedManaged []GetInstances Software Source Associated Managed Instance 
- list of the Managed Instances associated with this Software Sources
- ChecksumType string
- The yum repository checksum type used by this software source
- CompartmentId string
- OCID for the Compartment
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- Description string
- Information specified by the user about the software source
- DisplayName string
- User friendly name for the software source
- map[string]string
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- GpgKey stringFingerprint 
- Fingerprint of the GPG key for this software source
- GpgKey stringId 
- ID of the GPG key for this software source
- GpgKey stringUrl 
- URL of the GPG key for this software source
- Id string
- OCID for the Software Source
- MaintainerEmail string
- Email address of the person maintaining this software source
- MaintainerName string
- Name of the person maintaining this software source
- MaintainerPhone string
- Phone number of the person maintaining this software source
- Packages int
- Number of packages
- ParentId string
- OCID for the parent software source, if there is one
- ParentName string
- Display name the parent software source, if there is one
- RepoType string
- Type of the Software Source
- SoftwareSource stringId 
- State string
- The current state of the Software Source.
- Status string
- status of the software source.
- Url string
- URL for the repostiory
- archType String
- The architecture type supported by the Software Source
- associatedManaged List<GetInstances Software Source Associated Managed Instance> 
- list of the Managed Instances associated with this Software Sources
- checksumType String
- The yum repository checksum type used by this software source
- compartmentId String
- OCID for the Compartment
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- description String
- Information specified by the user about the software source
- displayName String
- User friendly name for the software source
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- gpgKey StringFingerprint 
- Fingerprint of the GPG key for this software source
- gpgKey StringId 
- ID of the GPG key for this software source
- gpgKey StringUrl 
- URL of the GPG key for this software source
- id String
- OCID for the Software Source
- maintainerEmail String
- Email address of the person maintaining this software source
- maintainerName String
- Name of the person maintaining this software source
- maintainerPhone String
- Phone number of the person maintaining this software source
- packages Integer
- Number of packages
- parentId String
- OCID for the parent software source, if there is one
- parentName String
- Display name the parent software source, if there is one
- repoType String
- Type of the Software Source
- softwareSource StringId 
- state String
- The current state of the Software Source.
- status String
- status of the software source.
- url String
- URL for the repostiory
- archType string
- The architecture type supported by the Software Source
- associatedManaged GetInstances Software Source Associated Managed Instance[] 
- list of the Managed Instances associated with this Software Sources
- checksumType string
- The yum repository checksum type used by this software source
- compartmentId string
- OCID for the Compartment
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- description string
- Information specified by the user about the software source
- displayName string
- User friendly name for the software source
- {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- gpgKey stringFingerprint 
- Fingerprint of the GPG key for this software source
- gpgKey stringId 
- ID of the GPG key for this software source
- gpgKey stringUrl 
- URL of the GPG key for this software source
- id string
- OCID for the Software Source
- maintainerEmail string
- Email address of the person maintaining this software source
- maintainerName string
- Name of the person maintaining this software source
- maintainerPhone string
- Phone number of the person maintaining this software source
- packages number
- Number of packages
- parentId string
- OCID for the parent software source, if there is one
- parentName string
- Display name the parent software source, if there is one
- repoType string
- Type of the Software Source
- softwareSource stringId 
- state string
- The current state of the Software Source.
- status string
- status of the software source.
- url string
- URL for the repostiory
- arch_type str
- The architecture type supported by the Software Source
- associated_managed_ Sequence[Getinstances Software Source Associated Managed Instance] 
- list of the Managed Instances associated with this Software Sources
- checksum_type str
- The yum repository checksum type used by this software source
- compartment_id str
- OCID for the Compartment
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- description str
- Information specified by the user about the software source
- display_name str
- User friendly name for the software source
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- gpg_key_ strfingerprint 
- Fingerprint of the GPG key for this software source
- gpg_key_ strid 
- ID of the GPG key for this software source
- gpg_key_ strurl 
- URL of the GPG key for this software source
- id str
- OCID for the Software Source
- maintainer_email str
- Email address of the person maintaining this software source
- maintainer_name str
- Name of the person maintaining this software source
- maintainer_phone str
- Phone number of the person maintaining this software source
- packages int
- Number of packages
- parent_id str
- OCID for the parent software source, if there is one
- parent_name str
- Display name the parent software source, if there is one
- repo_type str
- Type of the Software Source
- software_source_ strid 
- state str
- The current state of the Software Source.
- status str
- status of the software source.
- url str
- URL for the repostiory
- archType String
- The architecture type supported by the Software Source
- associatedManaged List<Property Map>Instances 
- list of the Managed Instances associated with this Software Sources
- checksumType String
- The yum repository checksum type used by this software source
- compartmentId String
- OCID for the Compartment
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- description String
- Information specified by the user about the software source
- displayName String
- User friendly name for the software source
- Map<String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- gpgKey StringFingerprint 
- Fingerprint of the GPG key for this software source
- gpgKey StringId 
- ID of the GPG key for this software source
- gpgKey StringUrl 
- URL of the GPG key for this software source
- id String
- OCID for the Software Source
- maintainerEmail String
- Email address of the person maintaining this software source
- maintainerName String
- Name of the person maintaining this software source
- maintainerPhone String
- Phone number of the person maintaining this software source
- packages Number
- Number of packages
- parentId String
- OCID for the parent software source, if there is one
- parentName String
- Display name the parent software source, if there is one
- repoType String
- Type of the Software Source
- softwareSource StringId 
- state String
- The current state of the Software Source.
- status String
- status of the software source.
- url String
- URL for the repostiory
Supporting Types
GetSoftwareSourceAssociatedManagedInstance     
- DisplayName string
- User friendly name for the software source
- Id string
- OCID for the Software Source
- DisplayName string
- User friendly name for the software source
- Id string
- OCID for the Software Source
- displayName String
- User friendly name for the software source
- id String
- OCID for the Software Source
- displayName string
- User friendly name for the software source
- id string
- OCID for the Software Source
- display_name str
- User friendly name for the software source
- id str
- OCID for the Software Source
- displayName String
- User friendly name for the software source
- id String
- OCID for the Software Source
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.