akeyless.TargetArtifactory
Explore with Pulumi AI
Artifactory Target resource
Create TargetArtifactory Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TargetArtifactory(name: string, args: TargetArtifactoryArgs, opts?: CustomResourceOptions);
@overload
def TargetArtifactory(resource_name: str,
args: TargetArtifactoryArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TargetArtifactory(resource_name: str,
opts: Optional[ResourceOptions] = None,
artifactory_admin_name: Optional[str] = None,
artifactory_admin_pwd: Optional[str] = None,
base_url: Optional[str] = None,
description: Optional[str] = None,
key: Optional[str] = None,
name: Optional[str] = None,
target_artifactory_id: Optional[str] = None)
func NewTargetArtifactory(ctx *Context, name string, args TargetArtifactoryArgs, opts ...ResourceOption) (*TargetArtifactory, error)
public TargetArtifactory(string name, TargetArtifactoryArgs args, CustomResourceOptions? opts = null)
public TargetArtifactory(String name, TargetArtifactoryArgs args)
public TargetArtifactory(String name, TargetArtifactoryArgs args, CustomResourceOptions options)
type: akeyless:TargetArtifactory
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 TargetArtifactoryArgs
- 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 TargetArtifactoryArgs
- 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 TargetArtifactoryArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TargetArtifactoryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TargetArtifactoryArgs
- 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 targetArtifactoryResource = new Akeyless.TargetArtifactory("targetArtifactoryResource", new()
{
ArtifactoryAdminName = "string",
ArtifactoryAdminPwd = "string",
BaseUrl = "string",
Description = "string",
Key = "string",
Name = "string",
TargetArtifactoryId = "string",
});
example, err := akeyless.NewTargetArtifactory(ctx, "targetArtifactoryResource", &akeyless.TargetArtifactoryArgs{
ArtifactoryAdminName: pulumi.String("string"),
ArtifactoryAdminPwd: pulumi.String("string"),
BaseUrl: pulumi.String("string"),
Description: pulumi.String("string"),
Key: pulumi.String("string"),
Name: pulumi.String("string"),
TargetArtifactoryId: pulumi.String("string"),
})
var targetArtifactoryResource = new TargetArtifactory("targetArtifactoryResource", TargetArtifactoryArgs.builder()
.artifactoryAdminName("string")
.artifactoryAdminPwd("string")
.baseUrl("string")
.description("string")
.key("string")
.name("string")
.targetArtifactoryId("string")
.build());
target_artifactory_resource = akeyless.TargetArtifactory("targetArtifactoryResource",
artifactory_admin_name="string",
artifactory_admin_pwd="string",
base_url="string",
description="string",
key="string",
name="string",
target_artifactory_id="string")
const targetArtifactoryResource = new akeyless.TargetArtifactory("targetArtifactoryResource", {
artifactoryAdminName: "string",
artifactoryAdminPwd: "string",
baseUrl: "string",
description: "string",
key: "string",
name: "string",
targetArtifactoryId: "string",
});
type: akeyless:TargetArtifactory
properties:
artifactoryAdminName: string
artifactoryAdminPwd: string
baseUrl: string
description: string
key: string
name: string
targetArtifactoryId: string
TargetArtifactory 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 TargetArtifactory resource accepts the following input properties:
- Artifactory
Admin stringName - Admin name
- Artifactory
Admin stringPwd - Admin API Key/Password
- Base
Url string - Artifactory REST URL, must end with artifactory postfix
- Description string
- Description of the object
- Key string
- The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
- Name string
- Target name
- Target
Artifactory stringId - The ID of this resource.
- Artifactory
Admin stringName - Admin name
- Artifactory
Admin stringPwd - Admin API Key/Password
- Base
Url string - Artifactory REST URL, must end with artifactory postfix
- Description string
- Description of the object
- Key string
- The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
- Name string
- Target name
- Target
Artifactory stringId - The ID of this resource.
- artifactory
Admin StringName - Admin name
- artifactory
Admin StringPwd - Admin API Key/Password
- base
Url String - Artifactory REST URL, must end with artifactory postfix
- description String
- Description of the object
- key String
- The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
- name String
- Target name
- target
Artifactory StringId - The ID of this resource.
- artifactory
Admin stringName - Admin name
- artifactory
Admin stringPwd - Admin API Key/Password
- base
Url string - Artifactory REST URL, must end with artifactory postfix
- description string
- Description of the object
- key string
- The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
- name string
- Target name
- target
Artifactory stringId - The ID of this resource.
- artifactory_
admin_ strname - Admin name
- artifactory_
admin_ strpwd - Admin API Key/Password
- base_
url str - Artifactory REST URL, must end with artifactory postfix
- description str
- Description of the object
- key str
- The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
- name str
- Target name
- target_
artifactory_ strid - The ID of this resource.
- artifactory
Admin StringName - Admin name
- artifactory
Admin StringPwd - Admin API Key/Password
- base
Url String - Artifactory REST URL, must end with artifactory postfix
- description String
- Description of the object
- key String
- The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
- name String
- Target name
- target
Artifactory StringId - The ID of this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the TargetArtifactory 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 TargetArtifactory Resource
Get an existing TargetArtifactory 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?: TargetArtifactoryState, opts?: CustomResourceOptions): TargetArtifactory
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
artifactory_admin_name: Optional[str] = None,
artifactory_admin_pwd: Optional[str] = None,
base_url: Optional[str] = None,
description: Optional[str] = None,
key: Optional[str] = None,
name: Optional[str] = None,
target_artifactory_id: Optional[str] = None) -> TargetArtifactory
func GetTargetArtifactory(ctx *Context, name string, id IDInput, state *TargetArtifactoryState, opts ...ResourceOption) (*TargetArtifactory, error)
public static TargetArtifactory Get(string name, Input<string> id, TargetArtifactoryState? state, CustomResourceOptions? opts = null)
public static TargetArtifactory get(String name, Output<String> id, TargetArtifactoryState state, CustomResourceOptions options)
resources: _: type: akeyless:TargetArtifactory 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.
- Artifactory
Admin stringName - Admin name
- Artifactory
Admin stringPwd - Admin API Key/Password
- Base
Url string - Artifactory REST URL, must end with artifactory postfix
- Description string
- Description of the object
- Key string
- The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
- Name string
- Target name
- Target
Artifactory stringId - The ID of this resource.
- Artifactory
Admin stringName - Admin name
- Artifactory
Admin stringPwd - Admin API Key/Password
- Base
Url string - Artifactory REST URL, must end with artifactory postfix
- Description string
- Description of the object
- Key string
- The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
- Name string
- Target name
- Target
Artifactory stringId - The ID of this resource.
- artifactory
Admin StringName - Admin name
- artifactory
Admin StringPwd - Admin API Key/Password
- base
Url String - Artifactory REST URL, must end with artifactory postfix
- description String
- Description of the object
- key String
- The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
- name String
- Target name
- target
Artifactory StringId - The ID of this resource.
- artifactory
Admin stringName - Admin name
- artifactory
Admin stringPwd - Admin API Key/Password
- base
Url string - Artifactory REST URL, must end with artifactory postfix
- description string
- Description of the object
- key string
- The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
- name string
- Target name
- target
Artifactory stringId - The ID of this resource.
- artifactory_
admin_ strname - Admin name
- artifactory_
admin_ strpwd - Admin API Key/Password
- base_
url str - Artifactory REST URL, must end with artifactory postfix
- description str
- Description of the object
- key str
- The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
- name str
- Target name
- target_
artifactory_ strid - The ID of this resource.
- artifactory
Admin StringName - Admin name
- artifactory
Admin StringPwd - Admin API Key/Password
- base
Url String - Artifactory REST URL, must end with artifactory postfix
- description String
- Description of the object
- key String
- The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
- name String
- Target name
- target
Artifactory StringId - The ID of this resource.
Package Details
- Repository
- akeyless akeyless-community/terraform-provider-akeyless
- License
- Notes
- This Pulumi package is based on the
akeyless
Terraform Provider.