harness.platform.ServiceNowConnector
Explore with Pulumi AI
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.
Pulumi Package. Harness. Platform. Inputs. Service Now Connector Auth - The credentials to use for the service now authentication.
- Identifier string
- Unique identifier of the resource.
- Service
Now stringUrl - URL of service now.
- Delegate
Selectors List<string> - Tags to filter delegates for connection.
- Description string
- Description of the resource.
- Name string
- Name of the resource.
- Org
Id string - Unique identifier of the organization.
- 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}.
- Project
Id string - Unique identifier of the project.
- 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}.
- Auth
Service
Now Connector Auth Args - The credentials to use for the service now authentication.
- Identifier string
- Unique identifier of the resource.
- Service
Now stringUrl - URL of service now.
- Delegate
Selectors []string - Tags to filter delegates for connection.
- Description string
- Description of the resource.
- Name string
- Name of the resource.
- Org
Id string - Unique identifier of the organization.
- 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}.
- Project
Id string - Unique identifier of the project.
- []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}.
- auth
Service
Now Connector Auth - The credentials to use for the service now authentication.
- identifier String
- Unique identifier of the resource.
- service
Now StringUrl - URL of service now.
- delegate
Selectors List<String> - Tags to filter delegates for connection.
- description String
- Description of the resource.
- name String
- Name of the resource.
- org
Id String - Unique identifier of the organization.
- 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}.
- project
Id String - Unique identifier of the project.
- 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}.
- auth
Service
Now Connector Auth - The credentials to use for the service now authentication.
- identifier string
- Unique identifier of the resource.
- service
Now stringUrl - URL of service now.
- delegate
Selectors string[] - Tags to filter delegates for connection.
- description string
- Description of the resource.
- name string
- Name of the resource.
- org
Id string - Unique identifier of the organization.
- 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}.
- project
Id string - Unique identifier of the project.
- 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}.
- auth
Service
Now Connector Auth Args - The credentials to use for the service now authentication.
- identifier str
- Unique identifier of the resource.
- service_
now_ strurl - 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.
- 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.
- service
Now StringUrl - URL of service now.
- delegate
Selectors List<String> - Tags to filter delegates for connection.
- description String
- Description of the resource.
- name String
- Name of the resource.
- org
Id String - Unique identifier of the organization.
- 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}.
- project
Id String - Unique identifier of the project.
- 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}.
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.
- Auth
Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. 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.
- Identifier string
- Unique identifier of the resource.
- Name string
- Name of the resource.
- Org
Id string - Unique identifier of the organization.
- 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}.
- Project
Id string - Unique identifier of the project.
- 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}.
- Auth
Service
Now Connector Auth Args - The credentials to use for the service now authentication.
- Delegate
Selectors []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.
- Org
Id string - Unique identifier of the organization.
- 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}.
- Project
Id string - Unique identifier of the project.
- 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}.
- auth
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.
- identifier String
- Unique identifier of the resource.
- name String
- Name of the resource.
- org
Id String - Unique identifier of the organization.
- 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}.
- project
Id String - Unique identifier of the project.
- 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}.
- auth
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.
- identifier string
- Unique identifier of the resource.
- name string
- Name of the resource.
- org
Id string - Unique identifier of the organization.
- 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}.
- project
Id string - Unique identifier of the project.
- 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}.
- auth
Service
Now Connector Auth Args - 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_ 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}.
- auth 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.
- identifier String
- Unique identifier of the resource.
- name String
- Name of the resource.
- org
Id String - Unique identifier of the organization.
- 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}.
- project
Id String - Unique identifier of the project.
- 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}.
Supporting Types
ServiceNowConnectorAuth, ServiceNowConnectorAuthArgs
- Auth
Type string - Authentication types for Jira connector
- Adfs
Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Service Now Connector Auth Adfs - Authenticate using adfs client credentials with certificate.
- Username
Password Lbrlabs.Pulumi Package. Harness. Platform. Inputs. Service Now Connector Auth Username Password - Authenticate using username password.
- Auth
Type string - Authentication types for Jira connector
- Adfs
Service
Now Connector Auth Adfs - Authenticate using adfs client credentials with certificate.
- Username
Password ServiceNow Connector Auth Username Password - Authenticate using username password.
- auth
Type String - Authentication types for Jira connector
- adfs
Service
Now Connector Auth Adfs - Authenticate using adfs client credentials with certificate.
- username
Password ServiceNow Connector Auth Username Password - Authenticate using username password.
- auth
Type string - Authentication types for Jira connector
- adfs
Service
Now Connector Auth Adfs - Authenticate using adfs client credentials with certificate.
- username
Password ServiceNow Connector Auth Username Password - Authenticate using username password.
- auth_
type str - Authentication types for Jira connector
- adfs
Service
Now Connector Auth Adfs - Authenticate using adfs client credentials with certificate.
- username_
password ServiceNow Connector Auth Username Password - Authenticate using username password.
- auth
Type String - Authentication types for Jira connector
- adfs Property Map
- Authenticate using adfs client credentials with certificate.
- username
Password Property Map - Authenticate using username password.
ServiceNowConnectorAuthAdfs, ServiceNowConnectorAuthAdfsArgs
- 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
ServiceNowConnectorAuthUsernamePassword, ServiceNowConnectorAuthUsernamePasswordArgs
- 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}.
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.