ns1.User
Explore with Pulumi AI
Provides a NS1 User resource. Creating a user sends an invitation email to the
user’s email address. This can be used to create, modify, and delete users.
The credentials used must have the manage_users
permission set.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ns1 from "@pulumi/ns1";
const example = new ns1.Team("example", {
name: "Example team",
ipWhitelists: [
"1.1.1.1",
"2.2.2.2",
],
dnsViewZones: false,
accountManageUsers: false,
});
const exampleUser = new ns1.User("example", {
name: "Example User",
username: "example_user",
email: "user@example.com",
teams: [example.id],
notify: {
billing: "false",
},
});
import pulumi
import pulumi_ns1 as ns1
example = ns1.Team("example",
name="Example team",
ip_whitelists=[
"1.1.1.1",
"2.2.2.2",
],
dns_view_zones=False,
account_manage_users=False)
example_user = ns1.User("example",
name="Example User",
username="example_user",
email="user@example.com",
teams=[example.id],
notify={
"billing": "false",
})
package main
import (
"github.com/pulumi/pulumi-ns1/sdk/v3/go/ns1"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := ns1.NewTeam(ctx, "example", &ns1.TeamArgs{
Name: pulumi.String("Example team"),
IpWhitelists: ns1.TeamIpWhitelistArray{
"1.1.1.1",
"2.2.2.2",
},
DnsViewZones: pulumi.Bool(false),
AccountManageUsers: pulumi.Bool(false),
})
if err != nil {
return err
}
_, err = ns1.NewUser(ctx, "example", &ns1.UserArgs{
Name: pulumi.String("Example User"),
Username: pulumi.String("example_user"),
Email: pulumi.String("user@example.com"),
Teams: pulumi.StringArray{
example.ID(),
},
Notify: pulumi.StringMap{
"billing": pulumi.String("false"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ns1 = Pulumi.Ns1;
return await Deployment.RunAsync(() =>
{
var example = new Ns1.Team("example", new()
{
Name = "Example team",
IpWhitelists = new[]
{
"1.1.1.1",
"2.2.2.2",
},
DnsViewZones = false,
AccountManageUsers = false,
});
var exampleUser = new Ns1.User("example", new()
{
Name = "Example User",
Username = "example_user",
Email = "user@example.com",
Teams = new[]
{
example.Id,
},
Notify =
{
{ "billing", "false" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ns1.Team;
import com.pulumi.ns1.TeamArgs;
import com.pulumi.ns1.User;
import com.pulumi.ns1.UserArgs;
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 example = new Team("example", TeamArgs.builder()
.name("Example team")
.ipWhitelists(
"1.1.1.1",
"2.2.2.2")
.dnsViewZones(false)
.accountManageUsers(false)
.build());
var exampleUser = new User("exampleUser", UserArgs.builder()
.name("Example User")
.username("example_user")
.email("user@example.com")
.teams(example.id())
.notify(Map.of("billing", false))
.build());
}
}
resources:
example:
type: ns1:Team
properties:
name: Example team
ipWhitelists:
- 1.1.1.1
- 2.2.2.2
dnsViewZones: false
accountManageUsers: false
exampleUser:
type: ns1:User
name: example
properties:
name: Example User
username: example_user
email: user@example.com
teams:
- ${example.id}
notify:
billing: false
Permissions
A user will inherit permissions from the teams they are assigned to. If a user is assigned to a team and also has individual permissions set on the user, the individual permissions will be overridden by the inherited team permissions. In a future release, setting permissions on a user that is part of a team will be explicitly disabled.
When a user is removed from all teams completely, they will inherit whatever permissions they had previously.
If a user is removed from all their teams, it will probably be necessary to run pulumi up
a second time
to update the users permissions from their old team permissions to new user-specific permissions.
See this NS1 Help Center article for an overview of user permission settings.
NS1 Documentation
Create User Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new User(name: string, args: UserArgs, opts?: CustomResourceOptions);
@overload
def User(resource_name: str,
args: UserArgs,
opts: Optional[ResourceOptions] = None)
@overload
def User(resource_name: str,
opts: Optional[ResourceOptions] = None,
email: Optional[str] = None,
username: Optional[str] = None,
dns_zones_allow_by_default: Optional[bool] = None,
security_manage_global2fa: Optional[bool] = None,
account_manage_plan: Optional[bool] = None,
account_manage_teams: Optional[bool] = None,
account_manage_users: Optional[bool] = None,
account_view_activity_log: Optional[bool] = None,
dns_zones_denies: Optional[Sequence[str]] = None,
data_manage_datafeeds: Optional[bool] = None,
data_manage_datasources: Optional[bool] = None,
data_push_to_datafeeds: Optional[bool] = None,
dns_manage_zones: Optional[bool] = None,
dns_records_allows: Optional[Sequence[UserDnsRecordsAllowArgs]] = None,
dns_records_denies: Optional[Sequence[UserDnsRecordsDenyArgs]] = None,
dns_view_zones: Optional[bool] = None,
account_manage_apikeys: Optional[bool] = None,
account_manage_payment_methods: Optional[bool] = None,
account_view_invoices: Optional[bool] = None,
account_manage_ip_whitelist: Optional[bool] = None,
ip_whitelist_strict: Optional[bool] = None,
ip_whitelists: Optional[Sequence[str]] = None,
monitoring_create_jobs: Optional[bool] = None,
monitoring_delete_jobs: Optional[bool] = None,
monitoring_manage_jobs: Optional[bool] = None,
monitoring_manage_lists: Optional[bool] = None,
monitoring_update_jobs: Optional[bool] = None,
monitoring_view_jobs: Optional[bool] = None,
name: Optional[str] = None,
notify: Optional[Mapping[str, str]] = None,
security_manage_active_directory: Optional[bool] = None,
dns_zones_allows: Optional[Sequence[str]] = None,
teams: Optional[Sequence[str]] = None,
account_manage_account_settings: Optional[bool] = None)
func NewUser(ctx *Context, name string, args UserArgs, opts ...ResourceOption) (*User, error)
public User(string name, UserArgs args, CustomResourceOptions? opts = null)
type: ns1:User
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 UserArgs
- 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 UserArgs
- 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 UserArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args UserArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args UserArgs
- 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 userResource = new Ns1.User("userResource", new()
{
Email = "string",
Username = "string",
DnsZonesAllowByDefault = false,
SecurityManageGlobal2fa = false,
AccountManageTeams = false,
AccountManageUsers = false,
AccountViewActivityLog = false,
DnsZonesDenies = new[]
{
"string",
},
DataManageDatafeeds = false,
DataManageDatasources = false,
DataPushToDatafeeds = false,
DnsManageZones = false,
DnsRecordsAllows = new[]
{
new Ns1.Inputs.UserDnsRecordsAllowArgs
{
Domain = "string",
IncludeSubdomains = false,
Type = "string",
Zone = "string",
},
},
DnsRecordsDenies = new[]
{
new Ns1.Inputs.UserDnsRecordsDenyArgs
{
Domain = "string",
IncludeSubdomains = false,
Type = "string",
Zone = "string",
},
},
DnsViewZones = false,
AccountManageApikeys = false,
AccountManagePaymentMethods = false,
AccountViewInvoices = false,
AccountManageIpWhitelist = false,
IpWhitelistStrict = false,
IpWhitelists = new[]
{
"string",
},
MonitoringCreateJobs = false,
MonitoringDeleteJobs = false,
MonitoringManageJobs = false,
MonitoringManageLists = false,
MonitoringUpdateJobs = false,
MonitoringViewJobs = false,
Name = "string",
Notify =
{
{ "string", "string" },
},
SecurityManageActiveDirectory = false,
DnsZonesAllows = new[]
{
"string",
},
Teams = new[]
{
"string",
},
AccountManageAccountSettings = false,
});
example, err := ns1.NewUser(ctx, "userResource", &ns1.UserArgs{
Email: pulumi.String("string"),
Username: pulumi.String("string"),
DnsZonesAllowByDefault: pulumi.Bool(false),
SecurityManageGlobal2fa: pulumi.Bool(false),
AccountManageTeams: pulumi.Bool(false),
AccountManageUsers: pulumi.Bool(false),
AccountViewActivityLog: pulumi.Bool(false),
DnsZonesDenies: pulumi.StringArray{
pulumi.String("string"),
},
DataManageDatafeeds: pulumi.Bool(false),
DataManageDatasources: pulumi.Bool(false),
DataPushToDatafeeds: pulumi.Bool(false),
DnsManageZones: pulumi.Bool(false),
DnsRecordsAllows: ns1.UserDnsRecordsAllowArray{
&ns1.UserDnsRecordsAllowArgs{
Domain: pulumi.String("string"),
IncludeSubdomains: pulumi.Bool(false),
Type: pulumi.String("string"),
Zone: pulumi.String("string"),
},
},
DnsRecordsDenies: ns1.UserDnsRecordsDenyArray{
&ns1.UserDnsRecordsDenyArgs{
Domain: pulumi.String("string"),
IncludeSubdomains: pulumi.Bool(false),
Type: pulumi.String("string"),
Zone: pulumi.String("string"),
},
},
DnsViewZones: pulumi.Bool(false),
AccountManageApikeys: pulumi.Bool(false),
AccountManagePaymentMethods: pulumi.Bool(false),
AccountViewInvoices: pulumi.Bool(false),
AccountManageIpWhitelist: pulumi.Bool(false),
IpWhitelistStrict: pulumi.Bool(false),
IpWhitelists: pulumi.StringArray{
pulumi.String("string"),
},
MonitoringCreateJobs: pulumi.Bool(false),
MonitoringDeleteJobs: pulumi.Bool(false),
MonitoringManageJobs: pulumi.Bool(false),
MonitoringManageLists: pulumi.Bool(false),
MonitoringUpdateJobs: pulumi.Bool(false),
MonitoringViewJobs: pulumi.Bool(false),
Name: pulumi.String("string"),
Notify: pulumi.StringMap{
"string": pulumi.String("string"),
},
SecurityManageActiveDirectory: pulumi.Bool(false),
DnsZonesAllows: pulumi.StringArray{
pulumi.String("string"),
},
Teams: pulumi.StringArray{
pulumi.String("string"),
},
AccountManageAccountSettings: pulumi.Bool(false),
})
var userResource = new User("userResource", UserArgs.builder()
.email("string")
.username("string")
.dnsZonesAllowByDefault(false)
.securityManageGlobal2fa(false)
.accountManageTeams(false)
.accountManageUsers(false)
.accountViewActivityLog(false)
.dnsZonesDenies("string")
.dataManageDatafeeds(false)
.dataManageDatasources(false)
.dataPushToDatafeeds(false)
.dnsManageZones(false)
.dnsRecordsAllows(UserDnsRecordsAllowArgs.builder()
.domain("string")
.includeSubdomains(false)
.type("string")
.zone("string")
.build())
.dnsRecordsDenies(UserDnsRecordsDenyArgs.builder()
.domain("string")
.includeSubdomains(false)
.type("string")
.zone("string")
.build())
.dnsViewZones(false)
.accountManageApikeys(false)
.accountManagePaymentMethods(false)
.accountViewInvoices(false)
.accountManageIpWhitelist(false)
.ipWhitelistStrict(false)
.ipWhitelists("string")
.monitoringCreateJobs(false)
.monitoringDeleteJobs(false)
.monitoringManageJobs(false)
.monitoringManageLists(false)
.monitoringUpdateJobs(false)
.monitoringViewJobs(false)
.name("string")
.notify(Map.of("string", "string"))
.securityManageActiveDirectory(false)
.dnsZonesAllows("string")
.teams("string")
.accountManageAccountSettings(false)
.build());
user_resource = ns1.User("userResource",
email="string",
username="string",
dns_zones_allow_by_default=False,
security_manage_global2fa=False,
account_manage_teams=False,
account_manage_users=False,
account_view_activity_log=False,
dns_zones_denies=["string"],
data_manage_datafeeds=False,
data_manage_datasources=False,
data_push_to_datafeeds=False,
dns_manage_zones=False,
dns_records_allows=[{
"domain": "string",
"include_subdomains": False,
"type": "string",
"zone": "string",
}],
dns_records_denies=[{
"domain": "string",
"include_subdomains": False,
"type": "string",
"zone": "string",
}],
dns_view_zones=False,
account_manage_apikeys=False,
account_manage_payment_methods=False,
account_view_invoices=False,
account_manage_ip_whitelist=False,
ip_whitelist_strict=False,
ip_whitelists=["string"],
monitoring_create_jobs=False,
monitoring_delete_jobs=False,
monitoring_manage_jobs=False,
monitoring_manage_lists=False,
monitoring_update_jobs=False,
monitoring_view_jobs=False,
name="string",
notify={
"string": "string",
},
security_manage_active_directory=False,
dns_zones_allows=["string"],
teams=["string"],
account_manage_account_settings=False)
const userResource = new ns1.User("userResource", {
email: "string",
username: "string",
dnsZonesAllowByDefault: false,
securityManageGlobal2fa: false,
accountManageTeams: false,
accountManageUsers: false,
accountViewActivityLog: false,
dnsZonesDenies: ["string"],
dataManageDatafeeds: false,
dataManageDatasources: false,
dataPushToDatafeeds: false,
dnsManageZones: false,
dnsRecordsAllows: [{
domain: "string",
includeSubdomains: false,
type: "string",
zone: "string",
}],
dnsRecordsDenies: [{
domain: "string",
includeSubdomains: false,
type: "string",
zone: "string",
}],
dnsViewZones: false,
accountManageApikeys: false,
accountManagePaymentMethods: false,
accountViewInvoices: false,
accountManageIpWhitelist: false,
ipWhitelistStrict: false,
ipWhitelists: ["string"],
monitoringCreateJobs: false,
monitoringDeleteJobs: false,
monitoringManageJobs: false,
monitoringManageLists: false,
monitoringUpdateJobs: false,
monitoringViewJobs: false,
name: "string",
notify: {
string: "string",
},
securityManageActiveDirectory: false,
dnsZonesAllows: ["string"],
teams: ["string"],
accountManageAccountSettings: false,
});
type: ns1:User
properties:
accountManageAccountSettings: false
accountManageApikeys: false
accountManageIpWhitelist: false
accountManagePaymentMethods: false
accountManageTeams: false
accountManageUsers: false
accountViewActivityLog: false
accountViewInvoices: false
dataManageDatafeeds: false
dataManageDatasources: false
dataPushToDatafeeds: false
dnsManageZones: false
dnsRecordsAllows:
- domain: string
includeSubdomains: false
type: string
zone: string
dnsRecordsDenies:
- domain: string
includeSubdomains: false
type: string
zone: string
dnsViewZones: false
dnsZonesAllowByDefault: false
dnsZonesAllows:
- string
dnsZonesDenies:
- string
email: string
ipWhitelistStrict: false
ipWhitelists:
- string
monitoringCreateJobs: false
monitoringDeleteJobs: false
monitoringManageJobs: false
monitoringManageLists: false
monitoringUpdateJobs: false
monitoringViewJobs: false
name: string
notify:
string: string
securityManageActiveDirectory: false
securityManageGlobal2fa: false
teams:
- string
username: string
User Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The User resource accepts the following input properties:
- Email string
- The email address of the user.
- Username string
- The users login name.
- Account
Manage boolAccount Settings - Whether the user can modify account settings.
- Account
Manage boolApikeys - Whether the user can modify account apikeys.
- Account
Manage boolIp Whitelist - Whether the user can manage ip whitelist.
- Account
Manage boolPayment Methods - Whether the user can modify account payment methods.
- Account
Manage boolPlan - No longer in use.
- Account
Manage boolTeams - Whether the user can modify other teams in the account.
- Account
Manage boolUsers - Whether the user can modify account users.
- Account
View boolActivity Log - Whether the user can view activity logs.
- Account
View boolInvoices - Whether the user can view invoices.
- Data
Manage boolDatafeeds - Whether the user can modify data feeds.
- Data
Manage boolDatasources - Whether the user can modify data sources.
- Data
Push boolTo Datafeeds - Whether the user can publish to data feeds.
- Dns
Manage boolZones - Whether the user can modify the accounts zones.
- Dns
Records List<UserAllows Dns Records Allow> - Dns
Records List<UserDenies Dns Records Deny> - Dns
View boolZones - Whether the user can view the accounts zones.
- Dns
Zones boolAllow By Default - If true, enable the
dns_zones_allow
list, otherwise enable thedns_zones_deny
list. - Dns
Zones List<string>Allows - List of zones that the user may access.
- Dns
Zones List<string>Denies - List of zones that the user may not access.
- Ip
Whitelist boolStrict - Set to true to restrict access to only those IP addresses and networks listed in the ip_whitelist field.
- Ip
Whitelists List<string> - Array of IP addresses/networks to which to grant the user access.
- Monitoring
Create boolJobs - Whether the user can create monitoring jobs when manage_jobs is not set to true.
- Monitoring
Delete boolJobs - Whether the user can delete monitoring jobs when manage_jobs is not set to true.
- Monitoring
Manage boolJobs - Whether the user can create, update, and delete monitoring jobs.
- Monitoring
Manage boolLists - Whether the user can modify notification lists.
- Monitoring
Update boolJobs - Whether the user can update monitoring jobs when manage_jobs is not set to true.
- Monitoring
View boolJobs - Whether the user can view monitoring jobs.
- Name string
- The free form name of the user.
- Notify Dictionary<string, string>
- Whether or not to notify the user of specified events. Only
billing
is available currently. - Security
Manage boolActive Directory - Whether the user can manage global active directory. Only relevant for the DDI product.
- Security
Manage boolGlobal2fa - Whether the user can manage global two factor authentication.
- Teams List<string>
- The teams that the user belongs to.
- Email string
- The email address of the user.
- Username string
- The users login name.
- Account
Manage boolAccount Settings - Whether the user can modify account settings.
- Account
Manage boolApikeys - Whether the user can modify account apikeys.
- Account
Manage boolIp Whitelist - Whether the user can manage ip whitelist.
- Account
Manage boolPayment Methods - Whether the user can modify account payment methods.
- Account
Manage boolPlan - No longer in use.
- Account
Manage boolTeams - Whether the user can modify other teams in the account.
- Account
Manage boolUsers - Whether the user can modify account users.
- Account
View boolActivity Log - Whether the user can view activity logs.
- Account
View boolInvoices - Whether the user can view invoices.
- Data
Manage boolDatafeeds - Whether the user can modify data feeds.
- Data
Manage boolDatasources - Whether the user can modify data sources.
- Data
Push boolTo Datafeeds - Whether the user can publish to data feeds.
- Dns
Manage boolZones - Whether the user can modify the accounts zones.
- Dns
Records []UserAllows Dns Records Allow Args - Dns
Records []UserDenies Dns Records Deny Args - Dns
View boolZones - Whether the user can view the accounts zones.
- Dns
Zones boolAllow By Default - If true, enable the
dns_zones_allow
list, otherwise enable thedns_zones_deny
list. - Dns
Zones []stringAllows - List of zones that the user may access.
- Dns
Zones []stringDenies - List of zones that the user may not access.
- Ip
Whitelist boolStrict - Set to true to restrict access to only those IP addresses and networks listed in the ip_whitelist field.
- Ip
Whitelists []string - Array of IP addresses/networks to which to grant the user access.
- Monitoring
Create boolJobs - Whether the user can create monitoring jobs when manage_jobs is not set to true.
- Monitoring
Delete boolJobs - Whether the user can delete monitoring jobs when manage_jobs is not set to true.
- Monitoring
Manage boolJobs - Whether the user can create, update, and delete monitoring jobs.
- Monitoring
Manage boolLists - Whether the user can modify notification lists.
- Monitoring
Update boolJobs - Whether the user can update monitoring jobs when manage_jobs is not set to true.
- Monitoring
View boolJobs - Whether the user can view monitoring jobs.
- Name string
- The free form name of the user.
- Notify map[string]string
- Whether or not to notify the user of specified events. Only
billing
is available currently. - Security
Manage boolActive Directory - Whether the user can manage global active directory. Only relevant for the DDI product.
- Security
Manage boolGlobal2fa - Whether the user can manage global two factor authentication.
- Teams []string
- The teams that the user belongs to.
- email String
- The email address of the user.
- username String
- The users login name.
- account
Manage BooleanAccount Settings - Whether the user can modify account settings.
- account
Manage BooleanApikeys - Whether the user can modify account apikeys.
- account
Manage BooleanIp Whitelist - Whether the user can manage ip whitelist.
- account
Manage BooleanPayment Methods - Whether the user can modify account payment methods.
- account
Manage BooleanPlan - No longer in use.
- account
Manage BooleanTeams - Whether the user can modify other teams in the account.
- account
Manage BooleanUsers - Whether the user can modify account users.
- account
View BooleanActivity Log - Whether the user can view activity logs.
- account
View BooleanInvoices - Whether the user can view invoices.
- data
Manage BooleanDatafeeds - Whether the user can modify data feeds.
- data
Manage BooleanDatasources - Whether the user can modify data sources.
- data
Push BooleanTo Datafeeds - Whether the user can publish to data feeds.
- dns
Manage BooleanZones - Whether the user can modify the accounts zones.
- dns
Records List<UserAllows Dns Records Allow> - dns
Records List<UserDenies Dns Records Deny> - dns
View BooleanZones - Whether the user can view the accounts zones.
- dns
Zones BooleanAllow By Default - If true, enable the
dns_zones_allow
list, otherwise enable thedns_zones_deny
list. - dns
Zones List<String>Allows - List of zones that the user may access.
- dns
Zones List<String>Denies - List of zones that the user may not access.
- ip
Whitelist BooleanStrict - Set to true to restrict access to only those IP addresses and networks listed in the ip_whitelist field.
- ip
Whitelists List<String> - Array of IP addresses/networks to which to grant the user access.
- monitoring
Create BooleanJobs - Whether the user can create monitoring jobs when manage_jobs is not set to true.
- monitoring
Delete BooleanJobs - Whether the user can delete monitoring jobs when manage_jobs is not set to true.
- monitoring
Manage BooleanJobs - Whether the user can create, update, and delete monitoring jobs.
- monitoring
Manage BooleanLists - Whether the user can modify notification lists.
- monitoring
Update BooleanJobs - Whether the user can update monitoring jobs when manage_jobs is not set to true.
- monitoring
View BooleanJobs - Whether the user can view monitoring jobs.
- name String
- The free form name of the user.
- notify_ Map<String,String>
- Whether or not to notify the user of specified events. Only
billing
is available currently. - security
Manage BooleanActive Directory - Whether the user can manage global active directory. Only relevant for the DDI product.
- security
Manage BooleanGlobal2fa - Whether the user can manage global two factor authentication.
- teams List<String>
- The teams that the user belongs to.
- email string
- The email address of the user.
- username string
- The users login name.
- account
Manage booleanAccount Settings - Whether the user can modify account settings.
- account
Manage booleanApikeys - Whether the user can modify account apikeys.
- account
Manage booleanIp Whitelist - Whether the user can manage ip whitelist.
- account
Manage booleanPayment Methods - Whether the user can modify account payment methods.
- account
Manage booleanPlan - No longer in use.
- account
Manage booleanTeams - Whether the user can modify other teams in the account.
- account
Manage booleanUsers - Whether the user can modify account users.
- account
View booleanActivity Log - Whether the user can view activity logs.
- account
View booleanInvoices - Whether the user can view invoices.
- data
Manage booleanDatafeeds - Whether the user can modify data feeds.
- data
Manage booleanDatasources - Whether the user can modify data sources.
- data
Push booleanTo Datafeeds - Whether the user can publish to data feeds.
- dns
Manage booleanZones - Whether the user can modify the accounts zones.
- dns
Records UserAllows Dns Records Allow[] - dns
Records UserDenies Dns Records Deny[] - dns
View booleanZones - Whether the user can view the accounts zones.
- dns
Zones booleanAllow By Default - If true, enable the
dns_zones_allow
list, otherwise enable thedns_zones_deny
list. - dns
Zones string[]Allows - List of zones that the user may access.
- dns
Zones string[]Denies - List of zones that the user may not access.
- ip
Whitelist booleanStrict - Set to true to restrict access to only those IP addresses and networks listed in the ip_whitelist field.
- ip
Whitelists string[] - Array of IP addresses/networks to which to grant the user access.
- monitoring
Create booleanJobs - Whether the user can create monitoring jobs when manage_jobs is not set to true.
- monitoring
Delete booleanJobs - Whether the user can delete monitoring jobs when manage_jobs is not set to true.
- monitoring
Manage booleanJobs - Whether the user can create, update, and delete monitoring jobs.
- monitoring
Manage booleanLists - Whether the user can modify notification lists.
- monitoring
Update booleanJobs - Whether the user can update monitoring jobs when manage_jobs is not set to true.
- monitoring
View booleanJobs - Whether the user can view monitoring jobs.
- name string
- The free form name of the user.
- notify {[key: string]: string}
- Whether or not to notify the user of specified events. Only
billing
is available currently. - security
Manage booleanActive Directory - Whether the user can manage global active directory. Only relevant for the DDI product.
- security
Manage booleanGlobal2fa - Whether the user can manage global two factor authentication.
- teams string[]
- The teams that the user belongs to.
- email str
- The email address of the user.
- username str
- The users login name.
- account_
manage_ boolaccount_ settings - Whether the user can modify account settings.
- account_
manage_ boolapikeys - Whether the user can modify account apikeys.
- account_
manage_ boolip_ whitelist - Whether the user can manage ip whitelist.
- account_
manage_ boolpayment_ methods - Whether the user can modify account payment methods.
- account_
manage_ boolplan - No longer in use.
- account_
manage_ boolteams - Whether the user can modify other teams in the account.
- account_
manage_ boolusers - Whether the user can modify account users.
- account_
view_ boolactivity_ log - Whether the user can view activity logs.
- account_
view_ boolinvoices - Whether the user can view invoices.
- data_
manage_ booldatafeeds - Whether the user can modify data feeds.
- data_
manage_ booldatasources - Whether the user can modify data sources.
- data_
push_ boolto_ datafeeds - Whether the user can publish to data feeds.
- dns_
manage_ boolzones - Whether the user can modify the accounts zones.
- dns_
records_ Sequence[Userallows Dns Records Allow Args] - dns_
records_ Sequence[Userdenies Dns Records Deny Args] - dns_
view_ boolzones - Whether the user can view the accounts zones.
- dns_
zones_ boolallow_ by_ default - If true, enable the
dns_zones_allow
list, otherwise enable thedns_zones_deny
list. - dns_
zones_ Sequence[str]allows - List of zones that the user may access.
- dns_
zones_ Sequence[str]denies - List of zones that the user may not access.
- ip_
whitelist_ boolstrict - Set to true to restrict access to only those IP addresses and networks listed in the ip_whitelist field.
- ip_
whitelists Sequence[str] - Array of IP addresses/networks to which to grant the user access.
- monitoring_
create_ booljobs - Whether the user can create monitoring jobs when manage_jobs is not set to true.
- monitoring_
delete_ booljobs - Whether the user can delete monitoring jobs when manage_jobs is not set to true.
- monitoring_
manage_ booljobs - Whether the user can create, update, and delete monitoring jobs.
- monitoring_
manage_ boollists - Whether the user can modify notification lists.
- monitoring_
update_ booljobs - Whether the user can update monitoring jobs when manage_jobs is not set to true.
- monitoring_
view_ booljobs - Whether the user can view monitoring jobs.
- name str
- The free form name of the user.
- notify Mapping[str, str]
- Whether or not to notify the user of specified events. Only
billing
is available currently. - security_
manage_ boolactive_ directory - Whether the user can manage global active directory. Only relevant for the DDI product.
- security_
manage_ boolglobal2fa - Whether the user can manage global two factor authentication.
- teams Sequence[str]
- The teams that the user belongs to.
- email String
- The email address of the user.
- username String
- The users login name.
- account
Manage BooleanAccount Settings - Whether the user can modify account settings.
- account
Manage BooleanApikeys - Whether the user can modify account apikeys.
- account
Manage BooleanIp Whitelist - Whether the user can manage ip whitelist.
- account
Manage BooleanPayment Methods - Whether the user can modify account payment methods.
- account
Manage BooleanPlan - No longer in use.
- account
Manage BooleanTeams - Whether the user can modify other teams in the account.
- account
Manage BooleanUsers - Whether the user can modify account users.
- account
View BooleanActivity Log - Whether the user can view activity logs.
- account
View BooleanInvoices - Whether the user can view invoices.
- data
Manage BooleanDatafeeds - Whether the user can modify data feeds.
- data
Manage BooleanDatasources - Whether the user can modify data sources.
- data
Push BooleanTo Datafeeds - Whether the user can publish to data feeds.
- dns
Manage BooleanZones - Whether the user can modify the accounts zones.
- dns
Records List<Property Map>Allows - dns
Records List<Property Map>Denies - dns
View BooleanZones - Whether the user can view the accounts zones.
- dns
Zones BooleanAllow By Default - If true, enable the
dns_zones_allow
list, otherwise enable thedns_zones_deny
list. - dns
Zones List<String>Allows - List of zones that the user may access.
- dns
Zones List<String>Denies - List of zones that the user may not access.
- ip
Whitelist BooleanStrict - Set to true to restrict access to only those IP addresses and networks listed in the ip_whitelist field.
- ip
Whitelists List<String> - Array of IP addresses/networks to which to grant the user access.
- monitoring
Create BooleanJobs - Whether the user can create monitoring jobs when manage_jobs is not set to true.
- monitoring
Delete BooleanJobs - Whether the user can delete monitoring jobs when manage_jobs is not set to true.
- monitoring
Manage BooleanJobs - Whether the user can create, update, and delete monitoring jobs.
- monitoring
Manage BooleanLists - Whether the user can modify notification lists.
- monitoring
Update BooleanJobs - Whether the user can update monitoring jobs when manage_jobs is not set to true.
- monitoring
View BooleanJobs - Whether the user can view monitoring jobs.
- name String
- The free form name of the user.
- notify Map<String>
- Whether or not to notify the user of specified events. Only
billing
is available currently. - security
Manage BooleanActive Directory - Whether the user can manage global active directory. Only relevant for the DDI product.
- security
Manage BooleanGlobal2fa - Whether the user can manage global two factor authentication.
- teams List<String>
- The teams that the user belongs to.
Outputs
All input properties are implicitly available as output properties. Additionally, the User 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 User Resource
Get an existing User 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?: UserState, opts?: CustomResourceOptions): User
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_manage_account_settings: Optional[bool] = None,
account_manage_apikeys: Optional[bool] = None,
account_manage_ip_whitelist: Optional[bool] = None,
account_manage_payment_methods: Optional[bool] = None,
account_manage_plan: Optional[bool] = None,
account_manage_teams: Optional[bool] = None,
account_manage_users: Optional[bool] = None,
account_view_activity_log: Optional[bool] = None,
account_view_invoices: Optional[bool] = None,
data_manage_datafeeds: Optional[bool] = None,
data_manage_datasources: Optional[bool] = None,
data_push_to_datafeeds: Optional[bool] = None,
dns_manage_zones: Optional[bool] = None,
dns_records_allows: Optional[Sequence[UserDnsRecordsAllowArgs]] = None,
dns_records_denies: Optional[Sequence[UserDnsRecordsDenyArgs]] = None,
dns_view_zones: Optional[bool] = None,
dns_zones_allow_by_default: Optional[bool] = None,
dns_zones_allows: Optional[Sequence[str]] = None,
dns_zones_denies: Optional[Sequence[str]] = None,
email: Optional[str] = None,
ip_whitelist_strict: Optional[bool] = None,
ip_whitelists: Optional[Sequence[str]] = None,
monitoring_create_jobs: Optional[bool] = None,
monitoring_delete_jobs: Optional[bool] = None,
monitoring_manage_jobs: Optional[bool] = None,
monitoring_manage_lists: Optional[bool] = None,
monitoring_update_jobs: Optional[bool] = None,
monitoring_view_jobs: Optional[bool] = None,
name: Optional[str] = None,
notify: Optional[Mapping[str, str]] = None,
security_manage_active_directory: Optional[bool] = None,
security_manage_global2fa: Optional[bool] = None,
teams: Optional[Sequence[str]] = None,
username: Optional[str] = None) -> User
func GetUser(ctx *Context, name string, id IDInput, state *UserState, opts ...ResourceOption) (*User, error)
public static User Get(string name, Input<string> id, UserState? state, CustomResourceOptions? opts = null)
public static User get(String name, Output<String> id, UserState 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.
- Account
Manage boolAccount Settings - Whether the user can modify account settings.
- Account
Manage boolApikeys - Whether the user can modify account apikeys.
- Account
Manage boolIp Whitelist - Whether the user can manage ip whitelist.
- Account
Manage boolPayment Methods - Whether the user can modify account payment methods.
- Account
Manage boolPlan - No longer in use.
- Account
Manage boolTeams - Whether the user can modify other teams in the account.
- Account
Manage boolUsers - Whether the user can modify account users.
- Account
View boolActivity Log - Whether the user can view activity logs.
- Account
View boolInvoices - Whether the user can view invoices.
- Data
Manage boolDatafeeds - Whether the user can modify data feeds.
- Data
Manage boolDatasources - Whether the user can modify data sources.
- Data
Push boolTo Datafeeds - Whether the user can publish to data feeds.
- Dns
Manage boolZones - Whether the user can modify the accounts zones.
- Dns
Records List<UserAllows Dns Records Allow> - Dns
Records List<UserDenies Dns Records Deny> - Dns
View boolZones - Whether the user can view the accounts zones.
- Dns
Zones boolAllow By Default - If true, enable the
dns_zones_allow
list, otherwise enable thedns_zones_deny
list. - Dns
Zones List<string>Allows - List of zones that the user may access.
- Dns
Zones List<string>Denies - List of zones that the user may not access.
- Email string
- The email address of the user.
- Ip
Whitelist boolStrict - Set to true to restrict access to only those IP addresses and networks listed in the ip_whitelist field.
- Ip
Whitelists List<string> - Array of IP addresses/networks to which to grant the user access.
- Monitoring
Create boolJobs - Whether the user can create monitoring jobs when manage_jobs is not set to true.
- Monitoring
Delete boolJobs - Whether the user can delete monitoring jobs when manage_jobs is not set to true.
- Monitoring
Manage boolJobs - Whether the user can create, update, and delete monitoring jobs.
- Monitoring
Manage boolLists - Whether the user can modify notification lists.
- Monitoring
Update boolJobs - Whether the user can update monitoring jobs when manage_jobs is not set to true.
- Monitoring
View boolJobs - Whether the user can view monitoring jobs.
- Name string
- The free form name of the user.
- Notify Dictionary<string, string>
- Whether or not to notify the user of specified events. Only
billing
is available currently. - Security
Manage boolActive Directory - Whether the user can manage global active directory. Only relevant for the DDI product.
- Security
Manage boolGlobal2fa - Whether the user can manage global two factor authentication.
- Teams List<string>
- The teams that the user belongs to.
- Username string
- The users login name.
- Account
Manage boolAccount Settings - Whether the user can modify account settings.
- Account
Manage boolApikeys - Whether the user can modify account apikeys.
- Account
Manage boolIp Whitelist - Whether the user can manage ip whitelist.
- Account
Manage boolPayment Methods - Whether the user can modify account payment methods.
- Account
Manage boolPlan - No longer in use.
- Account
Manage boolTeams - Whether the user can modify other teams in the account.
- Account
Manage boolUsers - Whether the user can modify account users.
- Account
View boolActivity Log - Whether the user can view activity logs.
- Account
View boolInvoices - Whether the user can view invoices.
- Data
Manage boolDatafeeds - Whether the user can modify data feeds.
- Data
Manage boolDatasources - Whether the user can modify data sources.
- Data
Push boolTo Datafeeds - Whether the user can publish to data feeds.
- Dns
Manage boolZones - Whether the user can modify the accounts zones.
- Dns
Records []UserAllows Dns Records Allow Args - Dns
Records []UserDenies Dns Records Deny Args - Dns
View boolZones - Whether the user can view the accounts zones.
- Dns
Zones boolAllow By Default - If true, enable the
dns_zones_allow
list, otherwise enable thedns_zones_deny
list. - Dns
Zones []stringAllows - List of zones that the user may access.
- Dns
Zones []stringDenies - List of zones that the user may not access.
- Email string
- The email address of the user.
- Ip
Whitelist boolStrict - Set to true to restrict access to only those IP addresses and networks listed in the ip_whitelist field.
- Ip
Whitelists []string - Array of IP addresses/networks to which to grant the user access.
- Monitoring
Create boolJobs - Whether the user can create monitoring jobs when manage_jobs is not set to true.
- Monitoring
Delete boolJobs - Whether the user can delete monitoring jobs when manage_jobs is not set to true.
- Monitoring
Manage boolJobs - Whether the user can create, update, and delete monitoring jobs.
- Monitoring
Manage boolLists - Whether the user can modify notification lists.
- Monitoring
Update boolJobs - Whether the user can update monitoring jobs when manage_jobs is not set to true.
- Monitoring
View boolJobs - Whether the user can view monitoring jobs.
- Name string
- The free form name of the user.
- Notify map[string]string
- Whether or not to notify the user of specified events. Only
billing
is available currently. - Security
Manage boolActive Directory - Whether the user can manage global active directory. Only relevant for the DDI product.
- Security
Manage boolGlobal2fa - Whether the user can manage global two factor authentication.
- Teams []string
- The teams that the user belongs to.
- Username string
- The users login name.
- account
Manage BooleanAccount Settings - Whether the user can modify account settings.
- account
Manage BooleanApikeys - Whether the user can modify account apikeys.
- account
Manage BooleanIp Whitelist - Whether the user can manage ip whitelist.
- account
Manage BooleanPayment Methods - Whether the user can modify account payment methods.
- account
Manage BooleanPlan - No longer in use.
- account
Manage BooleanTeams - Whether the user can modify other teams in the account.
- account
Manage BooleanUsers - Whether the user can modify account users.
- account
View BooleanActivity Log - Whether the user can view activity logs.
- account
View BooleanInvoices - Whether the user can view invoices.
- data
Manage BooleanDatafeeds - Whether the user can modify data feeds.
- data
Manage BooleanDatasources - Whether the user can modify data sources.
- data
Push BooleanTo Datafeeds - Whether the user can publish to data feeds.
- dns
Manage BooleanZones - Whether the user can modify the accounts zones.
- dns
Records List<UserAllows Dns Records Allow> - dns
Records List<UserDenies Dns Records Deny> - dns
View BooleanZones - Whether the user can view the accounts zones.
- dns
Zones BooleanAllow By Default - If true, enable the
dns_zones_allow
list, otherwise enable thedns_zones_deny
list. - dns
Zones List<String>Allows - List of zones that the user may access.
- dns
Zones List<String>Denies - List of zones that the user may not access.
- email String
- The email address of the user.
- ip
Whitelist BooleanStrict - Set to true to restrict access to only those IP addresses and networks listed in the ip_whitelist field.
- ip
Whitelists List<String> - Array of IP addresses/networks to which to grant the user access.
- monitoring
Create BooleanJobs - Whether the user can create monitoring jobs when manage_jobs is not set to true.
- monitoring
Delete BooleanJobs - Whether the user can delete monitoring jobs when manage_jobs is not set to true.
- monitoring
Manage BooleanJobs - Whether the user can create, update, and delete monitoring jobs.
- monitoring
Manage BooleanLists - Whether the user can modify notification lists.
- monitoring
Update BooleanJobs - Whether the user can update monitoring jobs when manage_jobs is not set to true.
- monitoring
View BooleanJobs - Whether the user can view monitoring jobs.
- name String
- The free form name of the user.
- notify_ Map<String,String>
- Whether or not to notify the user of specified events. Only
billing
is available currently. - security
Manage BooleanActive Directory - Whether the user can manage global active directory. Only relevant for the DDI product.
- security
Manage BooleanGlobal2fa - Whether the user can manage global two factor authentication.
- teams List<String>
- The teams that the user belongs to.
- username String
- The users login name.
- account
Manage booleanAccount Settings - Whether the user can modify account settings.
- account
Manage booleanApikeys - Whether the user can modify account apikeys.
- account
Manage booleanIp Whitelist - Whether the user can manage ip whitelist.
- account
Manage booleanPayment Methods - Whether the user can modify account payment methods.
- account
Manage booleanPlan - No longer in use.
- account
Manage booleanTeams - Whether the user can modify other teams in the account.
- account
Manage booleanUsers - Whether the user can modify account users.
- account
View booleanActivity Log - Whether the user can view activity logs.
- account
View booleanInvoices - Whether the user can view invoices.
- data
Manage booleanDatafeeds - Whether the user can modify data feeds.
- data
Manage booleanDatasources - Whether the user can modify data sources.
- data
Push booleanTo Datafeeds - Whether the user can publish to data feeds.
- dns
Manage booleanZones - Whether the user can modify the accounts zones.
- dns
Records UserAllows Dns Records Allow[] - dns
Records UserDenies Dns Records Deny[] - dns
View booleanZones - Whether the user can view the accounts zones.
- dns
Zones booleanAllow By Default - If true, enable the
dns_zones_allow
list, otherwise enable thedns_zones_deny
list. - dns
Zones string[]Allows - List of zones that the user may access.
- dns
Zones string[]Denies - List of zones that the user may not access.
- email string
- The email address of the user.
- ip
Whitelist booleanStrict - Set to true to restrict access to only those IP addresses and networks listed in the ip_whitelist field.
- ip
Whitelists string[] - Array of IP addresses/networks to which to grant the user access.
- monitoring
Create booleanJobs - Whether the user can create monitoring jobs when manage_jobs is not set to true.
- monitoring
Delete booleanJobs - Whether the user can delete monitoring jobs when manage_jobs is not set to true.
- monitoring
Manage booleanJobs - Whether the user can create, update, and delete monitoring jobs.
- monitoring
Manage booleanLists - Whether the user can modify notification lists.
- monitoring
Update booleanJobs - Whether the user can update monitoring jobs when manage_jobs is not set to true.
- monitoring
View booleanJobs - Whether the user can view monitoring jobs.
- name string
- The free form name of the user.
- notify {[key: string]: string}
- Whether or not to notify the user of specified events. Only
billing
is available currently. - security
Manage booleanActive Directory - Whether the user can manage global active directory. Only relevant for the DDI product.
- security
Manage booleanGlobal2fa - Whether the user can manage global two factor authentication.
- teams string[]
- The teams that the user belongs to.
- username string
- The users login name.
- account_
manage_ boolaccount_ settings - Whether the user can modify account settings.
- account_
manage_ boolapikeys - Whether the user can modify account apikeys.
- account_
manage_ boolip_ whitelist - Whether the user can manage ip whitelist.
- account_
manage_ boolpayment_ methods - Whether the user can modify account payment methods.
- account_
manage_ boolplan - No longer in use.
- account_
manage_ boolteams - Whether the user can modify other teams in the account.
- account_
manage_ boolusers - Whether the user can modify account users.
- account_
view_ boolactivity_ log - Whether the user can view activity logs.
- account_
view_ boolinvoices - Whether the user can view invoices.
- data_
manage_ booldatafeeds - Whether the user can modify data feeds.
- data_
manage_ booldatasources - Whether the user can modify data sources.
- data_
push_ boolto_ datafeeds - Whether the user can publish to data feeds.
- dns_
manage_ boolzones - Whether the user can modify the accounts zones.
- dns_
records_ Sequence[Userallows Dns Records Allow Args] - dns_
records_ Sequence[Userdenies Dns Records Deny Args] - dns_
view_ boolzones - Whether the user can view the accounts zones.
- dns_
zones_ boolallow_ by_ default - If true, enable the
dns_zones_allow
list, otherwise enable thedns_zones_deny
list. - dns_
zones_ Sequence[str]allows - List of zones that the user may access.
- dns_
zones_ Sequence[str]denies - List of zones that the user may not access.
- email str
- The email address of the user.
- ip_
whitelist_ boolstrict - Set to true to restrict access to only those IP addresses and networks listed in the ip_whitelist field.
- ip_
whitelists Sequence[str] - Array of IP addresses/networks to which to grant the user access.
- monitoring_
create_ booljobs - Whether the user can create monitoring jobs when manage_jobs is not set to true.
- monitoring_
delete_ booljobs - Whether the user can delete monitoring jobs when manage_jobs is not set to true.
- monitoring_
manage_ booljobs - Whether the user can create, update, and delete monitoring jobs.
- monitoring_
manage_ boollists - Whether the user can modify notification lists.
- monitoring_
update_ booljobs - Whether the user can update monitoring jobs when manage_jobs is not set to true.
- monitoring_
view_ booljobs - Whether the user can view monitoring jobs.
- name str
- The free form name of the user.
- notify Mapping[str, str]
- Whether or not to notify the user of specified events. Only
billing
is available currently. - security_
manage_ boolactive_ directory - Whether the user can manage global active directory. Only relevant for the DDI product.
- security_
manage_ boolglobal2fa - Whether the user can manage global two factor authentication.
- teams Sequence[str]
- The teams that the user belongs to.
- username str
- The users login name.
- account
Manage BooleanAccount Settings - Whether the user can modify account settings.
- account
Manage BooleanApikeys - Whether the user can modify account apikeys.
- account
Manage BooleanIp Whitelist - Whether the user can manage ip whitelist.
- account
Manage BooleanPayment Methods - Whether the user can modify account payment methods.
- account
Manage BooleanPlan - No longer in use.
- account
Manage BooleanTeams - Whether the user can modify other teams in the account.
- account
Manage BooleanUsers - Whether the user can modify account users.
- account
View BooleanActivity Log - Whether the user can view activity logs.
- account
View BooleanInvoices - Whether the user can view invoices.
- data
Manage BooleanDatafeeds - Whether the user can modify data feeds.
- data
Manage BooleanDatasources - Whether the user can modify data sources.
- data
Push BooleanTo Datafeeds - Whether the user can publish to data feeds.
- dns
Manage BooleanZones - Whether the user can modify the accounts zones.
- dns
Records List<Property Map>Allows - dns
Records List<Property Map>Denies - dns
View BooleanZones - Whether the user can view the accounts zones.
- dns
Zones BooleanAllow By Default - If true, enable the
dns_zones_allow
list, otherwise enable thedns_zones_deny
list. - dns
Zones List<String>Allows - List of zones that the user may access.
- dns
Zones List<String>Denies - List of zones that the user may not access.
- email String
- The email address of the user.
- ip
Whitelist BooleanStrict - Set to true to restrict access to only those IP addresses and networks listed in the ip_whitelist field.
- ip
Whitelists List<String> - Array of IP addresses/networks to which to grant the user access.
- monitoring
Create BooleanJobs - Whether the user can create monitoring jobs when manage_jobs is not set to true.
- monitoring
Delete BooleanJobs - Whether the user can delete monitoring jobs when manage_jobs is not set to true.
- monitoring
Manage BooleanJobs - Whether the user can create, update, and delete monitoring jobs.
- monitoring
Manage BooleanLists - Whether the user can modify notification lists.
- monitoring
Update BooleanJobs - Whether the user can update monitoring jobs when manage_jobs is not set to true.
- monitoring
View BooleanJobs - Whether the user can view monitoring jobs.
- name String
- The free form name of the user.
- notify Map<String>
- Whether or not to notify the user of specified events. Only
billing
is available currently. - security
Manage BooleanActive Directory - Whether the user can manage global active directory. Only relevant for the DDI product.
- security
Manage BooleanGlobal2fa - Whether the user can manage global two factor authentication.
- teams List<String>
- The teams that the user belongs to.
- username String
- The users login name.
Supporting Types
UserDnsRecordsAllow, UserDnsRecordsAllowArgs
- Domain string
- Include
Subdomains bool - Type string
- Zone string
- Domain string
- Include
Subdomains bool - Type string
- Zone string
- domain String
- include
Subdomains Boolean - type String
- zone String
- domain string
- include
Subdomains boolean - type string
- zone string
- domain str
- include_
subdomains bool - type str
- zone str
- domain String
- include
Subdomains Boolean - type String
- zone String
UserDnsRecordsDeny, UserDnsRecordsDenyArgs
- Domain string
- Include
Subdomains bool - Type string
- Zone string
- Domain string
- Include
Subdomains bool - Type string
- Zone string
- domain String
- include
Subdomains Boolean - type String
- zone String
- domain string
- include
Subdomains boolean - type string
- zone string
- domain str
- include_
subdomains bool - type str
- zone str
- domain String
- include
Subdomains Boolean - type String
- zone String
Import
$ pulumi import ns1:index/user:User <name> <username>`
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- NS1 pulumi/pulumi-ns1
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ns1
Terraform Provider.