1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. OsManagementHub
  5. getSoftwareSourceVendors
Oracle Cloud Infrastructure v2.32.0 published on Thursday, Apr 24, 2025 by Pulumi

oci.OsManagementHub.getSoftwareSourceVendors

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.32.0 published on Thursday, Apr 24, 2025 by Pulumi

This data source provides the list of Software Source Vendors in Oracle Cloud Infrastructure Os Management Hub service.

Lists available software source vendors. Filter the list against a variety of criteria including but not limited to its name.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testSoftwareSourceVendors = oci.OsManagementHub.getSoftwareSourceVendors({
    compartmentId: compartmentId,
    name: softwareSourceVendorName,
});
Copy
import pulumi
import pulumi_oci as oci

test_software_source_vendors = oci.OsManagementHub.get_software_source_vendors(compartment_id=compartment_id,
    name=software_source_vendor_name)
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/osmanagementhub"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := osmanagementhub.GetSoftwareSourceVendors(ctx, &osmanagementhub.GetSoftwareSourceVendorsArgs{
			CompartmentId: compartmentId,
			Name:          pulumi.StringRef(softwareSourceVendorName),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testSoftwareSourceVendors = Oci.OsManagementHub.GetSoftwareSourceVendors.Invoke(new()
    {
        CompartmentId = compartmentId,
        Name = softwareSourceVendorName,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.OsManagementHub.OsManagementHubFunctions;
import com.pulumi.oci.OsManagementHub.inputs.GetSoftwareSourceVendorsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var testSoftwareSourceVendors = OsManagementHubFunctions.getSoftwareSourceVendors(GetSoftwareSourceVendorsArgs.builder()
            .compartmentId(compartmentId)
            .name(softwareSourceVendorName)
            .build());

    }
}
Copy
variables:
  testSoftwareSourceVendors:
    fn::invoke:
      function: oci:OsManagementHub:getSoftwareSourceVendors
      arguments:
        compartmentId: ${compartmentId}
        name: ${softwareSourceVendorName}
Copy

Using getSoftwareSourceVendors

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getSoftwareSourceVendors(args: GetSoftwareSourceVendorsArgs, opts?: InvokeOptions): Promise<GetSoftwareSourceVendorsResult>
function getSoftwareSourceVendorsOutput(args: GetSoftwareSourceVendorsOutputArgs, opts?: InvokeOptions): Output<GetSoftwareSourceVendorsResult>
Copy
def get_software_source_vendors(compartment_id: Optional[str] = None,
                                filters: Optional[Sequence[_osmanagementhub.GetSoftwareSourceVendorsFilter]] = None,
                                name: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetSoftwareSourceVendorsResult
def get_software_source_vendors_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                filters: Optional[pulumi.Input[Sequence[pulumi.Input[_osmanagementhub.GetSoftwareSourceVendorsFilterArgs]]]] = None,
                                name: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetSoftwareSourceVendorsResult]
Copy
func GetSoftwareSourceVendors(ctx *Context, args *GetSoftwareSourceVendorsArgs, opts ...InvokeOption) (*GetSoftwareSourceVendorsResult, error)
func GetSoftwareSourceVendorsOutput(ctx *Context, args *GetSoftwareSourceVendorsOutputArgs, opts ...InvokeOption) GetSoftwareSourceVendorsResultOutput
Copy

> Note: This function is named GetSoftwareSourceVendors in the Go SDK.

public static class GetSoftwareSourceVendors 
{
    public static Task<GetSoftwareSourceVendorsResult> InvokeAsync(GetSoftwareSourceVendorsArgs args, InvokeOptions? opts = null)
    public static Output<GetSoftwareSourceVendorsResult> Invoke(GetSoftwareSourceVendorsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetSoftwareSourceVendorsResult> getSoftwareSourceVendors(GetSoftwareSourceVendorsArgs args, InvokeOptions options)
public static Output<GetSoftwareSourceVendorsResult> getSoftwareSourceVendors(GetSoftwareSourceVendorsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:OsManagementHub/getSoftwareSourceVendors:getSoftwareSourceVendors
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CompartmentId This property is required. string
The OCID of the compartment. This parameter is required and returns only resources contained within the specified compartment.
Filters Changes to this property will trigger replacement. List<GetSoftwareSourceVendorsFilter>
Name string
The name of the entity to be queried.
CompartmentId This property is required. string
The OCID of the compartment. This parameter is required and returns only resources contained within the specified compartment.
Filters Changes to this property will trigger replacement. []GetSoftwareSourceVendorsFilter
Name string
The name of the entity to be queried.
compartmentId This property is required. String
The OCID of the compartment. This parameter is required and returns only resources contained within the specified compartment.
filters Changes to this property will trigger replacement. List<GetSoftwareSourceVendorsFilter>
name String
The name of the entity to be queried.
compartmentId This property is required. string
The OCID of the compartment. This parameter is required and returns only resources contained within the specified compartment.
filters Changes to this property will trigger replacement. GetSoftwareSourceVendorsFilter[]
name string
The name of the entity to be queried.
compartment_id This property is required. str
The OCID of the compartment. This parameter is required and returns only resources contained within the specified compartment.
filters Changes to this property will trigger replacement. Sequence[osmanagementhub.GetSoftwareSourceVendorsFilter]
name str
The name of the entity to be queried.
compartmentId This property is required. String
The OCID of the compartment. This parameter is required and returns only resources contained within the specified compartment.
filters Changes to this property will trigger replacement. List<Property Map>
name String
The name of the entity to be queried.

getSoftwareSourceVendors Result

The following output properties are available:

CompartmentId string
Id string
The provider-assigned unique ID for this managed resource.
SoftwareSourceVendorCollections List<GetSoftwareSourceVendorsSoftwareSourceVendorCollection>
The list of software_source_vendor_collection.
Filters List<GetSoftwareSourceVendorsFilter>
Name string
Name of the vendor providing the software source.
CompartmentId string
Id string
The provider-assigned unique ID for this managed resource.
SoftwareSourceVendorCollections []GetSoftwareSourceVendorsSoftwareSourceVendorCollection
The list of software_source_vendor_collection.
Filters []GetSoftwareSourceVendorsFilter
Name string
Name of the vendor providing the software source.
compartmentId String
id String
The provider-assigned unique ID for this managed resource.
softwareSourceVendorCollections List<GetSoftwareSourceVendorsSoftwareSourceVendorCollection>
The list of software_source_vendor_collection.
filters List<GetSoftwareSourceVendorsFilter>
name String
Name of the vendor providing the software source.
compartmentId string
id string
The provider-assigned unique ID for this managed resource.
softwareSourceVendorCollections GetSoftwareSourceVendorsSoftwareSourceVendorCollection[]
The list of software_source_vendor_collection.
filters GetSoftwareSourceVendorsFilter[]
name string
Name of the vendor providing the software source.
compartment_id str
id str
The provider-assigned unique ID for this managed resource.
software_source_vendor_collections Sequence[osmanagementhub.GetSoftwareSourceVendorsSoftwareSourceVendorCollection]
The list of software_source_vendor_collection.
filters Sequence[osmanagementhub.GetSoftwareSourceVendorsFilter]
name str
Name of the vendor providing the software source.
compartmentId String
id String
The provider-assigned unique ID for this managed resource.
softwareSourceVendorCollections List<Property Map>
The list of software_source_vendor_collection.
filters List<Property Map>
name String
Name of the vendor providing the software source.

Supporting Types

GetSoftwareSourceVendorsFilter

Name This property is required. string
The name of the entity to be queried.
Values This property is required. List<string>
Regex bool
Name This property is required. string
The name of the entity to be queried.
Values This property is required. []string
Regex bool
name This property is required. String
The name of the entity to be queried.
values This property is required. List<String>
regex Boolean
name This property is required. string
The name of the entity to be queried.
values This property is required. string[]
regex boolean
name This property is required. str
The name of the entity to be queried.
values This property is required. Sequence[str]
regex bool
name This property is required. String
The name of the entity to be queried.
values This property is required. List<String>
regex Boolean

GetSoftwareSourceVendorsSoftwareSourceVendorCollection

Items This property is required. List<GetSoftwareSourceVendorsSoftwareSourceVendorCollectionItem>
List of software source vendors.
Items This property is required. []GetSoftwareSourceVendorsSoftwareSourceVendorCollectionItem
List of software source vendors.
items This property is required. List<GetSoftwareSourceVendorsSoftwareSourceVendorCollectionItem>
List of software source vendors.
items This property is required. GetSoftwareSourceVendorsSoftwareSourceVendorCollectionItem[]
List of software source vendors.
items This property is required. Sequence[osmanagementhub.GetSoftwareSourceVendorsSoftwareSourceVendorCollectionItem]
List of software source vendors.
items This property is required. List<Property Map>
List of software source vendors.

GetSoftwareSourceVendorsSoftwareSourceVendorCollectionItem

ArchTypes This property is required. List<string>
List of corresponding architecture types.
Name This property is required. string
The name of the entity to be queried.
OsFamilies This property is required. List<string>
List of corresponding operating system families.
ArchTypes This property is required. []string
List of corresponding architecture types.
Name This property is required. string
The name of the entity to be queried.
OsFamilies This property is required. []string
List of corresponding operating system families.
archTypes This property is required. List<String>
List of corresponding architecture types.
name This property is required. String
The name of the entity to be queried.
osFamilies This property is required. List<String>
List of corresponding operating system families.
archTypes This property is required. string[]
List of corresponding architecture types.
name This property is required. string
The name of the entity to be queried.
osFamilies This property is required. string[]
List of corresponding operating system families.
arch_types This property is required. Sequence[str]
List of corresponding architecture types.
name This property is required. str
The name of the entity to be queried.
os_families This property is required. Sequence[str]
List of corresponding operating system families.
archTypes This property is required. List<String>
List of corresponding architecture types.
name This property is required. String
The name of the entity to be queried.
osFamilies This property is required. List<String>
List of corresponding operating system families.

Package Details

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