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>
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]
func GetTargetDetails(ctx *Context, args *GetTargetDetailsArgs, opts ...InvokeOption) (*GetTargetDetailsResult, error)
func GetTargetDetailsOutput(ctx *Context, args *GetTargetDetailsOutputArgs, opts ...InvokeOption) GetTargetDetailsResultOutput
> 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)
}
public static CompletableFuture<GetTargetDetailsResult> getTargetDetails(GetTargetDetailsArgs args, InvokeOptions options)
public static Output<GetTargetDetailsResult> getTargetDetails(GetTargetDetailsArgs args, InvokeOptions options)
fn::invoke:
function: akeyless:index/getTargetDetails:getTargetDetails
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- Target name
- Id string
- The ID of this resource.
- Show
Versions bool - Include all target versions in reply
- Target
Version double - Target version
- Name string
- Target name
- Id string
- The ID of this resource.
- Show
Versions bool - Include all target versions in reply
- Target
Version float64 - Target version
- name String
- Target name
- id String
- The ID of this resource.
- show
Versions Boolean - Include all target versions in reply
- target
Version Double - Target version
- name string
- Target name
- id string
- The ID of this resource.
- show
Versions boolean - Include all target versions in reply
- target
Version number - Target version
- name 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 String
- Target name
- id String
- The ID of this resource.
- show
Versions Boolean - Include all target versions in reply
- target
Version 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>
- Show
Versions bool - Include all target versions in reply
- Target
Version double - Target version
- Id string
- The ID of this resource.
- Name string
- Target name
- Value map[string]string
- Show
Versions bool - Include all target versions in reply
- Target
Version float64 - Target version
- id String
- The ID of this resource.
- name String
- Target name
- value Map<String,String>
- show
Versions Boolean - Include all target versions in reply
- target
Version Double - Target version
- id string
- The ID of this resource.
- name string
- Target name
- value {[key: string]: string}
- show
Versions boolean - Include all target versions in reply
- target
Version 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>
- show
Versions Boolean - Include all target versions in reply
- target
Version 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