1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. ManagementAgent
  5. getManagementAgentImages
Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi

oci.ManagementAgent.getManagementAgentImages

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi

This data source provides the list of Management Agent Images in Oracle Cloud Infrastructure Management Agent service.

Get supported agent image information

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testManagementAgentImages = oci.ManagementAgent.getManagementAgentImages({
    compartmentId: compartmentId,
    installType: managementAgentImageInstallType,
    name: managementAgentImageName,
    state: managementAgentImageState,
});
Copy
import pulumi
import pulumi_oci as oci

test_management_agent_images = oci.ManagementAgent.get_management_agent_images(compartment_id=compartment_id,
    install_type=management_agent_image_install_type,
    name=management_agent_image_name,
    state=management_agent_image_state)
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/managementagent"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := managementagent.GetManagementAgentImages(ctx, &managementagent.GetManagementAgentImagesArgs{
			CompartmentId: compartmentId,
			InstallType:   pulumi.StringRef(managementAgentImageInstallType),
			Name:          pulumi.StringRef(managementAgentImageName),
			State:         pulumi.StringRef(managementAgentImageState),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testManagementAgentImages = Oci.ManagementAgent.GetManagementAgentImages.Invoke(new()
    {
        CompartmentId = compartmentId,
        InstallType = managementAgentImageInstallType,
        Name = managementAgentImageName,
        State = managementAgentImageState,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.ManagementAgent.ManagementAgentFunctions;
import com.pulumi.oci.ManagementAgent.inputs.GetManagementAgentImagesArgs;
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 testManagementAgentImages = ManagementAgentFunctions.getManagementAgentImages(GetManagementAgentImagesArgs.builder()
            .compartmentId(compartmentId)
            .installType(managementAgentImageInstallType)
            .name(managementAgentImageName)
            .state(managementAgentImageState)
            .build());

    }
}
Copy
variables:
  testManagementAgentImages:
    fn::invoke:
      function: oci:ManagementAgent:getManagementAgentImages
      arguments:
        compartmentId: ${compartmentId}
        installType: ${managementAgentImageInstallType}
        name: ${managementAgentImageName}
        state: ${managementAgentImageState}
Copy

Using getManagementAgentImages

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 getManagementAgentImages(args: GetManagementAgentImagesArgs, opts?: InvokeOptions): Promise<GetManagementAgentImagesResult>
function getManagementAgentImagesOutput(args: GetManagementAgentImagesOutputArgs, opts?: InvokeOptions): Output<GetManagementAgentImagesResult>
Copy
def get_management_agent_images(compartment_id: Optional[str] = None,
                                filters: Optional[Sequence[_managementagent.GetManagementAgentImagesFilter]] = None,
                                install_type: Optional[str] = None,
                                name: Optional[str] = None,
                                state: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetManagementAgentImagesResult
def get_management_agent_images_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                filters: Optional[pulumi.Input[Sequence[pulumi.Input[_managementagent.GetManagementAgentImagesFilterArgs]]]] = None,
                                install_type: Optional[pulumi.Input[str]] = None,
                                name: Optional[pulumi.Input[str]] = None,
                                state: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetManagementAgentImagesResult]
Copy
func GetManagementAgentImages(ctx *Context, args *GetManagementAgentImagesArgs, opts ...InvokeOption) (*GetManagementAgentImagesResult, error)
func GetManagementAgentImagesOutput(ctx *Context, args *GetManagementAgentImagesOutputArgs, opts ...InvokeOption) GetManagementAgentImagesResultOutput
Copy

> Note: This function is named GetManagementAgentImages in the Go SDK.

