1. Packages
  2. Akeyless Provider
  3. API Docs
  4. getTargetDetails
akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community

akeyless.getTargetDetails

Explore with Pulumi AI

akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community

Get target details data source

Using getTargetDetails

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 getTargetDetails(args: GetTargetDetailsArgs, opts?: InvokeOptions): Promise<GetTargetDetailsResult>
function getTargetDetailsOutput(args: GetTargetDetailsOutputArgs, opts?: InvokeOptions): Output<GetTargetDetailsResult>
Copy
def get_target_details(id: Optional[str] = None,
                       name: Optional[str] = None,
                       show_versions: Optional[bool] = None,
                       target_version: Optional[float] = None,
                       opts: Optional[InvokeOptions] = None) -> GetTargetDetailsResult
def get_target_details_output(id: Optional[pulumi.Input[str]] = None,
                       name: Optional[pulumi.Input[str]] = None,
                       show_versions: Optional[pulumi.Input[bool]] = None,
                       target_version: Optional[pulumi.Input[float]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetTargetDetailsResult]
Copy
func GetTargetDetails(ctx *Context, args *GetTargetDetailsArgs, opts ...InvokeOption) (*GetTargetDetailsResult, error)
func GetTargetDetailsOutput(ctx *Context, args *GetTargetDetailsOutputArgs, opts ...InvokeOption) GetTargetDetailsResultOutput
Copy

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

public static class GetTargetDetails 
{
    public static Task<GetTargetDetailsResult> InvokeAsync(GetTargetDetailsArgs args, InvokeOptions? opts = null)
    public static Output<GetTargetDetailsResult> Invoke(GetTargetDetailsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetTargetDetailsResult> getTargetDetails(GetTargetDetailsArgs args, InvokeOptions options)
public static Output<GetTargetDetailsResult> getTargetDetails(GetTargetDetailsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: akeyless:index/getTargetDetails:getTargetDetails
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
Target name
Id string
The ID of this resource.
ShowVersions bool
Include all target versions in reply
TargetVersion double
Target version
Name This property is required. string
Target name
Id string
The ID of this resource.
ShowVersions bool
Include all target versions in reply
TargetVersion float64
Target version
name This property is required. String
Target name
id String
The ID of this resource.
showVersions Boolean
Include all target versions in reply
targetVersion Double
Target version
name This property is required. string
Target name
id string
The ID of this resource.
showVersions boolean
Include all target versions in reply
targetVersion number
Target version
name This property is required. str
Target name
id str
The ID of this resource.
show_versions bool
Include all target versions in reply
target_version float
Target version
name This property is required. String
Target name
id String
The ID of this resource.
showVersions Boolean
Include all target versions in reply
targetVersion Number
Target version

getTargetDetails Result

The following output properties are available:

Id string
The ID of this resource.
Name string
Target name
Value Dictionary<string, string>
ShowVersions bool
Include all target versions in reply
TargetVersion double
Target version
Id string
The ID of this resource.
Name string
Target name
Value map[string]string
ShowVersions bool
Include all target versions in reply
TargetVersion float64
Target version
id String
The ID of this resource.
name String
Target name
value Map<String,String>
showVersions Boolean
Include all target versions in reply
targetVersion Double
Target version
id string
The ID of this resource.
name string
Target name
value {[key: string]: string}
showVersions boolean
Include all target versions in reply
targetVersion number
Target version
id str
The ID of this resource.
name str
Target name
value Mapping[str, str]
show_versions bool
Include all target versions in reply
target_version float
Target version
id String
The ID of this resource.
name String
Target name
value Map<String>
showVersions Boolean
Include all target versions in reply
targetVersion Number
Target version

Package Details

Repository
akeyless akeyless-community/terraform-provider-akeyless
License
Notes
This Pulumi package is based on the akeyless Terraform Provider.
akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community