1. Packages
  2. NS1
  3. API Docs
  4. Team
NS1 v3.2.0 published on Tuesday, Mar 12, 2024 by Pulumi

ns1.Team

Explore with Pulumi AI

ns1 logo
NS1 v3.2.0 published on Tuesday, Mar 12, 2024 by Pulumi

    Provides a NS1 Team resource. This can be used to create, modify, and delete teams. The credentials used must have the manage_teams permission set.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ns1 from "@pulumi/ns1";
    
    // Create a new NS1 Team
    const example = new ns1.Team("example", {
        accountManageUsers: false,
        dnsViewZones: false,
        ipWhitelists: [
            {
                name: "whitelist-1",
                values: [
                    "1.1.1.1",
                    "2.2.2.2",
                ],
            },
            {
                name: "whitelist-2",
                values: [
                    "3.3.3.3",
                    "4.4.4.4",
                ],
            },
        ],
    });
    // Another team
    const example2 = new ns1.Team("example2", {
        dataManageDatasources: true,
        dnsRecordsAllows: [{
            domain: "terraform.example.io",
            includeSubdomains: false,
            type: "A",
            zone: "example.io",
        }],
        dnsViewZones: true,
        dnsZonesAllows: ["mytest.zone"],
        dnsZonesAllowByDefault: true,
        dnsZonesDenies: ["myother.zone"],
    });
    
    import pulumi
    import pulumi_ns1 as ns1
    
    # Create a new NS1 Team
    example = ns1.Team("example",
        account_manage_users=False,
        dns_view_zones=False,
        ip_whitelists=[
            ns1.TeamIpWhitelistArgs(
                name="whitelist-1",
                values=[
                    "1.1.1.1",
                    "2.2.2.2",
                ],
            ),
            ns1.TeamIpWhitelistArgs(
                name="whitelist-2",
                values=[
                    "3.3.3.3",
                    "4.4.4.4",
                ],
            ),
        ])
    # Another team
    example2 = ns1.Team("example2",
        data_manage_datasources=True,
        dns_records_allows=[ns1.TeamDnsRecordsAllowArgs(
            domain="terraform.example.io",
            include_subdomains=False,
            type="A",
            zone="example.io",
        )],
        dns_view_zones=True,
        dns_zones_allows=["mytest.zone"],
        dns_zones_allow_by_default=True,
        dns_zones_denies=["myother.zone"])
    
    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 {
    		// Create a new NS1 Team
    		_, err := ns1.NewTeam(ctx, "example", &ns1.TeamArgs{
    			AccountManageUsers: pulumi.Bool(false),
    			DnsViewZones:       pulumi.Bool(false),
    			IpWhitelists: ns1.TeamIpWhitelistArray{
    				&ns1.TeamIpWhitelistArgs{
    					Name: pulumi.String("whitelist-1"),
    					Values: pulumi.StringArray{
    						pulumi.String("1.1.1.1"),
    						pulumi.String("2.2.2.2"),
    					},
    				},
    				&ns1.TeamIpWhitelistArgs{
    					Name: pulumi.String("whitelist-2"),
    					Values: pulumi.StringArray{
    						pulumi.String("3.3.3.3"),
    						pulumi.String("4.4.4.4"),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		// Another team
    		_, err = ns1.NewTeam(ctx, "example2", &ns1.TeamArgs{
    			DataManageDatasources: pulumi.Bool(true),
    			DnsRecordsAllows: ns1.TeamDnsRecordsAllowArray{
    				&ns1.TeamDnsRecordsAllowArgs{
    					Domain:            pulumi.String("terraform.example.io"),
    					IncludeSubdomains: pulumi.Bool(false),
    					Type:              pulumi.String("A"),
    					Zone:              pulumi.String("example.io"),
    				},
    			},
    			DnsViewZones: pulumi.Bool(true),
    			DnsZonesAllows: pulumi.StringArray{
    				pulumi.String("mytest.zone"),
    			},
    			DnsZonesAllowByDefault: pulumi.Bool(true),
    			DnsZonesDenies: pulumi.StringArray{
    				pulumi.String("myother.zone"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ns1 = Pulumi.Ns1;
    
    return await Deployment.RunAsync(() => 
    {
        // Create a new NS1 Team
        var example = new Ns1.Team("example", new()
        {
            AccountManageUsers = false,
            DnsViewZones = false,
            IpWhitelists = new[]
            {
                new Ns1.Inputs.TeamIpWhitelistArgs
                {
                    Name = "whitelist-1",
                    Values = new[]
                    {
                        "1.1.1.1",
                        "2.2.2.2",
                    },
                },
                new Ns1.Inputs.TeamIpWhitelistArgs
                {
                    Name = "whitelist-2",
                    Values = new[]
                    {
                        "3.3.3.3",
                        "4.4.4.4",
                    },
                },
            },
        });
    
        // Another team
        var example2 = new Ns1.Team("example2", new()
        {
            DataManageDatasources = true,
            DnsRecordsAllows = new[]
            {
                new Ns1.Inputs.TeamDnsRecordsAllowArgs
                {
                    Domain = "terraform.example.io",
                    IncludeSubdomains = false,
                    Type = "A",
                    Zone = "example.io",
                },
            },
            DnsViewZones = true,
            DnsZonesAllows = new[]
            {
                "mytest.zone",
            },
            DnsZonesAllowByDefault = true,
            DnsZonesDenies = new[]
            {
                "myother.zone",
            },
        });
    
    });
    
    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.inputs.TeamIpWhitelistArgs;
    import com.pulumi.ns1.inputs.TeamDnsRecordsAllowArgs;
    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()        
                .accountManageUsers(false)
                .dnsViewZones(false)
                .ipWhitelists(            
                    TeamIpWhitelistArgs.builder()
                        .name("whitelist-1")
                        .values(                    
                            "1.1.1.1",
                            "2.2.2.2")
                        .build(),
                    TeamIpWhitelistArgs.builder()
                        .name("whitelist-2")
                        .values(                    
                            "3.3.3.3",
                            "4.4.4.4")
                        .build())
                .build());
    
            var example2 = new Team("example2", TeamArgs.builder()        
                .dataManageDatasources(true)
                .dnsRecordsAllows(TeamDnsRecordsAllowArgs.builder()
                    .domain("terraform.example.io")
                    .includeSubdomains(false)
                    .type("A")
                    .zone("example.io")
                    .build())
                .dnsViewZones(true)
                .dnsZonesAllows("mytest.zone")
                .dnsZonesAllowByDefault(true)
                .dnsZonesDenies("myother.zone")
                .build());
    
        }
    }
    
    resources:
      # Create a new NS1 Team
      example:
        type: ns1:Team
        properties:
          accountManageUsers: false
          # Configure permissions
          dnsViewZones: false
          ipWhitelists:
            - name: whitelist-1
              values:
                - 1.1.1.1
                - 2.2.2.2
            - name: whitelist-2
              values:
                - 3.3.3.3
                - 4.4.4.4
      # Another team
      example2:
        type: ns1:Team
        properties:
          dataManageDatasources: true
          dnsRecordsAllows:
            - domain: terraform.example.io
              includeSubdomains: false
              type: A
              zone: example.io
          dnsViewZones: true
          dnsZonesAllows:
            - mytest.zone
          dnsZonesAllowByDefault: true
          dnsZonesDenies:
            - myother.zone
    

    NS1 Documentation

    Team Api Docs

    Create Team Resource

    new Team(name: string, args?: TeamArgs, opts?: CustomResourceOptions);
    @overload
    def Team(resource_name: 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,
             dhcp_manage_dhcp: Optional[bool] = None,
             dhcp_view_dhcp: Optional[bool] = None,
             dns_manage_zones: Optional[bool] = None,
             dns_records_allows: Optional[Sequence[TeamDnsRecordsAllowArgs]] = None,
             dns_records_denies: Optional[Sequence[TeamDnsRecordsDenyArgs]] = 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,
             ip_whitelists: Optional[Sequence[TeamIpWhitelistArgs]] = None,
             ipam_manage_ipam: Optional[bool] = None,
             ipam_view_ipam: Optional[bool] = None,
             monitoring_manage_jobs: Optional[bool] = None,
             monitoring_manage_lists: Optional[bool] = None,
             monitoring_view_jobs: Optional[bool] = None,
             name: Optional[str] = None,
             security_manage_active_directory: Optional[bool] = None,
             security_manage_global2fa: Optional[bool] = None)
    @overload
    def Team(resource_name: str,
             args: Optional[TeamArgs] = None,
             opts: Optional[ResourceOptions] = None)
    func NewTeam(ctx *Context, name string, args *TeamArgs, opts ...ResourceOption) (*Team, error)
    public Team(string name, TeamArgs? args = null, CustomResourceOptions? opts = null)
    public Team(String name, TeamArgs args)
    public Team(String name, TeamArgs args, CustomResourceOptions options)
    
    type: ns1:Team
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args TeamArgs
    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 TeamArgs
    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 TeamArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TeamArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TeamArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    AccountManageAccountSettings bool
    Whether the team can modify account settings.
    AccountManageApikeys bool
    Whether the team can modify account apikeys.
    AccountManageIpWhitelist bool
    Whether the team can manage ip whitelist.
    AccountManagePaymentMethods bool
    Whether the team can modify account payment methods.
    AccountManagePlan bool
    No longer in use.

    Deprecated:obsolete, should no longer be used

    AccountManageTeams bool
    Whether the team can modify other teams in the account.
    AccountManageUsers bool
    Whether the team can modify account users.
    AccountViewActivityLog bool
    Whether the team can view activity logs.
    AccountViewInvoices bool
    Whether the team can view invoices.
    DataManageDatafeeds bool
    Whether the team can modify data feeds.
    DataManageDatasources bool
    Whether the team can modify data sources.
    DataPushToDatafeeds bool
    Whether the team can publish to data feeds.
    DhcpManageDhcp bool
    Whether the team can manage DHCP. Only relevant for the DDI product.
    DhcpViewDhcp bool
    Whether the team can view DHCP. Only relevant for the DDI product.
    DnsManageZones bool
    Whether the team can modify the accounts zones.
    DnsRecordsAllows List<TeamDnsRecordsAllow>
    List of records that the team may access.
    DnsRecordsDenies List<TeamDnsRecordsDeny>
    List of records that the team may not access.
    DnsViewZones bool
    Whether the team can view the accounts zones.
    DnsZonesAllowByDefault bool
    If true, enable the dns_zones_allow list, otherwise enable the dns_zones_deny list.
    DnsZonesAllows List<string>
    List of zones that the team may access.
    DnsZonesDenies List<string>
    List of zones that the team may not access.
    IpWhitelists List<TeamIpWhitelist>
    Array of IP addresses objects to chich to grant the team access. Each object includes a name (string), and values (array of strings) associated to each "allow" list.
    IpamManageIpam bool
    Whether the team can manage IPAM. Only relevant for the DDI product.
    IpamViewIpam bool
    Whether the team can view IPAM. Only relevant for the DDI product.
    MonitoringManageJobs bool
    Whether the team can modify monitoring jobs.
    MonitoringManageLists bool
    Whether the team can modify notification lists.
    MonitoringViewJobs bool
    Whether the team can view monitoring jobs.
    Name string
    The free form name of the team.
    SecurityManageActiveDirectory bool
    Whether the team can manage global active directory. Only relevant for the DDI product.
    SecurityManageGlobal2fa bool
    Whether the team can manage global two factor authentication.
    AccountManageAccountSettings bool
    Whether the team can modify account settings.
    AccountManageApikeys bool
    Whether the team can modify account apikeys.
    AccountManageIpWhitelist bool
    Whether the team can manage ip whitelist.
    AccountManagePaymentMethods bool
    Whether the team can modify account payment methods.
    AccountManagePlan bool
    No longer in use.

    Deprecated:obsolete, should no longer be used

    AccountManageTeams bool
    Whether the team can modify other teams in the account.
    AccountManageUsers bool
    Whether the team can modify account users.
    AccountViewActivityLog bool
    Whether the team can view activity logs.
    AccountViewInvoices bool
    Whether the team can view invoices.
    DataManageDatafeeds bool
    Whether the team can modify data feeds.
    DataManageDatasources bool
    Whether the team can modify data sources.
    DataPushToDatafeeds bool
    Whether the team can publish to data feeds.
    DhcpManageDhcp bool
    Whether the team can manage DHCP. Only relevant for the DDI product.
    DhcpViewDhcp bool
    Whether the team can view DHCP. Only relevant for the DDI product.
    DnsManageZones bool
    Whether the team can modify the accounts zones.
    DnsRecordsAllows []TeamDnsRecordsAllowArgs
    List of records that the team may access.
    DnsRecordsDenies []TeamDnsRecordsDenyArgs
    List of records that the team may not access.
    DnsViewZones bool
    Whether the team can view the accounts zones.
    DnsZonesAllowByDefault bool
    If true, enable the dns_zones_allow list, otherwise enable the dns_zones_deny list.
    DnsZonesAllows []string
    List of zones that the team may access.
    DnsZonesDenies []string
    List of zones that the team may not access.
    IpWhitelists []TeamIpWhitelistArgs
    Array of IP addresses objects to chich to grant the team access. Each object includes a name (string), and values (array of strings) associated to each "allow" list.
    IpamManageIpam bool
    Whether the team can manage IPAM. Only relevant for the DDI product.
    IpamViewIpam bool
    Whether the team can view IPAM. Only relevant for the DDI product.
    MonitoringManageJobs bool
    Whether the team can modify monitoring jobs.
    MonitoringManageLists bool
    Whether the team can modify notification lists.
    MonitoringViewJobs bool
    Whether the team can view monitoring jobs.
    Name string
    The free form name of the team.
    SecurityManageActiveDirectory bool
    Whether the team can manage global active directory. Only relevant for the DDI product.
    SecurityManageGlobal2fa bool
    Whether the team can manage global two factor authentication.
    accountManageAccountSettings Boolean
    Whether the team can modify account settings.
    accountManageApikeys Boolean
    Whether the team can modify account apikeys.
    accountManageIpWhitelist Boolean
    Whether the team can manage ip whitelist.
    accountManagePaymentMethods Boolean
    Whether the team can modify account payment methods.
    accountManagePlan Boolean
    No longer in use.

    Deprecated:obsolete, should no longer be used

    accountManageTeams Boolean
    Whether the team can modify other teams in the account.
    accountManageUsers Boolean
    Whether the team can modify account users.
    accountViewActivityLog Boolean
    Whether the team can view activity logs.
    accountViewInvoices Boolean
    Whether the team can view invoices.
    dataManageDatafeeds Boolean
    Whether the team can modify data feeds.
    dataManageDatasources Boolean
    Whether the team can modify data sources.
    dataPushToDatafeeds Boolean
    Whether the team can publish to data feeds.
    dhcpManageDhcp Boolean
    Whether the team can manage DHCP. Only relevant for the DDI product.
    dhcpViewDhcp Boolean
    Whether the team can view DHCP. Only relevant for the DDI product.
    dnsManageZones Boolean
    Whether the team can modify the accounts zones.
    dnsRecordsAllows List<TeamDnsRecordsAllow>
    List of records that the team may access.
    dnsRecordsDenies List<TeamDnsRecordsDeny>
    List of records that the team may not access.
    dnsViewZones Boolean
    Whether the team can view the accounts zones.
    dnsZonesAllowByDefault Boolean
    If true, enable the dns_zones_allow list, otherwise enable the dns_zones_deny list.
    dnsZonesAllows List<String>
    List of zones that the team may access.
    dnsZonesDenies List<String>
    List of zones that the team may not access.
    ipWhitelists List<TeamIpWhitelist>
    Array of IP addresses objects to chich to grant the team access. Each object includes a name (string), and values (array of strings) associated to each "allow" list.
    ipamManageIpam Boolean
    Whether the team can manage IPAM. Only relevant for the DDI product.
    ipamViewIpam Boolean
    Whether the team can view IPAM. Only relevant for the DDI product.
    monitoringManageJobs Boolean
    Whether the team can modify monitoring jobs.
    monitoringManageLists Boolean
    Whether the team can modify notification lists.
    monitoringViewJobs Boolean
    Whether the team can view monitoring jobs.
    name String
    The free form name of the team.
    securityManageActiveDirectory Boolean
    Whether the team can manage global active directory. Only relevant for the DDI product.
    securityManageGlobal2fa Boolean
    Whether the team can manage global two factor authentication.
    accountManageAccountSettings boolean
    Whether the team can modify account settings.
    accountManageApikeys boolean
    Whether the team can modify account apikeys.
    accountManageIpWhitelist boolean
    Whether the team can manage ip whitelist.
    accountManagePaymentMethods boolean
    Whether the team can modify account payment methods.
    accountManagePlan boolean
    No longer in use.

    Deprecated:obsolete, should no longer be used

    accountManageTeams boolean
    Whether the team can modify other teams in the account.
    accountManageUsers boolean
    Whether the team can modify account users.
    accountViewActivityLog boolean
    Whether the team can view activity logs.
    accountViewInvoices boolean
    Whether the team can view invoices.
    dataManageDatafeeds boolean
    Whether the team can modify data feeds.
    dataManageDatasources boolean
    Whether the team can modify data sources.
    dataPushToDatafeeds boolean
    Whether the team can publish to data feeds.
    dhcpManageDhcp boolean
    Whether the team can manage DHCP. Only relevant for the DDI product.
    dhcpViewDhcp boolean
    Whether the team can view DHCP. Only relevant for the DDI product.
    dnsManageZones boolean
    Whether the team can modify the accounts zones.
    dnsRecordsAllows TeamDnsRecordsAllow[]
    List of records that the team may access.
    dnsRecordsDenies TeamDnsRecordsDeny[]
    List of records that the team may not access.
    dnsViewZones boolean
    Whether the team can view the accounts zones.
    dnsZonesAllowByDefault boolean
    If true, enable the dns_zones_allow list, otherwise enable the dns_zones_deny list.
    dnsZonesAllows string[]
    List of zones that the team may access.
    dnsZonesDenies string[]
    List of zones that the team may not access.
    ipWhitelists TeamIpWhitelist[]
    Array of IP addresses objects to chich to grant the team access. Each object includes a name (string), and values (array of strings) associated to each "allow" list.
    ipamManageIpam boolean
    Whether the team can manage IPAM. Only relevant for the DDI product.
    ipamViewIpam boolean
    Whether the team can view IPAM. Only relevant for the DDI product.
    monitoringManageJobs boolean
    Whether the team can modify monitoring jobs.
    monitoringManageLists boolean
    Whether the team can modify notification lists.
    monitoringViewJobs boolean
    Whether the team can view monitoring jobs.
    name string
    The free form name of the team.
    securityManageActiveDirectory boolean
    Whether the team can manage global active directory. Only relevant for the DDI product.
    securityManageGlobal2fa boolean
    Whether the team can manage global two factor authentication.
    account_manage_account_settings bool
    Whether the team can modify account settings.
    account_manage_apikeys bool
    Whether the team can modify account apikeys.
    account_manage_ip_whitelist bool
    Whether the team can manage ip whitelist.
    account_manage_payment_methods bool
    Whether the team can modify account payment methods.
    account_manage_plan bool
    No longer in use.

    Deprecated:obsolete, should no longer be used

    account_manage_teams bool
    Whether the team can modify other teams in the account.
    account_manage_users bool
    Whether the team can modify account users.
    account_view_activity_log bool
    Whether the team can view activity logs.
    account_view_invoices bool
    Whether the team can view invoices.
    data_manage_datafeeds bool
    Whether the team can modify data feeds.
    data_manage_datasources bool
    Whether the team can modify data sources.
    data_push_to_datafeeds bool
    Whether the team can publish to data feeds.
    dhcp_manage_dhcp bool
    Whether the team can manage DHCP. Only relevant for the DDI product.
    dhcp_view_dhcp bool
    Whether the team can view DHCP. Only relevant for the DDI product.
    dns_manage_zones bool
    Whether the team can modify the accounts zones.
    dns_records_allows Sequence[TeamDnsRecordsAllowArgs]
    List of records that the team may access.
    dns_records_denies Sequence[TeamDnsRecordsDenyArgs]
    List of records that the team may not access.
    dns_view_zones bool
    Whether the team can view the accounts zones.
    dns_zones_allow_by_default bool
    If true, enable the dns_zones_allow list, otherwise enable the dns_zones_deny list.
    dns_zones_allows Sequence[str]
    List of zones that the team may access.
    dns_zones_denies Sequence[str]
    List of zones that the team may not access.
    ip_whitelists Sequence[TeamIpWhitelistArgs]
    Array of IP addresses objects to chich to grant the team access. Each object includes a name (string), and values (array of strings) associated to each "allow" list.
    ipam_manage_ipam bool
    Whether the team can manage IPAM. Only relevant for the DDI product.
    ipam_view_ipam bool
    Whether the team can view IPAM. Only relevant for the DDI product.
    monitoring_manage_jobs bool
    Whether the team can modify monitoring jobs.
    monitoring_manage_lists bool
    Whether the team can modify notification lists.
    monitoring_view_jobs bool
    Whether the team can view monitoring jobs.
    name str
    The free form name of the team.
    security_manage_active_directory bool
    Whether the team can manage global active directory. Only relevant for the DDI product.
    security_manage_global2fa bool
    Whether the team can manage global two factor authentication.
    accountManageAccountSettings Boolean
    Whether the team can modify account settings.
    accountManageApikeys Boolean
    Whether the team can modify account apikeys.
    accountManageIpWhitelist Boolean
    Whether the team can manage ip whitelist.
    accountManagePaymentMethods Boolean
    Whether the team can modify account payment methods.
    accountManagePlan Boolean
    No longer in use.

    Deprecated:obsolete, should no longer be used

    accountManageTeams Boolean
    Whether the team can modify other teams in the account.
    accountManageUsers Boolean
    Whether the team can modify account users.
    accountViewActivityLog Boolean
    Whether the team can view activity logs.
    accountViewInvoices Boolean
    Whether the team can view invoices.
    dataManageDatafeeds Boolean
    Whether the team can modify data feeds.
    dataManageDatasources Boolean
    Whether the team can modify data sources.
    dataPushToDatafeeds Boolean
    Whether the team can publish to data feeds.
    dhcpManageDhcp Boolean
    Whether the team can manage DHCP. Only relevant for the DDI product.
    dhcpViewDhcp Boolean
    Whether the team can view DHCP. Only relevant for the DDI product.
    dnsManageZones Boolean
    Whether the team can modify the accounts zones.
    dnsRecordsAllows List<Property Map>
    List of records that the team may access.
    dnsRecordsDenies List<Property Map>
    List of records that the team may not access.
    dnsViewZones Boolean
    Whether the team can view the accounts zones.
    dnsZonesAllowByDefault Boolean
    If true, enable the dns_zones_allow list, otherwise enable the dns_zones_deny list.
    dnsZonesAllows List<String>
    List of zones that the team may access.
    dnsZonesDenies List<String>
    List of zones that the team may not access.
    ipWhitelists List<Property Map>
    Array of IP addresses objects to chich to grant the team access. Each object includes a name (string), and values (array of strings) associated to each "allow" list.
    ipamManageIpam Boolean
    Whether the team can manage IPAM. Only relevant for the DDI product.
    ipamViewIpam Boolean
    Whether the team can view IPAM. Only relevant for the DDI product.
    monitoringManageJobs Boolean
    Whether the team can modify monitoring jobs.
    monitoringManageLists Boolean
    Whether the team can modify notification lists.
    monitoringViewJobs Boolean
    Whether the team can view monitoring jobs.
    name String
    The free form name of the team.
    securityManageActiveDirectory Boolean
    Whether the team can manage global active directory. Only relevant for the DDI product.
    securityManageGlobal2fa Boolean
    Whether the team can manage global two factor authentication.

    Outputs

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

    Get an existing Team 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?: TeamState, opts?: CustomResourceOptions): Team
    @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,
            dhcp_manage_dhcp: Optional[bool] = None,
            dhcp_view_dhcp: Optional[bool] = None,
            dns_manage_zones: Optional[bool] = None,
            dns_records_allows: Optional[Sequence[TeamDnsRecordsAllowArgs]] = None,
            dns_records_denies: Optional[Sequence[TeamDnsRecordsDenyArgs]] = 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,
            ip_whitelists: Optional[Sequence[TeamIpWhitelistArgs]] = None,
            ipam_manage_ipam: Optional[bool] = None,
            ipam_view_ipam: Optional[bool] = None,
            monitoring_manage_jobs: Optional[bool] = None,
            monitoring_manage_lists: Optional[bool] = None,
            monitoring_view_jobs: Optional[bool] = None,
            name: Optional[str] = None,
            security_manage_active_directory: Optional[bool] = None,
            security_manage_global2fa: Optional[bool] = None) -> Team
    func GetTeam(ctx *Context, name string, id IDInput, state *TeamState, opts ...ResourceOption) (*Team, error)
    public static Team Get(string name, Input<string> id, TeamState? state, CustomResourceOptions? opts = null)
    public static Team get(String name, Output<String> id, TeamState 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:
    AccountManageAccountSettings bool
    Whether the team can modify account settings.
    AccountManageApikeys bool
    Whether the team can modify account apikeys.
    AccountManageIpWhitelist bool
    Whether the team can manage ip whitelist.
    AccountManagePaymentMethods bool
    Whether the team can modify account payment methods.
    AccountManagePlan bool
    No longer in use.

    Deprecated:obsolete, should no longer be used

    AccountManageTeams bool
    Whether the team can modify other teams in the account.
    AccountManageUsers bool
    Whether the team can modify account users.
    AccountViewActivityLog bool
    Whether the team can view activity logs.
    AccountViewInvoices bool
    Whether the team can view invoices.
    DataManageDatafeeds bool
    Whether the team can modify data feeds.
    DataManageDatasources bool
    Whether the team can modify data sources.
    DataPushToDatafeeds bool
    Whether the team can publish to data feeds.
    DhcpManageDhcp bool
    Whether the team can manage DHCP. Only relevant for the DDI product.
    DhcpViewDhcp bool
    Whether the team can view DHCP. Only relevant for the DDI product.
    DnsManageZones bool
    Whether the team can modify the accounts zones.
    DnsRecordsAllows List<TeamDnsRecordsAllow>
    List of records that the team may access.
    DnsRecordsDenies List<TeamDnsRecordsDeny>
    List of records that the team may not access.
    DnsViewZones bool
    Whether the team can view the accounts zones.
    DnsZonesAllowByDefault bool
    If true, enable the dns_zones_allow list, otherwise enable the dns_zones_deny list.
    DnsZonesAllows List<string>
    List of zones that the team may access.
    DnsZonesDenies List<string>
    List of zones that the team may not access.
    IpWhitelists List<TeamIpWhitelist>
    Array of IP addresses objects to chich to grant the team access. Each object includes a name (string), and values (array of strings) associated to each "allow" list.
    IpamManageIpam bool
    Whether the team can manage IPAM. Only relevant for the DDI product.
    IpamViewIpam bool
    Whether the team can view IPAM. Only relevant for the DDI product.
    MonitoringManageJobs bool
    Whether the team can modify monitoring jobs.
    MonitoringManageLists bool
    Whether the team can modify notification lists.
    MonitoringViewJobs bool
    Whether the team can view monitoring jobs.
    Name string
    The free form name of the team.
    SecurityManageActiveDirectory bool
    Whether the team can manage global active directory. Only relevant for the DDI product.
    SecurityManageGlobal2fa bool
    Whether the team can manage global two factor authentication.
    AccountManageAccountSettings bool
    Whether the team can modify account settings.
    AccountManageApikeys bool
    Whether the team can modify account apikeys.
    AccountManageIpWhitelist bool
    Whether the team can manage ip whitelist.
    AccountManagePaymentMethods bool
    Whether the team can modify account payment methods.
    AccountManagePlan bool
    No longer in use.

    Deprecated:obsolete, should no longer be used

    AccountManageTeams bool
    Whether the team can modify other teams in the account.
    AccountManageUsers bool
    Whether the team can modify account users.
    AccountViewActivityLog bool
    Whether the team can view activity logs.
    AccountViewInvoices bool
    Whether the team can view invoices.
    DataManageDatafeeds bool
    Whether the team can modify data feeds.
    DataManageDatasources bool
    Whether the team can modify data sources.
    DataPushToDatafeeds bool
    Whether the team can publish to data feeds.
    DhcpManageDhcp bool
    Whether the team can manage DHCP. Only relevant for the DDI product.
    DhcpViewDhcp bool
    Whether the team can view DHCP. Only relevant for the DDI product.
    DnsManageZones bool
    Whether the team can modify the accounts zones.
    DnsRecordsAllows []TeamDnsRecordsAllowArgs
    List of records that the team may access.
    DnsRecordsDenies []TeamDnsRecordsDenyArgs
    List of records that the team may not access.
    DnsViewZones bool
    Whether the team can view the accounts zones.
    DnsZonesAllowByDefault bool
    If true, enable the dns_zones_allow list, otherwise enable the dns_zones_deny list.
    DnsZonesAllows []string
    List of zones that the team may access.
    DnsZonesDenies []string
    List of zones that the team may not access.
    IpWhitelists []TeamIpWhitelistArgs
    Array of IP addresses objects to chich to grant the team access. Each object includes a name (string), and values (array of strings) associated to each "allow" list.
    IpamManageIpam bool
    Whether the team can manage IPAM. Only relevant for the DDI product.
    IpamViewIpam bool
    Whether the team can view IPAM. Only relevant for the DDI product.
    MonitoringManageJobs bool
    Whether the team can modify monitoring jobs.
    MonitoringManageLists bool
    Whether the team can modify notification lists.
    MonitoringViewJobs bool
    Whether the team can view monitoring jobs.
    Name string
    The free form name of the team.
    SecurityManageActiveDirectory bool
    Whether the team can manage global active directory. Only relevant for the DDI product.
    SecurityManageGlobal2fa bool
    Whether the team can manage global two factor authentication.
    accountManageAccountSettings Boolean
    Whether the team can modify account settings.
    accountManageApikeys Boolean
    Whether the team can modify account apikeys.
    accountManageIpWhitelist Boolean
    Whether the team can manage ip whitelist.
    accountManagePaymentMethods Boolean
    Whether the team can modify account payment methods.
    accountManagePlan Boolean
    No longer in use.

    Deprecated:obsolete, should no longer be used

    accountManageTeams Boolean
    Whether the team can modify other teams in the account.
    accountManageUsers Boolean
    Whether the team can modify account users.
    accountViewActivityLog Boolean
    Whether the team can view activity logs.
    accountViewInvoices Boolean
    Whether the team can view invoices.
    dataManageDatafeeds Boolean
    Whether the team can modify data feeds.
    dataManageDatasources Boolean
    Whether the team can modify data sources.
    dataPushToDatafeeds Boolean
    Whether the team can publish to data feeds.
    dhcpManageDhcp Boolean
    Whether the team can manage DHCP. Only relevant for the DDI product.
    dhcpViewDhcp Boolean
    Whether the team can view DHCP. Only relevant for the DDI product.
    dnsManageZones Boolean
    Whether the team can modify the accounts zones.
    dnsRecordsAllows List<TeamDnsRecordsAllow>
    List of records that the team may access.
    dnsRecordsDenies List<TeamDnsRecordsDeny>
    List of records that the team may not access.
    dnsViewZones Boolean
    Whether the team can view the accounts zones.
    dnsZonesAllowByDefault Boolean
    If true, enable the dns_zones_allow list, otherwise enable the dns_zones_deny list.
    dnsZonesAllows List<String>
    List of zones that the team may access.
    dnsZonesDenies List<String>
    List of zones that the team may not access.
    ipWhitelists List<TeamIpWhitelist>
    Array of IP addresses objects to chich to grant the team access. Each object includes a name (string), and values (array of strings) associated to each "allow" list.
    ipamManageIpam Boolean
    Whether the team can manage IPAM. Only relevant for the DDI product.
    ipamViewIpam Boolean
    Whether the team can view IPAM. Only relevant for the DDI product.
    monitoringManageJobs Boolean
    Whether the team can modify monitoring jobs.
    monitoringManageLists Boolean
    Whether the team can modify notification lists.
    monitoringViewJobs Boolean
    Whether the team can view monitoring jobs.
    name String
    The free form name of the team.
    securityManageActiveDirectory Boolean
    Whether the team can manage global active directory. Only relevant for the DDI product.
    securityManageGlobal2fa Boolean
    Whether the team can manage global two factor authentication.
    accountManageAccountSettings boolean
    Whether the team can modify account settings.
    accountManageApikeys boolean
    Whether the team can modify account apikeys.
    accountManageIpWhitelist boolean
    Whether the team can manage ip whitelist.
    accountManagePaymentMethods boolean
    Whether the team can modify account payment methods.
    accountManagePlan boolean
    No longer in use.

    Deprecated:obsolete, should no longer be used

    accountManageTeams boolean
    Whether the team can modify other teams in the account.
    accountManageUsers boolean
    Whether the team can modify account users.
    accountViewActivityLog boolean
    Whether the team can view activity logs.
    accountViewInvoices boolean
    Whether the team can view invoices.
    dataManageDatafeeds boolean
    Whether the team can modify data feeds.
    dataManageDatasources boolean
    Whether the team can modify data sources.
    dataPushToDatafeeds boolean
    Whether the team can publish to data feeds.
    dhcpManageDhcp boolean
    Whether the team can manage DHCP. Only relevant for the DDI product.
    dhcpViewDhcp boolean
    Whether the team can view DHCP. Only relevant for the DDI product.
    dnsManageZones boolean
    Whether the team can modify the accounts zones.
    dnsRecordsAllows TeamDnsRecordsAllow[]
    List of records that the team may access.
    dnsRecordsDenies TeamDnsRecordsDeny[]
    List of records that the team may not access.
    dnsViewZones boolean
    Whether the team can view the accounts zones.
    dnsZonesAllowByDefault boolean
    If true, enable the dns_zones_allow list, otherwise enable the dns_zones_deny list.
    dnsZonesAllows string[]
    List of zones that the team may access.
    dnsZonesDenies string[]
    List of zones that the team may not access.
    ipWhitelists TeamIpWhitelist[]
    Array of IP addresses objects to chich to grant the team access. Each object includes a name (string), and values (array of strings) associated to each "allow" list.
    ipamManageIpam boolean
    Whether the team can manage IPAM. Only relevant for the DDI product.
    ipamViewIpam boolean
    Whether the team can view IPAM. Only relevant for the DDI product.
    monitoringManageJobs boolean
    Whether the team can modify monitoring jobs.
    monitoringManageLists boolean
    Whether the team can modify notification lists.
    monitoringViewJobs boolean
    Whether the team can view monitoring jobs.
    name string
    The free form name of the team.
    securityManageActiveDirectory boolean
    Whether the team can manage global active directory. Only relevant for the DDI product.
    securityManageGlobal2fa boolean
    Whether the team can manage global two factor authentication.
    account_manage_account_settings bool
    Whether the team can modify account settings.
    account_manage_apikeys bool
    Whether the team can modify account apikeys.
    account_manage_ip_whitelist bool
    Whether the team can manage ip whitelist.
    account_manage_payment_methods bool
    Whether the team can modify account payment methods.
    account_manage_plan bool
    No longer in use.

    Deprecated:obsolete, should no longer be used

    account_manage_teams bool
    Whether the team can modify other teams in the account.
    account_manage_users bool
    Whether the team can modify account users.
    account_view_activity_log bool
    Whether the team can view activity logs.
    account_view_invoices bool
    Whether the team can view invoices.
    data_manage_datafeeds bool
    Whether the team can modify data feeds.
    data_manage_datasources bool
    Whether the team can modify data sources.
    data_push_to_datafeeds bool
    Whether the team can publish to data feeds.
    dhcp_manage_dhcp bool
    Whether the team can manage DHCP. Only relevant for the DDI product.
    dhcp_view_dhcp bool
    Whether the team can view DHCP. Only relevant for the DDI product.
    dns_manage_zones bool
    Whether the team can modify the accounts zones.
    dns_records_allows Sequence[TeamDnsRecordsAllowArgs]
    List of records that the team may access.
    dns_records_denies Sequence[TeamDnsRecordsDenyArgs]
    List of records that the team may not access.
    dns_view_zones bool
    Whether the team can view the accounts zones.
    dns_zones_allow_by_default bool
    If true, enable the dns_zones_allow list, otherwise enable the dns_zones_deny list.
    dns_zones_allows Sequence[str]
    List of zones that the team may access.
    dns_zones_denies Sequence[str]
    List of zones that the team may not access.
    ip_whitelists Sequence[TeamIpWhitelistArgs]
    Array of IP addresses objects to chich to grant the team access. Each object includes a name (string), and values (array of strings) associated to each "allow" list.
    ipam_manage_ipam bool
    Whether the team can manage IPAM. Only relevant for the DDI product.
    ipam_view_ipam bool
    Whether the team can view IPAM. Only relevant for the DDI product.
    monitoring_manage_jobs bool
    Whether the team can modify monitoring jobs.
    monitoring_manage_lists bool
    Whether the team can modify notification lists.
    monitoring_view_jobs bool
    Whether the team can view monitoring jobs.
    name str
    The free form name of the team.
    security_manage_active_directory bool
    Whether the team can manage global active directory. Only relevant for the DDI product.
    security_manage_global2fa bool
    Whether the team can manage global two factor authentication.
    accountManageAccountSettings Boolean
    Whether the team can modify account settings.
    accountManageApikeys Boolean
    Whether the team can modify account apikeys.
    accountManageIpWhitelist Boolean
    Whether the team can manage ip whitelist.
    accountManagePaymentMethods Boolean
    Whether the team can modify account payment methods.
    accountManagePlan Boolean
    No longer in use.

    Deprecated:obsolete, should no longer be used

    accountManageTeams Boolean
    Whether the team can modify other teams in the account.
    accountManageUsers Boolean
    Whether the team can modify account users.
    accountViewActivityLog Boolean
    Whether the team can view activity logs.
    accountViewInvoices Boolean
    Whether the team can view invoices.
    dataManageDatafeeds Boolean
    Whether the team can modify data feeds.
    dataManageDatasources Boolean
    Whether the team can modify data sources.
    dataPushToDatafeeds Boolean
    Whether the team can publish to data feeds.
    dhcpManageDhcp Boolean
    Whether the team can manage DHCP. Only relevant for the DDI product.
    dhcpViewDhcp Boolean
    Whether the team can view DHCP. Only relevant for the DDI product.
    dnsManageZones Boolean
    Whether the team can modify the accounts zones.
    dnsRecordsAllows List<Property Map>
    List of records that the team may access.
    dnsRecordsDenies List<Property Map>
    List of records that the team may not access.
    dnsViewZones Boolean
    Whether the team can view the accounts zones.
    dnsZonesAllowByDefault Boolean
    If true, enable the dns_zones_allow list, otherwise enable the dns_zones_deny list.
    dnsZonesAllows List<String>
    List of zones that the team may access.
    dnsZonesDenies List<String>
    List of zones that the team may not access.
    ipWhitelists List<Property Map>
    Array of IP addresses objects to chich to grant the team access. Each object includes a name (string), and values (array of strings) associated to each "allow" list.
    ipamManageIpam Boolean
    Whether the team can manage IPAM. Only relevant for the DDI product.
    ipamViewIpam Boolean
    Whether the team can view IPAM. Only relevant for the DDI product.
    monitoringManageJobs Boolean
    Whether the team can modify monitoring jobs.
    monitoringManageLists Boolean
    Whether the team can modify notification lists.
    monitoringViewJobs Boolean
    Whether the team can view monitoring jobs.
    name String
    The free form name of the team.
    securityManageActiveDirectory Boolean
    Whether the team can manage global active directory. Only relevant for the DDI product.
    securityManageGlobal2fa Boolean
    Whether the team can manage global two factor authentication.

    Supporting Types

    TeamDnsRecordsAllow, TeamDnsRecordsAllowArgs

    Domain string
    IncludeSubdomains bool
    Type string
    Zone string
    Domain string
    IncludeSubdomains bool
    Type string
    Zone string
    domain String
    includeSubdomains Boolean
    type String
    zone String
    domain string
    includeSubdomains boolean
    type string
    zone string
    domain String
    includeSubdomains Boolean
    type String
    zone String

    TeamDnsRecordsDeny, TeamDnsRecordsDenyArgs

    Domain string
    IncludeSubdomains bool
    Type string
    Zone string
    Domain string
    IncludeSubdomains bool
    Type string
    Zone string
    domain String
    includeSubdomains Boolean
    type String
    zone String
    domain string
    includeSubdomains boolean
    type string
    zone string
    domain String
    includeSubdomains Boolean
    type String
    zone String

    TeamIpWhitelist, TeamIpWhitelistArgs

    Name string
    The free form name of the team.
    Values List<string>
    Name string
    The free form name of the team.
    Values []string
    name String
    The free form name of the team.
    values List<String>
    name string
    The free form name of the team.
    values string[]
    name str
    The free form name of the team.
    values Sequence[str]
    name String
    The free form name of the team.
    values List<String>

    Import

    $ pulumi import ns1:index/team:Team <name> <team_id>`
    

    Package Details

    Repository
    NS1 pulumi/pulumi-ns1
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the ns1 Terraform Provider.
    ns1 logo
    NS1 v3.2.0 published on Tuesday, Mar 12, 2024 by Pulumi