1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. OsManagement
  5. SoftwareSource
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

oci.OsManagement.SoftwareSource

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

    This resource provides the Software Source resource in Oracle Cloud Infrastructure OS Management service.

    Creates a new custom Software Source on the management system. This will not contain any packages after it is first created, and they must be added later.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testSoftwareSource = new oci.osmanagement.SoftwareSource("testSoftwareSource", {
        archType: _var.software_source_arch_type,
        compartmentId: _var.compartment_id,
        displayName: _var.software_source_display_name,
        checksumType: _var.software_source_checksum_type,
        definedTags: {
            "foo-namespace.bar-key": "value",
        },
        description: _var.software_source_description,
        freeformTags: {
            "bar-key": "value",
        },
        maintainerEmail: _var.software_source_maintainer_email,
        maintainerName: _var.software_source_maintainer_name,
        maintainerPhone: _var.software_source_maintainer_phone,
        parentId: oci_osmanagement_parent.test_parent.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_software_source = oci.os_management.SoftwareSource("testSoftwareSource",
        arch_type=var["software_source_arch_type"],
        compartment_id=var["compartment_id"],
        display_name=var["software_source_display_name"],
        checksum_type=var["software_source_checksum_type"],
        defined_tags={
            "foo-namespace.bar-key": "value",
        },
        description=var["software_source_description"],
        freeform_tags={
            "bar-key": "value",
        },
        maintainer_email=var["software_source_maintainer_email"],
        maintainer_name=var["software_source_maintainer_name"],
        maintainer_phone=var["software_source_maintainer_phone"],
        parent_id=oci_osmanagement_parent["test_parent"]["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/OsManagement"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := OsManagement.NewSoftwareSource(ctx, "testSoftwareSource", &OsManagement.SoftwareSourceArgs{
    			ArchType:      pulumi.Any(_var.Software_source_arch_type),
    			CompartmentId: pulumi.Any(_var.Compartment_id),
    			DisplayName:   pulumi.Any(_var.Software_source_display_name),
    			ChecksumType:  pulumi.Any(_var.Software_source_checksum_type),
    			DefinedTags: pulumi.Map{
    				"foo-namespace.bar-key": pulumi.Any("value"),
    			},
    			Description: pulumi.Any(_var.Software_source_description),
    			FreeformTags: pulumi.Map{
    				"bar-key": pulumi.Any("value"),
    			},
    			MaintainerEmail: pulumi.Any(_var.Software_source_maintainer_email),
    			MaintainerName:  pulumi.Any(_var.Software_source_maintainer_name),
    			MaintainerPhone: pulumi.Any(_var.Software_source_maintainer_phone),
    			ParentId:        pulumi.Any(oci_osmanagement_parent.Test_parent.Id),
    		})
    		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 = new Oci.OsManagement.SoftwareSource("testSoftwareSource", new()
        {
            ArchType = @var.Software_source_arch_type,
            CompartmentId = @var.Compartment_id,
            DisplayName = @var.Software_source_display_name,
            ChecksumType = @var.Software_source_checksum_type,
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            Description = @var.Software_source_description,
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
            MaintainerEmail = @var.Software_source_maintainer_email,
            MaintainerName = @var.Software_source_maintainer_name,
            MaintainerPhone = @var.Software_source_maintainer_phone,
            ParentId = oci_osmanagement_parent.Test_parent.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.OsManagement.SoftwareSource;
    import com.pulumi.oci.OsManagement.SoftwareSourceArgs;
    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) {
            var testSoftwareSource = new SoftwareSource("testSoftwareSource", SoftwareSourceArgs.builder()        
                .archType(var_.software_source_arch_type())
                .compartmentId(var_.compartment_id())
                .displayName(var_.software_source_display_name())
                .checksumType(var_.software_source_checksum_type())
                .definedTags(Map.of("foo-namespace.bar-key", "value"))
                .description(var_.software_source_description())
                .freeformTags(Map.of("bar-key", "value"))
                .maintainerEmail(var_.software_source_maintainer_email())
                .maintainerName(var_.software_source_maintainer_name())
                .maintainerPhone(var_.software_source_maintainer_phone())
                .parentId(oci_osmanagement_parent.test_parent().id())
                .build());
    
        }
    }
    
    resources:
      testSoftwareSource:
        type: oci:OsManagement:SoftwareSource
        properties:
          #Required
          archType: ${var.software_source_arch_type}
          compartmentId: ${var.compartment_id}
          displayName: ${var.software_source_display_name}
          #Optional
          checksumType: ${var.software_source_checksum_type}
          definedTags:
            foo-namespace.bar-key: value
          description: ${var.software_source_description}
          freeformTags:
            bar-key: value
          maintainerEmail: ${var.software_source_maintainer_email}
          maintainerName: ${var.software_source_maintainer_name}
          maintainerPhone: ${var.software_source_maintainer_phone}
          parentId: ${oci_osmanagement_parent.test_parent.id}
    

    Create SoftwareSource Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SoftwareSource(name: string, args: SoftwareSourceArgs, opts?: CustomResourceOptions);
    @overload
    def SoftwareSource(resource_name: str,
                       args: SoftwareSourceArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def SoftwareSource(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       arch_type: Optional[str] = None,
                       compartment_id: Optional[str] = None,
                       display_name: Optional[str] = None,
                       checksum_type: Optional[str] = None,
                       defined_tags: Optional[Mapping[str, Any]] = None,
                       description: Optional[str] = None,
                       freeform_tags: Optional[Mapping[str, Any]] = None,
                       maintainer_email: Optional[str] = None,
                       maintainer_name: Optional[str] = None,
                       maintainer_phone: Optional[str] = None,
                       parent_id: Optional[str] = None)
    func NewSoftwareSource(ctx *Context, name string, args SoftwareSourceArgs, opts ...ResourceOption) (*SoftwareSource, error)
    public SoftwareSource(string name, SoftwareSourceArgs args, CustomResourceOptions? opts = null)
    public SoftwareSource(String name, SoftwareSourceArgs args)
    public SoftwareSource(String name, SoftwareSourceArgs args, CustomResourceOptions options)
    
    type: oci:OsManagement:SoftwareSource
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args SoftwareSourceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SoftwareSourceArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SoftwareSourceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SoftwareSourceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SoftwareSourceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var softwareSourceResource = new Oci.OsManagement.SoftwareSource("softwareSourceResource", new()
    {
        ArchType = "string",
        CompartmentId = "string",
        DisplayName = "string",
        ChecksumType = "string",
        DefinedTags = 
        {
            { "string", "any" },
        },
        Description = "string",
        FreeformTags = 
        {
            { "string", "any" },
        },
        MaintainerEmail = "string",
        MaintainerName = "string",
        MaintainerPhone = "string",
        ParentId = "string",
    });
    
    example, err := OsManagement.NewSoftwareSource(ctx, "softwareSourceResource", &OsManagement.SoftwareSourceArgs{
    	ArchType:      pulumi.String("string"),
    	CompartmentId: pulumi.String("string"),
    	DisplayName:   pulumi.String("string"),
    	ChecksumType:  pulumi.String("string"),
    	DefinedTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	Description: pulumi.String("string"),
    	FreeformTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	MaintainerEmail: pulumi.String("string"),
    	MaintainerName:  pulumi.String("string"),
    	MaintainerPhone: pulumi.String("string"),
    	ParentId:        pulumi.String("string"),
    })
    
    var softwareSourceResource = new SoftwareSource("softwareSourceResource", SoftwareSourceArgs.builder()        
        .archType("string")
        .compartmentId("string")
        .displayName("string")
        .checksumType("string")
        .definedTags(Map.of("string", "any"))
        .description("string")
        .freeformTags(Map.of("string", "any"))
        .maintainerEmail("string")
        .maintainerName("string")
        .maintainerPhone("string")
        .parentId("string")
        .build());
    
    software_source_resource = oci.os_management.SoftwareSource("softwareSourceResource",
        arch_type="string",
        compartment_id="string",
        display_name="string",
        checksum_type="string",
        defined_tags={
            "string": "any",
        },
        description="string",
        freeform_tags={
            "string": "any",
        },
        maintainer_email="string",
        maintainer_name="string",
        maintainer_phone="string",
        parent_id="string")
    
    const softwareSourceResource = new oci.osmanagement.SoftwareSource("softwareSourceResource", {
        archType: "string",
        compartmentId: "string",
        displayName: "string",
        checksumType: "string",
        definedTags: {
            string: "any",
        },
        description: "string",
        freeformTags: {
            string: "any",
        },
        maintainerEmail: "string",
        maintainerName: "string",
        maintainerPhone: "string",
        parentId: "string",
    });
    
    type: oci:OsManagement:SoftwareSource
    properties:
        archType: string
        checksumType: string
        compartmentId: string
        definedTags:
            string: any
        description: string
        displayName: string
        freeformTags:
            string: any
        maintainerEmail: string
        maintainerName: string
        maintainerPhone: string
        parentId: string
    

    SoftwareSource Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The SoftwareSource resource accepts the following input properties:

    ArchType string
    The architecture type supported by the Software Source
    CompartmentId string
    (Updatable) OCID for the Compartment
    DisplayName string
    (Updatable) User friendly name for the software source
    ChecksumType string
    (Updatable) The yum repository checksum type used by this software source
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) Information specified by the user about the software source
    FreeformTags Dictionary<string, object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    MaintainerEmail string
    (Updatable) Email address of the person maintaining this software source
    MaintainerName string
    (Updatable) Name of the person maintaining this software source
    MaintainerPhone string
    (Updatable) Phone number of the person maintaining this software source
    ParentId string

    OCID for the parent software source, if there is one

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    ArchType string
    The architecture type supported by the Software Source
    CompartmentId string
    (Updatable) OCID for the Compartment
    DisplayName string
    (Updatable) User friendly name for the software source
    ChecksumType string
    (Updatable) The yum repository checksum type used by this software source
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) Information specified by the user about the software source
    FreeformTags map[string]interface{}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    MaintainerEmail string
    (Updatable) Email address of the person maintaining this software source
    MaintainerName string
    (Updatable) Name of the person maintaining this software source
    MaintainerPhone string
    (Updatable) Phone number of the person maintaining this software source
    ParentId string

    OCID for the parent software source, if there is one

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    archType String
    The architecture type supported by the Software Source
    compartmentId String
    (Updatable) OCID for the Compartment
    displayName String
    (Updatable) User friendly name for the software source
    checksumType String
    (Updatable) The yum repository checksum type used by this software source
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) Information specified by the user about the software source
    freeformTags Map<String,Object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    maintainerEmail String
    (Updatable) Email address of the person maintaining this software source
    maintainerName String
    (Updatable) Name of the person maintaining this software source
    maintainerPhone String
    (Updatable) Phone number of the person maintaining this software source
    parentId String

    OCID for the parent software source, if there is one

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    archType string
    The architecture type supported by the Software Source
    compartmentId string
    (Updatable) OCID for the Compartment
    displayName string
    (Updatable) User friendly name for the software source
    checksumType string
    (Updatable) The yum repository checksum type used by this software source
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    (Updatable) Information specified by the user about the software source
    freeformTags {[key: string]: any}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    maintainerEmail string
    (Updatable) Email address of the person maintaining this software source
    maintainerName string
    (Updatable) Name of the person maintaining this software source
    maintainerPhone string
    (Updatable) Phone number of the person maintaining this software source
    parentId string

    OCID for the parent software source, if there is one

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    arch_type str
    The architecture type supported by the Software Source
    compartment_id str
    (Updatable) OCID for the Compartment
    display_name str
    (Updatable) User friendly name for the software source
    checksum_type str
    (Updatable) The yum repository checksum type used by this software source
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    (Updatable) Information specified by the user about the software source
    freeform_tags Mapping[str, Any]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    maintainer_email str
    (Updatable) Email address of the person maintaining this software source
    maintainer_name str
    (Updatable) Name of the person maintaining this software source
    maintainer_phone str
    (Updatable) Phone number of the person maintaining this software source
    parent_id str

    OCID for the parent software source, if there is one

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    archType String
    The architecture type supported by the Software Source
    compartmentId String
    (Updatable) OCID for the Compartment
    displayName String
    (Updatable) User friendly name for the software source
    checksumType String
    (Updatable) The yum repository checksum type used by this software source
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) Information specified by the user about the software source
    freeformTags Map<Any>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    maintainerEmail String
    (Updatable) Email address of the person maintaining this software source
    maintainerName String
    (Updatable) Name of the person maintaining this software source
    maintainerPhone String
    (Updatable) Phone number of the person maintaining this software source
    parentId String

    OCID for the parent software source, if there is one

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SoftwareSource resource produces the following output properties:

    AssociatedManagedInstances List<SoftwareSourceAssociatedManagedInstance>
    list of the Managed Instances associated with this Software Sources
    GpgKeyFingerprint string
    Fingerprint of the GPG key for this software source
    GpgKeyId string
    ID of the GPG key for this software source
    GpgKeyUrl string
    URL of the GPG key for this software source
    Id string
    The provider-assigned unique ID for this managed resource.
    Packages int
    Number of packages
    ParentName string
    Display name the parent software source, if there is one
    RepoType string
    Type of the Software Source
    State string
    The current state of the Software Source.
    Status string
    status of the software source.
    Url string
    URL for the repostiory
    AssociatedManagedInstances []SoftwareSourceAssociatedManagedInstance
    list of the Managed Instances associated with this Software Sources
    GpgKeyFingerprint string
    Fingerprint of the GPG key for this software source
    GpgKeyId string
    ID of the GPG key for this software source
    GpgKeyUrl string
    URL of the GPG key for this software source
    Id string
    The provider-assigned unique ID for this managed resource.
    Packages int
    Number of packages
    ParentName string
    Display name the parent software source, if there is one
    RepoType string
    Type of the Software Source
    State string
    The current state of the Software Source.
    Status string
    status of the software source.
    Url string
    URL for the repostiory
    associatedManagedInstances List<SoftwareSourceAssociatedManagedInstance>
    list of the Managed Instances associated with this Software Sources
    gpgKeyFingerprint String
    Fingerprint of the GPG key for this software source
    gpgKeyId String
    ID of the GPG key for this software source
    gpgKeyUrl String
    URL of the GPG key for this software source
    id String
    The provider-assigned unique ID for this managed resource.
    packages Integer
    Number of packages
    parentName String
    Display name the parent software source, if there is one
    repoType String
    Type of the Software Source
    state String
    The current state of the Software Source.
    status String
    status of the software source.
    url String
    URL for the repostiory
    associatedManagedInstances SoftwareSourceAssociatedManagedInstance[]
    list of the Managed Instances associated with this Software Sources
    gpgKeyFingerprint string
    Fingerprint of the GPG key for this software source
    gpgKeyId string
    ID of the GPG key for this software source
    gpgKeyUrl string
    URL of the GPG key for this software source
    id string
    The provider-assigned unique ID for this managed resource.
    packages number
    Number of packages
    parentName string
    Display name the parent software source, if there is one
    repoType string
    Type of the Software Source
    state string
    The current state of the Software Source.
    status string
    status of the software source.
    url string
    URL for the repostiory
    associated_managed_instances Sequence[osmanagement.SoftwareSourceAssociatedManagedInstance]
    list of the Managed Instances associated with this Software Sources
    gpg_key_fingerprint str
    Fingerprint of the GPG key for this software source
    gpg_key_id str
    ID of the GPG key for this software source
    gpg_key_url str
    URL of the GPG key for this software source
    id str
    The provider-assigned unique ID for this managed resource.
    packages int
    Number of packages
    parent_name str
    Display name the parent software source, if there is one
    repo_type str
    Type of the Software Source
    state str
    The current state of the Software Source.
    status str
    status of the software source.
    url str
    URL for the repostiory
    associatedManagedInstances List<Property Map>
    list of the Managed Instances associated with this Software Sources
    gpgKeyFingerprint String
    Fingerprint of the GPG key for this software source
    gpgKeyId String
    ID of the GPG key for this software source
    gpgKeyUrl String
    URL of the GPG key for this software source
    id String
    The provider-assigned unique ID for this managed resource.
    packages Number
    Number of packages
    parentName String
    Display name the parent software source, if there is one
    repoType String
    Type of the Software Source
    state String
    The current state of the Software Source.
    status String
    status of the software source.
    url String
    URL for the repostiory

    Look up Existing SoftwareSource Resource

    Get an existing SoftwareSource resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: SoftwareSourceState, opts?: CustomResourceOptions): SoftwareSource
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arch_type: Optional[str] = None,
            associated_managed_instances: Optional[Sequence[_osmanagement.SoftwareSourceAssociatedManagedInstanceArgs]] = None,
            checksum_type: Optional[str] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            gpg_key_fingerprint: Optional[str] = None,
            gpg_key_id: Optional[str] = None,
            gpg_key_url: Optional[str] = None,
            maintainer_email: Optional[str] = None,
            maintainer_name: Optional[str] = None,
            maintainer_phone: Optional[str] = None,
            packages: Optional[int] = None,
            parent_id: Optional[str] = None,
            parent_name: Optional[str] = None,
            repo_type: Optional[str] = None,
            state: Optional[str] = None,
            status: Optional[str] = None,
            url: Optional[str] = None) -> SoftwareSource
    func GetSoftwareSource(ctx *Context, name string, id IDInput, state *SoftwareSourceState, opts ...ResourceOption) (*SoftwareSource, error)
    public static SoftwareSource Get(string name, Input<string> id, SoftwareSourceState? state, CustomResourceOptions? opts = null)
    public static SoftwareSource get(String name, Output<String> id, SoftwareSourceState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ArchType string
    The architecture type supported by the Software Source
    AssociatedManagedInstances List<SoftwareSourceAssociatedManagedInstance>
    list of the Managed Instances associated with this Software Sources
    ChecksumType string
    (Updatable) The yum repository checksum type used by this software source
    CompartmentId string
    (Updatable) OCID for the Compartment
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) Information specified by the user about the software source
    DisplayName string
    (Updatable) User friendly name for the software source
    FreeformTags Dictionary<string, object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    GpgKeyFingerprint string
    Fingerprint of the GPG key for this software source
    GpgKeyId string
    ID of the GPG key for this software source
    GpgKeyUrl string
    URL of the GPG key for this software source
    MaintainerEmail string
    (Updatable) Email address of the person maintaining this software source
    MaintainerName string
    (Updatable) Name of the person maintaining this software source
    MaintainerPhone string
    (Updatable) 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

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    ParentName string
    Display name the parent software source, if there is one
    RepoType string
    Type of the Software Source
    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
    AssociatedManagedInstances []SoftwareSourceAssociatedManagedInstanceArgs
    list of the Managed Instances associated with this Software Sources
    ChecksumType string
    (Updatable) The yum repository checksum type used by this software source
    CompartmentId string
    (Updatable) OCID for the Compartment
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) Information specified by the user about the software source
    DisplayName string
    (Updatable) User friendly name for the software source
    FreeformTags map[string]interface{}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    GpgKeyFingerprint string
    Fingerprint of the GPG key for this software source
    GpgKeyId string
    ID of the GPG key for this software source
    GpgKeyUrl string
    URL of the GPG key for this software source
    MaintainerEmail string
    (Updatable) Email address of the person maintaining this software source
    MaintainerName string
    (Updatable) Name of the person maintaining this software source
    MaintainerPhone string
    (Updatable) 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

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    ParentName string
    Display name the parent software source, if there is one
    RepoType string
    Type of the Software Source
    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
    associatedManagedInstances List<SoftwareSourceAssociatedManagedInstance>
    list of the Managed Instances associated with this Software Sources
    checksumType String
    (Updatable) The yum repository checksum type used by this software source
    compartmentId String
    (Updatable) OCID for the Compartment
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) Information specified by the user about the software source
    displayName String
    (Updatable) User friendly name for the software source
    freeformTags Map<String,Object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    gpgKeyFingerprint String
    Fingerprint of the GPG key for this software source
    gpgKeyId String
    ID of the GPG key for this software source
    gpgKeyUrl String
    URL of the GPG key for this software source
    maintainerEmail String
    (Updatable) Email address of the person maintaining this software source
    maintainerName String
    (Updatable) Name of the person maintaining this software source
    maintainerPhone String
    (Updatable) 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

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    parentName String
    Display name the parent software source, if there is one
    repoType String
    Type of the Software Source
    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
    associatedManagedInstances SoftwareSourceAssociatedManagedInstance[]
    list of the Managed Instances associated with this Software Sources
    checksumType string
    (Updatable) The yum repository checksum type used by this software source
    compartmentId string
    (Updatable) OCID for the Compartment
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    (Updatable) Information specified by the user about the software source
    displayName string
    (Updatable) User friendly name for the software source
    freeformTags {[key: string]: any}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    gpgKeyFingerprint string
    Fingerprint of the GPG key for this software source
    gpgKeyId string
    ID of the GPG key for this software source
    gpgKeyUrl string
    URL of the GPG key for this software source
    maintainerEmail string
    (Updatable) Email address of the person maintaining this software source
    maintainerName string
    (Updatable) Name of the person maintaining this software source
    maintainerPhone string
    (Updatable) 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

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    parentName string
    Display name the parent software source, if there is one
    repoType string
    Type of the Software Source
    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_instances Sequence[osmanagement.SoftwareSourceAssociatedManagedInstanceArgs]
    list of the Managed Instances associated with this Software Sources
    checksum_type str
    (Updatable) The yum repository checksum type used by this software source
    compartment_id str
    (Updatable) OCID for the Compartment
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    (Updatable) Information specified by the user about the software source
    display_name str
    (Updatable) User friendly name for the software source
    freeform_tags Mapping[str, Any]
    (Updatable) 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_fingerprint str
    Fingerprint of the GPG key for this software source
    gpg_key_id str
    ID of the GPG key for this software source
    gpg_key_url str
    URL of the GPG key for this software source
    maintainer_email str
    (Updatable) Email address of the person maintaining this software source
    maintainer_name str
    (Updatable) Name of the person maintaining this software source
    maintainer_phone str
    (Updatable) 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

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    parent_name str
    Display name the parent software source, if there is one
    repo_type str
    Type of the Software Source
    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
    associatedManagedInstances List<Property Map>
    list of the Managed Instances associated with this Software Sources
    checksumType String
    (Updatable) The yum repository checksum type used by this software source
    compartmentId String
    (Updatable) OCID for the Compartment
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) Information specified by the user about the software source
    displayName String
    (Updatable) User friendly name for the software source
    freeformTags Map<Any>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    gpgKeyFingerprint String
    Fingerprint of the GPG key for this software source
    gpgKeyId String
    ID of the GPG key for this software source
    gpgKeyUrl String
    URL of the GPG key for this software source
    maintainerEmail String
    (Updatable) Email address of the person maintaining this software source
    maintainerName String
    (Updatable) Name of the person maintaining this software source
    maintainerPhone String
    (Updatable) 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

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    parentName String
    Display name the parent software source, if there is one
    repoType String
    Type of the Software Source
    state String
    The current state of the Software Source.
    status String
    status of the software source.
    url String
    URL for the repostiory

    Supporting Types

    SoftwareSourceAssociatedManagedInstance, SoftwareSourceAssociatedManagedInstanceArgs

    DisplayName string
    (Updatable) User friendly name for the software source
    Id string
    OCID for the Software Source
    DisplayName string
    (Updatable) User friendly name for the software source
    Id string
    OCID for the Software Source
    displayName String
    (Updatable) User friendly name for the software source
    id String
    OCID for the Software Source
    displayName string
    (Updatable) User friendly name for the software source
    id string
    OCID for the Software Source
    display_name str
    (Updatable) User friendly name for the software source
    id str
    OCID for the Software Source
    displayName String
    (Updatable) User friendly name for the software source
    id String
    OCID for the Software Source

    Import

    SoftwareSources can be imported using the id, e.g.

    $ pulumi import oci:OsManagement/softwareSource:SoftwareSource test_software_source "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi