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

oci.OsManagementHub.getSoftwareSourceVendors

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 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,
    });
    
    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)
    
    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
    	})
    }
    
    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,
        });
    
    });
    
    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());
    
        }
    }
    
    variables:
      testSoftwareSourceVendors:
        fn::invoke:
          Function: oci:OsManagementHub:getSoftwareSourceVendors
          Arguments:
            compartmentId: ${compartmentId}
            name: ${softwareSourceVendorName}
    

    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>
    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]
    func GetSoftwareSourceVendors(ctx *Context, args *GetSoftwareSourceVendorsArgs, opts ...InvokeOption) (*GetSoftwareSourceVendorsResult, error)
    func GetSoftwareSourceVendorsOutput(ctx *Context, args *GetSoftwareSourceVendorsOutputArgs, opts ...InvokeOption) GetSoftwareSourceVendorsResultOutput

    > 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)
    }
    public static CompletableFuture<GetSoftwareSourceVendorsResult> getSoftwareSourceVendors(GetSoftwareSourceVendorsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:OsManagementHub/getSoftwareSourceVendors:getSoftwareSourceVendors
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The OCID of the compartment. This parameter is required and returns only resources contained within the specified compartment.
    Filters List<GetSoftwareSourceVendorsFilter>
    Name string
    The name of the entity to be queried.
    CompartmentId string
    The OCID of the compartment. This parameter is required and returns only resources contained within the specified compartment.
    Filters []GetSoftwareSourceVendorsFilter
    Name string
    The name of the entity to be queried.
    compartmentId String
    The OCID of the compartment. This parameter is required and returns only resources contained within the specified compartment.
    filters List<GetSoftwareSourceVendorsFilter>
    name String
    The name of the entity to be queried.
    compartmentId string
    The OCID of the compartment. This parameter is required and returns only resources contained within the specified compartment.
    filters GetSoftwareSourceVendorsFilter[]
    name string
    The name of the entity to be queried.
    compartment_id str
    The OCID of the compartment. This parameter is required and returns only resources contained within the specified compartment.
    filters Sequence[osmanagementhub.GetSoftwareSourceVendorsFilter]
    name str
    The name of the entity to be queried.
    compartmentId String
    The OCID of the compartment. This parameter is required and returns only resources contained within the specified compartment.
    filters 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 string
    The name of the entity to be queried.
    Values List<string>
    Regex bool
    Name string
    The name of the entity to be queried.
    Values []string
    Regex bool
    name String
    The name of the entity to be queried.
    values List<String>
    regex Boolean
    name string
    The name of the entity to be queried.
    values string[]
    regex boolean
    name str
    The name of the entity to be queried.
    values Sequence[str]
    regex bool
    name String
    The name of the entity to be queried.
    values List<String>
    regex Boolean

    GetSoftwareSourceVendorsSoftwareSourceVendorCollection

    items List<Property Map>
    List of software source vendors.

    GetSoftwareSourceVendorsSoftwareSourceVendorCollectionItem

    ArchTypes List<string>
    List of corresponding architecture types.
    Name string
    The name of the entity to be queried.
    OsFamilies List<string>
    List of corresponding operating system families.
    ArchTypes []string
    List of corresponding architecture types.
    Name string
    The name of the entity to be queried.
    OsFamilies []string
    List of corresponding operating system families.
    archTypes List<String>
    List of corresponding architecture types.
    name String
    The name of the entity to be queried.
    osFamilies List<String>
    List of corresponding operating system families.
    archTypes string[]
    List of corresponding architecture types.
    name string
    The name of the entity to be queried.
    osFamilies string[]
    List of corresponding operating system families.
    arch_types Sequence[str]
    List of corresponding architecture types.
    name str
    The name of the entity to be queried.
    os_families Sequence[str]
    List of corresponding operating system families.
    archTypes List<String>
    List of corresponding architecture types.
    name String
    The name of the entity to be queried.
    osFamilies 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.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi