1. Packages
  2. Harness
  3. API Docs
  4. platform
  5. ServiceNowConnector
Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs

harness.platform.ServiceNowConnector

Explore with Pulumi AI

harness logo
Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs

    Resource for creating a Service Now connector.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Harness = Lbrlabs.PulumiPackage.Harness;
    
    return await Deployment.RunAsync(() => 
    {
        // Credential type AdfsClientCredentialsWithCertificate
        var test = new Harness.Platform.ServiceNowConnector("test", new()
        {
            Auth = new Harness.Platform.Inputs.ServiceNowConnectorAuthArgs
            {
                Adfs = new Harness.Platform.Inputs.ServiceNowConnectorAuthAdfsArgs
                {
                    AdfsUrl = "https://adfs_url.com",
                    CertificateRef = "account.certificate_ref",
                    ClientIdRef = "account.client_id_ref",
                    PrivateKeyRef = "account.private_key_ref}",
                    ResourceIdRef = "account.resource_id_ref",
                },
                AuthType = "AdfsClientCredentialsWithCertificate",
            },
            DelegateSelectors = new[]
            {
                "harness-delegate",
            },
            Description = "test",
            Identifier = "identifier",
            ServiceNowUrl = "https://servicenow.com",
            Tags = new[]
            {
                "foo:bar",
            },
        });
    
    });
    
    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.NewServiceNowConnector(ctx, "test", &platform.ServiceNowConnectorArgs{
    			Auth: &platform.ServiceNowConnectorAuthArgs{
    				Adfs: &platform.ServiceNowConnectorAuthAdfsArgs{
    					AdfsUrl:        pulumi.String("https://adfs_url.com"),
    					CertificateRef: pulumi.String("account.certificate_ref"),
    					ClientIdRef:    pulumi.String("account.client_id_ref"),
    					PrivateKeyRef:  pulumi.String("account.private_key_ref}"),
    					ResourceIdRef:  pulumi.String("account.resource_id_ref"),
    				},
    				AuthType: pulumi.String("AdfsClientCredentialsWithCertificate"),
    			},
    			DelegateSelectors: pulumi.StringArray{
    				pulumi.String("harness-delegate"),
    			},
    			Description:   pulumi.String("test"),
    			Identifier:    pulumi.String("identifier"),
    			ServiceNowUrl: pulumi.String("https://servicenow.com"),
    			Tags: pulumi.StringArray{
    				pulumi.String("foo:bar"),
    			},
    		})
    		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.ServiceNowConnector;
    import com.pulumi.harness.platform.ServiceNowConnectorArgs;
    import com.pulumi.harness.platform.inputs.ServiceNowConnectorAuthArgs;
    import com.pulumi.harness.platform.inputs.ServiceNowConnectorAuthAdfsArgs;
    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) {
            var test = new ServiceNowConnector("test", ServiceNowConnectorArgs.builder()        
                .auth(ServiceNowConnectorAuthArgs.builder()
                    .adfs(ServiceNowConnectorAuthAdfsArgs.builder()
                        .adfsUrl("https://adfs_url.com")
                        .certificateRef("account.certificate_ref")
                        .clientIdRef("account.client_id_ref")
                        .privateKeyRef("account.private_key_ref}")
                        .resourceIdRef("account.resource_id_ref")
                        .build())
                    .authType("AdfsClientCredentialsWithCertificate")
                    .build())
                .delegateSelectors("harness-delegate")
                .description("test")
                .identifier("identifier")
                .serviceNowUrl("https://servicenow.com")
                .tags("foo:bar")
                .build());
    
        }
    }
    
    import pulumi
    import lbrlabs_pulumi_harness as harness
    
    # Credential type AdfsClientCredentialsWithCertificate
    test = harness.platform.ServiceNowConnector("test",
        auth=harness.platform.ServiceNowConnectorAuthArgs(
            adfs=harness.platform.ServiceNowConnectorAuthAdfsArgs(
                adfs_url="https://adfs_url.com",
                certificate_ref="account.certificate_ref",
                client_id_ref="account.client_id_ref",
                private_key_ref="account.private_key_ref}",
                resource_id_ref="account.resource_id_ref",
            ),
            auth_type="AdfsClientCredentialsWithCertificate",
        ),
        delegate_selectors=["harness-delegate"],
        description="test",
        identifier="identifier",
        service_now_url="https://servicenow.com",
        tags=["foo:bar"])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as harness from "@lbrlabs/pulumi-harness";
    
    // Credential type AdfsClientCredentialsWithCertificate
    const test = new harness.platform.ServiceNowConnector("test", {
        auth: {
            adfs: {
                adfsUrl: "https://adfs_url.com",
                certificateRef: "account.certificate_ref",
                clientIdRef: "account.client_id_ref",
                privateKeyRef: "account.private_key_ref}",
                resourceIdRef: "account.resource_id_ref",
            },
            authType: "AdfsClientCredentialsWithCertificate",
        },
        delegateSelectors: ["harness-delegate"],
        description: "test",
        identifier: "identifier",
        serviceNowUrl: "https://servicenow.com",
        tags: ["foo:bar"],
    });
    
    resources:
      # Credential type AdfsClientCredentialsWithCertificate
      test:
        type: harness:platform:ServiceNowConnector
        properties:
          auth:
            adfs:
              adfsUrl: https://adfs_url.com
              certificateRef: account.certificate_ref
              clientIdRef: account.client_id_ref
              privateKeyRef: account.private_key_ref}
              resourceIdRef: account.resource_id_ref
            authType: AdfsClientCredentialsWithCertificate
          delegateSelectors:
            - harness-delegate
          description: test
          identifier: identifier
          serviceNowUrl: https://servicenow.com
          tags:
            - foo:bar
    

    Create ServiceNowConnector Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ServiceNowConnector(name: string, args: ServiceNowConnectorArgs, opts?: CustomResourceOptions);
    @overload
    def ServiceNowConnector(resource_name: str,
                            args: ServiceNowConnectorArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def ServiceNowConnector(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            auth: Optional[ServiceNowConnectorAuthArgs] = None,
                            identifier: Optional[str] = None,
                            service_now_url: Optional[str] = None,
                            delegate_selectors: Optional[Sequence[str]] = None,
                            description: Optional[str] = None,
                            name: Optional[str] = None,
                            org_id: Optional[str] = None,
                            password_ref: Optional[str] = None,
                            project_id: Optional[str] = None,
                            tags: Optional[Sequence[str]] = None,
                            username: Optional[str] = None,
                            username_ref: Optional[str] = None)
    func NewServiceNowConnector(ctx *Context, name string, args ServiceNowConnectorArgs, opts ...ResourceOption) (*ServiceNowConnector, error)
    public ServiceNowConnector(string name, ServiceNowConnectorArgs args, CustomResourceOptions? opts = null)
    public ServiceNowConnector(String name, ServiceNowConnectorArgs args)
    public ServiceNowConnector(String name, ServiceNowConnectorArgs args, CustomResourceOptions options)
    
    type: harness:platform:ServiceNowConnector
    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 ServiceNowConnectorArgs
    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 ServiceNowConnectorArgs
    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 ServiceNowConnectorArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServiceNowConnectorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServiceNowConnectorArgs
    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 serviceNowConnectorResource = new Harness.Platform.ServiceNowConnector("serviceNowConnectorResource", new()
    {
        Auth = new Harness.Platform.Inputs.ServiceNowConnectorAuthArgs
        {
            AuthType = "string",
            Adfs = new Harness.Platform.Inputs.ServiceNowConnectorAuthAdfsArgs
            {
                AdfsUrl = "string",
                CertificateRef = "string",
                ClientIdRef = "string",
                PrivateKeyRef = "string",
                ResourceIdRef = "string",
            },
            UsernamePassword = new Harness.Platform.Inputs.ServiceNowConnectorAuthUsernamePasswordArgs
            {
                PasswordRef = "string",
                Username = "string",
                UsernameRef = "string",
            },
        },
        Identifier = "string",
        ServiceNowUrl = "string",
        DelegateSelectors = new[]
        {
            "string",
        },
        Description = "string",
        Name = "string",
        OrgId = "string",
        PasswordRef = "string",
        ProjectId = "string",
        Tags = new[]
        {
            "string",
        },
        Username = "string",
        UsernameRef = "string",
    });
    
    example, err := platform.NewServiceNowConnector(ctx, "serviceNowConnectorResource", &platform.ServiceNowConnectorArgs{
    	Auth: &platform.ServiceNowConnectorAuthArgs{
    		AuthType: pulumi.String("string"),
    		Adfs: &platform.ServiceNowConnectorAuthAdfsArgs{
    			AdfsUrl:        pulumi.String("string"),
    			CertificateRef: pulumi.String("string"),
    			ClientIdRef:    pulumi.String("string"),
    			PrivateKeyRef:  pulumi.String("string"),
    			ResourceIdRef:  pulumi.String("string"),
    		},
    		UsernamePassword: &platform.ServiceNowConnectorAuthUsernamePasswordArgs{
    			PasswordRef: pulumi.String("string"),
    			Username:    pulumi.String("string"),
    			UsernameRef: pulumi.String("string"),
    		},
    	},
    	Identifier:    pulumi.String("string"),
    	ServiceNowUrl: pulumi.String("string"),
    	DelegateSelectors: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	OrgId:       pulumi.String("string"),
    	PasswordRef: pulumi.String("string"),
    	ProjectId:   pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Username:    pulumi.String("string"),
    	UsernameRef: pulumi.String("string"),
    })
    
    var serviceNowConnectorResource = new ServiceNowConnector("serviceNowConnectorResource", ServiceNowConnectorArgs.builder()
        .auth(ServiceNowConnectorAuthArgs.builder()
            .authType("string")
            .adfs(ServiceNowConnectorAuthAdfsArgs.builder()
                .adfsUrl("string")
                .certificateRef("string")
                .clientIdRef("string")
                .privateKeyRef("string")
                .resourceIdRef("string")
                .build())
            .usernamePassword(ServiceNowConnectorAuthUsernamePasswordArgs.builder()
                .passwordRef("string")
                .username("string")
                .usernameRef("string")
                .build())
            .build())
        .identifier("string")
        .serviceNowUrl("string")
        .delegateSelectors("string")
        .description("string")
        .name("string")
        .orgId("string")
        .passwordRef("string")
        .projectId("string")
        .tags("string")
        .username("string")
        .usernameRef("string")
        .build());
    
    service_now_connector_resource = harness.platform.ServiceNowConnector("serviceNowConnectorResource",
        auth=harness.platform.ServiceNowConnectorAuthArgs(
            auth_type="string",
            adfs=harness.platform.ServiceNowConnectorAuthAdfsArgs(
                adfs_url="string",
                certificate_ref="string",
                client_id_ref="string",
                private_key_ref="string",
                resource_id_ref="string",
            ),
            username_password=harness.platform.ServiceNowConnectorAuthUsernamePasswordArgs(
                password_ref="string",
                username="string",
                username_ref="string",
            ),
        ),
        identifier="string",
        service_now_url="string",
        delegate_selectors=["string"],
        description="string",
        name="string",
        org_id="string",
        password_ref="string",
        project_id="string",
        tags=["string"],
        username="string",
        username_ref="string")
    
    const serviceNowConnectorResource = new harness.platform.ServiceNowConnector("serviceNowConnectorResource", {
        auth: {
            authType: "string",
            adfs: {
                adfsUrl: "string",
                certificateRef: "string",
                clientIdRef: "string",
                privateKeyRef: "string",
                resourceIdRef: "string",
            },
            usernamePassword: {
                passwordRef: "string",
                username: "string",
                usernameRef: "string",
            },
        },
        identifier: "string",
        serviceNowUrl: "string",
        delegateSelectors: ["string"],
        description: "string",
        name: "string",
        orgId: "string",
        passwordRef: "string",
        projectId: "string",
        tags: ["string"],
        username: "string",
        usernameRef: "string",
    });
    
    type: harness:platform:ServiceNowConnector
    properties:
        auth:
            adfs:
                adfsUrl: string
                certificateRef: string
                clientIdRef: string
                privateKeyRef: string
                resourceIdRef: string
            authType: string
            usernamePassword:
                passwordRef: string
                username: string
                usernameRef: string
        delegateSelectors:
            - string
        description: string
        identifier: string
        name: string
        orgId: string
        passwordRef: string
        projectId: string
        serviceNowUrl: string
        tags:
            - string
        username: string
        usernameRef: string
    

    ServiceNowConnector 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 ServiceNowConnector resource accepts the following input properties:

    Auth Lbrlabs.PulumiPackage.Harness.Platform.Inputs.ServiceNowConnectorAuth
    The credentials to use for the service now authentication.
    Identifier string
    Unique identifier of the resource.
    ServiceNowUrl string
    URL of service now.
    DelegateSelectors List<string>
    Tags to filter delegates for connection.
    Description string
    Description of the resource.
    Name string
    Name of the resource.
    OrgId string
    Unique identifier of the organization.
    PasswordRef 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}.
    ProjectId string
    Unique identifier of the project.
    Tags List<string>
    Tags to associate with the resource.
    Username string
    Username to use for authentication.
    UsernameRef 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}.
    Auth ServiceNowConnectorAuthArgs
    The credentials to use for the service now authentication.
    Identifier string
    Unique identifier of the resource.
    ServiceNowUrl string
    URL of service now.
    DelegateSelectors []string
    Tags to filter delegates for connection.
    Description string
    Description of the resource.
    Name string
    Name of the resource.
    OrgId string
    Unique identifier of the organization.
    PasswordRef 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}.
    ProjectId string
    Unique identifier of the project.
    Tags []string
    Tags to associate with the resource.
    Username string
    Username to use for authentication.
    UsernameRef 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}.
    auth ServiceNowConnectorAuth
    The credentials to use for the service now authentication.
    identifier String
    Unique identifier of the resource.
    serviceNowUrl String
    URL of service now.
    delegateSelectors List<String>
    Tags to filter delegates for connection.
    description String
    Description of the resource.
    name String
    Name of the resource.
    orgId String
    Unique identifier of the organization.
    passwordRef 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}.
    projectId String
    Unique identifier of the project.
    tags List<String>
    Tags to associate with the resource.
    username String
    Username to use for authentication.
    usernameRef 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}.
    auth ServiceNowConnectorAuth
    The credentials to use for the service now authentication.
    identifier string
    Unique identifier of the resource.
    serviceNowUrl string
    URL of service now.
    delegateSelectors string[]
    Tags to filter delegates for connection.
    description string
    Description of the resource.
    name string
    Name of the resource.
    orgId string
    Unique identifier of the organization.
    passwordRef 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}.
    projectId string
    Unique identifier of the project.
    tags string[]
    Tags to associate with the resource.
    username string
    Username to use for authentication.
    usernameRef 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}.
    auth ServiceNowConnectorAuthArgs
    The credentials to use for the service now authentication.
    identifier str
    Unique identifier of the resource.
    service_now_url str
    URL of service now.
    delegate_selectors Sequence[str]
    Tags to filter delegates for connection.
    description str
    Description of the resource.
    name str
    Name of the resource.
    org_id str
    Unique identifier of the organization.
    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}.
    project_id str
    Unique identifier of the project.
    tags 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}.
    auth Property Map
    The credentials to use for the service now authentication.
    identifier String
    Unique identifier of the resource.
    serviceNowUrl String
    URL of service now.
    delegateSelectors List<String>
    Tags to filter delegates for connection.
    description String
    Description of the resource.
    name String
    Name of the resource.
    orgId String
    Unique identifier of the organization.
    passwordRef 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}.
    projectId String
    Unique identifier of the project.
    tags List<String>
    Tags to associate with the resource.
    username String
    Username to use for authentication.
    usernameRef 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}.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ServiceNowConnector 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 ServiceNowConnector Resource

    Get an existing ServiceNowConnector 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?: ServiceNowConnectorState, opts?: CustomResourceOptions): ServiceNowConnector
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auth: Optional[ServiceNowConnectorAuthArgs] = None,
            delegate_selectors: Optional[Sequence[str]] = None,
            description: Optional[str] = None,
            identifier: Optional[str] = None,
            name: Optional[str] = None,
            org_id: Optional[str] = None,
            password_ref: Optional[str] = None,
            project_id: Optional[str] = None,
            service_now_url: Optional[str] = None,
            tags: Optional[Sequence[str]] = None,
            username: Optional[str] = None,
            username_ref: Optional[str] = None) -> ServiceNowConnector
    func GetServiceNowConnector(ctx *Context, name string, id IDInput, state *ServiceNowConnectorState, opts ...ResourceOption) (*ServiceNowConnector, error)
    public static ServiceNowConnector Get(string name, Input<string> id, ServiceNowConnectorState? state, CustomResourceOptions? opts = null)
    public static ServiceNowConnector get(String name, Output<String> id, ServiceNowConnectorState 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.
    The following state arguments are supported:
    Auth Lbrlabs.PulumiPackage.Harness.Platform.Inputs.ServiceNowConnectorAuth
    The credentials to use for the service now authentication.
    DelegateSelectors List<string>
    Tags to filter delegates for connection.
    Description string
    Description of the resource.
    Identifier string
    Unique identifier of the resource.
    Name string
    Name of the resource.
    OrgId string
    Unique identifier of the organization.
    PasswordRef 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}.
    ProjectId string
    Unique identifier of the project.
    ServiceNowUrl string
    URL of service now.
    Tags List<string>
    Tags to associate with the resource.
    Username string
    Username to use for authentication.
    UsernameRef 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}.
    Auth ServiceNowConnectorAuthArgs
    The credentials to use for the service now authentication.
    DelegateSelectors []string
    Tags to filter delegates for connection.
    Description string
    Description of the resource.
    Identifier string
    Unique identifier of the resource.
    Name string
    Name of the resource.
    OrgId string
    Unique identifier of the organization.
    PasswordRef 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}.
    ProjectId string
    Unique identifier of the project.
    ServiceNowUrl string
    URL of service now.
    Tags []string
    Tags to associate with the resource.
    Username string
    Username to use for authentication.
    UsernameRef 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}.
    auth ServiceNowConnectorAuth
    The credentials to use for the service now authentication.
    delegateSelectors List<String>
    Tags to filter delegates for connection.
    description String
    Description of the resource.
    identifier String
    Unique identifier of the resource.
    name String
    Name of the resource.
    orgId String
    Unique identifier of the organization.
    passwordRef 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}.
    projectId String
    Unique identifier of the project.
    serviceNowUrl String
    URL of service now.
    tags List<String>
    Tags to associate with the resource.
    username String
    Username to use for authentication.
    usernameRef 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}.
    auth ServiceNowConnectorAuth
    The credentials to use for the service now authentication.
    delegateSelectors string[]
    Tags to filter delegates for connection.
    description string
    Description of the resource.
    identifier string
    Unique identifier of the resource.
    name string
    Name of the resource.
    orgId string
    Unique identifier of the organization.
    passwordRef 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}.
    projectId string
    Unique identifier of the project.
    serviceNowUrl string
    URL of service now.
    tags string[]
    Tags to associate with the resource.
    username string
    Username to use for authentication.
    usernameRef 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}.
    auth ServiceNowConnectorAuthArgs
    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.
    identifier str
    Unique identifier of the resource.
    name str
    Name of the resource.
    org_id str
    Unique identifier of the organization.
    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}.
    project_id str
    Unique identifier of the project.
    service_now_url str
    URL of service now.
    tags 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}.
    auth Property Map
    The credentials to use for the service now authentication.
    delegateSelectors List<String>
    Tags to filter delegates for connection.
    description String
    Description of the resource.
    identifier String
    Unique identifier of the resource.
    name String
    Name of the resource.
    orgId String
    Unique identifier of the organization.
    passwordRef 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}.
    projectId String
    Unique identifier of the project.
    serviceNowUrl String
    URL of service now.
    tags List<String>
    Tags to associate with the resource.
    username String
    Username to use for authentication.
    usernameRef 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}.

    Supporting Types

    ServiceNowConnectorAuth, ServiceNowConnectorAuthArgs

    AuthType string
    Authentication types for Jira connector
    Adfs Lbrlabs.PulumiPackage.Harness.Platform.Inputs.ServiceNowConnectorAuthAdfs
    Authenticate using adfs client credentials with certificate.
    UsernamePassword Lbrlabs.PulumiPackage.Harness.Platform.Inputs.ServiceNowConnectorAuthUsernamePassword
    Authenticate using username password.
    AuthType string
    Authentication types for Jira connector
    Adfs ServiceNowConnectorAuthAdfs
    Authenticate using adfs client credentials with certificate.
    UsernamePassword ServiceNowConnectorAuthUsernamePassword
    Authenticate using username password.
    authType String
    Authentication types for Jira connector
    adfs ServiceNowConnectorAuthAdfs
    Authenticate using adfs client credentials with certificate.
    usernamePassword ServiceNowConnectorAuthUsernamePassword
    Authenticate using username password.
    authType string
    Authentication types for Jira connector
    adfs ServiceNowConnectorAuthAdfs
    Authenticate using adfs client credentials with certificate.
    usernamePassword ServiceNowConnectorAuthUsernamePassword
    Authenticate using username password.
    auth_type str
    Authentication types for Jira connector
    adfs ServiceNowConnectorAuthAdfs
    Authenticate using adfs client credentials with certificate.
    username_password ServiceNowConnectorAuthUsernamePassword
    Authenticate using username password.
    authType String
    Authentication types for Jira connector
    adfs Property Map
    Authenticate using adfs client credentials with certificate.
    usernamePassword Property Map
    Authenticate using username password.

    ServiceNowConnectorAuthAdfs, ServiceNowConnectorAuthAdfsArgs

    ServiceNowConnectorAuthUsernamePassword, ServiceNowConnectorAuthUsernamePasswordArgs

    PasswordRef 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.
    UsernameRef 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}.
    PasswordRef 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.
    UsernameRef 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}.
    passwordRef 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.
    usernameRef 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}.
    passwordRef 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.
    usernameRef 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}.
    passwordRef 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.
    usernameRef 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}.

    Import

    Import account level service now connector

     $ pulumi import harness:platform/serviceNowConnector:ServiceNowConnector example <connector_id>
    

    Import org level service now connector

     $ pulumi import harness:platform/serviceNowConnector:ServiceNowConnector example <ord_id>/<connector_id>
    

    Import project level service now connector

     $ pulumi import harness:platform/serviceNowConnector:ServiceNowConnector example <org_id>/<project_id>/<connector_id>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    harness lbrlabs/pulumi-harness
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the harness Terraform Provider.
    harness logo
    Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs