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:
- Managed
Instance stringGroup Id - The OCID of the managed instance group.
- Disables
List<Managed
Instance Group Manage Module Streams Management Disable> - The set of module streams to disable.
- Enables
List<Managed
Instance Group Manage Module Streams Management Enable> - The set of module streams to enable.
- Installs
List<Managed
Instance Group Manage Module Streams Management Install> - 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
List<Managed
Instance Group Manage Module Streams Management Remove> - The set of module stream profiles to remove.
- Work
Request ManagedDetails Instance Group Manage Module Streams Management Work Request Details - Provides the name and description of the job.
- Managed
Instance stringGroup Id - The OCID of the managed instance group.
- Disables
[]Managed
Instance Group Manage Module Streams Management Disable Args - The set of module streams to disable.
- Enables
[]Managed
Instance Group Manage Module Streams Management Enable Args - The set of module streams to enable.
- Installs
[]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
[]Managed
Instance Group Manage Module Streams Management Remove Args - The set of module stream profiles to remove.
- Work
Request ManagedDetails Instance Group Manage Module Streams Management Work Request Details Args - Provides the name and description of the job.
- managed
Instance StringGroup Id - The OCID of the managed instance group.
- disables
List<Managed
Instance Group Manage Module Streams Management Disable> - The set of module streams to disable.
- enables
List<Managed
Instance Group Manage Module Streams Management Enable> - The set of module streams to enable.
- installs
List<Managed
Instance Group Manage Module Streams Management Install> - The set of module stream profiles to install.
- is
Dry 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<Managed
Instance Group Manage Module Streams Management Remove> - The set of module stream profiles to remove.
- work
Request ManagedDetails Instance Group Manage Module Streams Management Work Request Details - Provides the name and description of the job.
- managed
Instance stringGroup Id - The OCID of the managed instance group.
- disables
Managed
Instance Group Manage Module Streams Management Disable[] - The set of module streams to disable.
- enables
Managed
Instance Group Manage Module Streams Management Enable[] - The set of module streams to enable.
- installs
Managed
Instance Group Manage Module Streams Management Install[] - The set of module stream profiles to install.
- is
Dry 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
Managed
Instance Group Manage Module Streams Management Remove[] - The set of module stream profiles to remove.
- work
Request 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.
- managed
Instance 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.
- is
Dry 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.
- work
Request 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) -> ManagedInstanceGroupManageModuleStreamsManagement
func 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)
Resource lookup is not supported in YAML
- 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<Managed
Instance Group Manage Module Streams Management Disable> - The set of module streams to disable.
- Enables
List<Managed
Instance Group Manage Module Streams Management Enable> - The set of module streams to enable.
- Installs
List<Managed
Instance Group Manage Module Streams Management Install> - 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 stringGroup Id - The OCID of the managed instance group.
- Removes
List<Managed
Instance Group Manage Module Streams Management Remove> - The set of module stream profiles to remove.
- Work
Request ManagedDetails Instance Group Manage Module Streams Management Work Request Details - Provides the name and description of the job.
- Disables
[]Managed
Instance Group Manage Module Streams Management Disable Args - The set of module streams to disable.
- Enables
[]Managed
Instance Group Manage Module Streams Management Enable Args - The set of module streams to enable.
- Installs
[]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 stringGroup Id - The OCID of the managed instance group.
- Removes
[]Managed
Instance Group Manage Module Streams Management Remove Args - The set of module stream profiles to remove.
- Work
Request ManagedDetails Instance Group Manage Module Streams Management Work Request Details Args - Provides the name and description of the job.
- disables
List<Managed
Instance Group Manage Module Streams Management Disable> - The set of module streams to disable.
- enables
List<Managed
Instance Group Manage Module Streams Management Enable> - The set of module streams to enable.
- installs
List<Managed
Instance Group Manage Module Streams Management Install> - The set of module stream profiles to install.
- is
Dry 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.
- managed
Instance StringGroup Id - The OCID of the managed instance group.
- removes
List<Managed
Instance Group Manage Module Streams Management Remove> - The set of module stream profiles to remove.
- work
Request ManagedDetails Instance Group Manage Module Streams Management Work Request Details - Provides the name and description of the job.
- disables
Managed
Instance Group Manage Module Streams Management Disable[] - The set of module streams to disable.
- enables
Managed
Instance Group Manage Module Streams Management Enable[] - The set of module streams to enable.
- installs
Managed
Instance Group Manage Module Streams Management Install[] - The set of module stream profiles to install.
- is
Dry 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.
- managed
Instance stringGroup Id - The OCID of the managed instance group.
- removes
Managed
Instance Group Manage Module Streams Management Remove[] - The set of module stream profiles to remove.
- work
Request 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.
- is
Dry 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.
- managed
Instance StringGroup Id - The OCID of the managed instance group.
- removes List<Property Map>
- The set of module stream profiles to remove.
- work
Request Property MapDetails - Provides the name and description of the job.
Supporting Types
ManagedInstanceGroupManageModuleStreamsManagementDisable, ManagedInstanceGroupManageModuleStreamsManagementDisableArgs
- Module
Name string - The name of a module.
- Stream
Name string - The name of a stream of the specified module.
- Software
Source stringId - The OCID of the software source that contains the module stream.
- Module
Name string - The name of a module.
- Stream
Name string - The name of a stream of the specified module.
- Software
Source stringId - The OCID of the software source that contains the module stream.
- module
Name String - The name of a module.
- stream
Name String - The name of a stream of the specified module.
- software
Source StringId - The OCID of the software source that contains the module stream.
- module
Name string - The name of a module.
- stream
Name string - The name of a stream of the specified module.
- software
Source 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.
- module
Name String - The name of a module.
- stream
Name String - The name of a stream of the specified module.
- software
Source StringId - The OCID of the software source that contains the module stream.
ManagedInstanceGroupManageModuleStreamsManagementEnable, ManagedInstanceGroupManageModuleStreamsManagementEnableArgs
- Module
Name string - The name of a module.
- Stream
Name string - The name of a stream of the specified module.
- Software
Source stringId - The OCID of the software source that contains the module stream.
- Module
Name string - The name of a module.
- Stream
Name string - The name of a stream of the specified module.
- Software
Source stringId - The OCID of the software source that contains the module stream.
- module
Name String - The name of a module.
- stream
Name String - The name of a stream of the specified module.
- software
Source StringId - The OCID of the software source that contains the module stream.
- module
Name string - The name of a module.
- stream
Name string - The name of a stream of the specified module.
- software
Source 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.
- module
Name String - The name of a module.
- stream
Name String - The name of a stream of the specified module.
- software
Source StringId - The OCID of the software source that contains the module stream.
ManagedInstanceGroupManageModuleStreamsManagementInstall, ManagedInstanceGroupManageModuleStreamsManagementInstallArgs
- Module
Name string - The name of a module.
- Profile
Name string - The name of a profile of the specified module stream.
- Stream
Name string - The name of a stream of the specified module.
- Software
Source stringId - The OCID of the software source that contains the module stream.
- Module
Name string - The name of a module.
- Profile
Name string - The name of a profile of the specified module stream.
- Stream
Name string - The name of a stream of the specified module.
- Software
Source stringId - The OCID of the software source that contains the module stream.
- module
Name String - The name of a module.
- profile
Name String - The name of a profile of the specified module stream.
- stream
Name String - The name of a stream of the specified module.
- software
Source StringId - The OCID of the software source that contains the module stream.
- module
Name string - The name of a module.
- profile
Name string - The name of a profile of the specified module stream.
- stream
Name string - The name of a stream of the specified module.
- software
Source 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.
- module
Name String - The name of a module.
- profile
Name String - The name of a profile of the specified module stream.
- stream
Name String - The name of a stream of the specified module.
- software
Source StringId - The OCID of the software source that contains the module stream.
ManagedInstanceGroupManageModuleStreamsManagementRemove, ManagedInstanceGroupManageModuleStreamsManagementRemoveArgs
- Module
Name string - The name of a module.
- Profile
Name string - The name of a profile of the specified module stream.
- Stream
Name string - The name of a stream of the specified module.
- Software
Source stringId - The OCID of the software source that contains the module stream.
- Module
Name string - The name of a module.
- Profile
Name string - The name of a profile of the specified module stream.
- Stream
Name string - The name of a stream of the specified module.
- Software
Source stringId - The OCID of the software source that contains the module stream.
- module
Name String - The name of a module.
- profile
Name String - The name of a profile of the specified module stream.
- stream
Name String - The name of a stream of the specified module.
- software
Source StringId - The OCID of the software source that contains the module stream.
- module
Name string - The name of a module.
- profile
Name string - The name of a profile of the specified module stream.
- stream
Name string - The name of a stream of the specified module.
- software
Source 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.
- module
Name String - The name of a module.
- profile
Name String - The name of a profile of the specified module stream.
- stream
Name String - The name of a stream of the specified module.
- software
Source 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.
- Display
Name 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.
- Display
Name 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.
- display
Name 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.
- display
Name 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.
- display
Name 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
oci
Terraform Provider.