Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.OsManagement.getSoftwareSourceModuleStreamProfile
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
This data source provides details about a specific Software Source Module Stream Profile resource in Oracle Cloud Infrastructure OS Management service.
Retrieve a detailed description of a module stream profile from a software source.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testSoftwareSourceModuleStreamProfile = oci.OsManagement.getSoftwareSourceModuleStreamProfile({
    moduleName: softwareSourceModuleName,
    profileName: softwareSourceModuleStreamProfileName,
    softwareSourceId: softwareSource.id,
    streamName: softwareSourceModuleStreamName,
});
import pulumi
import pulumi_oci as oci
test_software_source_module_stream_profile = oci.OsManagement.get_software_source_module_stream_profile(module_name=software_source_module_name,
    profile_name=software_source_module_stream_profile_name,
    software_source_id=software_source["id"],
    stream_name=software_source_module_stream_name)
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/OsManagement"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := OsManagement.GetSoftwareSourceModuleStreamProfile(ctx, &osmanagement.GetSoftwareSourceModuleStreamProfileArgs{
			ModuleName:       softwareSourceModuleName,
			ProfileName:      softwareSourceModuleStreamProfileName,
			SoftwareSourceId: softwareSource.Id,
			StreamName:       softwareSourceModuleStreamName,
		}, 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 testSoftwareSourceModuleStreamProfile = Oci.OsManagement.GetSoftwareSourceModuleStreamProfile.Invoke(new()
    {
        ModuleName = softwareSourceModuleName,
        ProfileName = softwareSourceModuleStreamProfileName,
        SoftwareSourceId = softwareSource.Id,
        StreamName = softwareSourceModuleStreamName,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.OsManagement.OsManagementFunctions;
import com.pulumi.oci.OsManagement.inputs.GetSoftwareSourceModuleStreamProfileArgs;
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 testSoftwareSourceModuleStreamProfile = OsManagementFunctions.getSoftwareSourceModuleStreamProfile(GetSoftwareSourceModuleStreamProfileArgs.builder()
            .moduleName(softwareSourceModuleName)
            .profileName(softwareSourceModuleStreamProfileName)
            .softwareSourceId(softwareSource.id())
            .streamName(softwareSourceModuleStreamName)
            .build());
    }
}
variables:
  testSoftwareSourceModuleStreamProfile:
    fn::invoke:
      Function: oci:OsManagement:getSoftwareSourceModuleStreamProfile
      Arguments:
        moduleName: ${softwareSourceModuleName}
        profileName: ${softwareSourceModuleStreamProfileName}
        softwareSourceId: ${softwareSource.id}
        streamName: ${softwareSourceModuleStreamName}
Using getSoftwareSourceModuleStreamProfile
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 getSoftwareSourceModuleStreamProfile(args: GetSoftwareSourceModuleStreamProfileArgs, opts?: InvokeOptions): Promise<GetSoftwareSourceModuleStreamProfileResult>
function getSoftwareSourceModuleStreamProfileOutput(args: GetSoftwareSourceModuleStreamProfileOutputArgs, opts?: InvokeOptions): Output<GetSoftwareSourceModuleStreamProfileResult>def get_software_source_module_stream_profile(module_name: Optional[str] = None,
                                              profile_name: Optional[str] = None,
                                              software_source_id: Optional[str] = None,
                                              stream_name: Optional[str] = None,
                                              opts: Optional[InvokeOptions] = None) -> GetSoftwareSourceModuleStreamProfileResult
def get_software_source_module_stream_profile_output(module_name: Optional[pulumi.Input[str]] = None,
                                              profile_name: Optional[pulumi.Input[str]] = None,
                                              software_source_id: Optional[pulumi.Input[str]] = None,
                                              stream_name: Optional[pulumi.Input[str]] = None,
                                              opts: Optional[InvokeOptions] = None) -> Output[GetSoftwareSourceModuleStreamProfileResult]func GetSoftwareSourceModuleStreamProfile(ctx *Context, args *GetSoftwareSourceModuleStreamProfileArgs, opts ...InvokeOption) (*GetSoftwareSourceModuleStreamProfileResult, error)
