oci.OsManagementHub.SoftwareSource
Explore with Pulumi AI
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=oci.os_management_hub.SoftwareSourceCustomSoftwareSourceFilterArgs(
module_stream_profile_filters=[oci.os_management_hub.SoftwareSourceCustomSoftwareSourceFilterModuleStreamProfileFilterArgs(
filter_type="string",
module_name="string",
profile_name="string",
stream_name="string",
)],
package_filters=[oci.os_management_hub.SoftwareSourceCustomSoftwareSourceFilterPackageFilterArgs(
filter_type="string",
package_name="string",
package_name_pattern="string",
package_version="string",
)],
package_group_filters=[oci.os_management_hub.SoftwareSourceCustomSoftwareSourceFilterPackageGroupFilterArgs(
filter_type="string",
package_groups=["string"],
)],
),
software_source_version="string",
vendor_software_sources=[oci.os_management_hub.SoftwareSourceVendorSoftwareSourceArgs(
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
The SoftwareSource resource accepts the following input properties:
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the software source.
- Software
Source stringType - (Updatable) Type of software source.
- Custom
Software SoftwareSource Filter Source Custom Software Source Filter - (Updatable) Provides the information used to apply filters to a vendor software source to create or update a custom software source.
- 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.
- Display
Name 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.
- 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"}
- Is
Auto boolResolve Dependencies - (Updatable) Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.
- Is
Automatically boolUpdated - (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 boolFrom Package List - Indicates whether the service should create the software source from a list of packages provided by the user.
- Is
Latest boolContent Only - (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 stringSource Id - 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.
- Software
Source stringVersion - The version to assign to this custom software source.
- Vendor
Software List<SoftwareSources Source Vendor Software Source> - (Updatable) List of vendor software sources.
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the software source.
- Software
Source stringType - (Updatable) Type of software source.
- Custom
Software SoftwareSource Filter Source Custom Software Source Filter Args - (Updatable) Provides the information used to apply filters to a vendor software source to create or update a custom software source.
- 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.
- Display
Name 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.
- 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"}
- Is
Auto boolResolve Dependencies - (Updatable) Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.
- Is
Automatically boolUpdated - (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 boolFrom Package List - Indicates whether the service should create the software source from a list of packages provided by the user.
- Is
Latest boolContent Only - (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 stringSource Id - 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.
- Software
Source stringVersion - The version to assign to this custom software source.
- Vendor
Software []SoftwareSources Source Vendor Software Source Args - (Updatable) List of vendor software sources.
- compartment
Id String - (Updatable) The OCID of the compartment that contains the software source.
- software
Source StringType - (Updatable) Type of software source.
- custom
Software SoftwareSource Filter Source Custom Software Source Filter - (Updatable) Provides the information used to apply filters to a vendor software source to create or update a custom software source.
- 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.
- display
Name 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.
- 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"}
- is
Auto BooleanResolve Dependencies - (Updatable) Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.
- is
Automatically BooleanUpdated - (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 BooleanFrom Package List - Indicates whether the service should create the software source from a list of packages provided by the user.
- is
Latest BooleanContent Only - (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 StringSource Id - 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.
- software
Source StringVersion - The version to assign to this custom software source.
- vendor
Software List<SoftwareSources Source Vendor Software Source> - (Updatable) List of vendor software sources.
- compartment
Id string - (Updatable) The OCID of the compartment that contains the software source.
- software
Source stringType - (Updatable) Type of software source.
- custom
Software SoftwareSource Filter Source Custom Software Source Filter - (Updatable) Provides the information used to apply filters to a vendor software source to create or update a custom software source.
- {[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.
- display
Name 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.
- {[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"}
- is
Auto booleanResolve Dependencies - (Updatable) Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.
- is
Automatically booleanUpdated - (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 booleanFrom Package List - Indicates whether the service should create the software source from a list of packages provided by the user.
- is
Latest booleanContent Only - (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 stringSource Id - 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.
- software
Source stringVersion - The version to assign to this custom software source.
- vendor
Software SoftwareSources Source Vendor Software Source[] - (Updatable) List of vendor software sources.
- compartment_
id str - (Updatable) The OCID of the compartment that contains the software source.
- software_
source_ strtype - (Updatable) Type of software source.
- custom_
software_ osmanagementhub.source_ filter Software Source Custom Software Source Filter Args - (Updatable) Provides the information used to apply filters to a vendor software source to create or update a custom software source.
- 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.
- 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_ boolresolve_ dependencies - (Updatable) Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.
- is_
automatically_ boolupdated - (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_ boolfrom_ package_ list - Indicates whether the service should create the software source from a list of packages provided by the user.
- is_
latest_ boolcontent_ only - (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_ strsource_ id - 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_ strversion - The version to assign to this custom software source.
- vendor_
software_ Sequence[osmanagementhub.sources Software Source Vendor Software Source Args] - (Updatable) List of vendor software sources.
- compartment
Id String - (Updatable) The OCID of the compartment that contains the software source.
- software
Source StringType - (Updatable) Type of software source.
- custom
Software Property MapSource Filter - (Updatable) Provides the information used to apply filters to a vendor software source to create or update a custom software source.
- 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.
- display
Name 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.
- 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"}
- is
Auto BooleanResolve Dependencies - (Updatable) Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.
- is
Automatically BooleanUpdated - (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 BooleanFrom Package List - Indicates whether the service should create the software source from a list of packages provided by the user.
- is
Latest BooleanContent Only - (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 StringSource Id - 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.
- software
Source StringVersion - The version to assign to this custom software source.
- vendor
Software List<Property Map>Sources - (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:
- Arch
Type string - The architecture type supported by the software source.
- Availability string
- Availability of the software source (for non-OCI environments).
- Availability
At stringOci - Availability of the software source (for Oracle Cloud Infrastructure environments).
- Checksum
Type string - The yum repository checksum type used by this software source.
- Gpg
Key stringFingerprint - Fingerprint of the GPG key for this software source.
- Gpg
Key stringId - ID of the GPG key for this software source.
- Gpg
Key stringUrl - URL of the GPG key for this software source.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Mandatory boolFor Autonomous Linux - Indicates whether the software source is required for the Autonomous Linux service.
- Os
Family string - The OS family the software source belongs to.
- Package
Count string - Number of packages the software source contains.
- Repo
Id 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.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created 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/'.
- Vendor
Name string - Name of the vendor providing the software source.
- Arch
Type string - The architecture type supported by the software source.
- Availability string
- Availability of the software source (for non-OCI environments).
- Availability
At stringOci - Availability of the software source (for Oracle Cloud Infrastructure environments).
- Checksum
Type string - The yum repository checksum type used by this software source.
- Gpg
Key stringFingerprint - Fingerprint of the GPG key for this software source.
- Gpg
Key stringId - ID of the GPG key for this software source.
- Gpg
Key stringUrl - URL of the GPG key for this software source.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Mandatory boolFor Autonomous Linux - Indicates whether the software source is required for the Autonomous Linux service.
- Os
Family string - The OS family the software source belongs to.
- Package
Count string - Number of packages the software source contains.
- Repo
Id 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.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created 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/'.
- Vendor
Name string - Name of the vendor providing the software source.
- arch
Type String - The architecture type supported by the software source.
- availability String
- Availability of the software source (for non-OCI environments).
- availability
At StringOci - Availability of the software source (for Oracle Cloud Infrastructure environments).
- checksum
Type String - The yum repository checksum type used by this software source.
- gpg
Key StringFingerprint - Fingerprint of the GPG key for this software source.
- gpg
Key StringId - ID of the GPG key for this software source.
- gpg
Key StringUrl - URL of the GPG key for this software source.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Mandatory BooleanFor Autonomous Linux - Indicates whether the software source is required for the Autonomous Linux service.
- os
Family String - The OS family the software source belongs to.
- package
Count String - Number of packages the software source contains.
- repo
Id 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.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created 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/'.
- vendor
Name String - Name of the vendor providing the software source.
- arch
Type string - The architecture type supported by the software source.
- availability string
- Availability of the software source (for non-OCI environments).
- availability
At stringOci - Availability of the software source (for Oracle Cloud Infrastructure environments).
- checksum
Type string - The yum repository checksum type used by this software source.
- gpg
Key stringFingerprint - Fingerprint of the GPG key for this software source.
- gpg
Key stringId - ID of the GPG key for this software source.
- gpg
Key stringUrl - URL of the GPG key for this software source.
- id string
- The provider-assigned unique ID for this managed resource.
- is
Mandatory booleanFor Autonomous Linux - Indicates whether the software source is required for the Autonomous Linux service.
- os
Family string - The OS family the software source belongs to.
- package
Count string - Number of packages the software source contains.
- repo
Id 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.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created 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/'.
- vendor
Name 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_ stroci - 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_ strfingerprint - Fingerprint of the GPG key for this software source.
- gpg_
key_ strid - ID of the GPG key for this software source.
- gpg_
key_ strurl - URL of the GPG key for this software source.
- id str
- The provider-assigned unique ID for this managed resource.
- is_
mandatory_ boolfor_ autonomous_ linux - 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.
- 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.
- arch
Type String - The architecture type supported by the software source.
- availability String
- Availability of the software source (for non-OCI environments).
- availability
At StringOci - Availability of the software source (for Oracle Cloud Infrastructure environments).
- checksum
Type String - The yum repository checksum type used by this software source.
- gpg
Key StringFingerprint - Fingerprint of the GPG key for this software source.
- gpg
Key StringId - ID of the GPG key for this software source.
- gpg
Key StringUrl - URL of the GPG key for this software source.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Mandatory BooleanFor Autonomous Linux - Indicates whether the software source is required for the Autonomous Linux service.
- os
Family String - The OS family the software source belongs to.
- package
Count String - Number of packages the software source contains.
- repo
Id 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.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created 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/'.
- vendor
Name 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.
- Arch
Type string - The architecture type supported by the software source.
- Availability string
- Availability of the software source (for non-OCI environments).
- Availability
At stringOci - Availability of the software source (for Oracle Cloud Infrastructure environments).
- Checksum
Type string - The yum repository checksum type used by this software source.
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the software source.
- Custom
Software SoftwareSource Filter Source Custom Software Source Filter - (Updatable) Provides the information used to apply filters to a vendor software source to create or update a custom software source.
- 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.
- Display
Name 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.
- 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"}
- Gpg
Key stringFingerprint - Fingerprint of the GPG key for this software source.
- Gpg
Key stringId - ID of the GPG key for this software source.
- Gpg
Key stringUrl - URL of the GPG key for this software source.
- Is
Auto boolResolve Dependencies - (Updatable) Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.
- Is
Automatically boolUpdated - (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 boolFrom Package List - Indicates whether the service should create the software source from a list of packages provided by the user.
- Is
Latest boolContent Only - (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 boolFor Autonomous Linux - Indicates whether the software source is required for the Autonomous Linux service.
- Origin
Software stringSource Id - The OCID of the vendor software source in the root compartment that is being replicated.
- Os
Family string - The OS family the software source belongs to.
- Package
Count 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.
- Repo
Id string - The repository ID for the software source.
- Size double
- The size of the software source in gigabytes (GB).
- Software
Source stringType - (Updatable) Type of software source.
- Software
Source stringVersion - The version to assign to this custom software source.
- State string
- The current state of the software source.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created 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/'.
- Vendor
Name string - Name of the vendor providing the software source.
- Vendor
Software List<SoftwareSources Source Vendor Software Source> - (Updatable) List of vendor software sources.
- Arch
Type string - The architecture type supported by the software source.
- Availability string
- Availability of the software source (for non-OCI environments).
- Availability
At stringOci - Availability of the software source (for Oracle Cloud Infrastructure environments).
- Checksum
Type string - The yum repository checksum type used by this software source.
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the software source.
- Custom
Software SoftwareSource Filter Source Custom Software Source Filter Args - (Updatable) Provides the information used to apply filters to a vendor software source to create or update a custom software source.
- 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.
- Display
Name 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.
- 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"}
- Gpg
Key stringFingerprint - Fingerprint of the GPG key for this software source.
- Gpg
Key stringId - ID of the GPG key for this software source.
- Gpg
Key stringUrl - URL of the GPG key for this software source.
- Is
Auto boolResolve Dependencies - (Updatable) Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.
- Is
Automatically boolUpdated - (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 boolFrom Package List - Indicates whether the service should create the software source from a list of packages provided by the user.
- Is
Latest boolContent Only - (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 boolFor Autonomous Linux - Indicates whether the software source is required for the Autonomous Linux service.
- Origin
Software stringSource Id - The OCID of the vendor software source in the root compartment that is being replicated.
- Os
Family string - The OS family the software source belongs to.
- Package
Count 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.
- Repo
Id string - The repository ID for the software source.
- Size float64
- The size of the software source in gigabytes (GB).
- Software
Source stringType - (Updatable) Type of software source.
- Software
Source stringVersion - The version to assign to this custom software source.
- State string
- The current state of the software source.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created 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/'.
- Vendor
Name string - Name of the vendor providing the software source.
- Vendor
Software []SoftwareSources Source Vendor Software Source Args - (Updatable) List of vendor software sources.
- arch
Type String - The architecture type supported by the software source.
- availability String
- Availability of the software source (for non-OCI environments).
- availability
At StringOci - Availability of the software source (for Oracle Cloud Infrastructure environments).
- checksum
Type String - The yum repository checksum type used by this software source.
- compartment
Id String - (Updatable) The OCID of the compartment that contains the software source.
- custom
Software SoftwareSource Filter Source Custom Software Source Filter - (Updatable) Provides the information used to apply filters to a vendor software source to create or update a custom software source.
- 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.
- display
Name 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.
- 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"}
- gpg
Key StringFingerprint - Fingerprint of the GPG key for this software source.
- gpg
Key StringId - ID of the GPG key for this software source.
- gpg
Key StringUrl - URL of the GPG key for this software source.
- is
Auto BooleanResolve Dependencies - (Updatable) Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.
- is
Automatically BooleanUpdated - (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 BooleanFrom Package List - Indicates whether the service should create the software source from a list of packages provided by the user.
- is
Latest BooleanContent Only - (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 BooleanFor Autonomous Linux - Indicates whether the software source is required for the Autonomous Linux service.
- origin
Software StringSource Id - The OCID of the vendor software source in the root compartment that is being replicated.
- os
Family String - The OS family the software source belongs to.
- package
Count 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.
- repo
Id String - The repository ID for the software source.
- size Double
- The size of the software source in gigabytes (GB).
- software
Source StringType - (Updatable) Type of software source.
- software
Source StringVersion - The version to assign to this custom software source.
- state String
- The current state of the software source.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created 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/'.
- vendor
Name String - Name of the vendor providing the software source.
- vendor
Software List<SoftwareSources Source Vendor Software Source> - (Updatable) List of vendor software sources.
- arch
Type string - The architecture type supported by the software source.
- availability string
- Availability of the software source (for non-OCI environments).
- availability
At stringOci - Availability of the software source (for Oracle Cloud Infrastructure environments).
- checksum
Type string - The yum repository checksum type used by this software source.
- compartment
Id string - (Updatable) The OCID of the compartment that contains the software source.
- custom
Software SoftwareSource Filter Source Custom Software Source Filter - (Updatable) Provides the information used to apply filters to a vendor software source to create or update a custom software source.
- {[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.
- display
Name 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.
- {[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"}
- gpg
Key stringFingerprint - Fingerprint of the GPG key for this software source.
- gpg
Key stringId - ID of the GPG key for this software source.
- gpg
Key stringUrl - URL of the GPG key for this software source.
- is
Auto booleanResolve Dependencies - (Updatable) Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.
- is
Automatically booleanUpdated - (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 booleanFrom Package List - Indicates whether the service should create the software source from a list of packages provided by the user.
- is
Latest booleanContent Only - (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 booleanFor Autonomous Linux - Indicates whether the software source is required for the Autonomous Linux service.
- origin
Software stringSource Id - The OCID of the vendor software source in the root compartment that is being replicated.
- os
Family string - The OS family the software source belongs to.
- package
Count 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.
- repo
Id string - The repository ID for the software source.
- size number
- The size of the software source in gigabytes (GB).
- software
Source stringType - (Updatable) Type of software source.
- software
Source stringVersion - The version to assign to this custom software source.
- state string
- The current state of the software source.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created 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/'.
- vendor
Name string - Name of the vendor providing the software source.
- vendor
Software SoftwareSources Source Vendor Software Source[] - (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_ stroci - 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_ osmanagementhub.source_ filter Software Source Custom Software Source Filter Args - (Updatable) Provides the information used to apply filters to a vendor software source to create or update a custom software source.
- 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.
- 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_ strfingerprint - Fingerprint of the GPG key for this software source.
- gpg_
key_ strid - ID of the GPG key for this software source.
- gpg_
key_ strurl - URL of the GPG key for this software source.
- is_
auto_ boolresolve_ dependencies - (Updatable) Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.
- is_
automatically_ boolupdated - (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_ boolfrom_ package_ list - Indicates whether the service should create the software source from a list of packages provided by the user.
- is_
latest_ boolcontent_ only - (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_ boolfor_ autonomous_ linux - Indicates whether the software source is required for the Autonomous Linux service.
- origin_
software_ strsource_ id - 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_ strtype - (Updatable) Type of software source.
- software_
source_ strversion - The version to assign to this custom software source.
- state str
- The current state of the software source.
- 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_ Sequence[osmanagementhub.sources Software Source Vendor Software Source Args] - (Updatable) List of vendor software sources.
- arch
Type String - The architecture type supported by the software source.
- availability String
- Availability of the software source (for non-OCI environments).
- availability
At StringOci - Availability of the software source (for Oracle Cloud Infrastructure environments).
- checksum
Type String - The yum repository checksum type used by this software source.
- compartment
Id String - (Updatable) The OCID of the compartment that contains the software source.
- custom
Software Property MapSource Filter - (Updatable) Provides the information used to apply filters to a vendor software source to create or update a custom software source.
- 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.
- display
Name 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.
- 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"}
- gpg
Key StringFingerprint - Fingerprint of the GPG key for this software source.
- gpg
Key StringId - ID of the GPG key for this software source.
- gpg
Key StringUrl - URL of the GPG key for this software source.
- is
Auto BooleanResolve Dependencies - (Updatable) Indicates whether the service should automatically resolve package dependencies when including specific packages in the software source.
- is
Automatically BooleanUpdated - (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 BooleanFrom Package List - Indicates whether the service should create the software source from a list of packages provided by the user.
- is
Latest BooleanContent Only - (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 BooleanFor Autonomous Linux - Indicates whether the software source is required for the Autonomous Linux service.
- origin
Software StringSource Id - The OCID of the vendor software source in the root compartment that is being replicated.
- os
Family String - The OS family the software source belongs to.
- package
Count 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.
- repo
Id String - The repository ID for the software source.
- size Number
- The size of the software source in gigabytes (GB).
- software
Source StringType - (Updatable) Type of software source.
- software
Source StringVersion - The version to assign to this custom software source.
- state String
- The current state of the software source.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created 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/'.
- vendor
Name String - Name of the vendor providing the software source.
- vendor
Software List<Property Map>Sources - (Updatable) List of vendor software sources.
Supporting Types
SoftwareSourceCustomSoftwareSourceFilter, SoftwareSourceCustomSoftwareSourceFilterArgs
- Module
Stream List<SoftwareProfile Filters Source Custom Software Source Filter Module Stream Profile Filter> - (Updatable) The list of module stream/profile filters.
- Package
Filters List<SoftwareSource Custom Software Source Filter Package Filter> - (Updatable) The list of package filters.
- Package
Group List<SoftwareFilters Source Custom Software Source Filter Package Group Filter> - (Updatable) The list of group filters.
- Module
Stream []SoftwareProfile Filters Source Custom Software Source Filter Module Stream Profile Filter - (Updatable) The list of module stream/profile filters.
- Package
Filters []SoftwareSource Custom Software Source Filter Package Filter - (Updatable) The list of package filters.
- Package
Group []SoftwareFilters Source Custom Software Source Filter Package Group Filter - (Updatable) The list of group filters.
- module
Stream List<SoftwareProfile Filters Source Custom Software Source Filter Module Stream Profile Filter> - (Updatable) The list of module stream/profile filters.
- package
Filters List<SoftwareSource Custom Software Source Filter Package Filter> - (Updatable) The list of package filters.
- package
Group List<SoftwareFilters Source Custom Software Source Filter Package Group Filter> - (Updatable) The list of group filters.
- module
Stream SoftwareProfile Filters Source Custom Software Source Filter Module Stream Profile Filter[] - (Updatable) The list of module stream/profile filters.
- package
Filters SoftwareSource Custom Software Source Filter Package Filter[] - (Updatable) The list of package filters.
- package
Group SoftwareFilters Source Custom Software Source Filter Package Group Filter[] - (Updatable) The list of group filters.
- module_
stream_ Sequence[osmanagementhub.profile_ filters Software Source Custom Software Source Filter Module Stream Profile Filter] - (Updatable) The list of module stream/profile filters.
- package_
filters Sequence[osmanagementhub.Software Source Custom Software Source Filter Package Filter] - (Updatable) The list of package filters.
- package_
group_ Sequence[osmanagementhub.filters Software Source Custom Software Source Filter Package Group Filter] - (Updatable) The list of group filters.
- module
Stream List<Property Map>Profile Filters - (Updatable) The list of module stream/profile filters.
- package
Filters List<Property Map> - (Updatable) The list of package filters.
- package
Group List<Property Map>Filters - (Updatable) The list of group filters.
SoftwareSourceCustomSoftwareSourceFilterModuleStreamProfileFilter, SoftwareSourceCustomSoftwareSourceFilterModuleStreamProfileFilterArgs
- Filter
Type string - (Updatable) The type of the filter.
- Module
Name string - (Updatable) Module name.
- Profile
Name string - (Updatable) Profile name.
- Stream
Name string - (Updatable) Stream name.
- Filter
Type string - (Updatable) The type of the filter.
- Module
Name string - (Updatable) Module name.
- Profile
Name string - (Updatable) Profile name.
- Stream
Name string - (Updatable) Stream name.
- filter
Type String - (Updatable) The type of the filter.
- module
Name String - (Updatable) Module name.
- profile
Name String - (Updatable) Profile name.
- stream
Name String - (Updatable) Stream name.
- filter
Type string - (Updatable) The type of the filter.
- module
Name string - (Updatable) Module name.
- profile
Name string - (Updatable) Profile name.
- stream
Name 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.
- filter
Type String - (Updatable) The type of the filter.
- module
Name String - (Updatable) Module name.
- profile
Name String - (Updatable) Profile name.
- stream
Name String - (Updatable) Stream name.
SoftwareSourceCustomSoftwareSourceFilterPackageFilter, SoftwareSourceCustomSoftwareSourceFilterPackageFilterArgs
- Filter
Type string - (Updatable) The type of the filter.
- Package
Name string - (Updatable) The package name.
- Package
Name stringPattern - (Updatable) The package name pattern.
- Package
Version string - (Updatable) The package version, which is denoted by 'version-release', or 'epoch:version-release'.
- Filter
Type string - (Updatable) The type of the filter.
- Package
Name string - (Updatable) The package name.
- Package
Name stringPattern - (Updatable) The package name pattern.
- Package
Version string - (Updatable) The package version, which is denoted by 'version-release', or 'epoch:version-release'.
- filter
Type String - (Updatable) The type of the filter.
- package
Name String - (Updatable) The package name.
- package
Name StringPattern - (Updatable) The package name pattern.
- package
Version String - (Updatable) The package version, which is denoted by 'version-release', or 'epoch:version-release'.
- filter
Type string - (Updatable) The type of the filter.
- package
Name string - (Updatable) The package name.
- package
Name stringPattern - (Updatable) The package name pattern.
- package
Version 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_ strpattern - (Updatable) The package name pattern.
- package_
version str - (Updatable) The package version, which is denoted by 'version-release', or 'epoch:version-release'.
- filter
Type String - (Updatable) The type of the filter.
- package
Name String - (Updatable) The package name.
- package
Name StringPattern - (Updatable) The package name pattern.
- package
Version String - (Updatable) The package version, which is denoted by 'version-release', or 'epoch:version-release'.
SoftwareSourceCustomSoftwareSourceFilterPackageGroupFilter, SoftwareSourceCustomSoftwareSourceFilterPackageGroupFilterArgs
- Filter
Type string - (Updatable) The type of the filter.
- Package
Groups List<string> - (Updatable) List of package group names.
- Filter
Type string - (Updatable) The type of the filter.
- Package
Groups []string - (Updatable) List of package group names.
- filter
Type String - (Updatable) The type of the filter.
- package
Groups List<String> - (Updatable) List of package group names.
- filter
Type string - (Updatable) The type of the filter.
- package
Groups 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.
- filter
Type String - (Updatable) The type of the filter.
- package
Groups List<String> - (Updatable) List of package group names.
SoftwareSourceVendorSoftwareSource, SoftwareSourceVendorSoftwareSourceArgs
- Display
Name 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 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 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 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
- display
Name 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.