Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 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 GetSoftwareSource(ctx *Context, args *GetSoftwareSourceArgs, opts ...InvokeOption) (*GetSoftwareSourceResult, error)
func GetSoftwareSourceOutput(ctx *Context, args *GetSoftwareSourceOutputArgs, opts ...InvokeOption) GetSoftwareSourceResultOutput
> Note: This function is named GetSoftwareSource
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:OsManagement/getSoftwareSource:getSoftwareSource
arguments:
# arguments dictionary
The 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.
getSoftwareSource Result
The following output properties are available:
- Arch
Type string - The architecture type supported by the Software Source
- Associated
Managed List<GetInstances Software Source Associated Managed Instance> - list of the Managed Instances associated with this Software Sources
- Checksum
Type string - The yum repository checksum type used by this software source
- Compartment
Id 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
- Display
Name 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"}
- Gpg
Key stringFingerprint - Fingerprint of the GPG key for this software source
- Gpg
Key stringId - ID of the GPG key for this software source
- Gpg
Key stringUrl - URL of the GPG key for this software source
- Id string
- OCID for the Software Source
- Maintainer
Email string - Email address of the person maintaining this software source
- Maintainer
Name string - Name of the person maintaining this software source
- Maintainer
Phone string - Phone number of the person maintaining this software source
- Packages int
- Number of packages
- Parent
Id string - OCID for the parent software source, if there is one
- Parent
Name string - Display name the parent software source, if there is one
- Repo
Type string - Type of the Software Source
- Software
Source 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 string - The architecture type supported by the Software Source
- Associated
Managed []GetInstances Software Source Associated Managed Instance - list of the Managed Instances associated with this Software Sources
- Checksum
Type string - The yum repository checksum type used by this software source
- Compartment
Id 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
- Display
Name 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"}
- Gpg
Key stringFingerprint - Fingerprint of the GPG key for this software source
- Gpg
Key stringId - ID of the GPG key for this software source
- Gpg
Key stringUrl - URL of the GPG key for this software source
- Id string
- OCID for the Software Source
- Maintainer
Email string - Email address of the person maintaining this software source
- Maintainer
Name string - Name of the person maintaining this software source
- Maintainer
Phone string - Phone number of the person maintaining this software source
- Packages int
- Number of packages
- Parent
Id string - OCID for the parent software source, if there is one
- Parent
Name string - Display name the parent software source, if there is one
- Repo
Type string - Type of the Software Source
- Software
Source 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 String - The architecture type supported by the Software Source
- associated
Managed List<GetInstances Software Source Associated Managed Instance> - list of the Managed Instances associated with this Software Sources
- checksum
Type String - The yum repository checksum type used by this software source
- compartment
Id 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
- display
Name 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"}
- gpg
Key StringFingerprint - Fingerprint of the GPG key for this software source
- gpg
Key StringId - ID of the GPG key for this software source
- gpg
Key StringUrl - URL of the GPG key for this software source
- id String
- OCID for the Software Source
- maintainer
Email String - Email address of the person maintaining this software source
- maintainer
Name String - Name of the person maintaining this software source
- maintainer
Phone String - Phone number of the person maintaining this software source
- packages Integer
- Number of packages
- parent
Id String - OCID for the parent software source, if there is one
- parent
Name String - Display name the parent software source, if there is one
- repo
Type String - Type of the Software Source
- software
Source 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 string - The architecture type supported by the Software Source
- associated
Managed GetInstances Software Source Associated Managed Instance[] - list of the Managed Instances associated with this Software Sources
- checksum
Type string - The yum repository checksum type used by this software source
- compartment
Id 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
- display
Name 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"}
- gpg
Key stringFingerprint - Fingerprint of the GPG key for this software source
- gpg
Key stringId - ID of the GPG key for this software source
- gpg
Key stringUrl - URL of the GPG key for this software source
- id string
- OCID for the Software Source
- maintainer
Email string - Email address of the person maintaining this software source
- maintainer
Name string - Name of the person maintaining this software source
- maintainer
Phone string - Phone number of the person maintaining this software source
- packages number
- Number of packages
- parent
Id string - OCID for the parent software source, if there is one
- parent
Name string - Display name the parent software source, if there is one
- repo
Type string - Type of the Software Source
- software
Source 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[osmanagement.instances Get 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
- arch
Type String - The architecture type supported by the Software Source
- associated
Managed List<Property Map>Instances - list of the Managed Instances associated with this Software Sources
- checksum
Type String - The yum repository checksum type used by this software source
- compartment
Id 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
- display
Name 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"}
- gpg
Key StringFingerprint - Fingerprint of the GPG key for this software source
- gpg
Key StringId - ID of the GPG key for this software source
- gpg
Key StringUrl - URL of the GPG key for this software source
- id String
- OCID for the Software Source
- maintainer
Email String - Email address of the person maintaining this software source
- maintainer
Name String - Name of the person maintaining this software source
- maintainer
Phone String - Phone number of the person maintaining this software source
- packages Number
- Number of packages
- parent
Id String - OCID for the parent software source, if there is one
- parent
Name String - Display name the parent software source, if there is one
- repo
Type String - Type of the Software Source
- software
Source 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
- Display
Name string - User friendly name for the software source
- Id string
- OCID for the Software Source
- Display
Name string - User friendly name for the software source
- Id string
- OCID for the Software Source
- display
Name String - User friendly name for the software source
- id String
- OCID for the Software Source
- display
Name 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
- display
Name 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
oci
Terraform Provider.