1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. OsManagementHub
  5. SoftwareSource
Oracle Cloud Infrastructure v2.18.0 published on Friday, Nov 22, 2024 by Pulumi

oci.OsManagementHub.SoftwareSource

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.18.0 published on Friday, Nov 22, 2024 by Pulumi

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

    Creates a new versioned or custom software source.

    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,
                       compartment_id: Optional[str] = None,
                       software_source_type: Optional[str] = None,
                       is_auto_resolve_dependencies: Optional[bool] = None,
                       description: Optional[str] = None,
                       display_name: Optional[str] = None,
                       freeform_tags: Optional[Mapping[str, str]] = None,
                       defined_tags: Optional[Mapping[str, str]] = None,
                       is_automatically_updated: Optional[bool] = None,
                       is_created_from_package_list: Optional[bool] = None,
                       is_latest_content_only: Optional[bool] = None,
                       origin_software_source_id: Optional[str] = None,
                       packages: Optional[Sequence[str]] = None,
                       custom_software_source_filter: Optional[_osmanagementhub.SoftwareSourceCustomSoftwareSourceFilterArgs] = None,
                       software_source_version: Optional[str] = None,
                       vendor_software_sources: Optional[Sequence[_osmanagementhub.SoftwareSourceVendorSoftwareSourceArgs]] = 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:OsManagementHub: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 ociSoftwareSourceResource = new Oci.OsManagementHub.SoftwareSource("ociSoftwareSourceResource", new()
    {
        CompartmentId = "string",
        SoftwareSourceType = "string",
        IsAutoResolveDependencies = false,
        Description = "string",
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
        DefinedTags = 
        {
            { "string", "string" },
        },
        IsAutomaticallyUpdated = false,
        IsCreatedFromPackageList = false,
        IsLatestContentOnly = false,
        OriginSoftwareSourceId = "string",
        Packages = new[]
        {
            "string",
        },
        CustomSoftwareSourceFilter = new Oci.OsManagementHub.Inputs.SoftwareSourceCustomSoftwareSourceFilterArgs
        {
            ModuleStreamProfileFilters = new[]
            {
                new Oci.OsManagementHub.Inputs.SoftwareSourceCustomSoftwareSourceFilterModuleStreamProfileFilterArgs
                {
                    FilterType = "string",
                    ModuleName = "string",
                    ProfileName = "string",
                    StreamName = "string",
                },
            },
            PackageFilters = new[]
            {
                new Oci.OsManagementHub.Inputs.SoftwareSourceCustomSoftwareSourceFilterPackageFilterArgs
                {
                    FilterType = "string",
                    PackageName = "string",
                    PackageNamePattern = "string",
                    PackageVersion = "string",
                },
            },
            PackageGroupFilters = new[]
            {
                new Oci.OsManagementHub.Inputs.SoftwareSourceCustomSoftwareSourceFilterPackageGroupFilterArgs
                {
                    FilterType = "string",
                    PackageGroups = new[]
                    {
                        "string",
                    },
                },
            },
        },
        SoftwareSourceVersion = "string",
        VendorSoftwareSources = new[]
        {
            new Oci.OsManagementHub.Inputs.SoftwareSourceVendorSoftwareSourceArgs
            {
                DisplayName = "string",
                Id = "string",
            },
        },
    });
    
    example, err := OsManagementHub.NewSoftwareSource(ctx, "ociSoftwareSourceResource", &OsManagementHub.SoftwareSourceArgs{
    	CompartmentId:             pulumi.String("string"),
    	SoftwareSourceType:        pulumi.String("string"),
    	IsAutoResolveDependencies: pulumi.Bool(false),
    	Description:               pulumi.String("string"),
    	DisplayName:               pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	IsAutomaticallyUpdated:   pulumi.Bool(false),
    	IsCreatedFromPackageList: pulumi.Bool(false),
    	IsLatestContentOnly:      pulumi.Bool(false),
    	OriginSoftwareSourceId:   pulumi.String("string"),
    	Packages: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	CustomSoftwareSourceFilter: &osmanagementhub.SoftwareSourceCustomSoftwareSourceFilterArgs{
    		ModuleStreamProfileFilters: osmanagementhub.SoftwareSourceCustomSoftwareSourceFilterModuleStreamProfileFilterArray{
    			&osmanagementhub.SoftwareSourceCustomSoftwareSourceFilterModuleStreamProfileFilterArgs{
    				FilterType:  pulumi.String("string"),
    				ModuleName:  pulumi.String("string"),
    				ProfileName: pulumi.String("string"),
    				StreamName:  pulumi.String("string"),
    			},
    		},
    		PackageFilters: osmanagementhub.SoftwareSourceCustomSoftwareSourceFilterPackageFilterArray{
    			&osmanagementhub.SoftwareSourceCustomSoftwareSourceFilterPackageFilterArgs{
    				FilterType:         pulumi.String("string"),
    				PackageName:        pulumi.String("string"),
    				PackageNamePattern: pulumi.String("string"),
    				PackageVersion:     pulumi.String("string"),
    			},
    		},
    		PackageGroupFilters: osmanagementhub.SoftwareSourceCustomSoftwareSourceFilterPackageGroupFilterArray{
    			&osmanagementhub.SoftwareSourceCustomSoftwareSourceFilterPackageGroupFilterArgs{
    				FilterType: pulumi.String("string"),
    				PackageGroups: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    			},
    		},
    	},
    	SoftwareSourceVersion: pulumi.String("string"),
    	VendorSoftwareSources: osmanagementhub.SoftwareSourceVendorSoftwareSourceArray{
    		&osmanagementhub.SoftwareSourceVendorSoftwareSourceArgs{
    			DisplayName: pulumi.String("string"),
    			Id:          pulumi.String("string"),
    		},
    	},
    })
    
    var ociSoftwareSourceResource = new SoftwareSource("ociSoftwareSourceResource", SoftwareSourceArgs.builder()
        .compartmentId("string")
        .softwareSourceType("string")
        .isAutoResolveDependencies(false)
        .description("string")
        .displayName("string")
        .freeformTags(Map.of("string", "string"))
        .definedTags(Map.of("string", "string"))
        .isAutomaticallyUpdated(false)
        .isCreatedFromPackageList(false)
        .isLatestContentOnly(false)
        .originSoftwareSourceId("string")
        .packages("string")
        .customSoftwareSourceFilter(SoftwareSourceCustomSoftwareSourceFilterArgs.builder()
            .moduleStreamProfileFilters(SoftwareSourceCustomSoftwareSourceFilterModuleStreamProfileFilterArgs.builder()
                .filterType("string")
                .moduleName("string")
                .profileName("string")
                .streamName("string")
                .build())
            .packageFilters(SoftwareSourceCustomSoftwareSourceFilterPackageFilterArgs.builder()
                .filterType("string")
                .packageName("string")
                .packageNamePattern("string")
                .packageVersion("string")
                .build())
            .packageGroupFilters(SoftwareSourceCustomSoftwareSourceFilterPackageGroupFilterArgs.builder()
                .filterType("string")
                .packageGroups("string")
                .build())
            .build())
        .softwareSourceVersion("string")
        .vendorSoftwareSources(SoftwareSourceVendorSoftwareSourceArgs.builder()
            .displayName("string")
            .id("string")
            .build())
        .build());
    
    oci_software_source_resource = oci.os_management_hub.SoftwareSource("ociSoftwareSourceResource",
        compartment_id="string",
        software_source_type="string",
        is_auto_resolve_dependencies=False,
        description="string",
        display_name="string",
        freeform_tags={
            "string": "string",
        },
        defined_tags={
            "string": "string",
        },
        is_automatically_updated=False,
        is_created_from_package_list=False,
        is_latest_content_only=False,
        origin_software_source_id="string",
        packages=["string"],
        custom_software_source_filter={
            "module_stream_profile_filters": [{
                "filter_type": "string",
                "module_name": "string",
                "profile_name": "string",
                "stream_name": "string",
            }],
            "package_filters": [{
                "filter_type": "string",
                "package_name": "string",
                "package_name_pattern": "string",
                "package_version": "string",
            }],
            "package_group_filters": [{
                "filter_type": "string",
                "package_groups": ["string"],
            }],
        },
        software_source_version="string",
        vendor_software_sources=[{
            "display_name": "string",
            "id": "string",
        }])
    
    const ociSoftwareSourceResource = new oci.osmanagementhub.SoftwareSource("ociSoftwareSourceResource", {
        compartmentId: "string",
        softwareSourceType: "string",
        isAutoResolveDependencies: false,
        description: "string",
        displayName: "string",
        freeformTags: {
            string: "string",
        },
        definedTags: {
            string: "string",
        },
        isAutomaticallyUpdated: false,
        isCreatedFromPackageList: false,
        isLatestContentOnly: false,
        originSoftwareSourceId: "string",
        packages: ["string"],
        customSoftwareSourceFilter: {
            moduleStreamProfileFilters: [{
                filterType: "string",
                moduleName: "string",
                profileName: "string",
                streamName: "string",
            }],
            packageFilters: [{
                filterType: "string",
                packageName: "string",
                packageNamePattern: "string",
                packageVersion: "string",
            }],
            packageGroupFilters: [{
                filterType: "string",
                packageGroups: ["string"],
            }],
        },
        softwareSourceVersion: "string",
        vendorSoftwareSources: [{
            displayName: "string",
            id: "string",
        }],
    });
    
    type: oci:OsManagementHub:SoftwareSource
    properties:
        compartmentId: string
        customSoftwareSourceFilter:
            moduleStreamProfileFilters:
                - filterType: string
                  moduleName: string
                  profileName: string
                  streamName: string
            packageFilters:
                - filterType: string
                  packageName: string
                  packageNamePattern: string
                  packageVersion: string
            packageGroupFilters:
                - filterType: string
                  packageGroups:
                    - string
        definedTags:
            string: string
        description: string
        displayName: string
        freeformTags:
            string: string
        isAutoResolveDependencies: false
        isAutomaticallyUpdated: false
        isCreatedFromPackageList: false
        isLatestContentOnly: false
        originSoftwareSourceId: string
        packages:
            - string
        softwareSourceType: string
        softwareSourceVersion: string
        vendorSoftwareSources:
            - displayName: string
              id: 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:

    CompartmentId string
    (Updatable) The OCID of the compartment that contains the software source.
    SoftwareSourceType string
    (Updatable) Type of software source.
    CustomSoftwareSourceFilter SoftwareSourceCustomSoftwareSourceFilter
    (Updatable) Provides the information used to apply filters to a vendor software source to create or update a custom software source.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) User-specified description for the software source. Avoid entering confidential information.
    DisplayName string
    (Updatable) User-friendly name for the software source. Does not have to be unique and you can change the name later. Avoid entering confidential information.
    FreeformTags Dictionary<string, string>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    IsAutoResolveDependencies bool
    (Updatable) Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.
    IsAutomaticallyUpdated bool
    (Updatable) Indicates whether the service should automatically update the custom software source to use the latest package versions available. The service reviews packages levels once a day.
    IsCreatedFromPackageList bool
    Indicates whether the service should create the software source from a list of packages provided by the user.
    IsLatestContentOnly bool
    (Updatable) Indicates whether the software source will include only the latest versions of content from vendor software sources, while accounting for other constraints set in the custom or versioned custom software source (such as a package list or filters).

    • For a module filter that does not specify a stream, this will include all available streams, and within each stream only the latest version of packages.
    • For a module filter that does specify a stream, this will include only the latest version of packages for the specified stream.
    • For a package filter that does not specify a version, this will include only the latest available version of the package.
    • For a package filter that does specify a version, this will include only the specified version of the package (the isLatestContentOnly attribute is ignored).
    • For a package list, this will include only the specified version of packages and modules in the list (the isLatestContentOnly attribute is ignored).
    OriginSoftwareSourceId string
    The OCID of the vendor software source in the root compartment that is being replicated.
    Packages List<string>
    A property used for compatibility only. It doesn't provide a complete list of packages. See AddPackagesToSoftwareSourceDetails for providing the list of packages used to create the software source when isCreatedFromPackageList is set to true.
    SoftwareSourceVersion string
    The version to assign to this custom software source.
    VendorSoftwareSources List<SoftwareSourceVendorSoftwareSource>
    (Updatable) List of vendor software sources.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the software source.
    SoftwareSourceType string
    (Updatable) Type of software source.
    CustomSoftwareSourceFilter SoftwareSourceCustomSoftwareSourceFilterArgs
    (Updatable) Provides the information used to apply filters to a vendor software source to create or update a custom software source.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) User-specified description for the software source. Avoid entering confidential information.
    DisplayName string
    (Updatable) User-friendly name for the software source. Does not have to be unique and you can change the name later. Avoid entering confidential information.
    FreeformTags map[string]string
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    IsAutoResolveDependencies bool
    (Updatable) Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.
    IsAutomaticallyUpdated bool
    (Updatable) Indicates whether the service should automatically update the custom software source to use the latest package versions available. The service reviews packages levels once a day.
    IsCreatedFromPackageList bool
    Indicates whether the service should create the software source from a list of packages provided by the user.
    IsLatestContentOnly bool
    (Updatable) Indicates whether the software source will include only the latest versions of content from vendor software sources, while accounting for other constraints set in the custom or versioned custom software source (such as a package list or filters).

    • For a module filter that does not specify a stream, this will include all available streams, and within each stream only the latest version of packages.
    • For a module filter that does specify a stream, this will include only the latest version of packages for the specified stream.
    • For a package filter that does not specify a version, this will include only the latest available version of the package.
    • For a package filter that does specify a version, this will include only the specified version of the package (the isLatestContentOnly attribute is ignored).
    • For a package list, this will include only the specified version of packages and modules in the list (the isLatestContentOnly attribute is ignored).
    OriginSoftwareSourceId string
    The OCID of the vendor software source in the root compartment that is being replicated.
    Packages []string
    A property used for compatibility only. It doesn't provide a complete list of packages. See AddPackagesToSoftwareSourceDetails for providing the list of packages used to create the software source when isCreatedFromPackageList is set to true.
    SoftwareSourceVersion string
    The version to assign to this custom software source.
    VendorSoftwareSources []SoftwareSourceVendorSoftwareSourceArgs
    (Updatable) List of vendor software sources.
    compartmentId String
    (Updatable) The OCID of the compartment that contains the software source.
    softwareSourceType String
    (Updatable) Type of software source.
    customSoftwareSourceFilter SoftwareSourceCustomSoftwareSourceFilter
    (Updatable) Provides the information used to apply filters to a vendor software source to create or update a custom software source.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) User-specified description for the software source. Avoid entering confidential information.
    displayName String
    (Updatable) User-friendly name for the software source. Does not have to be unique and you can change the name later. Avoid entering confidential information.
    freeformTags Map<String,String>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    isAutoResolveDependencies Boolean
    (Updatable) Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.
    isAutomaticallyUpdated Boolean
    (Updatable) Indicates whether the service should automatically update the custom software source to use the latest package versions available. The service reviews packages levels once a day.
    isCreatedFromPackageList Boolean
    Indicates whether the service should create the software source from a list of packages provided by the user.
    isLatestContentOnly Boolean
    (Updatable) Indicates whether the software source will include only the latest versions of content from vendor software sources, while accounting for other constraints set in the custom or versioned custom software source (such as a package list or filters).

    • For a module filter that does not specify a stream, this will include all available streams, and within each stream only the latest version of packages.
    • For a module filter that does specify a stream, this will include only the latest version of packages for the specified stream.
    • For a package filter that does not specify a version, this will include only the latest available version of the package.
    • For a package filter that does specify a version, this will include only the specified version of the package (the isLatestContentOnly attribute is ignored).
    • For a package list, this will include only the specified version of packages and modules in the list (the isLatestContentOnly attribute is ignored).
    originSoftwareSourceId String
    The OCID of the vendor software source in the root compartment that is being replicated.
    packages List<String>
    A property used for compatibility only. It doesn't provide a complete list of packages. See AddPackagesToSoftwareSourceDetails for providing the list of packages used to create the software source when isCreatedFromPackageList is set to true.
    softwareSourceVersion String
    The version to assign to this custom software source.
    vendorSoftwareSources List<SoftwareSourceVendorSoftwareSource>
    (Updatable) List of vendor software sources.
    compartmentId string
    (Updatable) The OCID of the compartment that contains the software source.
    softwareSourceType string
    (Updatable) Type of software source.
    customSoftwareSourceFilter SoftwareSourceCustomSoftwareSourceFilter
    (Updatable) Provides the information used to apply filters to a vendor software source to create or update a custom software source.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description string
    (Updatable) User-specified description for the software source. Avoid entering confidential information.
    displayName string
    (Updatable) User-friendly name for the software source. Does not have to be unique and you can change the name later. Avoid entering confidential information.
    freeformTags {[key: string]: string}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    isAutoResolveDependencies boolean
    (Updatable) Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.
    isAutomaticallyUpdated boolean
    (Updatable) Indicates whether the service should automatically update the custom software source to use the latest package versions available. The service reviews packages levels once a day.
    isCreatedFromPackageList boolean
    Indicates whether the service should create the software source from a list of packages provided by the user.
    isLatestContentOnly boolean
    (Updatable) Indicates whether the software source will include only the latest versions of content from vendor software sources, while accounting for other constraints set in the custom or versioned custom software source (such as a package list or filters).

    • For a module filter that does not specify a stream, this will include all available streams, and within each stream only the latest version of packages.
    • For a module filter that does specify a stream, this will include only the latest version of packages for the specified stream.
    • For a package filter that does not specify a version, this will include only the latest available version of the package.
    • For a package filter that does specify a version, this will include only the specified version of the package (the isLatestContentOnly attribute is ignored).
    • For a package list, this will include only the specified version of packages and modules in the list (the isLatestContentOnly attribute is ignored).
    originSoftwareSourceId string
    The OCID of the vendor software source in the root compartment that is being replicated.
    packages string[]
    A property used for compatibility only. It doesn't provide a complete list of packages. See AddPackagesToSoftwareSourceDetails for providing the list of packages used to create the software source when isCreatedFromPackageList is set to true.
    softwareSourceVersion string
    The version to assign to this custom software source.
    vendorSoftwareSources SoftwareSourceVendorSoftwareSource[]
    (Updatable) List of vendor software sources.
    compartment_id str
    (Updatable) The OCID of the compartment that contains the software source.
    software_source_type str
    (Updatable) Type of software source.
    custom_software_source_filter osmanagementhub.SoftwareSourceCustomSoftwareSourceFilterArgs
    (Updatable) Provides the information used to apply filters to a vendor software source to create or update a custom software source.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description str
    (Updatable) User-specified description for the software source. Avoid entering confidential information.
    display_name str
    (Updatable) User-friendly name for the software source. Does not have to be unique and you can change the name later. Avoid entering confidential information.
    freeform_tags Mapping[str, str]
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    is_auto_resolve_dependencies bool
    (Updatable) Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.
    is_automatically_updated bool
    (Updatable) Indicates whether the service should automatically update the custom software source to use the latest package versions available. The service reviews packages levels once a day.
    is_created_from_package_list bool
    Indicates whether the service should create the software source from a list of packages provided by the user.
    is_latest_content_only bool
    (Updatable) Indicates whether the software source will include only the latest versions of content from vendor software sources, while accounting for other constraints set in the custom or versioned custom software source (such as a package list or filters).

    • For a module filter that does not specify a stream, this will include all available streams, and within each stream only the latest version of packages.
    • For a module filter that does specify a stream, this will include only the latest version of packages for the specified stream.
    • For a package filter that does not specify a version, this will include only the latest available version of the package.
    • For a package filter that does specify a version, this will include only the specified version of the package (the isLatestContentOnly attribute is ignored).
    • For a package list, this will include only the specified version of packages and modules in the list (the isLatestContentOnly attribute is ignored).
    origin_software_source_id str
    The OCID of the vendor software source in the root compartment that is being replicated.
    packages Sequence[str]
    A property used for compatibility only. It doesn't provide a complete list of packages. See AddPackagesToSoftwareSourceDetails for providing the list of packages used to create the software source when isCreatedFromPackageList is set to true.
    software_source_version str
    The version to assign to this custom software source.
    vendor_software_sources Sequence[osmanagementhub.SoftwareSourceVendorSoftwareSourceArgs]
    (Updatable) List of vendor software sources.
    compartmentId String
    (Updatable) The OCID of the compartment that contains the software source.
    softwareSourceType String
    (Updatable) Type of software source.
    customSoftwareSourceFilter Property Map
    (Updatable) Provides the information used to apply filters to a vendor software source to create or update a custom software source.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) User-specified description for the software source. Avoid entering confidential information.
    displayName String
    (Updatable) User-friendly name for the software source. Does not have to be unique and you can change the name later. Avoid entering confidential information.
    freeformTags Map<String>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    isAutoResolveDependencies Boolean
    (Updatable) Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.
    isAutomaticallyUpdated Boolean
    (Updatable) Indicates whether the service should automatically update the custom software source to use the latest package versions available. The service reviews packages levels once a day.
    isCreatedFromPackageList Boolean
    Indicates whether the service should create the software source from a list of packages provided by the user.
    isLatestContentOnly Boolean
    (Updatable) Indicates whether the software source will include only the latest versions of content from vendor software sources, while accounting for other constraints set in the custom or versioned custom software source (such as a package list or filters).

    • For a module filter that does not specify a stream, this will include all available streams, and within each stream only the latest version of packages.
    • For a module filter that does specify a stream, this will include only the latest version of packages for the specified stream.
    • For a package filter that does not specify a version, this will include only the latest available version of the package.
    • For a package filter that does specify a version, this will include only the specified version of the package (the isLatestContentOnly attribute is ignored).
    • For a package list, this will include only the specified version of packages and modules in the list (the isLatestContentOnly attribute is ignored).
    originSoftwareSourceId String
    The OCID of the vendor software source in the root compartment that is being replicated.
    packages List<String>
    A property used for compatibility only. It doesn't provide a complete list of packages. See AddPackagesToSoftwareSourceDetails for providing the list of packages used to create the software source when isCreatedFromPackageList is set to true.
    softwareSourceVersion String
    The version to assign to this custom software source.
    vendorSoftwareSources List<Property Map>
    (Updatable) List of vendor software sources.

    Outputs

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

    ArchType string
    The architecture type supported by the software source.
    Availability string
    Availability of the software source (for non-OCI environments).
    AvailabilityAtOci string
    Availability of the software source (for Oracle Cloud Infrastructure environments).
    ChecksumType string
    The yum repository checksum type used by this software source.
    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.
    IsMandatoryForAutonomousLinux bool
    Indicates whether the software source is required for the Autonomous Linux service.
    OsFamily string
    The OS family the software source belongs to.
    PackageCount string
    Number of packages the software source contains.
    RepoId string
    The repository ID for the software source.
    Size double
    The size of the software source in gigabytes (GB).
    State string
    The current state of the software source.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the software source was created (in RFC 3339 format).
    Url string
    URL for the repository. For vendor software sources, this is the URL to the regional yum server. For custom software sources, this is 'custom/'.
    VendorName string
    Name of the vendor providing the software source.
    ArchType string
    The architecture type supported by the software source.
    Availability string
    Availability of the software source (for non-OCI environments).
    AvailabilityAtOci string
    Availability of the software source (for Oracle Cloud Infrastructure environments).
    ChecksumType string
    The yum repository checksum type used by this software source.
    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.
    IsMandatoryForAutonomousLinux bool
    Indicates whether the software source is required for the Autonomous Linux service.
    OsFamily string
    The OS family the software source belongs to.
    PackageCount string
    Number of packages the software source contains.
    RepoId string
    The repository ID for the software source.
    Size float64
    The size of the software source in gigabytes (GB).
    State string
    The current state of the software source.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the software source was created (in RFC 3339 format).
    Url string
    URL for the repository. For vendor software sources, this is the URL to the regional yum server. For custom software sources, this is 'custom/'.
    VendorName string
    Name of the vendor providing the software source.
    archType String
    The architecture type supported by the software source.
    availability String
    Availability of the software source (for non-OCI environments).
    availabilityAtOci String
    Availability of the software source (for Oracle Cloud Infrastructure environments).
    checksumType String
    The yum repository checksum type used by this software source.
    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.
    isMandatoryForAutonomousLinux Boolean
    Indicates whether the software source is required for the Autonomous Linux service.
    osFamily String
    The OS family the software source belongs to.
    packageCount String
    Number of packages the software source contains.
    repoId String
    The repository ID for the software source.
    size Double
    The size of the software source in gigabytes (GB).
    state String
    The current state of the software source.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the software source was created (in RFC 3339 format).
    url String
    URL for the repository. For vendor software sources, this is the URL to the regional yum server. For custom software sources, this is 'custom/'.
    vendorName String
    Name of the vendor providing the software source.
    archType string
    The architecture type supported by the software source.
    availability string
    Availability of the software source (for non-OCI environments).
    availabilityAtOci string
    Availability of the software source (for Oracle Cloud Infrastructure environments).
    checksumType string
    The yum repository checksum type used by this software source.
    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.
    isMandatoryForAutonomousLinux boolean
    Indicates whether the software source is required for the Autonomous Linux service.
    osFamily string
    The OS family the software source belongs to.
    packageCount string
    Number of packages the software source contains.
    repoId string
    The repository ID for the software source.
    size number
    The size of the software source in gigabytes (GB).
    state string
    The current state of the software source.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time the software source was created (in RFC 3339 format).
    url string
    URL for the repository. For vendor software sources, this is the URL to the regional yum server. For custom software sources, this is 'custom/'.
    vendorName string
    Name of the vendor providing the software source.
    arch_type str
    The architecture type supported by the software source.
    availability str
    Availability of the software source (for non-OCI environments).
    availability_at_oci str
    Availability of the software source (for Oracle Cloud Infrastructure environments).
    checksum_type str
    The yum repository checksum type used by this software source.
    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.
    is_mandatory_for_autonomous_linux bool
    Indicates whether the software source is required for the Autonomous Linux service.
    os_family str
    The OS family the software source belongs to.
    package_count str
    Number of packages the software source contains.
    repo_id str
    The repository ID for the software source.
    size float
    The size of the software source in gigabytes (GB).
    state str
    The current state of the software source.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time the software source was created (in RFC 3339 format).
    url str
    URL for the repository. For vendor software sources, this is the URL to the regional yum server. For custom software sources, this is 'custom/'.
    vendor_name str
    Name of the vendor providing the software source.
    archType String
    The architecture type supported by the software source.
    availability String
    Availability of the software source (for non-OCI environments).
    availabilityAtOci String
    Availability of the software source (for Oracle Cloud Infrastructure environments).
    checksumType String
    The yum repository checksum type used by this software source.
    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.
    isMandatoryForAutonomousLinux Boolean
    Indicates whether the software source is required for the Autonomous Linux service.
    osFamily String
    The OS family the software source belongs to.
    packageCount String
    Number of packages the software source contains.
    repoId String
    The repository ID for the software source.
    size Number
    The size of the software source in gigabytes (GB).
    state String
    The current state of the software source.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the software source was created (in RFC 3339 format).
    url String
    URL for the repository. For vendor software sources, this is the URL to the regional yum server. For custom software sources, this is 'custom/'.
    vendorName String
    Name of the vendor providing the software source.

    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,
            availability: Optional[str] = None,
            availability_at_oci: Optional[str] = None,
            checksum_type: Optional[str] = None,
            compartment_id: Optional[str] = None,
            custom_software_source_filter: Optional[_osmanagementhub.SoftwareSourceCustomSoftwareSourceFilterArgs] = 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,
            is_auto_resolve_dependencies: Optional[bool] = None,
            is_automatically_updated: Optional[bool] = None,
            is_created_from_package_list: Optional[bool] = None,
            is_latest_content_only: Optional[bool] = None,
            is_mandatory_for_autonomous_linux: Optional[bool] = None,
            origin_software_source_id: Optional[str] = None,
            os_family: Optional[str] = None,
            package_count: Optional[str] = None,
            packages: Optional[Sequence[str]] = None,
            repo_id: Optional[str] = None,
            size: Optional[float] = None,
            software_source_type: Optional[str] = None,
            software_source_version: Optional[str] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None,
            url: Optional[str] = None,
            vendor_name: Optional[str] = None,
            vendor_software_sources: Optional[Sequence[_osmanagementhub.SoftwareSourceVendorSoftwareSourceArgs]] = 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.
    Availability string
    Availability of the software source (for non-OCI environments).
    AvailabilityAtOci string
    Availability of the software source (for Oracle Cloud Infrastructure environments).
    ChecksumType string
    The yum repository checksum type used by this software source.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the software source.
    CustomSoftwareSourceFilter SoftwareSourceCustomSoftwareSourceFilter
    (Updatable) Provides the information used to apply filters to a vendor software source to create or update a custom software source.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) User-specified description for the software source. Avoid entering confidential information.
    DisplayName string
    (Updatable) User-friendly name for the software source. Does not have to be unique and you can change the name later. Avoid entering confidential information.
    FreeformTags Dictionary<string, string>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    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.
    IsAutoResolveDependencies bool
    (Updatable) Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.
    IsAutomaticallyUpdated bool
    (Updatable) Indicates whether the service should automatically update the custom software source to use the latest package versions available. The service reviews packages levels once a day.
    IsCreatedFromPackageList bool
    Indicates whether the service should create the software source from a list of packages provided by the user.
    IsLatestContentOnly bool
    (Updatable) Indicates whether the software source will include only the latest versions of content from vendor software sources, while accounting for other constraints set in the custom or versioned custom software source (such as a package list or filters).

    • For a module filter that does not specify a stream, this will include all available streams, and within each stream only the latest version of packages.
    • For a module filter that does specify a stream, this will include only the latest version of packages for the specified stream.
    • For a package filter that does not specify a version, this will include only the latest available version of the package.
    • For a package filter that does specify a version, this will include only the specified version of the package (the isLatestContentOnly attribute is ignored).
    • For a package list, this will include only the specified version of packages and modules in the list (the isLatestContentOnly attribute is ignored).
    IsMandatoryForAutonomousLinux bool
    Indicates whether the software source is required for the Autonomous Linux service.
    OriginSoftwareSourceId string
    The OCID of the vendor software source in the root compartment that is being replicated.
    OsFamily string
    The OS family the software source belongs to.
    PackageCount string
    Number of packages the software source contains.
    Packages List<string>
    A property used for compatibility only. It doesn't provide a complete list of packages. See AddPackagesToSoftwareSourceDetails for providing the list of packages used to create the software source when isCreatedFromPackageList is set to true.
    RepoId string
    The repository ID for the software source.
    Size double
    The size of the software source in gigabytes (GB).
    SoftwareSourceType string
    (Updatable) Type of software source.
    SoftwareSourceVersion string
    The version to assign to this custom software source.
    State string
    The current state of the software source.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the software source was created (in RFC 3339 format).
    Url string
    URL for the repository. For vendor software sources, this is the URL to the regional yum server. For custom software sources, this is 'custom/'.
    VendorName string
    Name of the vendor providing the software source.
    VendorSoftwareSources List<SoftwareSourceVendorSoftwareSource>
    (Updatable) List of vendor software sources.
    ArchType string
    The architecture type supported by the software source.
    Availability string
    Availability of the software source (for non-OCI environments).
    AvailabilityAtOci string
    Availability of the software source (for Oracle Cloud Infrastructure environments).
    ChecksumType string
    The yum repository checksum type used by this software source.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the software source.
    CustomSoftwareSourceFilter SoftwareSourceCustomSoftwareSourceFilterArgs
    (Updatable) Provides the information used to apply filters to a vendor software source to create or update a custom software source.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) User-specified description for the software source. Avoid entering confidential information.
    DisplayName string
    (Updatable) User-friendly name for the software source. Does not have to be unique and you can change the name later. Avoid entering confidential information.
    FreeformTags map[string]string
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    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.
    IsAutoResolveDependencies bool
    (Updatable) Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.
    IsAutomaticallyUpdated bool
    (Updatable) Indicates whether the service should automatically update the custom software source to use the latest package versions available. The service reviews packages levels once a day.
    IsCreatedFromPackageList bool
    Indicates whether the service should create the software source from a list of packages provided by the user.
    IsLatestContentOnly bool
    (Updatable) Indicates whether the software source will include only the latest versions of content from vendor software sources, while accounting for other constraints set in the custom or versioned custom software source (such as a package list or filters).

    • For a module filter that does not specify a stream, this will include all available streams, and within each stream only the latest version of packages.
    • For a module filter that does specify a stream, this will include only the latest version of packages for the specified stream.
    • For a package filter that does not specify a version, this will include only the latest available version of the package.
    • For a package filter that does specify a version, this will include only the specified version of the package (the isLatestContentOnly attribute is ignored).
    • For a package list, this will include only the specified version of packages and modules in the list (the isLatestContentOnly attribute is ignored).
    IsMandatoryForAutonomousLinux bool
    Indicates whether the software source is required for the Autonomous Linux service.
    OriginSoftwareSourceId string
    The OCID of the vendor software source in the root compartment that is being replicated.
    OsFamily string
    The OS family the software source belongs to.
    PackageCount string
    Number of packages the software source contains.
    Packages []string
    A property used for compatibility only. It doesn't provide a complete list of packages. See AddPackagesToSoftwareSourceDetails for providing the list of packages used to create the software source when isCreatedFromPackageList is set to true.
    RepoId string
    The repository ID for the software source.
    Size float64
    The size of the software source in gigabytes (GB).
    SoftwareSourceType string
    (Updatable) Type of software source.
    SoftwareSourceVersion string
    The version to assign to this custom software source.
    State string
    The current state of the software source.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the software source was created (in RFC 3339 format).
    Url string
    URL for the repository. For vendor software sources, this is the URL to the regional yum server. For custom software sources, this is 'custom/'.
    VendorName string
    Name of the vendor providing the software source.
    VendorSoftwareSources []SoftwareSourceVendorSoftwareSourceArgs
    (Updatable) List of vendor software sources.
    archType String
    The architecture type supported by the software source.
    availability String
    Availability of the software source (for non-OCI environments).
    availabilityAtOci String
    Availability of the software source (for Oracle Cloud Infrastructure environments).
    checksumType String
    The yum repository checksum type used by this software source.
    compartmentId String
    (Updatable) The OCID of the compartment that contains the software source.
    customSoftwareSourceFilter SoftwareSourceCustomSoftwareSourceFilter
    (Updatable) Provides the information used to apply filters to a vendor software source to create or update a custom software source.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) User-specified description for the software source. Avoid entering confidential information.
    displayName String
    (Updatable) User-friendly name for the software source. Does not have to be unique and you can change the name later. Avoid entering confidential information.
    freeformTags Map<String,String>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    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.
    isAutoResolveDependencies Boolean
    (Updatable) Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.
    isAutomaticallyUpdated Boolean
    (Updatable) Indicates whether the service should automatically update the custom software source to use the latest package versions available. The service reviews packages levels once a day.
    isCreatedFromPackageList Boolean
    Indicates whether the service should create the software source from a list of packages provided by the user.
    isLatestContentOnly Boolean
    (Updatable) Indicates whether the software source will include only the latest versions of content from vendor software sources, while accounting for other constraints set in the custom or versioned custom software source (such as a package list or filters).

    • For a module filter that does not specify a stream, this will include all available streams, and within each stream only the latest version of packages.
    • For a module filter that does specify a stream, this will include only the latest version of packages for the specified stream.
    • For a package filter that does not specify a version, this will include only the latest available version of the package.
    • For a package filter that does specify a version, this will include only the specified version of the package (the isLatestContentOnly attribute is ignored).
    • For a package list, this will include only the specified version of packages and modules in the list (the isLatestContentOnly attribute is ignored).
    isMandatoryForAutonomousLinux Boolean
    Indicates whether the software source is required for the Autonomous Linux service.
    originSoftwareSourceId String
    The OCID of the vendor software source in the root compartment that is being replicated.
    osFamily String
    The OS family the software source belongs to.
    packageCount String
    Number of packages the software source contains.
    packages List<String>
    A property used for compatibility only. It doesn't provide a complete list of packages. See AddPackagesToSoftwareSourceDetails for providing the list of packages used to create the software source when isCreatedFromPackageList is set to true.
    repoId String
    The repository ID for the software source.
    size Double
    The size of the software source in gigabytes (GB).
    softwareSourceType String
    (Updatable) Type of software source.
    softwareSourceVersion String
    The version to assign to this custom software source.
    state String
    The current state of the software source.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the software source was created (in RFC 3339 format).
    url String
    URL for the repository. For vendor software sources, this is the URL to the regional yum server. For custom software sources, this is 'custom/'.
    vendorName String
    Name of the vendor providing the software source.
    vendorSoftwareSources List<SoftwareSourceVendorSoftwareSource>
    (Updatable) List of vendor software sources.
    archType string
    The architecture type supported by the software source.
    availability string
    Availability of the software source (for non-OCI environments).
    availabilityAtOci string
    Availability of the software source (for Oracle Cloud Infrastructure environments).
    checksumType string
    The yum repository checksum type used by this software source.
    compartmentId string
    (Updatable) The OCID of the compartment that contains the software source.
    customSoftwareSourceFilter SoftwareSourceCustomSoftwareSourceFilter
    (Updatable) Provides the information used to apply filters to a vendor software source to create or update a custom software source.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description string
    (Updatable) User-specified description for the software source. Avoid entering confidential information.
    displayName string
    (Updatable) User-friendly name for the software source. Does not have to be unique and you can change the name later. Avoid entering confidential information.
    freeformTags {[key: string]: string}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    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.
    isAutoResolveDependencies boolean
    (Updatable) Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.
    isAutomaticallyUpdated boolean
    (Updatable) Indicates whether the service should automatically update the custom software source to use the latest package versions available. The service reviews packages levels once a day.
    isCreatedFromPackageList boolean
    Indicates whether the service should create the software source from a list of packages provided by the user.
    isLatestContentOnly boolean
    (Updatable) Indicates whether the software source will include only the latest versions of content from vendor software sources, while accounting for other constraints set in the custom or versioned custom software source (such as a package list or filters).

    • For a module filter that does not specify a stream, this will include all available streams, and within each stream only the latest version of packages.
    • For a module filter that does specify a stream, this will include only the latest version of packages for the specified stream.
    • For a package filter that does not specify a version, this will include only the latest available version of the package.
    • For a package filter that does specify a version, this will include only the specified version of the package (the isLatestContentOnly attribute is ignored).
    • For a package list, this will include only the specified version of packages and modules in the list (the isLatestContentOnly attribute is ignored).
    isMandatoryForAutonomousLinux boolean
    Indicates whether the software source is required for the Autonomous Linux service.
    originSoftwareSourceId string
    The OCID of the vendor software source in the root compartment that is being replicated.
    osFamily string
    The OS family the software source belongs to.
    packageCount string
    Number of packages the software source contains.
    packages string[]
    A property used for compatibility only. It doesn't provide a complete list of packages. See AddPackagesToSoftwareSourceDetails for providing the list of packages used to create the software source when isCreatedFromPackageList is set to true.
    repoId string
    The repository ID for the software source.
    size number
    The size of the software source in gigabytes (GB).
    softwareSourceType string
    (Updatable) Type of software source.
    softwareSourceVersion string
    The version to assign to this custom software source.
    state string
    The current state of the software source.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time the software source was created (in RFC 3339 format).
    url string
    URL for the repository. For vendor software sources, this is the URL to the regional yum server. For custom software sources, this is 'custom/'.
    vendorName string
    Name of the vendor providing the software source.
    vendorSoftwareSources SoftwareSourceVendorSoftwareSource[]
    (Updatable) List of vendor software sources.
    arch_type str
    The architecture type supported by the software source.
    availability str
    Availability of the software source (for non-OCI environments).
    availability_at_oci str
    Availability of the software source (for Oracle Cloud Infrastructure environments).
    checksum_type str
    The yum repository checksum type used by this software source.
    compartment_id str
    (Updatable) The OCID of the compartment that contains the software source.
    custom_software_source_filter osmanagementhub.SoftwareSourceCustomSoftwareSourceFilterArgs
    (Updatable) Provides the information used to apply filters to a vendor software source to create or update a custom software source.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description str
    (Updatable) User-specified description for the software source. Avoid entering confidential information.
    display_name str
    (Updatable) User-friendly name for the software source. Does not have to be unique and you can change the name later. Avoid entering confidential information.
    freeform_tags Mapping[str, str]
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    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.
    is_auto_resolve_dependencies bool
    (Updatable) Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.
    is_automatically_updated bool
    (Updatable) Indicates whether the service should automatically update the custom software source to use the latest package versions available. The service reviews packages levels once a day.
    is_created_from_package_list bool
    Indicates whether the service should create the software source from a list of packages provided by the user.
    is_latest_content_only bool
    (Updatable) Indicates whether the software source will include only the latest versions of content from vendor software sources, while accounting for other constraints set in the custom or versioned custom software source (such as a package list or filters).

    • For a module filter that does not specify a stream, this will include all available streams, and within each stream only the latest version of packages.
    • For a module filter that does specify a stream, this will include only the latest version of packages for the specified stream.
    • For a package filter that does not specify a version, this will include only the latest available version of the package.
    • For a package filter that does specify a version, this will include only the specified version of the package (the isLatestContentOnly attribute is ignored).
    • For a package list, this will include only the specified version of packages and modules in the list (the isLatestContentOnly attribute is ignored).
    is_mandatory_for_autonomous_linux bool
    Indicates whether the software source is required for the Autonomous Linux service.
    origin_software_source_id str
    The OCID of the vendor software source in the root compartment that is being replicated.
    os_family str
    The OS family the software source belongs to.
    package_count str
    Number of packages the software source contains.
    packages Sequence[str]
    A property used for compatibility only. It doesn't provide a complete list of packages. See AddPackagesToSoftwareSourceDetails for providing the list of packages used to create the software source when isCreatedFromPackageList is set to true.
    repo_id str
    The repository ID for the software source.
    size float
    The size of the software source in gigabytes (GB).
    software_source_type str
    (Updatable) Type of software source.
    software_source_version str
    The version to assign to this custom software source.
    state str
    The current state of the software source.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time the software source was created (in RFC 3339 format).
    url str
    URL for the repository. For vendor software sources, this is the URL to the regional yum server. For custom software sources, this is 'custom/'.
    vendor_name str
    Name of the vendor providing the software source.
    vendor_software_sources Sequence[osmanagementhub.SoftwareSourceVendorSoftwareSourceArgs]
    (Updatable) List of vendor software sources.
    archType String
    The architecture type supported by the software source.
    availability String
    Availability of the software source (for non-OCI environments).
    availabilityAtOci String
    Availability of the software source (for Oracle Cloud Infrastructure environments).
    checksumType String
    The yum repository checksum type used by this software source.
    compartmentId String
    (Updatable) The OCID of the compartment that contains the software source.
    customSoftwareSourceFilter Property Map
    (Updatable) Provides the information used to apply filters to a vendor software source to create or update a custom software source.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) User-specified description for the software source. Avoid entering confidential information.
    displayName String
    (Updatable) User-friendly name for the software source. Does not have to be unique and you can change the name later. Avoid entering confidential information.
    freeformTags Map<String>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    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.
    isAutoResolveDependencies Boolean
    (Updatable) Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.
    isAutomaticallyUpdated Boolean
    (Updatable) Indicates whether the service should automatically update the custom software source to use the latest package versions available. The service reviews packages levels once a day.
    isCreatedFromPackageList Boolean
    Indicates whether the service should create the software source from a list of packages provided by the user.
    isLatestContentOnly Boolean
    (Updatable) Indicates whether the software source will include only the latest versions of content from vendor software sources, while accounting for other constraints set in the custom or versioned custom software source (such as a package list or filters).

    • For a module filter that does not specify a stream, this will include all available streams, and within each stream only the latest version of packages.
    • For a module filter that does specify a stream, this will include only the latest version of packages for the specified stream.
    • For a package filter that does not specify a version, this will include only the latest available version of the package.
    • For a package filter that does specify a version, this will include only the specified version of the package (the isLatestContentOnly attribute is ignored).
    • For a package list, this will include only the specified version of packages and modules in the list (the isLatestContentOnly attribute is ignored).
    isMandatoryForAutonomousLinux Boolean
    Indicates whether the software source is required for the Autonomous Linux service.
    originSoftwareSourceId String
    The OCID of the vendor software source in the root compartment that is being replicated.
    osFamily String
    The OS family the software source belongs to.
    packageCount String
    Number of packages the software source contains.
    packages List<String>
    A property used for compatibility only. It doesn't provide a complete list of packages. See AddPackagesToSoftwareSourceDetails for providing the list of packages used to create the software source when isCreatedFromPackageList is set to true.
    repoId String
    The repository ID for the software source.
    size Number
    The size of the software source in gigabytes (GB).
    softwareSourceType String
    (Updatable) Type of software source.
    softwareSourceVersion String
    The version to assign to this custom software source.
    state String
    The current state of the software source.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the software source was created (in RFC 3339 format).
    url String
    URL for the repository. For vendor software sources, this is the URL to the regional yum server. For custom software sources, this is 'custom/'.
    vendorName String
    Name of the vendor providing the software source.
    vendorSoftwareSources List<Property Map>
    (Updatable) List of vendor software sources.

    Supporting Types

    SoftwareSourceCustomSoftwareSourceFilter, SoftwareSourceCustomSoftwareSourceFilterArgs

    moduleStreamProfileFilters List<Property Map>
    (Updatable) The list of module stream/profile filters.
    packageFilters List<Property Map>
    (Updatable) The list of package filters.
    packageGroupFilters List<Property Map>
    (Updatable) The list of group filters.

    SoftwareSourceCustomSoftwareSourceFilterModuleStreamProfileFilter, SoftwareSourceCustomSoftwareSourceFilterModuleStreamProfileFilterArgs

    FilterType string
    (Updatable) The type of the filter.
    ModuleName string
    (Updatable) Module name.
    ProfileName string
    (Updatable) Profile name.
    StreamName string
    (Updatable) Stream name.
    FilterType string
    (Updatable) The type of the filter.
    ModuleName string
    (Updatable) Module name.
    ProfileName string
    (Updatable) Profile name.
    StreamName string
    (Updatable) Stream name.
    filterType String
    (Updatable) The type of the filter.
    moduleName String
    (Updatable) Module name.
    profileName String
    (Updatable) Profile name.
    streamName String
    (Updatable) Stream name.
    filterType string
    (Updatable) The type of the filter.
    moduleName string
    (Updatable) Module name.
    profileName string
    (Updatable) Profile name.
    streamName string
    (Updatable) Stream name.
    filter_type str
    (Updatable) The type of the filter.
    module_name str
    (Updatable) Module name.
    profile_name str
    (Updatable) Profile name.
    stream_name str
    (Updatable) Stream name.
    filterType String
    (Updatable) The type of the filter.
    moduleName String
    (Updatable) Module name.
    profileName String
    (Updatable) Profile name.
    streamName String
    (Updatable) Stream name.

    SoftwareSourceCustomSoftwareSourceFilterPackageFilter, SoftwareSourceCustomSoftwareSourceFilterPackageFilterArgs

    FilterType string
    (Updatable) The type of the filter.
    PackageName string
    (Updatable) The package name.
    PackageNamePattern string
    (Updatable) The package name pattern.
    PackageVersion string
    (Updatable) The package version, which is denoted by 'version-release', or 'epoch:version-release'.
    FilterType string
    (Updatable) The type of the filter.
    PackageName string
    (Updatable) The package name.
    PackageNamePattern string
    (Updatable) The package name pattern.
    PackageVersion string
    (Updatable) The package version, which is denoted by 'version-release', or 'epoch:version-release'.
    filterType String
    (Updatable) The type of the filter.
    packageName String
    (Updatable) The package name.
    packageNamePattern String
    (Updatable) The package name pattern.
    packageVersion String
    (Updatable) The package version, which is denoted by 'version-release', or 'epoch:version-release'.
    filterType string
    (Updatable) The type of the filter.
    packageName string
    (Updatable) The package name.
    packageNamePattern string
    (Updatable) The package name pattern.
    packageVersion string
    (Updatable) The package version, which is denoted by 'version-release', or 'epoch:version-release'.
    filter_type str
    (Updatable) The type of the filter.
    package_name str
    (Updatable) The package name.
    package_name_pattern str
    (Updatable) The package name pattern.
    package_version str
    (Updatable) The package version, which is denoted by 'version-release', or 'epoch:version-release'.
    filterType String
    (Updatable) The type of the filter.
    packageName String
    (Updatable) The package name.
    packageNamePattern String
    (Updatable) The package name pattern.
    packageVersion String
    (Updatable) The package version, which is denoted by 'version-release', or 'epoch:version-release'.

    SoftwareSourceCustomSoftwareSourceFilterPackageGroupFilter, SoftwareSourceCustomSoftwareSourceFilterPackageGroupFilterArgs

    FilterType string
    (Updatable) The type of the filter.
    PackageGroups List<string>
    (Updatable) List of package group names.
    FilterType string
    (Updatable) The type of the filter.
    PackageGroups []string
    (Updatable) List of package group names.
    filterType String
    (Updatable) The type of the filter.
    packageGroups List<String>
    (Updatable) List of package group names.
    filterType string
    (Updatable) The type of the filter.
    packageGroups string[]
    (Updatable) List of package group names.
    filter_type str
    (Updatable) The type of the filter.
    package_groups Sequence[str]
    (Updatable) List of package group names.
    filterType String
    (Updatable) The type of the filter.
    packageGroups List<String>
    (Updatable) List of package group names.

    SoftwareSourceVendorSoftwareSource, SoftwareSourceVendorSoftwareSourceArgs

    DisplayName string
    (Updatable) User-friendly name.
    Id string

    (Updatable) The OCID of the resource that is immutable on creation.

    ** 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

    DisplayName string
    (Updatable) User-friendly name.
    Id string

    (Updatable) The OCID of the resource that is immutable on creation.

    ** 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

    displayName String
    (Updatable) User-friendly name.
    id String

    (Updatable) The OCID of the resource that is immutable on creation.

    ** 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

    displayName string
    (Updatable) User-friendly name.
    id string

    (Updatable) The OCID of the resource that is immutable on creation.

    ** 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

    display_name str
    (Updatable) User-friendly name.
    id str

    (Updatable) The OCID of the resource that is immutable on creation.

    ** 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

    displayName String
    (Updatable) User-friendly name.
    id String

    (Updatable) The OCID of the resource that is immutable on creation.

    ** 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

    Import

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

    $ pulumi import oci:OsManagementHub/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.18.0 published on Friday, Nov 22, 2024 by Pulumi