oci.OsManagementHub.ManagedInstanceGroupManageModuleStreamsManagement
Explore with Pulumi AI
This resource provides the Managed Instance Group Manage Module Streams Management resource in Oracle Cloud Infrastructure Os Management Hub service.
Enables or disables module streams and installs or removes module stream profiles. Once complete, the state of the modules, streams, and profiles will match the state indicated in the operation. See ManageModuleStreamsOnManagedInstanceGroupDetails for more information. You can preform this operation as a dry run. For a dry run, the service evaluates the operation against the current module, stream, and profile state on the managed instance, but does not commit the changes. Instead, the service returns work request log or error entries indicating the impact of the operation.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testManagedInstanceGroupManageModuleStreamsManagement = new oci.osmanagementhub.ManagedInstanceGroupManageModuleStreamsManagement("test_managed_instance_group_manage_module_streams_management", {
    managedInstanceGroupId: testManagedInstanceGroup.id,
    disables: [{
        moduleName: managedInstanceGroupManageModuleStreamsManagementDisableModuleName,
        streamName: testStream.name,
        softwareSourceId: testSoftwareSource.id,
    }],
    enables: [{
        moduleName: managedInstanceGroupManageModuleStreamsManagementEnableModuleName,
        streamName: testStream.name,
        softwareSourceId: testSoftwareSource.id,
    }],
    installs: [{
        moduleName: managedInstanceGroupManageModuleStreamsManagementInstallModuleName,
        profileName: testProfile.name,
        streamName: testStream.name,
        softwareSourceId: testSoftwareSource.id,
    }],
    isDryRun: managedInstanceGroupManageModuleStreamsManagementIsDryRun,
    removes: [{
        moduleName: managedInstanceGroupManageModuleStreamsManagementRemoveModuleName,
        profileName: testProfile.name,
        streamName: testStream.name,
        softwareSourceId: testSoftwareSource.id,
    }],
    workRequestDetails: {
        description: managedInstanceGroupManageModuleStreamsManagementWorkRequestDetailsDescription,
        displayName: managedInstanceGroupManageModuleStreamsManagementWorkRequestDetailsDisplayName,
    },
});
import pulumi
import pulumi_oci as oci
test_managed_instance_group_manage_module_streams_management = oci.os_management_hub.ManagedInstanceGroupManageModuleStreamsManagement("test_managed_instance_group_manage_module_streams_management",
    managed_instance_group_id=test_managed_instance_group["id"],
    disables=[{
        "module_name": managed_instance_group_manage_module_streams_management_disable_module_name,
        "stream_name": test_stream["name"],
        "software_source_id": test_software_source["id"],
    }],
    enables=[{
        "module_name": managed_instance_group_manage_module_streams_management_enable_module_name,
        "stream_name": test_stream["name"],
        "software_source_id": test_software_source["id"],
    }],
    installs=[{
        "module_name": managed_instance_group_manage_module_streams_management_install_module_name,
        "profile_name": test_profile["name"],
        "stream_name": test_stream["name"],
        "software_source_id": test_software_source["id"],
    }],
    is_dry_run=managed_instance_group_manage_module_streams_management_is_dry_run,
    removes=[{
        "module_name": managed_instance_group_manage_module_streams_management_remove_module_name,
        "profile_name": test_profile["name"],
        "stream_name": test_stream["name"],
        "software_source_id": test_software_source["id"],
    }],
    work_request_details={
        "description": managed_instance_group_manage_module_streams_management_work_request_details_description,
        "display_name": managed_instance_group_manage_module_streams_management_work_request_details_display_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.NewManagedInstanceGroupManageModuleStreamsManagement(ctx, "test_managed_instance_group_manage_module_streams_management", &osmanagementhub.ManagedInstanceGroupManageModuleStreamsManagementArgs{
			ManagedInstanceGroupId: pulumi.Any(testManagedInstanceGroup.Id),
			Disables: osmanagementhub.ManagedInstanceGroupManageModuleStreamsManagementDisableArray{
				&osmanagementhub.ManagedInstanceGroupManageModuleStreamsManagementDisableArgs{
					ModuleName:       pulumi.Any(managedInstanceGroupManageModuleStreamsManagementDisableModuleName),
					StreamName:       pulumi.Any(testStream.Name),
					SoftwareSourceId: pulumi.Any(testSoftwareSource.Id),
				},
			},
			Enables: osmanagementhub.ManagedInstanceGroupManageModuleStreamsManagementEnableArray{
				&osmanagementhub.ManagedInstanceGroupManageModuleStreamsManagementEnableArgs{
					ModuleName:       pulumi.Any(managedInstanceGroupManageModuleStreamsManagementEnableModuleName),
					StreamName:       pulumi.Any(testStream.Name),
					SoftwareSourceId: pulumi.Any(testSoftwareSource.Id),
				},
			},
			Installs: osmanagementhub.ManagedInstanceGroupManageModuleStreamsManagementInstallArray{
				&osmanagementhub.ManagedInstanceGroupManageModuleStreamsManagementInstallArgs{
					ModuleName:       pulumi.Any(managedInstanceGroupManageModuleStreamsManagementInstallModuleName),
					ProfileName:      pulumi.Any(testProfile.Name),
					StreamName:       pulumi.Any(testStream.Name),
					SoftwareSourceId: pulumi.Any(testSoftwareSource.Id),
				},
			},
			IsDryRun: pulumi.Any(managedInstanceGroupManageModuleStreamsManagementIsDryRun),
			Removes: osmanagementhub.ManagedInstanceGroupManageModuleStreamsManagementRemoveArray{
				&osmanagementhub.ManagedInstanceGroupManageModuleStreamsManagementRemoveArgs{
					ModuleName:       pulumi.Any(managedInstanceGroupManageModuleStreamsManagementRemoveModuleName),
					ProfileName:      pulumi.Any(testProfile.Name),
					StreamName:       pulumi.Any(testStream.Name),
					SoftwareSourceId: pulumi.Any(testSoftwareSource.Id),
				},
			},
			WorkRequestDetails: &osmanagementhub.ManagedInstanceGroupManageModuleStreamsManagementWorkRequestDetailsArgs{
				Description: pulumi.Any(managedInstanceGroupManageModuleStreamsManagementWorkRequestDetailsDescription),
				DisplayName: pulumi.Any(managedInstanceGroupManageModuleStreamsManagementWorkRequestDetailsDisplayName),
			},
		})
		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 testManagedInstanceGroupManageModuleStreamsManagement = new Oci.OsManagementHub.ManagedInstanceGroupManageModuleStreamsManagement("test_managed_instance_group_manage_module_streams_management", new()
    {
        ManagedInstanceGroupId = testManagedInstanceGroup.Id,
        Disables = new[]
        {
            new Oci.OsManagementHub.Inputs.ManagedInstanceGroupManageModuleStreamsManagementDisableArgs
            {
                ModuleName = managedInstanceGroupManageModuleStreamsManagementDisableModuleName,
                StreamName = testStream.Name,
                SoftwareSourceId = testSoftwareSource.Id,
            },
        },
        Enables = new[]
        {
            new Oci.OsManagementHub.Inputs.ManagedInstanceGroupManageModuleStreamsManagementEnableArgs
            {
                ModuleName = managedInstanceGroupManageModuleStreamsManagementEnableModuleName,
                StreamName = testStream.Name,
                SoftwareSourceId = testSoftwareSource.Id,
            },
        },
        Installs = new[]
        {
            new Oci.OsManagementHub.Inputs.ManagedInstanceGroupManageModuleStreamsManagementInstallArgs
            {
                ModuleName = managedInstanceGroupManageModuleStreamsManagementInstallModuleName,
                ProfileName = testProfile.Name,
                StreamName = testStream.Name,
                SoftwareSourceId = testSoftwareSource.Id,
            },
        },
        IsDryRun = managedInstanceGroupManageModuleStreamsManagementIsDryRun,
        Removes = new[]
        {
            new Oci.OsManagementHub.Inputs.ManagedInstanceGroupManageModuleStreamsManagementRemoveArgs
            {
                ModuleName = managedInstanceGroupManageModuleStreamsManagementRemoveModuleName,
                ProfileName = testProfile.Name,
                StreamName = testStream.Name,
                SoftwareSourceId = testSoftwareSource.Id,
            },
        },
        WorkRequestDetails = new Oci.OsManagementHub.Inputs.ManagedInstanceGroupManageModuleStreamsManagementWorkRequestDetailsArgs
        {
            Description = managedInstanceGroupManageModuleStreamsManagementWorkRequestDetailsDescription,
            DisplayName = managedInstanceGroupManageModuleStreamsManagementWorkRequestDetailsDisplayName,
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.OsManagementHub.ManagedInstanceGroupManageModuleStreamsManagement;
import com.pulumi.oci.OsManagementHub.ManagedInstanceGroupManageModuleStreamsManagementArgs;
import com.pulumi.oci.OsManagementHub.inputs.ManagedInstanceGroupManageModuleStreamsManagementDisableArgs;
import com.pulumi.oci.OsManagementHub.inputs.ManagedInstanceGroupManageModuleStreamsManagementEnableArgs;
import com.pulumi.oci.OsManagementHub.inputs.ManagedInstanceGroupManageModuleStreamsManagementInstallArgs;
import com.pulumi.oci.OsManagementHub.inputs.ManagedInstanceGroupManageModuleStreamsManagementRemoveArgs;
import com.pulumi.oci.OsManagementHub.inputs.ManagedInstanceGroupManageModuleStreamsManagementWorkRequestDetailsArgs;
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) {
        var testManagedInstanceGroupManageModuleStreamsManagement = new ManagedInstanceGroupManageModuleStreamsManagement("testManagedInstanceGroupManageModuleStreamsManagement", ManagedInstanceGroupManageModuleStreamsManagementArgs.builder()
            .managedInstanceGroupId(testManagedInstanceGroup.id())
            .disables(ManagedInstanceGroupManageModuleStreamsManagementDisableArgs.builder()
                .moduleName(managedInstanceGroupManageModuleStreamsManagementDisableModuleName)
                .streamName(testStream.name())
                .softwareSourceId(testSoftwareSource.id())
                .build())
            .enables(ManagedInstanceGroupManageModuleStreamsManagementEnableArgs.builder()
                .moduleName(managedInstanceGroupManageModuleStreamsManagementEnableModuleName)
                .streamName(testStream.name())
                .softwareSourceId(testSoftwareSource.id())
                .build())
            .installs(ManagedInstanceGroupManageModuleStreamsManagementInstallArgs.builder()
                .moduleName(managedInstanceGroupManageModuleStreamsManagementInstallModuleName)
                .profileName(testProfile.name())
                .streamName(testStream.name())
                .softwareSourceId(testSoftwareSource.id())
                .build())
            .isDryRun(managedInstanceGroupManageModuleStreamsManagementIsDryRun)
            .removes(ManagedInstanceGroupManageModuleStreamsManagementRemoveArgs.builder()
                .moduleName(managedInstanceGroupManageModuleStreamsManagementRemoveModuleName)
                .profileName(testProfile.name())
                .streamName(testStream.name())
                .softwareSourceId(testSoftwareSource.id())
                .build())
            .workRequestDetails(ManagedInstanceGroupManageModuleStreamsManagementWorkRequestDetailsArgs.builder()
                .description(managedInstanceGroupManageModuleStreamsManagementWorkRequestDetailsDescription)
                .displayName(managedInstanceGroupManageModuleStreamsManagementWorkRequestDetailsDisplayName)
                .build())
            .build());
    }
}
resources:
  testManagedInstanceGroupManageModuleStreamsManagement:
    type: oci:OsManagementHub:ManagedInstanceGroupManageModuleStreamsManagement
    name: test_managed_instance_group_manage_module_streams_management
    properties:
      managedInstanceGroupId: ${testManagedInstanceGroup.id}
      disables:
        - moduleName: ${managedInstanceGroupManageModuleStreamsManagementDisableModuleName}
          streamName: ${testStream.name}
          softwareSourceId: ${testSoftwareSource.id}
      enables:
        - moduleName: ${managedInstanceGroupManageModuleStreamsManagementEnableModuleName}
          streamName: ${testStream.name}
          softwareSourceId: ${testSoftwareSource.id}
      installs:
        - moduleName: ${managedInstanceGroupManageModuleStreamsManagementInstallModuleName}
          profileName: ${testProfile.name}
          streamName: ${testStream.name}
          softwareSourceId: ${testSoftwareSource.id}
      isDryRun: ${managedInstanceGroupManageModuleStreamsManagementIsDryRun}
      removes:
        - moduleName: ${managedInstanceGroupManageModuleStreamsManagementRemoveModuleName}
          profileName: ${testProfile.name}
          streamName: ${testStream.name}
          softwareSourceId: ${testSoftwareSource.id}
      workRequestDetails:
        description: ${managedInstanceGroupManageModuleStreamsManagementWorkRequestDetailsDescription}
        displayName: ${managedInstanceGroupManageModuleStreamsManagementWorkRequestDetailsDisplayName}
Create ManagedInstanceGroupManageModuleStreamsManagement Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagedInstanceGroupManageModuleStreamsManagement(name: string, args: ManagedInstanceGroupManageModuleStreamsManagementArgs, opts?: CustomResourceOptions);@overload
def ManagedInstanceGroupManageModuleStreamsManagement(resource_name: str,
                                                      args: ManagedInstanceGroupManageModuleStreamsManagementArgs,
                                                      opts: Optional[ResourceOptions] = None)
@overload
def ManagedInstanceGroupManageModuleStreamsManagement(resource_name: str,
                                                      opts: Optional[ResourceOptions] = None,
                                                      managed_instance_group_id: Optional[str] = None,
                                                      disables: Optional[Sequence[_osmanagementhub.ManagedInstanceGroupManageModuleStreamsManagementDisableArgs]] = None,
                                                      enables: Optional[Sequence[_osmanagementhub.ManagedInstanceGroupManageModuleStreamsManagementEnableArgs]] = None,
                                                      installs: Optional[Sequence[_osmanagementhub.ManagedInstanceGroupManageModuleStreamsManagementInstallArgs]] = None,
                                                      is_dry_run: Optional[bool] = None,
                                                      removes: Optional[Sequence[_osmanagementhub.ManagedInstanceGroupManageModuleStreamsManagementRemoveArgs]] = None,
                                                      work_request_details: Optional[_osmanagementhub.ManagedInstanceGroupManageModuleStreamsManagementWorkRequestDetailsArgs] = None)func NewManagedInstanceGroupManageModuleStreamsManagement(ctx *Context, name string, args ManagedInstanceGroupManageModuleStreamsManagementArgs, opts ...ResourceOption) (*ManagedInstanceGroupManageModuleStreamsManagement, error)public ManagedInstanceGroupManageModuleStreamsManagement(string name, ManagedInstanceGroupManageModuleStreamsManagementArgs args, CustomResourceOptions? opts = null)
public ManagedInstanceGroupManageModuleStreamsManagement(String name, ManagedInstanceGroupManageModuleStreamsManagementArgs args)
public ManagedInstanceGroupManageModuleStreamsManagement(String name, ManagedInstanceGroupManageModuleStreamsManagementArgs args, CustomResourceOptions options)
type: oci:OsManagementHub:ManagedInstanceGroupManageModuleStreamsManagement
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 ManagedInstanceGroupManageModuleStreamsManagementArgs
- 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 ManagedInstanceGroupManageModuleStreamsManagementArgs
- 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 ManagedInstanceGroupManageModuleStreamsManagementArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagedInstanceGroupManageModuleStreamsManagementArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagedInstanceGroupManageModuleStreamsManagementArgs
- 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 managedInstanceGroupManageModuleStreamsManagementResource = new Oci.OsManagementHub.ManagedInstanceGroupManageModuleStreamsManagement("managedInstanceGroupManageModuleStreamsManagementResource", new()
{
    ManagedInstanceGroupId = "string",
    Disables = new[]
    {
        new Oci.OsManagementHub.Inputs.ManagedInstanceGroupManageModuleStreamsManagementDisableArgs
        {
            ModuleName = "string",
            StreamName = "string",
            SoftwareSourceId = "string",
        },
    },
    Enables = new[]
    {
        new Oci.OsManagementHub.Inputs.ManagedInstanceGroupManageModuleStreamsManagementEnableArgs
        {
            ModuleName = "string",
            StreamName = "string",
            SoftwareSourceId = "string",
        },
    },
    Installs = new[]
    {
        new Oci.OsManagementHub.Inputs.ManagedInstanceGroupManageModuleStreamsManagementInstallArgs
        {
            ModuleName = "string",
            ProfileName = "string",
            StreamName = "string",
            SoftwareSourceId = "string",
        },
    },
    IsDryRun = false,
    Removes = new[]
    {
        new Oci.OsManagementHub.Inputs.ManagedInstanceGroupManageModuleStreamsManagementRemoveArgs
        {
            ModuleName = "string",
            ProfileName = "string",
            StreamName = "string",
            SoftwareSourceId = "string",
        },
    },
    WorkRequestDetails = new Oci.OsManagementHub.Inputs.ManagedInstanceGroupManageModuleStreamsManagementWorkRequestDetailsArgs
    {
        Description = "string",
        DisplayName = "string",
    },
});
example, err := OsManagementHub.NewManagedInstanceGroupManageModuleStreamsManagement(ctx, "managedInstanceGroupManageModuleStreamsManagementResource", &OsManagementHub.ManagedInstanceGroupManageModuleStreamsManagementArgs{
	ManagedInstanceGroupId: pulumi.String("string"),
	Disables: osmanagementhub.ManagedInstanceGroupManageModuleStreamsManagementDisableArray{
		&osmanagementhub.ManagedInstanceGroupManageModuleStreamsManagementDisableArgs{
			ModuleName:       pulumi.String("string"),
			StreamName:       pulumi.String("string"),
			SoftwareSourceId: pulumi.String("string"),
		},
	},
	Enables: osmanagementhub.ManagedInstanceGroupManageModuleStreamsManagementEnableArray{
		&osmanagementhub.ManagedInstanceGroupManageModuleStreamsManagementEnableArgs{
			ModuleName:       pulumi.String("string"),
			StreamName:       pulumi.String("string"),
			SoftwareSourceId: pulumi.String("string"),
		},
	},
	Installs: osmanagementhub.ManagedInstanceGroupManageModuleStreamsManagementInstallArray{
		&osmanagementhub.ManagedInstanceGroupManageModuleStreamsManagementInstallArgs{
			ModuleName:       pulumi.String("string"),
			ProfileName:      pulumi.String("string"),
			StreamName:       pulumi.String("string"),
			SoftwareSourceId: pulumi.String("string"),
		},
	},
	IsDryRun: pulumi.Bool(false),
	Removes: osmanagementhub.ManagedInstanceGroupManageModuleStreamsManagementRemoveArray{
		&osmanagementhub.ManagedInstanceGroupManageModuleStreamsManagementRemoveArgs{
			ModuleName:       pulumi.String("string"),
			ProfileName:      pulumi.String("string"),
			StreamName:       pulumi.String("string"),
			SoftwareSourceId: pulumi.String("string"),
		},
	},
	WorkRequestDetails: &osmanagementhub.ManagedInstanceGroupManageModuleStreamsManagementWorkRequestDetailsArgs{
		Description: pulumi.String("string"),
		DisplayName: pulumi.String("string"),
	},
})
var managedInstanceGroupManageModuleStreamsManagementResource = new ManagedInstanceGroupManageModuleStreamsManagement("managedInstanceGroupManageModuleStreamsManagementResource", ManagedInstanceGroupManageModuleStreamsManagementArgs.builder()
    .managedInstanceGroupId("string")
    .disables(ManagedInstanceGroupManageModuleStreamsManagementDisableArgs.builder()
        .moduleName("string")
        .streamName("string")
        .softwareSourceId("string")
        .build())
    .enables(ManagedInstanceGroupManageModuleStreamsManagementEnableArgs.builder()
        .moduleName("string")
        .streamName("string")
        .softwareSourceId("string")
        .build())
    .installs(ManagedInstanceGroupManageModuleStreamsManagementInstallArgs.builder()
        .moduleName("string")
        .profileName("string")
        .streamName("string")
        .softwareSourceId("string")
        .build())
    .isDryRun(false)
    .removes(ManagedInstanceGroupManageModuleStreamsManagementRemoveArgs.builder()
        .moduleName("string")
        .profileName("string")
        .streamName("string")
        .softwareSourceId("string")
        .build())
    .workRequestDetails(ManagedInstanceGroupManageModuleStreamsManagementWorkRequestDetailsArgs.builder()
        .description("string")
        .displayName("string")
        .build())
    .build());
managed_instance_group_manage_module_streams_management_resource = oci.os_management_hub.ManagedInstanceGroupManageModuleStreamsManagement("managedInstanceGroupManageModuleStreamsManagementResource",
    managed_instance_group_id="string",
    disables=[{
        "module_name": "string",
        "stream_name": "string",
        "software_source_id": "string",
    }],
    enables=[{
        "module_name": "string",
        "stream_name": "string",
        "software_source_id": "string",
    }],
    installs=[{
        "module_name": "string",
        "profile_name": "string",
        "stream_name": "string",
        "software_source_id": "string",
    }],
    is_dry_run=False,
    removes=[{
        "module_name": "string",
        "profile_name": "string",
        "stream_name": "string",
        "software_source_id": "string",
    }],
    work_request_details={
        "description": "string",
        "display_name": "string",
    })
const managedInstanceGroupManageModuleStreamsManagementResource = new oci.osmanagementhub.ManagedInstanceGroupManageModuleStreamsManagement("managedInstanceGroupManageModuleStreamsManagementResource", {
    managedInstanceGroupId: "string",
    disables: [{
        moduleName: "string",
        streamName: "string",
        softwareSourceId: "string",
    }],
    enables: [{
        moduleName: "string",
        streamName: "string",
        softwareSourceId: "string",
    }],
    installs: [{
        moduleName: "string",
        profileName: "string",
        streamName: "string",
        softwareSourceId: "string",
    }],
    isDryRun: false,
    removes: [{
        moduleName: "string",
        profileName: "string",
        streamName: "string",
        softwareSourceId: "string",
    }],
    workRequestDetails: {
        description: "string",
        displayName: "string",
    },
});
type: oci:OsManagementHub:ManagedInstanceGroupManageModuleStreamsManagement
properties:
    disables:
        - moduleName: string
          softwareSourceId: string
          streamName: string
    enables:
        - moduleName: string
          softwareSourceId: string
          streamName: string
    installs:
        - moduleName: string
          profileName: string
          softwareSourceId: string
          streamName: string
    isDryRun: false
    managedInstanceGroupId: string
    removes:
        - moduleName: string
          profileName: string
          softwareSourceId: string
          streamName: string
    workRequestDetails:
        description: string
        displayName: string
ManagedInstanceGroupManageModuleStreamsManagement Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ManagedInstanceGroupManageModuleStreamsManagement resource accepts the following input properties:
- ManagedInstance stringGroup Id 
- The OCID of the managed instance group.
- Disables
List<ManagedInstance Group Manage Module Streams Management Disable> 
- The set of module streams to disable.
- Enables
List<ManagedInstance Group Manage Module Streams Management Enable> 
- The set of module streams to enable.
- Installs
List<ManagedInstance Group Manage Module Streams Management Install> 
- The set of module stream profiles to install.
- IsDry boolRun 
- Indicates if this operation is a dry run or if the operation should be committed. If set to true, the result of the operation will be evaluated but not committed. If set to false, the operation is committed to the managed instance(s). The default is false.
- Removes
List<ManagedInstance Group Manage Module Streams Management Remove> 
- The set of module stream profiles to remove.
- WorkRequest ManagedDetails Instance Group Manage Module Streams Management Work Request Details 
- Provides the name and description of the job.
- ManagedInstance stringGroup Id 
- The OCID of the managed instance group.
- Disables
[]ManagedInstance Group Manage Module Streams Management Disable Args 
- The set of module streams to disable.
- Enables
[]ManagedInstance Group Manage Module Streams Management Enable Args 
- The set of module streams to enable.
- Installs
[]ManagedInstance Group Manage Module Streams Management Install Args 
- The set of module stream profiles to install.
- IsDry boolRun 
- Indicates if this operation is a dry run or if the operation should be committed. If set to true, the result of the operation will be evaluated but not committed. If set to false, the operation is committed to the managed instance(s). The default is false.
- Removes
[]ManagedInstance Group Manage Module Streams Management Remove Args 
- The set of module stream profiles to remove.
- WorkRequest ManagedDetails Instance Group Manage Module Streams Management Work Request Details Args 
- Provides the name and description of the job.
- managedInstance StringGroup Id 
- The OCID of the managed instance group.
- disables
List<ManagedInstance Group Manage Module Streams Management Disable> 
- The set of module streams to disable.
- enables
List<ManagedInstance Group Manage Module Streams Management Enable> 
- The set of module streams to enable.
- installs
List<ManagedInstance Group Manage Module Streams Management Install> 
- The set of module stream profiles to install.
- isDry BooleanRun 
- Indicates if this operation is a dry run or if the operation should be committed. If set to true, the result of the operation will be evaluated but not committed. If set to false, the operation is committed to the managed instance(s). The default is false.
- removes
List<ManagedInstance Group Manage Module Streams Management Remove> 
- The set of module stream profiles to remove.
- workRequest ManagedDetails Instance Group Manage Module Streams Management Work Request Details 
- Provides the name and description of the job.
- managedInstance stringGroup Id 
- The OCID of the managed instance group.
- disables
ManagedInstance Group Manage Module Streams Management Disable[] 
- The set of module streams to disable.
- enables
ManagedInstance Group Manage Module Streams Management Enable[] 
- The set of module streams to enable.
- installs
ManagedInstance Group Manage Module Streams Management Install[] 
- The set of module stream profiles to install.
- isDry booleanRun 
- Indicates if this operation is a dry run or if the operation should be committed. If set to true, the result of the operation will be evaluated but not committed. If set to false, the operation is committed to the managed instance(s). The default is false.
- removes
ManagedInstance Group Manage Module Streams Management Remove[] 
- The set of module stream profiles to remove.
- workRequest ManagedDetails Instance Group Manage Module Streams Management Work Request Details 
- Provides the name and description of the job.
- managed_instance_ strgroup_ id 
- The OCID of the managed instance group.
- disables
Sequence[osmanagementhub.Managed Instance Group Manage Module Streams Management Disable Args] 
- The set of module streams to disable.
- enables
Sequence[osmanagementhub.Managed Instance Group Manage Module Streams Management Enable Args] 
- The set of module streams to enable.
- installs
Sequence[osmanagementhub.Managed Instance Group Manage Module Streams Management Install Args] 
- The set of module stream profiles to install.
- is_dry_ boolrun 
- Indicates if this operation is a dry run or if the operation should be committed. If set to true, the result of the operation will be evaluated but not committed. If set to false, the operation is committed to the managed instance(s). The default is false.
- removes
Sequence[osmanagementhub.Managed Instance Group Manage Module Streams Management Remove Args] 
- The set of module stream profiles to remove.
- work_request_ osmanagementhub.details Managed Instance Group Manage Module Streams Management Work Request Details Args 
- Provides the name and description of the job.
- managedInstance StringGroup Id 
- The OCID of the managed instance group.
- disables List<Property Map>
- The set of module streams to disable.
- enables List<Property Map>
- The set of module streams to enable.
- installs List<Property Map>
- The set of module stream profiles to install.
- isDry BooleanRun 
- Indicates if this operation is a dry run or if the operation should be committed. If set to true, the result of the operation will be evaluated but not committed. If set to false, the operation is committed to the managed instance(s). The default is false.
- removes List<Property Map>
- The set of module stream profiles to remove.
- workRequest Property MapDetails 
- Provides the name and description of the job.
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagedInstanceGroupManageModuleStreamsManagement resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ManagedInstanceGroupManageModuleStreamsManagement Resource
Get an existing ManagedInstanceGroupManageModuleStreamsManagement 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?: ManagedInstanceGroupManageModuleStreamsManagementState, opts?: CustomResourceOptions): ManagedInstanceGroupManageModuleStreamsManagement@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        disables: Optional[Sequence[_osmanagementhub.ManagedInstanceGroupManageModuleStreamsManagementDisableArgs]] = None,
        enables: Optional[Sequence[_osmanagementhub.ManagedInstanceGroupManageModuleStreamsManagementEnableArgs]] = None,
        installs: Optional[Sequence[_osmanagementhub.ManagedInstanceGroupManageModuleStreamsManagementInstallArgs]] = None,
        is_dry_run: Optional[bool] = None,
        managed_instance_group_id: Optional[str] = None,
        removes: Optional[Sequence[_osmanagementhub.ManagedInstanceGroupManageModuleStreamsManagementRemoveArgs]] = None,
        work_request_details: Optional[_osmanagementhub.ManagedInstanceGroupManageModuleStreamsManagementWorkRequestDetailsArgs] = None) -> ManagedInstanceGroupManageModuleStreamsManagementfunc GetManagedInstanceGroupManageModuleStreamsManagement(ctx *Context, name string, id IDInput, state *ManagedInstanceGroupManageModuleStreamsManagementState, opts ...ResourceOption) (*ManagedInstanceGroupManageModuleStreamsManagement, error)public static ManagedInstanceGroupManageModuleStreamsManagement Get(string name, Input<string> id, ManagedInstanceGroupManageModuleStreamsManagementState? state, CustomResourceOptions? opts = null)public static ManagedInstanceGroupManageModuleStreamsManagement get(String name, Output<String> id, ManagedInstanceGroupManageModuleStreamsManagementState state, CustomResourceOptions options)resources:  _:    type: oci:OsManagementHub:ManagedInstanceGroupManageModuleStreamsManagement    get:      id: ${id}- 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.
- Disables
List<ManagedInstance Group Manage Module Streams Management Disable> 
- The set of module streams to disable.
- Enables
List<ManagedInstance Group Manage Module Streams Management Enable> 
- The set of module streams to enable.
- Installs
List<ManagedInstance Group Manage Module Streams Management Install> 
- The set of module stream profiles to install.
- IsDry boolRun 
- Indicates if this operation is a dry run or if the operation should be committed. If set to true, the result of the operation will be evaluated but not committed. If set to false, the operation is committed to the managed instance(s). The default is false.
- ManagedInstance stringGroup Id 
- The OCID of the managed instance group.
- Removes
List<ManagedInstance Group Manage Module Streams Management Remove> 
- The set of module stream profiles to remove.
- WorkRequest ManagedDetails Instance Group Manage Module Streams Management Work Request Details 
- Provides the name and description of the job.
- Disables
[]ManagedInstance Group Manage Module Streams Management Disable Args 
- The set of module streams to disable.
- Enables
[]ManagedInstance Group Manage Module Streams Management Enable Args 
- The set of module streams to enable.
- Installs
[]ManagedInstance Group Manage Module Streams Management Install Args 
- The set of module stream profiles to install.
- IsDry boolRun 
- Indicates if this operation is a dry run or if the operation should be committed. If set to true, the result of the operation will be evaluated but not committed. If set to false, the operation is committed to the managed instance(s). The default is false.
- ManagedInstance stringGroup Id 
- The OCID of the managed instance group.
- Removes
[]ManagedInstance Group Manage Module Streams Management Remove Args 
- The set of module stream profiles to remove.
- WorkRequest ManagedDetails Instance Group Manage Module Streams Management Work Request Details Args 
- Provides the name and description of the job.
- disables
List<ManagedInstance Group Manage Module Streams Management Disable> 
- The set of module streams to disable.
- enables
List<ManagedInstance Group Manage Module Streams Management Enable> 
- The set of module streams to enable.
- installs
List<ManagedInstance Group Manage Module Streams Management Install> 
- The set of module stream profiles to install.
- isDry BooleanRun 
- Indicates if this operation is a dry run or if the operation should be committed. If set to true, the result of the operation will be evaluated but not committed. If set to false, the operation is committed to the managed instance(s). The default is false.
- managedInstance StringGroup Id 
- The OCID of the managed instance group.
- removes
List<ManagedInstance Group Manage Module Streams Management Remove> 
- The set of module stream profiles to remove.
- workRequest ManagedDetails Instance Group Manage Module Streams Management Work Request Details 
- Provides the name and description of the job.
- disables
ManagedInstance Group Manage Module Streams Management Disable[] 
- The set of module streams to disable.
- enables
ManagedInstance Group Manage Module Streams Management Enable[] 
- The set of module streams to enable.
- installs
ManagedInstance Group Manage Module Streams Management Install[] 
- The set of module stream profiles to install.
- isDry booleanRun 
- Indicates if this operation is a dry run or if the operation should be committed. If set to true, the result of the operation will be evaluated but not committed. If set to false, the operation is committed to the managed instance(s). The default is false.
- managedInstance stringGroup Id 
- The OCID of the managed instance group.
- removes
ManagedInstance Group Manage Module Streams Management Remove[] 
- The set of module stream profiles to remove.
- workRequest ManagedDetails Instance Group Manage Module Streams Management Work Request Details 
- Provides the name and description of the job.
- disables
Sequence[osmanagementhub.Managed Instance Group Manage Module Streams Management Disable Args] 
- The set of module streams to disable.
- enables
Sequence[osmanagementhub.Managed Instance Group Manage Module Streams Management Enable Args] 
- The set of module streams to enable.
- installs
Sequence[osmanagementhub.Managed Instance Group Manage Module Streams Management Install Args] 
- The set of module stream profiles to install.
- is_dry_ boolrun 
- Indicates if this operation is a dry run or if the operation should be committed. If set to true, the result of the operation will be evaluated but not committed. If set to false, the operation is committed to the managed instance(s). The default is false.
- managed_instance_ strgroup_ id 
- The OCID of the managed instance group.
- removes
Sequence[osmanagementhub.Managed Instance Group Manage Module Streams Management Remove Args] 
- The set of module stream profiles to remove.
- work_request_ osmanagementhub.details Managed Instance Group Manage Module Streams Management Work Request Details Args 
- Provides the name and description of the job.
- disables List<Property Map>
- The set of module streams to disable.
- enables List<Property Map>
- The set of module streams to enable.
- installs List<Property Map>
- The set of module stream profiles to install.
- isDry BooleanRun 
- Indicates if this operation is a dry run or if the operation should be committed. If set to true, the result of the operation will be evaluated but not committed. If set to false, the operation is committed to the managed instance(s). The default is false.
- managedInstance StringGroup Id 
- The OCID of the managed instance group.
- removes List<Property Map>
- The set of module stream profiles to remove.
- workRequest Property MapDetails 
- Provides the name and description of the job.
Supporting Types
ManagedInstanceGroupManageModuleStreamsManagementDisable, ManagedInstanceGroupManageModuleStreamsManagementDisableArgs                
- ModuleName string
- The name of a module.
- StreamName string
- The name of a stream of the specified module.
- SoftwareSource stringId 
- The OCID of the software source that contains the module stream.
- ModuleName string
- The name of a module.
- StreamName string
- The name of a stream of the specified module.
- SoftwareSource stringId 
- The OCID of the software source that contains the module stream.
- moduleName String
- The name of a module.
- streamName String
- The name of a stream of the specified module.
- softwareSource StringId 
- The OCID of the software source that contains the module stream.
- moduleName string
- The name of a module.
- streamName string
- The name of a stream of the specified module.
- softwareSource stringId 
- The OCID of the software source that contains the module stream.
- module_name str
- The name of a module.
- stream_name str
- The name of a stream of the specified module.
- software_source_ strid 
- The OCID of the software source that contains the module stream.
- moduleName String
- The name of a module.
- streamName String
- The name of a stream of the specified module.
- softwareSource StringId 
- The OCID of the software source that contains the module stream.
ManagedInstanceGroupManageModuleStreamsManagementEnable, ManagedInstanceGroupManageModuleStreamsManagementEnableArgs                
- ModuleName string
- The name of a module.
- StreamName string
- The name of a stream of the specified module.
- SoftwareSource stringId 
- The OCID of the software source that contains the module stream.
- ModuleName string
- The name of a module.
- StreamName string
- The name of a stream of the specified module.
- SoftwareSource stringId 
- The OCID of the software source that contains the module stream.
- moduleName String
- The name of a module.
- streamName String
- The name of a stream of the specified module.
- softwareSource StringId 
- The OCID of the software source that contains the module stream.
- moduleName string
- The name of a module.
- streamName string
- The name of a stream of the specified module.
- softwareSource stringId 
- The OCID of the software source that contains the module stream.
- module_name str
- The name of a module.
- stream_name str
- The name of a stream of the specified module.
- software_source_ strid 
- The OCID of the software source that contains the module stream.
- moduleName String
- The name of a module.
- streamName String
- The name of a stream of the specified module.
- softwareSource StringId 
- The OCID of the software source that contains the module stream.
ManagedInstanceGroupManageModuleStreamsManagementInstall, ManagedInstanceGroupManageModuleStreamsManagementInstallArgs                
- ModuleName string
- The name of a module.
- ProfileName string
- The name of a profile of the specified module stream.
- StreamName string
- The name of a stream of the specified module.
- SoftwareSource stringId 
- The OCID of the software source that contains the module stream.
- ModuleName string
- The name of a module.
- ProfileName string
- The name of a profile of the specified module stream.
- StreamName string
- The name of a stream of the specified module.
- SoftwareSource stringId 
- The OCID of the software source that contains the module stream.
- moduleName String
- The name of a module.
- profileName String
- The name of a profile of the specified module stream.
- streamName String
- The name of a stream of the specified module.
- softwareSource StringId 
- The OCID of the software source that contains the module stream.
- moduleName string
- The name of a module.
- profileName string
- The name of a profile of the specified module stream.
- streamName string
- The name of a stream of the specified module.
- softwareSource stringId 
- The OCID of the software source that contains the module stream.
- module_name str
- The name of a module.
- profile_name str
- The name of a profile of the specified module stream.
- stream_name str
- The name of a stream of the specified module.
- software_source_ strid 
- The OCID of the software source that contains the module stream.
- moduleName String
- The name of a module.
- profileName String
- The name of a profile of the specified module stream.
- streamName String
- The name of a stream of the specified module.
- softwareSource StringId 
- The OCID of the software source that contains the module stream.
ManagedInstanceGroupManageModuleStreamsManagementRemove, ManagedInstanceGroupManageModuleStreamsManagementRemoveArgs                
- ModuleName string
- The name of a module.
- ProfileName string
- The name of a profile of the specified module stream.
- StreamName string
- The name of a stream of the specified module.
- SoftwareSource stringId 
- The OCID of the software source that contains the module stream.
- ModuleName string
- The name of a module.
- ProfileName string
- The name of a profile of the specified module stream.
- StreamName string
- The name of a stream of the specified module.
- SoftwareSource stringId 
- The OCID of the software source that contains the module stream.
- moduleName String
- The name of a module.
- profileName String
- The name of a profile of the specified module stream.
- streamName String
- The name of a stream of the specified module.
- softwareSource StringId 
- The OCID of the software source that contains the module stream.
- moduleName string
- The name of a module.
- profileName string
- The name of a profile of the specified module stream.
- streamName string
- The name of a stream of the specified module.
- softwareSource stringId 
- The OCID of the software source that contains the module stream.
- module_name str
- The name of a module.
- profile_name str
- The name of a profile of the specified module stream.
- stream_name str
- The name of a stream of the specified module.
- software_source_ strid 
- The OCID of the software source that contains the module stream.
- moduleName String
- The name of a module.
- profileName String
- The name of a profile of the specified module stream.
- streamName String
- The name of a stream of the specified module.
- softwareSource StringId 
- The OCID of the software source that contains the module stream.
ManagedInstanceGroupManageModuleStreamsManagementWorkRequestDetails, ManagedInstanceGroupManageModuleStreamsManagementWorkRequestDetailsArgs                    
- Description string
- User-specified information about the job. Avoid entering confidential information.
- DisplayName string
- A user-friendly name for the job. The name does not have to be unique. Avoid entering confidential information. - ** 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 
- Description string
- User-specified information about the job. Avoid entering confidential information.
- DisplayName string
- A user-friendly name for the job. The name does not have to be unique. Avoid entering confidential information. - ** 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 
- description String
- User-specified information about the job. Avoid entering confidential information.
- displayName String
- A user-friendly name for the job. The name does not have to be unique. Avoid entering confidential information. - ** 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 
- description string
- User-specified information about the job. Avoid entering confidential information.
- displayName string
- A user-friendly name for the job. The name does not have to be unique. Avoid entering confidential information. - ** 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 
- description str
- User-specified information about the job. Avoid entering confidential information.
- display_name str
- A user-friendly name for the job. The name does not have to be unique. Avoid entering confidential information. - ** 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 
- description String
- User-specified information about the job. Avoid entering confidential information.
- displayName String
- A user-friendly name for the job. The name does not have to be unique. Avoid entering confidential information. - ** 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
ManagedInstanceGroupManageModuleStreamsManagement can be imported using the id, e.g.
$ pulumi import oci:OsManagementHub/managedInstanceGroupManageModuleStreamsManagement:ManagedInstanceGroupManageModuleStreamsManagement test_managed_instance_group_manage_module_streams_management "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 ociTerraform Provider.