harness.platform.NexusConnector
Resource for creating a Nexus connector.
Create NexusConnector Resource
new NexusConnector(name: string, args: NexusConnectorArgs, opts?: CustomResourceOptions);
@overload
def NexusConnector(resource_name: str,
opts: Optional[ResourceOptions] = None,
credentials: Optional[NexusConnectorCredentialsArgs] = None,
delegate_selectors: Optional[Sequence[str]] = None,
description: Optional[str] = None,
identifier: Optional[str] = None,
name: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
url: Optional[str] = None,
version: Optional[str] = None)
@overload
def NexusConnector(resource_name: str,
args: NexusConnectorArgs,
opts: Optional[ResourceOptions] = None)
func NewNexusConnector(ctx *Context, name string, args NexusConnectorArgs, opts ...ResourceOption) (*NexusConnector, error)
public NexusConnector(string name, NexusConnectorArgs args, CustomResourceOptions? opts = null)
public NexusConnector(String name, NexusConnectorArgs args)
public NexusConnector(String name, NexusConnectorArgs args, CustomResourceOptions options)
type: harness:platform:NexusConnector
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NexusConnectorArgs
- 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 NexusConnectorArgs
- 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 NexusConnectorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NexusConnectorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NexusConnectorArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
NexusConnector Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The NexusConnector resource accepts the following input properties:
- Identifier string
Unique identifier of the resource.
- Url string
URL of the Nexus server.
- Version string
Version of the Nexus server. Valid values are 2.x, 3.x
- Credentials
Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Nexus Connector Credentials Args Credentials to use for authentication.
- Delegate
Selectors List<string> Connect using only the delegates which have these tags.
- Description string
Description of the resource.
- Name string
Name of the resource.
- Org
Id string Unique identifier of the Organization.
- Project
Id string Unique identifier of the Project.
- List<string>
Tags to associate with the resource. Tags should be in the form
name:value
.
- Identifier string
Unique identifier of the resource.
- Url string
URL of the Nexus server.
- Version string
Version of the Nexus server. Valid values are 2.x, 3.x
- Credentials
Nexus
Connector Credentials Args Credentials to use for authentication.
- Delegate
Selectors []string Connect using only the delegates which have these tags.
- Description string
Description of the resource.
- Name string
Name of the resource.
- Org
Id string Unique identifier of the Organization.
- Project
Id string Unique identifier of the Project.
- []string
Tags to associate with the resource. Tags should be in the form
name:value
.
- identifier String
Unique identifier of the resource.
- url String
URL of the Nexus server.
- version String
Version of the Nexus server. Valid values are 2.x, 3.x
- credentials
Nexus
Connector Credentials Args Credentials to use for authentication.
- delegate
Selectors List<String> Connect using only the delegates which have these tags.
- description String
Description of the resource.
- name String
Name of the resource.
- org
Id String Unique identifier of the Organization.
- project
Id String Unique identifier of the Project.
- List<String>
Tags to associate with the resource. Tags should be in the form
name:value
.
- identifier string
Unique identifier of the resource.
- url string
URL of the Nexus server.
- version string
Version of the Nexus server. Valid values are 2.x, 3.x
- credentials
Nexus
Connector Credentials Args Credentials to use for authentication.
- delegate
Selectors string[] Connect using only the delegates which have these tags.
- description string
Description of the resource.
- name string
Name of the resource.
- org
Id string Unique identifier of the Organization.
- project
Id string Unique identifier of the Project.
- string[]
Tags to associate with the resource. Tags should be in the form
name:value
.
- identifier str
Unique identifier of the resource.
- url str
URL of the Nexus server.
- version str
Version of the Nexus server. Valid values are 2.x, 3.x
- credentials
Nexus
Connector Credentials Args Credentials to use for authentication.
- delegate_
selectors Sequence[str] Connect using only the delegates which have these tags.
- description str
Description of the resource.
- name str
Name of the resource.
- org_
id str Unique identifier of the Organization.
- project_
id str Unique identifier of the Project.
- Sequence[str]
Tags to associate with the resource. Tags should be in the form
name:value
.
- identifier String
Unique identifier of the resource.
- url String
URL of the Nexus server.
- version String
Version of the Nexus server. Valid values are 2.x, 3.x
- credentials Property Map
Credentials to use for authentication.
- delegate
Selectors List<String> Connect using only the delegates which have these tags.
- description String
Description of the resource.
- name String
Name of the resource.
- org
Id String Unique identifier of the Organization.
- project
Id String Unique identifier of the Project.
- List<String>
Tags to associate with the resource. Tags should be in the form
name:value
.
Outputs
All input properties are implicitly available as output properties. Additionally, the NexusConnector 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 NexusConnector Resource
Get an existing NexusConnector 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?: NexusConnectorState, opts?: CustomResourceOptions): NexusConnector
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
credentials: Optional[NexusConnectorCredentialsArgs] = None,
delegate_selectors: Optional[Sequence[str]] = None,
description: Optional[str] = None,
identifier: Optional[str] = None,
name: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
url: Optional[str] = None,
version: Optional[str] = None) -> NexusConnector
func GetNexusConnector(ctx *Context, name string, id IDInput, state *NexusConnectorState, opts ...ResourceOption) (*NexusConnector, error)
public static NexusConnector Get(string name, Input<string> id, NexusConnectorState? state, CustomResourceOptions? opts = null)
public static NexusConnector get(String name, Output<String> id, NexusConnectorState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Credentials
Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Nexus Connector Credentials Args Credentials to use for authentication.
- Delegate
Selectors List<string> Connect using only the delegates which have these tags.
- Description string
Description of the resource.
- Identifier string
Unique identifier of the resource.
- Name string
Name of the resource.
- Org
Id string Unique identifier of the Organization.
- Project
Id string Unique identifier of the Project.
- List<string>
Tags to associate with the resource. Tags should be in the form
name:value
.- Url string
URL of the Nexus server.
- Version string
Version of the Nexus server. Valid values are 2.x, 3.x
- Credentials
Nexus
Connector Credentials Args Credentials to use for authentication.
- Delegate
Selectors []string Connect using only the delegates which have these tags.
- Description string
Description of the resource.
- Identifier string
Unique identifier of the resource.
- Name string
Name of the resource.
- Org
Id string Unique identifier of the Organization.
- Project
Id string Unique identifier of the Project.
- []string
Tags to associate with the resource. Tags should be in the form
name:value
.- Url string
URL of the Nexus server.
- Version string
Version of the Nexus server. Valid values are 2.x, 3.x
- credentials
Nexus
Connector Credentials Args Credentials to use for authentication.
- delegate
Selectors List<String> Connect using only the delegates which have these tags.
- description String
Description of the resource.
- identifier String
Unique identifier of the resource.
- name String
Name of the resource.
- org
Id String Unique identifier of the Organization.
- project
Id String Unique identifier of the Project.
- List<String>
Tags to associate with the resource. Tags should be in the form
name:value
.- url String
URL of the Nexus server.
- version String
Version of the Nexus server. Valid values are 2.x, 3.x
- credentials
Nexus
Connector Credentials Args Credentials to use for authentication.
- delegate
Selectors string[] Connect using only the delegates which have these tags.
- description string
Description of the resource.
- identifier string
Unique identifier of the resource.
- name string
Name of the resource.
- org
Id string Unique identifier of the Organization.
- project
Id string Unique identifier of the Project.
- string[]
Tags to associate with the resource. Tags should be in the form
name:value
.- url string
URL of the Nexus server.
- version string
Version of the Nexus server. Valid values are 2.x, 3.x
- credentials
Nexus
Connector Credentials Args Credentials to use for authentication.
- delegate_
selectors Sequence[str] Connect using only the delegates which have these tags.
- description str
Description of the resource.
- identifier str
Unique identifier of the resource.
- name str
Name of the resource.
- org_
id str Unique identifier of the Organization.
- project_
id str Unique identifier of the Project.
- Sequence[str]
Tags to associate with the resource. Tags should be in the form
name:value
.- url str
URL of the Nexus server.
- version str
Version of the Nexus server. Valid values are 2.x, 3.x
- credentials Property Map
Credentials to use for authentication.
- delegate
Selectors List<String> Connect using only the delegates which have these tags.
- description String
Description of the resource.
- identifier String
Unique identifier of the resource.
- name String
Name of the resource.
- org
Id String Unique identifier of the Organization.
- project
Id String Unique identifier of the Project.
- List<String>
Tags to associate with the resource. Tags should be in the form
name:value
.- url String
URL of the Nexus server.
- version String
Version of the Nexus server. Valid values are 2.x, 3.x
Supporting Types
NexusConnectorCredentials
- Password
Ref string Reference to a secret containing the password to use for authentication.
- Username string
Username to use for authentication.
- Username
Ref string Reference to a secret containing the username to use for authentication.
- Password
Ref string Reference to a secret containing the password to use for authentication.
- Username string
Username to use for authentication.
- Username
Ref string Reference to a secret containing the username to use for authentication.
- password
Ref String Reference to a secret containing the password to use for authentication.
- username String
Username to use for authentication.
- username
Ref String Reference to a secret containing the username to use for authentication.
- password
Ref string Reference to a secret containing the password to use for authentication.
- username string
Username to use for authentication.
- username
Ref string Reference to a secret containing the username to use for authentication.
- password_
ref str Reference to a secret containing the password to use for authentication.
- username str
Username to use for authentication.
- username_
ref str Reference to a secret containing the username to use for authentication.
- password
Ref String Reference to a secret containing the password to use for authentication.
- username String
Username to use for authentication.
- username
Ref String Reference to a secret containing the username to use for authentication.
Package Details
- Repository
- harness lbrlabs/pulumi-harness
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
harness
Terraform Provider.