Oracle Cloud Infrastructure
getManagementAgentImages
This data source provides the list of Management Agent Images in Oracle Cloud Infrastructure Management Agent service.
Get supported agent image information
Example Usage
using Pulumi;
using Oci = Pulumi.Oci;
class MyStack : Stack
{
public MyStack()
{
var testManagementAgentImages = Output.Create(Oci.ManagementAgent.GetManagementAgentImages.InvokeAsync(new Oci.ManagementAgent.GetManagementAgentImagesArgs
{
CompartmentId = @var.Compartment_id,
InstallType = @var.Management_agent_image_install_type,
Name = @var.Management_agent_image_name,
State = @var.Management_agent_image_state,
}));
}
}
package main
import (
"github.com/pulumi/pulumi-oci/sdk/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: _var.Compartment_id,
InstallType: pulumi.StringRef(_var.Management_agent_image_install_type),
Name: pulumi.StringRef(_var.Management_agent_image_name),
State: pulumi.StringRef(_var.Management_agent_image_state),
}, nil)
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_oci as oci
test_management_agent_images = oci.ManagementAgent.get_management_agent_images(compartment_id=var["compartment_id"],
install_type=var["management_agent_image_install_type"],
name=var["management_agent_image_name"],
state=var["management_agent_image_state"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testManagementAgentImages = oci.ManagementAgent.getManagementAgentImages({
compartmentId: _var.compartment_id,
installType: _var.management_agent_image_install_type,
name: _var.management_agent_image_name,
state: _var.management_agent_image_state,
});
Coming soon!
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>
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]
func GetManagementAgentImages(ctx *Context, args *GetManagementAgentImagesArgs, opts ...InvokeOption) (*GetManagementAgentImagesResult, error)
func GetManagementAgentImagesOutput(ctx *Context, args *GetManagementAgentImagesOutputArgs, opts ...InvokeOption) GetManagementAgentImagesResultOutput
> 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)
}
public static CompletableFuture<GetManagementAgentImagesResult> getManagementAgentImages(GetManagementAgentImagesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
Function: oci:ManagementAgent/getManagementAgentImages:getManagementAgentImages
Arguments:
# Arguments dictionary
The following arguments are supported:
- Compartment
Id string The OCID of the compartment to which a request will be scoped.
- Filters
List<Get
Management Agent Images Filter> - Install
Type 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 string The OCID of the compartment to which a request will be scoped.
- Filters
[]Get
Management Agent Images Filter - Install
Type 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 String The OCID of the compartment to which a request will be scoped.
- filters
List<Get
Images Filter> - install
Type 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 string The OCID of the compartment to which a request will be scoped.
- filters
Get
Management Agent Images Filter[] - install
Type 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 str The OCID of the compartment to which a request will be scoped.
- filters
Get
Management Agent Images Filter] - 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.
- compartment
Id String The OCID of the compartment to which a request will be scoped.
- filters List<Property Map>
- install
Type 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:
- Compartment
Id string - Id string
The provider-assigned unique ID for this managed resource.
- Management
Agent List<GetImages Management Agent Images Management Agent Image> The list of management_agent_images.
- Filters
List<Get
Management Agent Images Filter> - Install
Type string - Name string
- State string
The current state of Management Agent Image
- Compartment
Id string - Id string
The provider-assigned unique ID for this managed resource.
- Management
Agent []GetImages Management Agent Images Management Agent Image The list of management_agent_images.
- Filters
[]Get
Management Agent Images Filter - Install
Type string - Name string
- State string
The current state of Management Agent Image
- compartment
Id String - id String
The provider-assigned unique ID for this managed resource.
- management
Agent List<GetImages Images Image> The list of management_agent_images.
- filters
List<Get
Images Filter> - install
Type String - name String
- state String
The current state of Management Agent Image
- compartment
Id string - id string
The provider-assigned unique ID for this managed resource.
- management
Agent GetImages Management Agent Images Management Agent Image[] The list of management_agent_images.
- filters
Get
Management Agent Images Filter[] - install
Type 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_ Getimages Management Agent Images Management Agent Image] The list of management_agent_images.
- filters
Get
Management Agent Images Filter] - install_
type str - name str
- state str
The current state of Management Agent Image
- compartment
Id String - id String
The provider-assigned unique ID for this managed resource.
- management
Agent List<Property Map>Images The list of management_agent_images.
- filters List<Property Map>
- install
Type String - name String
- state String
The current state of Management Agent Image
Supporting Types
GetManagementAgentImagesFilter
GetManagementAgentImagesManagementAgentImage
- Checksum string
Agent image content SHA256 Hash
- Id string
Agent image resource id
- Object
Url string Object storage URL for download
- Package
Architecture stringType The installation package target architecture type
- Package
Type string The installation package type
- Platform
Name string Agent image platform display name
- Platform
Type string Agent image platform type
- Size double
Agent image size in bytes
- State string
Filter to return only Management Agents in the particular lifecycle state.
- Version string
Agent image version
- Checksum string
Agent image content SHA256 Hash
- Id string
Agent image resource id
- Object
Url string Object storage URL for download
- Package
Architecture stringType The installation package target architecture type
- Package
Type string The installation package type
- Platform
Name string Agent image platform display name
- Platform
Type string Agent image platform type
- Size float64
Agent image size in bytes
- State string
Filter to return only Management Agents in the particular lifecycle state.
- Version string
Agent image version
- checksum String
Agent image content SHA256 Hash
- id String
Agent image resource id
- object
Url String Object storage URL for download
- package
Architecture StringType The installation package target architecture type
- package
Type String The installation package type
- platform
Name String Agent image platform display name
- platform
Type String Agent image platform type
- size Double
Agent image size in bytes
- state String
Filter to return only Management Agents in the particular lifecycle state.
- version String
Agent image version
- checksum string
Agent image content SHA256 Hash
- id string
Agent image resource id
- object
Url string Object storage URL for download
- package
Architecture stringType The installation package target architecture type
- package
Type string The installation package type
- platform
Name string Agent image platform display name
- platform
Type string Agent image platform type
- size number
Agent image size in bytes
- state string
Filter to return only Management Agents in the particular lifecycle state.
- version string
Agent image version
- checksum str
Agent image content SHA256 Hash
- id str
Agent image resource id
- object_
url str Object storage URL for download
- package_
architecture_ strtype The installation package target architecture type
- package_
type str The installation package type
- platform_
name str Agent image platform display name
- platform_
type str Agent image platform type
- size float
Agent image size in bytes
- state str
Filter to return only Management Agents in the particular lifecycle state.
- version str
Agent image version
- checksum String
Agent image content SHA256 Hash
- id String
Agent image resource id
- object
Url String Object storage URL for download
- package
Architecture StringType The installation package target architecture type
- package
Type String The installation package type
- platform
Name String Agent image platform display name
- platform
Type String Agent image platform type
- size Number
Agent image size in bytes
- state String
Filter to return only Management Agents in the particular lifecycle state.
- version String
Agent image version
Package Details
- Repository
- https://github.com/pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.