Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.OsManagement.getManagedInstance
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
This data source provides details about a specific Managed Instance resource in Oracle Cloud Infrastructure OS Management service.
Returns a specific Managed Instance.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testManagedInstance = oci.OsManagement.getManagedInstance({
managedInstanceId: testManagedInstanceOciOsmanagementManagedInstance.id,
});
import pulumi
import pulumi_oci as oci
test_managed_instance = oci.OsManagement.get_managed_instance(managed_instance_id=test_managed_instance_oci_osmanagement_managed_instance["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/OsManagement"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := OsManagement.GetManagedInstance(ctx, &osmanagement.GetManagedInstanceArgs{
ManagedInstanceId: testManagedInstanceOciOsmanagementManagedInstance.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testManagedInstance = Oci.OsManagement.GetManagedInstance.Invoke(new()
{
ManagedInstanceId = testManagedInstanceOciOsmanagementManagedInstance.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.OsManagement.OsManagementFunctions;
import com.pulumi.oci.OsManagement.inputs.GetManagedInstanceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testManagedInstance = OsManagementFunctions.getManagedInstance(GetManagedInstanceArgs.builder()
.managedInstanceId(testManagedInstanceOciOsmanagementManagedInstance.id())
.build());
}
}
variables:
testManagedInstance:
fn::invoke:
Function: oci:OsManagement:getManagedInstance
Arguments:
managedInstanceId: ${testManagedInstanceOciOsmanagementManagedInstance.id}
Using getManagedInstance
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getManagedInstance(args: GetManagedInstanceArgs, opts?: InvokeOptions): Promise<GetManagedInstanceResult>
function getManagedInstanceOutput(args: GetManagedInstanceOutputArgs, opts?: InvokeOptions): Output<GetManagedInstanceResult>
def get_managed_instance(managed_instance_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetManagedInstanceResult
def get_managed_instance_output(managed_instance_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetManagedInstanceResult]
func GetManagedInstance(ctx *Context, args *GetManagedInstanceArgs, opts ...InvokeOption) (*GetManagedInstanceResult, error)
func GetManagedInstanceOutput(ctx *Context, args *GetManagedInstanceOutputArgs, opts ...InvokeOption) GetManagedInstanceResultOutput
> Note: This function is named GetManagedInstance
in the Go SDK.
public static class GetManagedInstance
{
public static Task<GetManagedInstanceResult> InvokeAsync(GetManagedInstanceArgs args, InvokeOptions? opts = null)
public static Output<GetManagedInstanceResult> Invoke(GetManagedInstanceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetManagedInstanceResult> getManagedInstance(GetManagedInstanceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:OsManagement/getManagedInstance:getManagedInstance
arguments:
# arguments dictionary
The following arguments are supported:
- Managed
Instance stringId - OCID for the managed instance
- Managed
Instance stringId - OCID for the managed instance
- managed
Instance StringId - OCID for the managed instance
- managed
Instance stringId - OCID for the managed instance
- managed_
instance_ strid - OCID for the managed instance
- managed
Instance StringId - OCID for the managed instance
getManagedInstance Result
The following output properties are available:
- Autonomouses
List<Get
Managed Instance Autonomouse> - if present, indicates the Managed Instance is an autonomous instance. Holds all the Autonomous specific information
- Bug
Updates intAvailable - Number of bug fix type updates available to be installed
- Child
Software List<GetSources Managed Instance Child Software Source> - list of child Software Sources attached to the Managed Instance
- Compartment
Id string - OCID for the Compartment
- Description string
- Information specified by the user about the managed instance
- Display
Name string - User friendly name
- Enhancement
Updates intAvailable - Number of enhancement type updates available to be installed
- Id string
- software source identifier
- bool
- True if user allow data collection for this instance
- Is
Reboot boolRequired - Indicates whether a reboot is required to complete installation of updates.
- Ksplice
Effective stringKernel Version - The ksplice effective kernel version
- Last
Boot string - Time at which the instance last booted
- Last
Checkin string - Time at which the instance last checked in
- Managed
Instance List<GetGroups Managed Instance Managed Instance Group> - The ids of the managed instance groups of which this instance is a member.
- Managed
Instance stringId - Notification
Topic stringId - OCID of the ONS topic used to send notification to users
- Os
Family string - The Operating System type of the managed instance.
- Os
Kernel stringVersion - Operating System Kernel Version
- Os
Name string - Operating System Name
- Os
Version string - Operating System Version
- Other
Updates intAvailable - Number of non-classified updates available to be installed
- Parent
Software List<GetSources Managed Instance Parent Software Source> - the parent (base) Software Source attached to the Managed Instance
- Scheduled
Job intCount - Number of scheduled jobs associated with this instance
- Security
Updates intAvailable - Number of security type updates available to be installed
- Status string
- status of the managed instance.
- Updates
Available int - Number of updates available to be installed
- Work
Request intCount - Number of work requests associated with this instance
- Autonomouses
[]Get
Managed Instance Autonomouse - if present, indicates the Managed Instance is an autonomous instance. Holds all the Autonomous specific information
- Bug
Updates intAvailable - Number of bug fix type updates available to be installed
- Child
Software []GetSources Managed Instance Child Software Source - list of child Software Sources attached to the Managed Instance
- Compartment
Id string - OCID for the Compartment
- Description string
- Information specified by the user about the managed instance
- Display
Name string - User friendly name
- Enhancement
Updates intAvailable - Number of enhancement type updates available to be installed
- Id string
- software source identifier
- bool
- True if user allow data collection for this instance
- Is
Reboot boolRequired - Indicates whether a reboot is required to complete installation of updates.
- Ksplice
Effective stringKernel Version - The ksplice effective kernel version
- Last
Boot string - Time at which the instance last booted
- Last
Checkin string - Time at which the instance last checked in
- Managed
Instance []GetGroups Managed Instance Managed Instance Group - The ids of the managed instance groups of which this instance is a member.
- Managed
Instance stringId - Notification
Topic stringId - OCID of the ONS topic used to send notification to users
- Os
Family string - The Operating System type of the managed instance.
- Os
Kernel stringVersion - Operating System Kernel Version
- Os
Name string - Operating System Name
- Os
Version string - Operating System Version
- Other
Updates intAvailable - Number of non-classified updates available to be installed
- Parent
Software []GetSources Managed Instance Parent Software Source - the parent (base) Software Source attached to the Managed Instance
- Scheduled
Job intCount - Number of scheduled jobs associated with this instance
- Security
Updates intAvailable - Number of security type updates available to be installed
- Status string
- status of the managed instance.
- Updates
Available int - Number of updates available to be installed
- Work
Request intCount - Number of work requests associated with this instance
- autonomouses
List<Get
Managed Instance Autonomouse> - if present, indicates the Managed Instance is an autonomous instance. Holds all the Autonomous specific information
- bug
Updates IntegerAvailable - Number of bug fix type updates available to be installed
- child
Software List<GetSources Managed Instance Child Software Source> - list of child Software Sources attached to the Managed Instance
- compartment
Id String - OCID for the Compartment
- description String
- Information specified by the user about the managed instance
- display
Name String - User friendly name
- enhancement
Updates IntegerAvailable - Number of enhancement type updates available to be installed
- id String
- software source identifier
- Boolean
- True if user allow data collection for this instance
- is
Reboot BooleanRequired - Indicates whether a reboot is required to complete installation of updates.
- ksplice
Effective StringKernel Version - The ksplice effective kernel version
- last
Boot String - Time at which the instance last booted
- last
Checkin String - Time at which the instance last checked in
- managed
Instance List<GetGroups Managed Instance Managed Instance Group> - The ids of the managed instance groups of which this instance is a member.
- managed
Instance StringId - notification
Topic StringId - OCID of the ONS topic used to send notification to users
- os
Family String - The Operating System type of the managed instance.
- os
Kernel StringVersion - Operating System Kernel Version
- os
Name String - Operating System Name
- os
Version String - Operating System Version
- other
Updates IntegerAvailable - Number of non-classified updates available to be installed
- parent
Software List<GetSources Managed Instance Parent Software Source> - the parent (base) Software Source attached to the Managed Instance
- scheduled
Job IntegerCount - Number of scheduled jobs associated with this instance
- security
Updates IntegerAvailable - Number of security type updates available to be installed
- status String
- status of the managed instance.
- updates
Available Integer - Number of updates available to be installed
- work
Request IntegerCount - Number of work requests associated with this instance
- autonomouses
Get
Managed Instance Autonomouse[] - if present, indicates the Managed Instance is an autonomous instance. Holds all the Autonomous specific information
- bug
Updates numberAvailable - Number of bug fix type updates available to be installed
- child
Software GetSources Managed Instance Child Software Source[] - list of child Software Sources attached to the Managed Instance
- compartment
Id string - OCID for the Compartment
- description string
- Information specified by the user about the managed instance
- display
Name string - User friendly name
- enhancement
Updates numberAvailable - Number of enhancement type updates available to be installed
- id string
- software source identifier
- boolean
- True if user allow data collection for this instance
- is
Reboot booleanRequired - Indicates whether a reboot is required to complete installation of updates.
- ksplice
Effective stringKernel Version - The ksplice effective kernel version
- last
Boot string - Time at which the instance last booted
- last
Checkin string - Time at which the instance last checked in
- managed
Instance GetGroups Managed Instance Managed Instance Group[] - The ids of the managed instance groups of which this instance is a member.
- managed
Instance stringId - notification
Topic stringId - OCID of the ONS topic used to send notification to users
- os
Family string - The Operating System type of the managed instance.
- os
Kernel stringVersion - Operating System Kernel Version
- os
Name string - Operating System Name
- os
Version string - Operating System Version
- other
Updates numberAvailable - Number of non-classified updates available to be installed
- parent
Software GetSources Managed Instance Parent Software Source[] - the parent (base) Software Source attached to the Managed Instance
- scheduled
Job numberCount - Number of scheduled jobs associated with this instance
- security
Updates numberAvailable - Number of security type updates available to be installed
- status string
- status of the managed instance.
- updates
Available number - Number of updates available to be installed
- work
Request numberCount - Number of work requests associated with this instance
- autonomouses
Sequence[osmanagement.
Get Managed Instance Autonomouse] - if present, indicates the Managed Instance is an autonomous instance. Holds all the Autonomous specific information
- bug_
updates_ intavailable - Number of bug fix type updates available to be installed
- child_
software_ Sequence[osmanagement.sources Get Managed Instance Child Software Source] - list of child Software Sources attached to the Managed Instance
- compartment_
id str - OCID for the Compartment
- description str
- Information specified by the user about the managed instance
- display_
name str - User friendly name
- enhancement_
updates_ intavailable - Number of enhancement type updates available to be installed
- id str
- software source identifier
- bool
- True if user allow data collection for this instance
- is_
reboot_ boolrequired - Indicates whether a reboot is required to complete installation of updates.
- ksplice_
effective_ strkernel_ version - The ksplice effective kernel version
- last_
boot str - Time at which the instance last booted
- last_
checkin str - Time at which the instance last checked in
- managed_
instance_ Sequence[osmanagement.groups Get Managed Instance Managed Instance Group] - The ids of the managed instance groups of which this instance is a member.
- managed_
instance_ strid - notification_
topic_ strid - OCID of the ONS topic used to send notification to users
- os_
family str - The Operating System type of the managed instance.
- os_
kernel_ strversion - Operating System Kernel Version
- os_
name str - Operating System Name
- os_
version str - Operating System Version
- other_
updates_ intavailable - Number of non-classified updates available to be installed
- parent_
software_ Sequence[osmanagement.sources Get Managed Instance Parent Software Source] - the parent (base) Software Source attached to the Managed Instance
- scheduled_
job_ intcount - Number of scheduled jobs associated with this instance
- security_
updates_ intavailable - Number of security type updates available to be installed
- status str
- status of the managed instance.
- updates_
available int - Number of updates available to be installed
- work_
request_ intcount - Number of work requests associated with this instance
- autonomouses List<Property Map>
- if present, indicates the Managed Instance is an autonomous instance. Holds all the Autonomous specific information
- bug
Updates NumberAvailable - Number of bug fix type updates available to be installed
- child
Software List<Property Map>Sources - list of child Software Sources attached to the Managed Instance
- compartment
Id String - OCID for the Compartment
- description String
- Information specified by the user about the managed instance
- display
Name String - User friendly name
- enhancement
Updates NumberAvailable - Number of enhancement type updates available to be installed
- id String
- software source identifier
- Boolean
- True if user allow data collection for this instance
- is
Reboot BooleanRequired - Indicates whether a reboot is required to complete installation of updates.
- ksplice
Effective StringKernel Version - The ksplice effective kernel version
- last
Boot String - Time at which the instance last booted
- last
Checkin String - Time at which the instance last checked in
- managed
Instance List<Property Map>Groups - The ids of the managed instance groups of which this instance is a member.
- managed
Instance StringId - notification
Topic StringId - OCID of the ONS topic used to send notification to users
- os
Family String - The Operating System type of the managed instance.
- os
Kernel StringVersion - Operating System Kernel Version
- os
Name String - Operating System Name
- os
Version String - Operating System Version
- other
Updates NumberAvailable - Number of non-classified updates available to be installed
- parent
Software List<Property Map>Sources - the parent (base) Software Source attached to the Managed Instance
- scheduled
Job NumberCount - Number of scheduled jobs associated with this instance
- security
Updates NumberAvailable - Number of security type updates available to be installed
- status String
- status of the managed instance.
- updates
Available Number - Number of updates available to be installed
- work
Request NumberCount - Number of work requests associated with this instance
Supporting Types
GetManagedInstanceAutonomouse
- Is
Auto boolUpdate Enabled - True if daily updates are enabled
- Is
Auto boolUpdate Enabled - True if daily updates are enabled
- is
Auto BooleanUpdate Enabled - True if daily updates are enabled
- is
Auto booleanUpdate Enabled - True if daily updates are enabled
- is_
auto_ boolupdate_ enabled - True if daily updates are enabled
- is
Auto BooleanUpdate Enabled - True if daily updates are enabled
GetManagedInstanceChildSoftwareSource
GetManagedInstanceManagedInstanceGroup
- Display
Name string - User friendly name
- Id string
- software source identifier
- Display
Name string - User friendly name
- Id string
- software source identifier
- display
Name String - User friendly name
- id String
- software source identifier
- display
Name string - User friendly name
- id string
- software source identifier
- display_
name str - User friendly name
- id str
- software source identifier
- display
Name String - User friendly name
- id String
- software source identifier
GetManagedInstanceParentSoftwareSource
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi