1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. OsManagement
  5. SoftwareSource
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.OsManagement.SoftwareSource

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 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("test_software_source", {
        archType: softwareSourceArchType,
        compartmentId: compartmentId,
        displayName: softwareSourceDisplayName,
        checksumType: softwareSourceChecksumType,
        definedTags: {
            "foo-namespace.bar-key": "value",
        },
        description: softwareSourceDescription,
        freeformTags: {
            "bar-key": "value",
        },
        maintainerEmail: softwareSourceMaintainerEmail,
        maintainerName: softwareSourceMaintainerName,
        maintainerPhone: softwareSourceMaintainerPhone,
        parentId: testParent.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_software_source = oci.os_management.SoftwareSource("test_software_source",
        arch_type=software_source_arch_type,
        compartment_id=compartment_id,
        display_name=software_source_display_name,
        checksum_type=software_source_checksum_type,
        defined_tags={
            "foo-namespace.bar-key": "value",
        },
        description=software_source_description,
        freeform_tags={
            "bar-key": "value",
        },
        maintainer_email=software_source_maintainer_email,
        maintainer_name=software_source_maintainer_name,
        maintainer_phone=software_source_maintainer_phone,
        parent_id=test_parent["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.NewSoftwareSource(ctx, "test_software_source", &OsManagement.SoftwareSourceArgs{
    			ArchType:      pulumi.Any(softwareSourceArchType),
    			CompartmentId: pulumi.Any(compartmentId),
    			DisplayName:   pulumi.Any(softwareSourceDisplayName),
    			ChecksumType:  pulumi.Any(softwareSourceChecksumType),
    			DefinedTags: pulumi.StringMap{
    				"foo-namespace.bar-key": pulumi.String("value"),
    			},
    			Description: pulumi.Any(softwareSourceDescription),
    			FreeformTags: pulumi.StringMap{
    				"bar-key": pulumi.String("value"),
    			},
    			MaintainerEmail: pulumi.Any(softwareSourceMaintainerEmail),
    			MaintainerName:  pulumi.Any(softwareSourceMaintainerName),
    			MaintainerPhone: pulumi.Any(softwareSourceMaintainerPhone),
    			ParentId:        pulumi.Any(testParent.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("test_software_source", new()
        {
            ArchType = softwareSourceArchType,
            CompartmentId = compartmentId,
            DisplayName = softwareSourceDisplayName,
            ChecksumType = softwareSourceChecksumType,
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            Description = softwareSourceDescription,
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
            MaintainerEmail = softwareSourceMaintainerEmail,
            MaintainerName = softwareSourceMaintainerName,
            MaintainerPhone = softwareSourceMaintainerPhone,
            ParentId = testParent.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(softwareSourceArchType)
                .compartmentId(compartmentId)
                .displayName(softwareSourceDisplayName)
                .checksumType(softwareSourceChecksumType)
                .definedTags(Map.of("foo-namespace.bar-key", "value"))
                .description(softwareSourceDescription)
                .freeformTags(Map.of("bar-key", "value"))
                .maintainerEmail(softwareSourceMaintainerEmail)
                .maintainerName(softwareSourceMaintainerName)
                .maintainerPhone(softwareSourceMaintainerPhone)
                .parentId(testParent.id())
                .build());
    
        }
    }
    
    resources:
      testSoftwareSource:
        type: oci:OsManagement:SoftwareSource
        name: test_software_source
        properties:
          archType: ${softwareSourceArchType}
          compartmentId: ${compartmentId}
          displayName: ${softwareSourceDisplayName}
          checksumType: ${softwareSourceChecksumType}
          definedTags:
            foo-namespace.bar-key: value
          description: ${softwareSourceDescription}
          freeformTags:
            bar-key: value
          maintainerEmail: ${softwareSourceMaintainerEmail}
          maintainerName: ${softwareSourceMaintainerName}
          maintainerPhone: ${softwareSourceMaintainerPhone}
          parentId: ${testParent.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, str]] = None,
                       description: Optional[str] = None,
                       freeform_tags: Optional[Mapping[str, str]] = 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.

    Constructor 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", "string" },
        },
        Description = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
        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.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	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", "string"))
        .description("string")
        .freeformTags(Map.of("string", "string"))
        .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": "string",
        },
        description="string",
        freeform_tags={
            "string": "string",
        },
        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: "string",
        },
        description: "string",
        freeformTags: {
            string: "string",
        },
        maintainerEmail: "string",
        maintainerName: "string",
        maintainerPhone: "string",
        parentId: "string",
    });
    
    type: oci:OsManagement:SoftwareSource
    properties:
        archType: string
        checksumType: string
        compartmentId: string
        definedTags:
            string: string
        description: string
        displayName: string
        freeformTags:
            string: string
        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

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    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, string>
    (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, string>
    (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]string
    (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]string
    (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,String>
    (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,String>
    (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]: string}
    (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]: string}
    (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, str]
    (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, str]
    (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<String>
    (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>
    (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, str]] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = 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, string>
    (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, string>
    (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]string
    (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]string
    (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,String>
    (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,String>
    (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]: string}
    (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]: string}
    (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, str]
    (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, str]
    (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<String>
    (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>
    (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 v2.17.0 published on Friday, Nov 15, 2024 by Pulumi