harness.platform.getNexusConnector
Datasource for looking up a Nexus connector.
Using getNexusConnector
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 getNexusConnector(args: GetNexusConnectorArgs, opts?: InvokeOptions): Promise<GetNexusConnectorResult>
function getNexusConnectorOutput(args: GetNexusConnectorOutputArgs, opts?: InvokeOptions): Output<GetNexusConnectorResult>
def get_nexus_connector(identifier: Optional[str] = None,
name: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNexusConnectorResult
def get_nexus_connector_output(identifier: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
org_id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNexusConnectorResult]
func LookupNexusConnector(ctx *Context, args *LookupNexusConnectorArgs, opts ...InvokeOption) (*LookupNexusConnectorResult, error)
func LookupNexusConnectorOutput(ctx *Context, args *LookupNexusConnectorOutputArgs, opts ...InvokeOption) LookupNexusConnectorResultOutput
> Note: This function is named LookupNexusConnector
in the Go SDK.
public static class GetNexusConnector
{
public static Task<GetNexusConnectorResult> InvokeAsync(GetNexusConnectorArgs args, InvokeOptions? opts = null)
public static Output<GetNexusConnectorResult> Invoke(GetNexusConnectorInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNexusConnectorResult> getNexusConnector(GetNexusConnectorArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: harness:platform/getNexusConnector:getNexusConnector
arguments:
# arguments dictionary
The following arguments are supported:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
getNexusConnector Result
The following output properties are available:
- Credentials
List<Lbrlabs.
Pulumi Package. Harness. Platform. Outputs. Get Nexus Connector Credential> Credentials to use for authentication.
- Delegate
Selectors List<string> Connect using only the delegates which have these tags.
- Description string
Description of the resource.
- Id string
The provider-assigned unique ID for this managed resource.
- 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
- 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.
- Credentials
[]Get
Nexus Connector Credential Credentials to use for authentication.
- Delegate
Selectors []string Connect using only the delegates which have these tags.
- Description string
Description of the resource.
- Id string
The provider-assigned unique ID for this managed resource.
- []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
- 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.
- credentials
List<Get
Nexus Connector Credential> Credentials to use for authentication.
- delegate
Selectors List<String> Connect using only the delegates which have these tags.
- description String
Description of the resource.
- id String
The provider-assigned unique ID for this managed resource.
- 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
- 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.
- credentials
Get
Nexus Connector Credential[] Credentials to use for authentication.
- delegate
Selectors string[] Connect using only the delegates which have these tags.
- description string
Description of the resource.
- id string
The provider-assigned unique ID for this managed resource.
- 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
- 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.
- credentials
Sequence[Get
Nexus Connector Credential] Credentials to use for authentication.
- delegate_
selectors Sequence[str] Connect using only the delegates which have these tags.
- description str
Description of the resource.
- id str
The provider-assigned unique ID for this managed resource.
- 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
- 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.
- credentials List<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.
- id String
The provider-assigned unique ID for this managed resource.
- 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
- 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.
Supporting Types
GetNexusConnectorCredential
- Password
Ref string - Username string
- Username
Ref string
- Password
Ref string - Username string
- Username
Ref string
- password
Ref String - username String
- username
Ref String
- password
Ref string - username string
- username
Ref string
- password_
ref str - username str
- username_
ref str
- password
Ref String - username String
- username
Ref String
Package Details
- Repository
- harness lbrlabs/pulumi-harness
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
harness
Terraform Provider.