Viewing docs for Oracle Cloud Infrastructure v4.2.0
published on Friday, Mar 6, 2026 by Pulumi
published on Friday, Mar 6, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.2.0
published on Friday, Mar 6, 2026 by Pulumi
published on Friday, Mar 6, 2026 by Pulumi
This data source provides details about a specific Management Agent Named Credentials Metadata resource in Oracle Cloud Infrastructure Management Agent service.
Return the Metadata definition for Named Credentials supported by Management Agent.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testManagementAgentNamedCredentialsMetadata = oci.ManagementAgent.getManagementAgentNamedCredentialsMetadata({
compartmentId: compartmentId,
managementAgentId: testManagementAgent.id,
});
import pulumi
import pulumi_oci as oci
test_management_agent_named_credentials_metadata = oci.ManagementAgent.get_management_agent_named_credentials_metadata(compartment_id=compartment_id,
management_agent_id=test_management_agent["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/managementagent"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := managementagent.GetManagementAgentNamedCredentialsMetadata(ctx, &managementagent.GetManagementAgentNamedCredentialsMetadataArgs{
CompartmentId: compartmentId,
ManagementAgentId: pulumi.StringRef(testManagementAgent.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 testManagementAgentNamedCredentialsMetadata = Oci.ManagementAgent.GetManagementAgentNamedCredentialsMetadata.Invoke(new()
{
CompartmentId = compartmentId,
ManagementAgentId = testManagementAgent.Id,
});
});
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.GetManagementAgentNamedCredentialsMetadataArgs;
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 testManagementAgentNamedCredentialsMetadata = ManagementAgentFunctions.getManagementAgentNamedCredentialsMetadata(GetManagementAgentNamedCredentialsMetadataArgs.builder()
.compartmentId(compartmentId)
.managementAgentId(testManagementAgent.id())
.build());
}
}
variables:
testManagementAgentNamedCredentialsMetadata:
fn::invoke:
function: oci:ManagementAgent:getManagementAgentNamedCredentialsMetadata
arguments:
compartmentId: ${compartmentId}
managementAgentId: ${testManagementAgent.id}
Using getManagementAgentNamedCredentialsMetadata
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 getManagementAgentNamedCredentialsMetadata(args: GetManagementAgentNamedCredentialsMetadataArgs, opts?: InvokeOptions): Promise<GetManagementAgentNamedCredentialsMetadataResult>
function getManagementAgentNamedCredentialsMetadataOutput(args: GetManagementAgentNamedCredentialsMetadataOutputArgs, opts?: InvokeOptions): Output<GetManagementAgentNamedCredentialsMetadataResult>def get_management_agent_named_credentials_metadata(compartment_id: Optional[str] = None,
management_agent_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetManagementAgentNamedCredentialsMetadataResult
def get_management_agent_named_credentials_metadata_output(compartment_id: Optional[pulumi.Input[str]] = None,
management_agent_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetManagementAgentNamedCredentialsMetadataResult]func GetManagementAgentNamedCredentialsMetadata(ctx *Context, args *GetManagementAgentNamedCredentialsMetadataArgs, opts ...InvokeOption) (*GetManagementAgentNamedCredentialsMetadataResult, error)
func GetManagementAgentNamedCredentialsMetadataOutput(ctx *Context, args *GetManagementAgentNamedCredentialsMetadataOutputArgs, opts ...InvokeOption) GetManagementAgentNamedCredentialsMetadataResultOutput> Note: This function is named GetManagementAgentNamedCredentialsMetadata in the Go SDK.
public static class GetManagementAgentNamedCredentialsMetadata
{
public static Task<GetManagementAgentNamedCredentialsMetadataResult> InvokeAsync(GetManagementAgentNamedCredentialsMetadataArgs args, InvokeOptions? opts = null)
public static Output<GetManagementAgentNamedCredentialsMetadataResult> Invoke(GetManagementAgentNamedCredentialsMetadataInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetManagementAgentNamedCredentialsMetadataResult> getManagementAgentNamedCredentialsMetadata(GetManagementAgentNamedCredentialsMetadataArgs args, InvokeOptions options)
public static Output<GetManagementAgentNamedCredentialsMetadataResult> getManagementAgentNamedCredentialsMetadata(GetManagementAgentNamedCredentialsMetadataArgs args, InvokeOptions options)
fn::invoke:
function: oci:ManagementAgent/getManagementAgentNamedCredentialsMetadata:getManagementAgentNamedCredentialsMetadata
arguments:
# arguments dictionaryThe following arguments are supported:
- Compartment
Id string - The OCID of the compartment to which a request will be scoped.
- Management
Agent stringId - Filter the named credential metadata which is compatible with the given Management Agent identifier.
- Compartment
Id string - The OCID of the compartment to which a request will be scoped.
- Management
Agent stringId - Filter the named credential metadata which is compatible with the given Management Agent identifier.
- compartment
Id String - The OCID of the compartment to which a request will be scoped.
- management
Agent StringId - Filter the named credential metadata which is compatible with the given Management Agent identifier.
- compartment
Id string - The OCID of the compartment to which a request will be scoped.
- management
Agent stringId - Filter the named credential metadata which is compatible with the given Management Agent identifier.
- compartment_
id str - The OCID of the compartment to which a request will be scoped.
- management_
agent_ strid - Filter the named credential metadata which is compatible with the given Management Agent identifier.
- compartment
Id String - The OCID of the compartment to which a request will be scoped.
- management
Agent StringId - Filter the named credential metadata which is compatible with the given Management Agent identifier.
getManagementAgentNamedCredentialsMetadata Result
The following output properties are available:
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Metadatas
List<Get
Management Agent Named Credentials Metadata Metadata> - List of supported metadata definitions.
- Management
Agent stringId
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Metadatas
[]Get
Management Agent Named Credentials Metadata Metadata - List of supported metadata definitions.
- Management
Agent stringId
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- metadatas
List<Get
Named Credentials Metadata Metadata> - List of supported metadata definitions.
- management
Agent StringId
- compartment
Id string - id string
- The provider-assigned unique ID for this managed resource.
- metadatas
Get
Management Agent Named Credentials Metadata Metadata[] - List of supported metadata definitions.
- management
Agent stringId
- compartment_
id str - id str
- The provider-assigned unique ID for this managed resource.
- metadatas
Sequence[Get
Management Agent Named Credentials Metadata Metadata] - List of supported metadata definitions.
- management_
agent_ strid
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- metadatas List<Property Map>
- List of supported metadata definitions.
- management
Agent StringId
Supporting Types
GetManagementAgentNamedCredentialsMetadataMetadata
- Display
Name string - The field display name
- Minimum
Agent stringVersion - This Named Credential type is supported on management agents at this version or above.
- Properties
List<Get
Management Agent Named Credentials Metadata Metadata Property> - The property definitions for this named credential metadata
- Type string
- The type of the Named Credential.
- Display
Name string - The field display name
- Minimum
Agent stringVersion - This Named Credential type is supported on management agents at this version or above.
- Properties
[]Get
Management Agent Named Credentials Metadata Metadata Property - The property definitions for this named credential metadata
- Type string
- The type of the Named Credential.
- display
Name String - The field display name
- minimum
Agent StringVersion - This Named Credential type is supported on management agents at this version or above.
- properties
List<Get
Named Credentials Metadata Metadata Property> - The property definitions for this named credential metadata
- type String
- The type of the Named Credential.
- display
Name string - The field display name
- minimum
Agent stringVersion - This Named Credential type is supported on management agents at this version or above.
- properties
Get
Management Agent Named Credentials Metadata Metadata Property[] - The property definitions for this named credential metadata
- type string
- The type of the Named Credential.
- display_
name str - The field display name
- minimum_
agent_ strversion - This Named Credential type is supported on management agents at this version or above.
- properties
Sequence[Get
Management Agent Named Credentials Metadata Metadata Property] - The property definitions for this named credential metadata
- type str
- The type of the Named Credential.
- display
Name String - The field display name
- minimum
Agent StringVersion - This Named Credential type is supported on management agents at this version or above.
- properties List<Property Map>
- The property definitions for this named credential metadata
- type String
- The type of the Named Credential.
GetManagementAgentNamedCredentialsMetadataMetadataProperty
- Allowed
Values List<string> - List of values which can be applied to the value when valueCategory is ALLOWED_VALUES
- Default
Value string - The default value which will be used if no value is set. If defaultValue is empty, then no default will be set.
- Display
Name string - The field display name
- Is
Required bool - Set to true if the field must be defined
- Name string
- The field name
- Regex string
- Optional regular expression definition which will be applied to the value when valueCategory is CLEAR_TEXT
- Value
Categories List<string> - List of value categories of field allowed for this property
- Allowed
Values []string - List of values which can be applied to the value when valueCategory is ALLOWED_VALUES
- Default
Value string - The default value which will be used if no value is set. If defaultValue is empty, then no default will be set.
- Display
Name string - The field display name
- Is
Required bool - Set to true if the field must be defined
- Name string
- The field name
- Regex string
- Optional regular expression definition which will be applied to the value when valueCategory is CLEAR_TEXT
- Value
Categories []string - List of value categories of field allowed for this property
- allowed
Values List<String> - List of values which can be applied to the value when valueCategory is ALLOWED_VALUES
- default
Value String - The default value which will be used if no value is set. If defaultValue is empty, then no default will be set.
- display
Name String - The field display name
- is
Required Boolean - Set to true if the field must be defined
- name String
- The field name
- regex String
- Optional regular expression definition which will be applied to the value when valueCategory is CLEAR_TEXT
- value
Categories List<String> - List of value categories of field allowed for this property
- allowed
Values string[] - List of values which can be applied to the value when valueCategory is ALLOWED_VALUES
- default
Value string - The default value which will be used if no value is set. If defaultValue is empty, then no default will be set.
- display
Name string - The field display name
- is
Required boolean - Set to true if the field must be defined
- name string
- The field name
- regex string
- Optional regular expression definition which will be applied to the value when valueCategory is CLEAR_TEXT
- value
Categories string[] - List of value categories of field allowed for this property
- allowed_
values Sequence[str] - List of values which can be applied to the value when valueCategory is ALLOWED_VALUES
- default_
value str - The default value which will be used if no value is set. If defaultValue is empty, then no default will be set.
- display_
name str - The field display name
- is_
required bool - Set to true if the field must be defined
- name str
- The field name
- regex str
- Optional regular expression definition which will be applied to the value when valueCategory is CLEAR_TEXT
- value_
categories Sequence[str] - List of value categories of field allowed for this property
- allowed
Values List<String> - List of values which can be applied to the value when valueCategory is ALLOWED_VALUES
- default
Value String - The default value which will be used if no value is set. If defaultValue is empty, then no default will be set.
- display
Name String - The field display name
- is
Required Boolean - Set to true if the field must be defined
- name String
- The field name
- regex String
- Optional regular expression definition which will be applied to the value when valueCategory is CLEAR_TEXT
- value
Categories List<String> - List of value categories of field allowed for this property
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v4.2.0
published on Friday, Mar 6, 2026 by Pulumi
published on Friday, Mar 6, 2026 by Pulumi