func GetSoftwareSourceModuleStreamProfileOutput(ctx *Context, args *GetSoftwareSourceModuleStreamProfileOutputArgs, opts ...InvokeOption) GetSoftwareSourceModuleStreamProfileResultOutput> Note: This function is named GetSoftwareSourceModuleStreamProfile in the Go SDK.
public static class GetSoftwareSourceModuleStreamProfile 
{
    public static Task<GetSoftwareSourceModuleStreamProfileResult> InvokeAsync(GetSoftwareSourceModuleStreamProfileArgs args, InvokeOptions? opts = null)
    public static Output<GetSoftwareSourceModuleStreamProfileResult> Invoke(GetSoftwareSourceModuleStreamProfileInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSoftwareSourceModuleStreamProfileResult> getSoftwareSourceModuleStreamProfile(GetSoftwareSourceModuleStreamProfileArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: oci:OsManagement/getSoftwareSourceModuleStreamProfile:getSoftwareSourceModuleStreamProfile
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Module
Name string - The name of the module
 - Profile
Name string - The name of the profile of the containing module stream
 - Software
Source stringId  - The OCID of the software source.
 - Stream
Name string - The name of the stream of the containing module
 
- Module
Name string - The name of the module
 - Profile
Name string - The name of the profile of the containing module stream
 - Software
Source stringId  - The OCID of the software source.
 - Stream
Name string - The name of the stream of the containing module
 
- module
Name String - The name of the module
 - profile
Name String - The name of the profile of the containing module stream
 - software
Source StringId  - The OCID of the software source.
 - stream
Name String - The name of the stream of the containing module
 
- module
Name string - The name of the module
 - profile
Name string - The name of the profile of the containing module stream
 - software
Source stringId  - The OCID of the software source.
 - stream
Name string - The name of the stream of the containing module
 
- module_
name str - The name of the module
 - profile_
name str - The name of the profile of the containing module stream
 - software_
source_ strid  - The OCID of the software source.
 - stream_
name str - The name of the stream of the containing module
 
- module
Name String - The name of the module
 - profile
Name String - The name of the profile of the containing module stream
 - software
Source StringId  - The OCID of the software source.
 - stream
Name String - The name of the stream of the containing module
 
getSoftwareSourceModuleStreamProfile Result
The following output properties are available:
- Description string
 - A description of the contents of the module stream profile
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Is
Default bool - Indicates if this profile is the default for its module stream.
 - Module
Name string - The name of the module that contains the stream profile
 - Packages List<string>
 - A list of packages that constitute the profile. Each element in the list is the name of a package. The name is suitable to use as an argument to other OS Management APIs that interact directly with packages.
 - Profile
Name string - The name of the profile
 - Software
Source stringId  - Stream
Name string - The name of the stream that contains the profile
 
- Description string
 - A description of the contents of the module stream profile
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Is
Default bool - Indicates if this profile is the default for its module stream.
 - Module
Name string - The name of the module that contains the stream profile
 - Packages []string
 - A list of packages that constitute the profile. Each element in the list is the name of a package. The name is suitable to use as an argument to other OS Management APIs that interact directly with packages.
 - Profile
Name string - The name of the profile
 - Software
Source stringId  - Stream
Name string - The name of the stream that contains the profile
 
- description String
 - A description of the contents of the module stream profile
 - id String
 - The provider-assigned unique ID for this managed resource.
 - is
Default Boolean - Indicates if this profile is the default for its module stream.
 - module
Name String - The name of the module that contains the stream profile
 - packages List<String>
 - A list of packages that constitute the profile. Each element in the list is the name of a package. The name is suitable to use as an argument to other OS Management APIs that interact directly with packages.
 - profile
Name String - The name of the profile
 - software
Source StringId  - stream
Name String - The name of the stream that contains the profile
 
- description string
 - A description of the contents of the module stream profile
 - id string
 - The provider-assigned unique ID for this managed resource.
 - is
Default boolean - Indicates if this profile is the default for its module stream.
 - module
Name string - The name of the module that contains the stream profile
 - packages string[]
 - A list of packages that constitute the profile. Each element in the list is the name of a package. The name is suitable to use as an argument to other OS Management APIs that interact directly with packages.
 - profile
Name string - The name of the profile
 - software
Source stringId  - stream
Name string - The name of the stream that contains the profile
 
- description str
 - A description of the contents of the module stream profile
 - id str
 - The provider-assigned unique ID for this managed resource.
 - is_
default bool - Indicates if this profile is the default for its module stream.
 - module_
name str - The name of the module that contains the stream profile
 - packages Sequence[str]
 - A list of packages that constitute the profile. Each element in the list is the name of a package. The name is suitable to use as an argument to other OS Management APIs that interact directly with packages.
 - profile_
name str - The name of the profile
 - software_
source_ strid  - stream_
name str - The name of the stream that contains the profile
 
- description String
 - A description of the contents of the module stream profile
 - id String
 - The provider-assigned unique ID for this managed resource.
 - is
Default Boolean - Indicates if this profile is the default for its module stream.
 - module
Name String - The name of the module that contains the stream profile
 - packages List<String>
 - A list of packages that constitute the profile. Each element in the list is the name of a package. The name is suitable to use as an argument to other OS Management APIs that interact directly with packages.
 - profile
Name String - The name of the profile
 - software
Source StringId  - stream
Name String - The name of the stream that contains the profile
 
Package Details
- Repository
 - oci pulumi/pulumi-oci
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
ociTerraform Provider. 
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi