akeyless.TargetLinked
Explore with Pulumi AI
Linked Target resource
Create TargetLinked Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TargetLinked(name: string, args?: TargetLinkedArgs, opts?: CustomResourceOptions);
@overload
def TargetLinked(resource_name: str,
args: Optional[TargetLinkedArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def TargetLinked(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
hosts: Optional[str] = None,
name: Optional[str] = None,
parent_target_name: Optional[str] = None,
target_linked_id: Optional[str] = None,
type: Optional[str] = None)
func NewTargetLinked(ctx *Context, name string, args *TargetLinkedArgs, opts ...ResourceOption) (*TargetLinked, error)
public TargetLinked(string name, TargetLinkedArgs? args = null, CustomResourceOptions? opts = null)
public TargetLinked(String name, TargetLinkedArgs args)
public TargetLinked(String name, TargetLinkedArgs args, CustomResourceOptions options)
type: akeyless:TargetLinked
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args TargetLinkedArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TargetLinkedArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TargetLinkedArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TargetLinkedArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TargetLinkedArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var targetLinkedResource = new Akeyless.TargetLinked("targetLinkedResource", new()
{
Description = "string",
Hosts = "string",
Name = "string",
ParentTargetName = "string",
TargetLinkedId = "string",
Type = "string",
});
example, err := akeyless.NewTargetLinked(ctx, "targetLinkedResource", &akeyless.TargetLinkedArgs{
Description: pulumi.String("string"),
Hosts: pulumi.String("string"),
Name: pulumi.String("string"),
ParentTargetName: pulumi.String("string"),
TargetLinkedId: pulumi.String("string"),
Type: pulumi.String("string"),
})
var targetLinkedResource = new TargetLinked("targetLinkedResource", TargetLinkedArgs.builder()
.description("string")
.hosts("string")
.name("string")
.parentTargetName("string")
.targetLinkedId("string")
.type("string")
.build());
target_linked_resource = akeyless.TargetLinked("targetLinkedResource",
description="string",
hosts="string",
name="string",
parent_target_name="string",
target_linked_id="string",
type="string")
const targetLinkedResource = new akeyless.TargetLinked("targetLinkedResource", {
description: "string",
hosts: "string",
name: "string",
parentTargetName: "string",
targetLinkedId: "string",
type: "string",
});
type: akeyless:TargetLinked
properties:
description: string
hosts: string
name: string
parentTargetName: string
targetLinkedId: string
type: string
TargetLinked Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The TargetLinked resource accepts the following input properties:
- Description string
- Description of the object
- Hosts string
- A comma seperated list of server hosts and server descriptions joined by semicolon ';' (i.e. 'server-dev.com;My Dev server,server-prod.com;My Prod server description')
- Name string
- Linked Target name
- Parent
Target stringName - The parent Target name
- Target
Linked stringId - The ID of this resource.
- Type string
- Specifies the hosts type, relevant only when working without parent target
- Description string
- Description of the object
- Hosts string
- A comma seperated list of server hosts and server descriptions joined by semicolon ';' (i.e. 'server-dev.com;My Dev server,server-prod.com;My Prod server description')
- Name string
- Linked Target name
- Parent
Target stringName - The parent Target name
- Target
Linked stringId - The ID of this resource.
- Type string
- Specifies the hosts type, relevant only when working without parent target
- description String
- Description of the object
- hosts String
- A comma seperated list of server hosts and server descriptions joined by semicolon ';' (i.e. 'server-dev.com;My Dev server,server-prod.com;My Prod server description')
- name String
- Linked Target name
- parent
Target StringName - The parent Target name
- target
Linked StringId - The ID of this resource.
- type String
- Specifies the hosts type, relevant only when working without parent target
- description string
- Description of the object
- hosts string
- A comma seperated list of server hosts and server descriptions joined by semicolon ';' (i.e. 'server-dev.com;My Dev server,server-prod.com;My Prod server description')
- name string
- Linked Target name
- parent
Target stringName - The parent Target name
- target
Linked stringId - The ID of this resource.
- type string
- Specifies the hosts type, relevant only when working without parent target
- description str
- Description of the object
- hosts str
- A comma seperated list of server hosts and server descriptions joined by semicolon ';' (i.e. 'server-dev.com;My Dev server,server-prod.com;My Prod server description')
- name str
- Linked Target name
- parent_
target_ strname - The parent Target name
- target_
linked_ strid - The ID of this resource.
- type str
- Specifies the hosts type, relevant only when working without parent target
- description String
- Description of the object
- hosts String
- A comma seperated list of server hosts and server descriptions joined by semicolon ';' (i.e. 'server-dev.com;My Dev server,server-prod.com;My Prod server description')
- name String
- Linked Target name
- parent
Target StringName - The parent Target name
- target
Linked StringId - The ID of this resource.
- type String
- Specifies the hosts type, relevant only when working without parent target
Outputs
All input properties are implicitly available as output properties. Additionally, the TargetLinked resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing TargetLinked Resource
Get an existing TargetLinked resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: TargetLinkedState, opts?: CustomResourceOptions): TargetLinked
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
hosts: Optional[str] = None,
name: Optional[str] = None,
parent_target_name: Optional[str] = None,
target_linked_id: Optional[str] = None,
type: Optional[str] = None) -> TargetLinked
func GetTargetLinked(ctx *Context, name string, id IDInput, state *TargetLinkedState, opts ...ResourceOption) (*TargetLinked, error)
public static TargetLinked Get(string name, Input<string> id, TargetLinkedState? state, CustomResourceOptions? opts = null)
public static TargetLinked get(String name, Output<String> id, TargetLinkedState state, CustomResourceOptions options)
resources: _: type: akeyless:TargetLinked get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Description string
- Description of the object
- Hosts string
- A comma seperated list of server hosts and server descriptions joined by semicolon ';' (i.e. 'server-dev.com;My Dev server,server-prod.com;My Prod server description')
- Name string
- Linked Target name
- Parent
Target stringName - The parent Target name
- Target
Linked stringId - The ID of this resource.
- Type string
- Specifies the hosts type, relevant only when working without parent target
- Description string
- Description of the object
- Hosts string
- A comma seperated list of server hosts and server descriptions joined by semicolon ';' (i.e. 'server-dev.com;My Dev server,server-prod.com;My Prod server description')
- Name string
- Linked Target name
- Parent
Target stringName - The parent Target name
- Target
Linked stringId - The ID of this resource.
- Type string
- Specifies the hosts type, relevant only when working without parent target
- description String
- Description of the object
- hosts String
- A comma seperated list of server hosts and server descriptions joined by semicolon ';' (i.e. 'server-dev.com;My Dev server,server-prod.com;My Prod server description')
- name String
- Linked Target name
- parent
Target StringName - The parent Target name
- target
Linked StringId - The ID of this resource.
- type String
- Specifies the hosts type, relevant only when working without parent target
- description string
- Description of the object
- hosts string
- A comma seperated list of server hosts and server descriptions joined by semicolon ';' (i.e. 'server-dev.com;My Dev server,server-prod.com;My Prod server description')
- name string
- Linked Target name
- parent
Target stringName - The parent Target name
- target
Linked stringId - The ID of this resource.
- type string
- Specifies the hosts type, relevant only when working without parent target
- description str
- Description of the object
- hosts str
- A comma seperated list of server hosts and server descriptions joined by semicolon ';' (i.e. 'server-dev.com;My Dev server,server-prod.com;My Prod server description')
- name str
- Linked Target name
- parent_
target_ strname - The parent Target name
- target_
linked_ strid - The ID of this resource.
- type str
- Specifies the hosts type, relevant only when working without parent target
- description String
- Description of the object
- hosts String
- A comma seperated list of server hosts and server descriptions joined by semicolon ';' (i.e. 'server-dev.com;My Dev server,server-prod.com;My Prod server description')
- name String
- Linked Target name
- parent
Target StringName - The parent Target name
- target
Linked StringId - The ID of this resource.
- type String
- Specifies the hosts type, relevant only when working without parent target
Package Details
- Repository
- akeyless akeyless-community/terraform-provider-akeyless
- License
- Notes
- This Pulumi package is based on the
akeyless
Terraform Provider.