akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community
akeyless.getTarget
Explore with Pulumi AI
akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community
Get target data source
Using getTarget
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 getTarget(args: GetTargetArgs, opts?: InvokeOptions): Promise<GetTargetResult>
function getTargetOutput(args: GetTargetOutputArgs, opts?: InvokeOptions): Output<GetTargetResult>
def get_target(id: Optional[str] = None,
name: Optional[str] = None,
show_versions: Optional[bool] = None,
opts: Optional[InvokeOptions] = None) -> GetTargetResult
def get_target_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
show_versions: Optional[pulumi.Input[bool]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTargetResult]
func GetTarget(ctx *Context, args *GetTargetArgs, opts ...InvokeOption) (*GetTargetResult, error)
func GetTargetOutput(ctx *Context, args *GetTargetOutputArgs, opts ...InvokeOption) GetTargetResultOutput
> Note: This function is named GetTarget
in the Go SDK.
public static class GetTarget
{
public static Task<GetTargetResult> InvokeAsync(GetTargetArgs args, InvokeOptions? opts = null)
public static Output<GetTargetResult> Invoke(GetTargetInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTargetResult> getTarget(GetTargetArgs args, InvokeOptions options)
public static Output<GetTargetResult> getTarget(GetTargetArgs args, InvokeOptions options)
fn::invoke:
function: akeyless:index/getTarget:getTarget
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
- Name string
- Target name
- Id string
- The ID of this resource.
- Show
Versions bool - Include all target versions in reply
- name String
- Target name
- id String
- The ID of this resource.
- show
Versions Boolean - Include all target versions in reply
- name string
- Target name
- id string
- The ID of this resource.
- show
Versions boolean - Include all target versions in reply
- name str
- Target name
- id str
- The ID of this resource.
- show_
versions bool - Include all target versions in reply
- name String
- Target name
- id String
- The ID of this resource.
- show
Versions Boolean - Include all target versions in reply
getTarget Result
The following output properties are available:
- Client
Permissions List<string> - Description string
- Id string
- The ID of this resource.
- Last
Version double - Name string
- Target name
- Protection
Key stringName - Target
Id double - Target
Items stringAssoc - Target
Name string - Target
Type string - Target
Versions string - With
Customer boolFragment - Show
Versions bool - Include all target versions in reply
- Client
Permissions []string - Description string
- Id string
- The ID of this resource.
- Last
Version float64 - Name string
- Target name
- Protection
Key stringName - Target
Id float64 - Target
Items stringAssoc - Target
Name string - Target
Type string - Target
Versions string - With
Customer boolFragment - Show
Versions bool - Include all target versions in reply
- client
Permissions List<String> - description String
- id String
- The ID of this resource.
- last
Version Double - name String
- Target name
- protection
Key StringName - target
Id Double - target
Items StringAssoc - target
Name String - target
Type String - target
Versions String - with
Customer BooleanFragment - show
Versions Boolean - Include all target versions in reply
- client
Permissions string[] - description string
- id string
- The ID of this resource.
- last
Version number - name string
- Target name
- protection
Key stringName - target
Id number - target
Items stringAssoc - target
Name string - target
Type string - target
Versions string - with
Customer booleanFragment - show
Versions boolean - Include all target versions in reply
- client_
permissions Sequence[str] - description str
- id str
- The ID of this resource.
- last_
version float - name str
- Target name
- protection_
key_ strname - target_
id float - target_
items_ strassoc - target_
name str - target_
type str - target_
versions str - with_
customer_ boolfragment - show_
versions bool - Include all target versions in reply
- client
Permissions List<String> - description String
- id String
- The ID of this resource.
- last
Version Number - name String
- Target name
- protection
Key StringName - target
Id Number - target
Items StringAssoc - target
Name String - target
Type String - target
Versions String - with
Customer BooleanFragment - show
Versions Boolean - Include all target versions in reply
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