Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs
harness.platform.getServiceNowConnector
Explore with Pulumi AI
Datasource for looking up a Service Now connector.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Harness = Pulumi.Harness;
return await Deployment.RunAsync(() => 
{
    var example = Harness.Platform.GetServiceNowConnector.Invoke(new()
    {
        Identifier = "identifier",
    });
});
package main
import (
	"github.com/lbrlabs/pulumi-harness/sdk/go/harness/platform"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := platform.LookupServiceNowConnector(ctx, &platform.LookupServiceNowConnectorArgs{
			Identifier: "identifier",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.harness.platform.PlatformFunctions;
import com.pulumi.harness.platform.inputs.GetServiceNowConnectorArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var example = PlatformFunctions.getServiceNowConnector(GetServiceNowConnectorArgs.builder()
            .identifier("identifier")
            .build());
    }
}
import pulumi
import pulumi_harness as harness
example = harness.platform.get_service_now_connector(identifier="identifier")
import * as pulumi from "@pulumi/pulumi";
import * as harness from "@pulumi/harness";
const example = harness.platform.getServiceNowConnector({
    identifier: "identifier",
});
variables:
  example:
    fn::invoke:
      Function: harness:platform:getServiceNowConnector
      Arguments:
        identifier: identifier
Using getServiceNowConnector
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 getServiceNowConnector(args: GetServiceNowConnectorArgs, opts?: InvokeOptions): Promise<GetServiceNowConnectorResult>
function getServiceNowConnectorOutput(args: GetServiceNowConnectorOutputArgs, opts?: InvokeOptions): Output<GetServiceNowConnectorResult>def get_service_now_connector(identifier: Optional[str] = None,
                              name: Optional[str] = None,
                              org_id: Optional[str] = None,
                              project_id: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetServiceNowConnectorResult
def get_service_now_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[GetServiceNowConnectorResult]func LookupServiceNowConnector(ctx *Context, args *LookupServiceNowConnectorArgs, opts ...InvokeOption) (*LookupServiceNowConnectorResult, error)
func LookupServiceNowConnectorOutput(ctx *Context, args *LookupServiceNowConnectorOutputArgs, opts ...InvokeOption) LookupServiceNowConnectorResultOutput> Note: This function is named LookupServiceNowConnector in the Go SDK.
public static class GetServiceNowConnector 
{
    public static Task<GetServiceNowConnectorResult> InvokeAsync(GetServiceNowConnectorArgs args, InvokeOptions? opts = null)
    public static Output<GetServiceNowConnectorResult> Invoke(GetServiceNowConnectorInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetServiceNowConnectorResult> getServiceNowConnector(GetServiceNowConnectorArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: harness:platform/getServiceNowConnector:getServiceNowConnector
  arguments:
    # arguments dictionaryThe 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.
 
getServiceNowConnector Result
The following output properties are available:
- Auths
List<Lbrlabs.
Pulumi Package. Harness. Platform. Outputs. Get Service Now Connector Auth>  - The credentials to use for the service now authentication.
 - Delegate
Selectors List<string> - Tags to filter delegates for connection.
 - Description string
 - Description of the resource.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Identifier string
 - Unique identifier of the resource.
 - Password
Ref string - Reference to a secret containing the password to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
 - Service
Now stringUrl  - URL of service now.
 - List<string>
 - Tags to associate with the resource.
 - Username string
 - Username to use for authentication.
 - Username
Ref string - Reference to a secret containing the username to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
 - Name string
 - Name of the resource.
 - Org
Id string - Unique identifier of the organization.
 - Project
Id string - Unique identifier of the project.
 
- Auths
[]Get
Service Now Connector Auth  - The credentials to use for the service now authentication.
 - Delegate
Selectors []string - Tags to filter delegates for connection.
 - Description string
 - Description of the resource.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Identifier string
 - Unique identifier of the resource.
 - Password
Ref string - Reference to a secret containing the password to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
 - Service
Now stringUrl  - URL of service now.
 - []string
 - Tags to associate with the resource.
 - Username string
 - Username to use for authentication.
 - Username
Ref string - Reference to a secret containing the username to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
 - Name string
 - Name of the resource.
 - Org
Id string - Unique identifier of the organization.
 - Project
Id string - Unique identifier of the project.
 
- auths
List<Get
Service Now Connector Auth>  - The credentials to use for the service now authentication.
 - delegate
Selectors List<String> - Tags to filter delegates for connection.
 - description String
 - Description of the resource.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - identifier String
 - Unique identifier of the resource.
 - password
Ref String - Reference to a secret containing the password to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
 - service
Now StringUrl  - URL of service now.
 - List<String>
 - Tags to associate with the resource.
 - username String
 - Username to use for authentication.
 - username
Ref String - Reference to a secret containing the username to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
 - name String
 - Name of the resource.
 - org
Id String - Unique identifier of the organization.
 - project
Id String - Unique identifier of the project.
 
- auths
Get
Service Now Connector Auth[]  - The credentials to use for the service now authentication.
 - delegate
Selectors string[] - Tags to filter delegates for connection.
 - description string
 - Description of the resource.
 - id string
 - The provider-assigned unique ID for this managed resource.
 - identifier string
 - Unique identifier of the resource.
 - password
Ref string - Reference to a secret containing the password to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
 - service
Now stringUrl  - URL of service now.
 - string[]
 - Tags to associate with the resource.
 - username string
 - Username to use for authentication.
 - username
Ref string - Reference to a secret containing the username to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
 - name string
 - Name of the resource.
 - org
Id string - Unique identifier of the organization.
 - project
Id string - Unique identifier of the project.
 
- auths
Sequence[Get
Service Now Connector Auth]  - The credentials to use for the service now authentication.
 - delegate_
selectors Sequence[str] - Tags to filter delegates for connection.
 - description str
 - Description of the resource.
 - id str
 - The provider-assigned unique ID for this managed resource.
 - identifier str
 - Unique identifier of the resource.
 - password_
ref str - Reference to a secret containing the password to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
 - service_
now_ strurl  - URL of service now.
 - Sequence[str]
 - Tags to associate with the resource.
 - username str
 - Username to use for authentication.
 - username_
ref str - Reference to a secret containing the username to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
 - name str
 - Name of the resource.
 - org_
id str - Unique identifier of the organization.
 - project_
id str - Unique identifier of the project.
 
- auths List<Property Map>
 - The credentials to use for the service now authentication.
 - delegate
Selectors List<String> - Tags to filter delegates for connection.
 - description String
 - Description of the resource.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - identifier String
 - Unique identifier of the resource.
 - password
Ref String - Reference to a secret containing the password to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
 - service
Now StringUrl  - URL of service now.
 - List<String>
 - Tags to associate with the resource.
 - username String
 - Username to use for authentication.
 - username
Ref String - Reference to a secret containing the username to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
 - name String
 - Name of the resource.
 - org
Id String - Unique identifier of the organization.
 - project
Id String - Unique identifier of the project.
 
Supporting Types
GetServiceNowConnectorAuth    
GetServiceNowConnectorAuthAdf     
- Adfs
Url string - Certificate
Ref string - Client
Id stringRef  - Private
Key stringRef  - Resource
Id stringRef  
- Adfs
Url string - Certificate
Ref string - Client
Id stringRef  - Private
Key stringRef  - Resource
Id stringRef  
- adfs
Url String - certificate
Ref String - client
Id StringRef  - private
Key StringRef  - resource
Id StringRef  
- adfs
Url string - certificate
Ref string - client
Id stringRef  - private
Key stringRef  - resource
Id stringRef  
- adfs_
url str - certificate_
ref str - client_
id_ strref  - private_
key_ strref  - resource_
id_ strref  
- adfs
Url String - certificate
Ref String - client
Id StringRef  - private
Key StringRef  - resource
Id StringRef  
GetServiceNowConnectorAuthUsernamePassword      
- Password
Ref string - Reference to a secret containing the password to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
 - Username string
 - Username to use for authentication.
 - Username
Ref string - Reference to a secret containing the username to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
 
- Password
Ref string - Reference to a secret containing the password to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
 - Username string
 - Username to use for authentication.
 - Username
Ref string - Reference to a secret containing the username to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
 
- password
Ref String - Reference to a secret containing the password to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
 - username String
 - Username to use for authentication.
 - username
Ref String - Reference to a secret containing the username to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
 
- password
Ref string - Reference to a secret containing the password to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
 - username string
 - Username to use for authentication.
 - username
Ref string - Reference to a secret containing the username to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
 
- password_
ref str - Reference to a secret containing the password to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
 - username str
 - Username to use for authentication.
 - username_
ref str - Reference to a secret containing the username to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
 
- password
Ref String - Reference to a secret containing the password to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
 - username String
 - Username to use for authentication.
 - username
Ref String - Reference to a secret containing the username to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
 
Package Details
- Repository
 - harness lbrlabs/pulumi-harness
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
harnessTerraform Provider.