Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.OsManagementHub.getSoftwareSourceVendors
Explore with Pulumi AI
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:
- Compartment
Id string - The OCID of the compartment. This parameter is required and returns only resources contained within the specified compartment.
- Filters
List<Get
Software Source Vendors Filter> - Name string
- The name of the entity to be queried.
- Compartment
Id string - The OCID of the compartment. This parameter is required and returns only resources contained within the specified compartment.
- Filters
[]Get
Software Source Vendors Filter - Name string
- The name of the entity to be queried.
- compartment
Id String - The OCID of the compartment. This parameter is required and returns only resources contained within the specified compartment.
- filters
List<Get
Software Source Vendors Filter> - name String
- The name of the entity to be queried.
- compartment
Id string - The OCID of the compartment. This parameter is required and returns only resources contained within the specified compartment.
- filters
Get
Software Source Vendors Filter[] - 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.
Get Software Source Vendors Filter] - name str
- The name of the entity to be queried.
- compartment
Id 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:
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Software
Source List<GetVendor Collections Software Source Vendors Software Source Vendor Collection> - The list of software_source_vendor_collection.
- Filters
List<Get
Software Source Vendors Filter> - Name string
- Name of the vendor providing the software source.
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Software
Source []GetVendor Collections Software Source Vendors Software Source Vendor Collection - The list of software_source_vendor_collection.
- Filters
[]Get
Software Source Vendors Filter - Name string
- Name of the vendor providing the software source.
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- software
Source List<GetVendor Collections Software Source Vendors Software Source Vendor Collection> - The list of software_source_vendor_collection.
- filters
List<Get
Software Source Vendors Filter> - name String
- Name of the vendor providing the software source.
- compartment
Id string - id string
- The provider-assigned unique ID for this managed resource.
- software
Source GetVendor Collections Software Source Vendors Software Source Vendor Collection[] - The list of software_source_vendor_collection.
- filters
Get
Software Source Vendors Filter[] - 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_ Sequence[osmanagementhub.vendor_ collections Get Software Source Vendors Software Source Vendor Collection] - The list of software_source_vendor_collection.
- filters
Sequence[osmanagementhub.
Get Software Source Vendors Filter] - name str
- Name of the vendor providing the software source.
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- software
Source List<Property Map>Vendor Collections - The list of software_source_vendor_collection.
- filters List<Property Map>
- name String
- Name of the vendor providing the software source.
Supporting Types
GetSoftwareSourceVendorsFilter
GetSoftwareSourceVendorsSoftwareSourceVendorCollection
- Items
List<Get
Software Source Vendors Software Source Vendor Collection Item> - List of software source vendors.
- Items
[]Get
Software Source Vendors Software Source Vendor Collection Item - List of software source vendors.
- items
List<Get
Software Source Vendors Software Source Vendor Collection Item> - List of software source vendors.
- items
Get
Software Source Vendors Software Source Vendor Collection Item[] - List of software source vendors.
- items
Sequence[osmanagementhub.
Get Software Source Vendors Software Source Vendor Collection Item] - List of software source vendors.
- items List<Property Map>
- List of software source vendors.
GetSoftwareSourceVendorsSoftwareSourceVendorCollectionItem
- Arch
Types List<string> - List of corresponding architecture types.
- Name string
- The name of the entity to be queried.
- Os
Families List<string> - List of corresponding operating system families.
- Arch
Types []string - List of corresponding architecture types.
- Name string
- The name of the entity to be queried.
- Os
Families []string - List of corresponding operating system families.
- arch
Types List<String> - List of corresponding architecture types.
- name String
- The name of the entity to be queried.
- os
Families List<String> - List of corresponding operating system families.
- arch
Types string[] - List of corresponding architecture types.
- name string
- The name of the entity to be queried.
- os
Families 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.
- arch
Types List<String> - List of corresponding architecture types.
- name String
- The name of the entity to be queried.
- os
Families 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.