public static class GetManagementAgentImages 
{
    public static Task<GetManagementAgentImagesResult> InvokeAsync(GetManagementAgentImagesArgs args, InvokeOptions? opts = null)
    public static Output<GetManagementAgentImagesResult> Invoke(GetManagementAgentImagesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetManagementAgentImagesResult> getManagementAgentImages(GetManagementAgentImagesArgs args, InvokeOptions options)
public static Output<GetManagementAgentImagesResult> getManagementAgentImages(GetManagementAgentImagesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:ManagementAgent/getManagementAgentImages:getManagementAgentImages
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CompartmentId This property is required. string
The OCID of the compartment to which a request will be scoped.
Filters Changes to this property will trigger replacement. List<GetManagementAgentImagesFilter>
InstallType string
A filter to return either agents or gateway types depending upon install type selected by user. By default both install type will be returned.
Name string
A filter to return only resources that match the entire platform name given.
State string
Filter to return only Management Agents in the particular lifecycle state.
CompartmentId This property is required. string
The OCID of the compartment to which a request will be scoped.
Filters Changes to this property will trigger replacement. []GetManagementAgentImagesFilter
InstallType string
A filter to return either agents or gateway types depending upon install type selected by user. By default both install type will be returned.
Name string
A filter to return only resources that match the entire platform name given.
State string
Filter to return only Management Agents in the particular lifecycle state.
compartmentId This property is required. String
The OCID of the compartment to which a request will be scoped.
filters Changes to this property will trigger replacement. List<GetImagesFilter>
installType String
A filter to return either agents or gateway types depending upon install type selected by user. By default both install type will be returned.
name String
A filter to return only resources that match the entire platform name given.
state String
Filter to return only Management Agents in the particular lifecycle state.
compartmentId This property is required. string
The OCID of the compartment to which a request will be scoped.
filters Changes to this property will trigger replacement. GetManagementAgentImagesFilter[]
installType string
A filter to return either agents or gateway types depending upon install type selected by user. By default both install type will be returned.
name string
A filter to return only resources that match the entire platform name given.
state string
Filter to return only Management Agents in the particular lifecycle state.
compartment_id This property is required. str
The OCID of the compartment to which a request will be scoped.
filters Changes to this property will trigger replacement. Sequence[managementagent.GetManagementAgentImagesFilter]
install_type str
A filter to return either agents or gateway types depending upon install type selected by user. By default both install type will be returned.
name str
A filter to return only resources that match the entire platform name given.
state str
Filter to return only Management Agents in the particular lifecycle state.
compartmentId This property is required. String
The OCID of the compartment to which a request will be scoped.
filters Changes to this property will trigger replacement. List<Property Map>
installType String
A filter to return either agents or gateway types depending upon install type selected by user. By default both install type will be returned.
name String
A filter to return only resources that match the entire platform name given.
state String
Filter to return only Management Agents in the particular lifecycle state.

getManagementAgentImages Result

The following output properties are available:

CompartmentId string
Id string
The provider-assigned unique ID for this managed resource.
ManagementAgentImages List<GetManagementAgentImagesManagementAgentImage>
The list of management_agent_images.
Filters List<GetManagementAgentImagesFilter>
InstallType string
Name string
State string
The current state of Management Agent Image
CompartmentId string
Id string
The provider-assigned unique ID for this managed resource.
ManagementAgentImages []GetManagementAgentImagesManagementAgentImage
The list of management_agent_images.
Filters []GetManagementAgentImagesFilter
InstallType string
Name string
State string
The current state of Management Agent Image
compartmentId String
id String
The provider-assigned unique ID for this managed resource.
managementAgentImages List<GetImagesImage>
The list of management_agent_images.
filters List<GetImagesFilter>
installType String
name String
state String
The current state of Management Agent Image
compartmentId string
id string
The provider-assigned unique ID for this managed resource.
managementAgentImages GetManagementAgentImagesManagementAgentImage[]
The list of management_agent_images.
filters GetManagementAgentImagesFilter[]
installType string
name string
state string
The current state of Management Agent Image
compartment_id str
id str
The provider-assigned unique ID for this managed resource.
management_agent_images Sequence[managementagent.GetManagementAgentImagesManagementAgentImage]
The list of management_agent_images.
filters Sequence[managementagent.GetManagementAgentImagesFilter]
install_type str
name str
state str
The current state of Management Agent Image
compartmentId String
id String
The provider-assigned unique ID for this managed resource.
managementAgentImages List<Property Map>
The list of management_agent_images.
filters List<Property Map>
installType String
name String
state String
The current state of Management Agent Image

Supporting Types

GetManagementAgentImagesFilter

Name This property is required. string
A filter to return only resources that match the entire platform name given.
Values This property is required. List<string>
Regex bool
Name This property is required. string
A filter to return only resources that match the entire platform name given.
Values This property is required. []string
Regex bool
name This property is required. String
A filter to return only resources that match the entire platform name given.
values This property is required. List<String>
regex Boolean
name This property is required. string
A filter to return only resources that match the entire platform name given.
values This property is required. string[]
regex boolean
name This property is required. str
A filter to return only resources that match the entire platform name given.
values This property is required. Sequence[str]
regex bool
name This property is required. String
A filter to return only resources that match the entire platform name given.
values This property is required. List<String>
regex Boolean

GetManagementAgentImagesManagementAgentImage

Checksum This property is required. string
Object content SHA256 Hash
Id This property is required. string
Agent image resource id
ImageObjectStorageDetails This property is required. List<GetManagementAgentImagesManagementAgentImageImageObjectStorageDetail>
Details of the Objectstorage object
ObjectUrl This property is required. string
Object storage URL for download
PackageArchitectureType This property is required. string
The installation package target architecture type
PackageType This property is required. string
The installation package type
PlatformName This property is required. string
Agent image platform display name
PlatformType This property is required. string
Agent image platform type
Size This property is required. double
Agent image size in bytes
State This property is required. string
Filter to return only Management Agents in the particular lifecycle state.
Version This property is required. string
Agent image version
Checksum This property is required. string
Object content SHA256 Hash
Id This property is required. string
Agent image resource id
ImageObjectStorageDetails This property is required. []GetManagementAgentImagesManagementAgentImageImageObjectStorageDetail
Details of the Objectstorage object
ObjectUrl This property is required. string
Object storage URL for download
PackageArchitectureType This property is required. string
The installation package target architecture type
PackageType This property is required. string
The installation package type
PlatformName This property is required. string
Agent image platform display name
PlatformType This property is required. string
Agent image platform type
Size This property is required. float64
Agent image size in bytes
State This property is required. string
Filter to return only Management Agents in the particular lifecycle state.
Version This property is required. string
Agent image version
checksum This property is required. String
Object content SHA256 Hash
id This property is required. String
Agent image resource id
imageObjectStorageDetails This property is required. List<GetImagesImageImageObjectStorageDetail>
Details of the Objectstorage object
objectUrl This property is required. String
Object storage URL for download
packageArchitectureType This property is required. String
The installation package target architecture type
packageType This property is required. String
The installation package type
platformName This property is required. String
Agent image platform display name
platformType This property is required. String
Agent image platform type
size This property is required. Double
Agent image size in bytes
state This property is required. String
Filter to return only Management Agents in the particular lifecycle state.
version This property is required. String
Agent image version
checksum This property is required. string
Object content SHA256 Hash
id This property is required. string
Agent image resource id
imageObjectStorageDetails This property is required. GetManagementAgentImagesManagementAgentImageImageObjectStorageDetail[]
Details of the Objectstorage object
objectUrl This property is required. string
Object storage URL for download
packageArchitectureType This property is required. string
The installation package target architecture type
packageType This property is required. string
The installation package type
platformName This property is required. string
Agent image platform display name
platformType This property is required. string
Agent image platform type
size This property is required. number
Agent image size in bytes
state This property is required. string
Filter to return only Management Agents in the particular lifecycle state.
version This property is required. string
Agent image version
checksum This property is required. str
Object content SHA256 Hash
id This property is required. str
Agent image resource id
image_object_storage_details This property is required. Sequence[managementagent.GetManagementAgentImagesManagementAgentImageImageObjectStorageDetail]
Details of the Objectstorage object
object_url This property is required. str
Object storage URL for download
package_architecture_type This property is required. str
The installation package target architecture type
package_type This property is required. str
The installation package type
platform_name This property is required. str
Agent image platform display name
platform_type This property is required. str
Agent image platform type
size This property is required. float
Agent image size in bytes
state This property is required. str
Filter to return only Management Agents in the particular lifecycle state.
version This property is required. str
Agent image version
checksum This property is required. String
Object content SHA256 Hash
id This property is required. String
Agent image resource id
imageObjectStorageDetails This property is required. List<Property Map>
Details of the Objectstorage object
objectUrl This property is required. String
Object storage URL for download
packageArchitectureType This property is required. String
The installation package target architecture type
packageType This property is required. String
The installation package type
platformName This property is required. String
Agent image platform display name
platformType This property is required. String
Agent image platform type
size This property is required. Number
Agent image size in bytes
state This property is required. String
Filter to return only Management Agents in the particular lifecycle state.
version This property is required. String
Agent image version

GetManagementAgentImagesManagementAgentImageImageObjectStorageDetail

Checksum This property is required. string
Object content SHA256 Hash
Object This property is required. string
Objectstorage object name reference providing the original location of this object
ObjectBucket This property is required. string
Objectstorage bucket reference providing the original location of this object
ObjectNamespace This property is required. string
Objectstorage namespace reference providing the original location of this object
ObjectUrl This property is required. string
Object storage URL for download
Checksum This property is required. string
Object content SHA256 Hash
Object This property is required. string
Objectstorage object name reference providing the original location of this object
ObjectBucket This property is required. string
Objectstorage bucket reference providing the original location of this object
ObjectNamespace This property is required. string
Objectstorage namespace reference providing the original location of this object
ObjectUrl This property is required. string
Object storage URL for download
checksum This property is required. String
Object content SHA256 Hash
object This property is required. String
Objectstorage object name reference providing the original location of this object
objectBucket This property is required. String
Objectstorage bucket reference providing the original location of this object
objectNamespace This property is required. String
Objectstorage namespace reference providing the original location of this object
objectUrl This property is required. String
Object storage URL for download
checksum This property is required. string
Object content SHA256 Hash
object This property is required. string
Objectstorage object name reference providing the original location of this object
objectBucket This property is required. string
Objectstorage bucket reference providing the original location of this object
objectNamespace This property is required. string
Objectstorage namespace reference providing the original location of this object
objectUrl This property is required. string
Object storage URL for download
checksum This property is required. str
Object content SHA256 Hash
object This property is required. str
Objectstorage object name reference providing the original location of this object
object_bucket This property is required. str
Objectstorage bucket reference providing the original location of this object
object_namespace This property is required. str
Objectstorage namespace reference providing the original location of this object
object_url This property is required. str
Object storage URL for download
checksum This property is required. String
Object content SHA256 Hash
object This property is required. String
Objectstorage object name reference providing the original location of this object
objectBucket This property is required. String
Objectstorage bucket reference providing the original location of this object
objectNamespace This property is required. String
Objectstorage namespace reference providing the original location of this object
objectUrl This property is required. String
Object storage URL for download

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 v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi