1. Packages
  2. Ns1 Provider
  3. API Docs
  4. getBillingUsage
NS1 v3.6.2 published on Wednesday, Apr 9, 2025 by Pulumi

ns1.getBillingUsage

Explore with Pulumi AI

NS1 v3.6.2 published on Wednesday, Apr 9, 2025 by Pulumi

Provides billing usage details about a NS1 account.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as ns1 from "@pulumi/ns1";

// Get query usage data for the given timeframe
const queries = ns1.getBillingUsage({
    metricType: "queries",
    from: 1738368000,
    to: 1740787199,
});
// Get account limits data for the given timeframe
const limits = ns1.getBillingUsage({
    metricType: "limits",
    from: 1738368000,
    to: 1740787199,
});
// Get RUM decisions usage data for the given timeframe
const decisions = ns1.getBillingUsage({
    metricType: "decisions",
    from: 1738368000,
    to: 1740787199,
});
// Get filter chains usage data
const filterChains = ns1.getBillingUsage({
    metricType: "filter-chains",
});
// Get monitoring jobs usage data
const monitors = ns1.getBillingUsage({
    metricType: "monitors",
});
// Get records usage data
const records = ns1.getBillingUsage({
    metricType: "records",
});
export const totalQueries = queries.then(queries => queries.cleanQueries);
export const totalDdosQueries = queries.then(queries => queries.ddosQueries);
export const totalNxdResponses = queries.then(queries => queries.nxdResponses);
export const queriesLimit = limits.then(limits => limits.queriesLimit);
export const totalDecisions = decisions.then(decisions => decisions.totalUsage);
export const decisionsLimit = limits.then(limits => limits.decisionsLimit);
export const totalFilterChains = filterChains.then(filterChains => filterChains.totalUsage);
export const filterChainsLimit = limits.then(limits => limits.filterChainsLimit);
export const totalMonitors = monitors.then(monitors => monitors.totalUsage);
export const monitorsLimit = limits.then(limits => limits.monitorsLimit);
export const totalRecords = records.then(records => records.totalUsage);
export const recordsLimit = limits.then(limits => limits.recordsLimit);
Copy
import pulumi
import pulumi_ns1 as ns1

# Get query usage data for the given timeframe
queries = ns1.get_billing_usage(metric_type="queries",
    from_=1738368000,
    to=1740787199)
# Get account limits data for the given timeframe
limits = ns1.get_billing_usage(metric_type="limits",
    from_=1738368000,
    to=1740787199)
# Get RUM decisions usage data for the given timeframe
decisions = ns1.get_billing_usage(metric_type="decisions",
    from_=1738368000,
    to=1740787199)
# Get filter chains usage data
filter_chains = ns1.get_billing_usage(metric_type="filter-chains")
# Get monitoring jobs usage data
monitors = ns1.get_billing_usage(metric_type="monitors")
# Get records usage data
records = ns1.get_billing_usage(metric_type="records")
pulumi.export("totalQueries", queries.clean_queries)
pulumi.export("totalDdosQueries", queries.ddos_queries)
pulumi.export("totalNxdResponses", queries.nxd_responses)
pulumi.export("queriesLimit", limits.queries_limit)
pulumi.export("totalDecisions", decisions.total_usage)
pulumi.export("decisionsLimit", limits.decisions_limit)
pulumi.export("totalFilterChains", filter_chains.total_usage)
pulumi.export("filterChainsLimit", limits.filter_chains_limit)
pulumi.export("totalMonitors", monitors.total_usage)
pulumi.export("monitorsLimit", limits.monitors_limit)
pulumi.export("totalRecords", records.total_usage)
pulumi.export("recordsLimit", limits.records_limit)
Copy
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 {
		// Get query usage data for the given timeframe
		queries, err := ns1.GetBillingUsage(ctx, &ns1.GetBillingUsageArgs{
			MetricType: "queries",
			From:       pulumi.IntRef(1738368000),
			To:         pulumi.IntRef(1740787199),
		}, nil)
		if err != nil {
			return err
		}
		// Get account limits data for the given timeframe
		limits, err := ns1.GetBillingUsage(ctx, &ns1.GetBillingUsageArgs{
			MetricType: "limits",
			From:       pulumi.IntRef(1738368000),
			To:         pulumi.IntRef(1740787199),
		}, nil)
		if err != nil {
			return err
		}
		// Get RUM decisions usage data for the given timeframe
		decisions, err := ns1.GetBillingUsage(ctx, &ns1.GetBillingUsageArgs{
			MetricType: "decisions",
			From:       pulumi.IntRef(1738368000),
			To:         pulumi.IntRef(1740787199),
		}, nil)
		if err != nil {
			return err
		}
		// Get filter chains usage data
		filterChains, err := ns1.GetBillingUsage(ctx, &ns1.GetBillingUsageArgs{
			MetricType: "filter-chains",
		}, nil)
		if err != nil {
			return err
		}
		// Get monitoring jobs usage data
		monitors, err := ns1.GetBillingUsage(ctx, &ns1.GetBillingUsageArgs{
			MetricType: "monitors",
		}, nil)
		if err != nil {
			return err
		}
		// Get records usage data
		records, err := ns1.GetBillingUsage(ctx, &ns1.GetBillingUsageArgs{
			MetricType: "records",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("totalQueries", queries.CleanQueries)
		ctx.Export("totalDdosQueries", queries.DdosQueries)
		ctx.Export("totalNxdResponses", queries.NxdResponses)
		ctx.Export("queriesLimit", limits.QueriesLimit)
		ctx.Export("totalDecisions", decisions.TotalUsage)
		ctx.Export("decisionsLimit", limits.DecisionsLimit)
		ctx.Export("totalFilterChains", filterChains.TotalUsage)
		ctx.Export("filterChainsLimit", limits.FilterChainsLimit)
		ctx.Export("totalMonitors", monitors.TotalUsage)
		ctx.Export("monitorsLimit", limits.MonitorsLimit)
		ctx.Export("totalRecords", records.TotalUsage)
		ctx.Export("recordsLimit", limits.RecordsLimit)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ns1 = Pulumi.Ns1;

return await Deployment.RunAsync(() => 
{
    // Get query usage data for the given timeframe
    var queries = Ns1.GetBillingUsage.Invoke(new()
    {
        MetricType = "queries",
        From = 1738368000,
        To = 1740787199,
    });

    // Get account limits data for the given timeframe
    var limits = Ns1.GetBillingUsage.Invoke(new()
    {
        MetricType = "limits",
        From = 1738368000,
        To = 1740787199,
    });

    // Get RUM decisions usage data for the given timeframe
    var decisions = Ns1.GetBillingUsage.Invoke(new()
    {
        MetricType = "decisions",
        From = 1738368000,
        To = 1740787199,
    });

    // Get filter chains usage data
    var filterChains = Ns1.GetBillingUsage.Invoke(new()
    {
        MetricType = "filter-chains",
    });

    // Get monitoring jobs usage data
    var monitors = Ns1.GetBillingUsage.Invoke(new()
    {
        MetricType = "monitors",
    });

    // Get records usage data
    var records = Ns1.GetBillingUsage.Invoke(new()
    {
        MetricType = "records",
    });

    return new Dictionary<string, object?>
    {
        ["totalQueries"] = queries.Apply(getBillingUsageResult => getBillingUsageResult.CleanQueries),
        ["totalDdosQueries"] = queries.Apply(getBillingUsageResult => getBillingUsageResult.DdosQueries),
        ["totalNxdResponses"] = queries.Apply(getBillingUsageResult => getBillingUsageResult.NxdResponses),
        ["queriesLimit"] = limits.Apply(getBillingUsageResult => getBillingUsageResult.QueriesLimit),
        ["totalDecisions"] = decisions.Apply(getBillingUsageResult => getBillingUsageResult.TotalUsage),
        ["decisionsLimit"] = limits.Apply(getBillingUsageResult => getBillingUsageResult.DecisionsLimit),
        ["totalFilterChains"] = filterChains.Apply(getBillingUsageResult => getBillingUsageResult.TotalUsage),
        ["filterChainsLimit"] = limits.Apply(getBillingUsageResult => getBillingUsageResult.FilterChainsLimit),
        ["totalMonitors"] = monitors.Apply(getBillingUsageResult => getBillingUsageResult.TotalUsage),
        ["monitorsLimit"] = limits.Apply(getBillingUsageResult => getBillingUsageResult.MonitorsLimit),
        ["totalRecords"] = records.Apply(getBillingUsageResult => getBillingUsageResult.TotalUsage),
        ["recordsLimit"] = limits.Apply(getBillingUsageResult => getBillingUsageResult.RecordsLimit),
    };
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ns1.Ns1Functions;
import com.pulumi.ns1.inputs.GetBillingUsageArgs;
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) {
        // Get query usage data for the given timeframe
        final var queries = Ns1Functions.getBillingUsage(GetBillingUsageArgs.builder()
            .metricType("queries")
            .from(1738368000)
            .to(1740787199)
            .build());

        // Get account limits data for the given timeframe
        final var limits = Ns1Functions.getBillingUsage(GetBillingUsageArgs.builder()
            .metricType("limits")
            .from(1738368000)
            .to(1740787199)
            .build());

        // Get RUM decisions usage data for the given timeframe
        final var decisions = Ns1Functions.getBillingUsage(GetBillingUsageArgs.builder()
            .metricType("decisions")
            .from(1738368000)
            .to(1740787199)
            .build());

        // Get filter chains usage data
        final var filterChains = Ns1Functions.getBillingUsage(GetBillingUsageArgs.builder()
            .metricType("filter-chains")
            .build());

        // Get monitoring jobs usage data
        final var monitors = Ns1Functions.getBillingUsage(GetBillingUsageArgs.builder()
            .metricType("monitors")
            .build());

        // Get records usage data
        final var records = Ns1Functions.getBillingUsage(GetBillingUsageArgs.builder()
            .metricType("records")
            .build());

        ctx.export("totalQueries", queries.applyValue(getBillingUsageResult -> getBillingUsageResult.cleanQueries()));
        ctx.export("totalDdosQueries", queries.applyValue(getBillingUsageResult -> getBillingUsageResult.ddosQueries()));
        ctx.export("totalNxdResponses", queries.applyValue(getBillingUsageResult -> getBillingUsageResult.nxdResponses()));
        ctx.export("queriesLimit", limits.applyValue(getBillingUsageResult -> getBillingUsageResult.queriesLimit()));
        ctx.export("totalDecisions", decisions.applyValue(getBillingUsageResult -> getBillingUsageResult.totalUsage()));
        ctx.export("decisionsLimit", limits.applyValue(getBillingUsageResult -> getBillingUsageResult.decisionsLimit()));
        ctx.export("totalFilterChains", filterChains.applyValue(getBillingUsageResult -> getBillingUsageResult.totalUsage()));
        ctx.export("filterChainsLimit", limits.applyValue(getBillingUsageResult -> getBillingUsageResult.filterChainsLimit()));
        ctx.export("totalMonitors", monitors.applyValue(getBillingUsageResult -> getBillingUsageResult.totalUsage()));
        ctx.export("monitorsLimit", limits.applyValue(getBillingUsageResult -> getBillingUsageResult.monitorsLimit()));
        ctx.export("totalRecords", records.applyValue(getBillingUsageResult -> getBillingUsageResult.totalUsage()));
        ctx.export("recordsLimit", limits.applyValue(getBillingUsageResult -> getBillingUsageResult.recordsLimit()));
    }
}
Copy
variables:
  # Get query usage data for the given timeframe
  queries:
    fn::invoke:
      function: ns1:getBillingUsage
      arguments:
        metricType: queries
        from: 1.738368e+09
        to: 1.740787199e+09
  # Get account limits data for the given timeframe
  limits:
    fn::invoke:
      function: ns1:getBillingUsage
      arguments:
        metricType: limits
        from: 1.738368e+09
        to: 1.740787199e+09
  # Get RUM decisions usage data for the given timeframe
  decisions:
    fn::invoke:
      function: ns1:getBillingUsage
      arguments:
        metricType: decisions
        from: 1.738368e+09
        to: 1.740787199e+09
  # Get filter chains usage data
  filterChains:
    fn::invoke:
      function: ns1:getBillingUsage
      arguments:
        metricType: filter-chains
  # Get monitoring jobs usage data
  monitors:
    fn::invoke:
      function: ns1:getBillingUsage
      arguments:
        metricType: monitors
  # Get records usage data
  records:
    fn::invoke:
      function: ns1:getBillingUsage
      arguments:
        metricType: records
outputs:
  # Example of using the data in other resources
  totalQueries: ${queries.cleanQueries}
  totalDdosQueries: ${queries.ddosQueries}
  totalNxdResponses: ${queries.nxdResponses}
  queriesLimit: ${limits.queriesLimit}
  totalDecisions: ${decisions.totalUsage}
  decisionsLimit: ${limits.decisionsLimit}
  totalFilterChains: ${filterChains.totalUsage}
  filterChainsLimit: ${limits.filterChainsLimit}
  totalMonitors: ${monitors.totalUsage}
  monitorsLimit: ${limits.monitorsLimit}
  totalRecords: ${records.totalUsage}
  recordsLimit: ${limits.recordsLimit}
Copy

Using getBillingUsage

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getBillingUsage(args: GetBillingUsageArgs, opts?: InvokeOptions): Promise<GetBillingUsageResult>
function getBillingUsageOutput(args: GetBillingUsageOutputArgs, opts?: InvokeOptions): Output<GetBillingUsageResult>
Copy
def get_billing_usage(from_: Optional[int] = None,
                      metric_type: Optional[str] = None,
                      to: Optional[int] = None,
                      opts: Optional[InvokeOptions] = None) -> GetBillingUsageResult
def get_billing_usage_output(from_: Optional[pulumi.Input[int]] = None,
                      metric_type: Optional[pulumi.Input[str]] = None,
                      to: Optional[pulumi.Input[int]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetBillingUsageResult]
Copy
func GetBillingUsage(ctx *Context, args *GetBillingUsageArgs, opts ...InvokeOption) (*GetBillingUsageResult, error)
func GetBillingUsageOutput(ctx *Context, args *GetBillingUsageOutputArgs, opts ...InvokeOption) GetBillingUsageResultOutput
Copy

> Note: This function is named GetBillingUsage in the Go SDK.

public static class GetBillingUsage 
{
    public static Task<GetBillingUsageResult> InvokeAsync(GetBillingUsageArgs args, InvokeOptions? opts = null)
    public static Output<GetBillingUsageResult> Invoke(GetBillingUsageInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetBillingUsageResult> getBillingUsage(GetBillingUsageArgs args, InvokeOptions options)
public static Output<GetBillingUsageResult> getBillingUsage(GetBillingUsageArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: ns1:index/getBillingUsage:getBillingUsage
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

MetricType This property is required. string
The type of billing metric to retrieve. Must be one of: queries, limits, decisions, filter-chains, monitors, records.
From int
The start timestamp for the data range in Unix epoch format.
To int
The end timestamp for the data range in Unix epoch format.
MetricType This property is required. string
The type of billing metric to retrieve. Must be one of: queries, limits, decisions, filter-chains, monitors, records.
From int
The start timestamp for the data range in Unix epoch format.
To int
The end timestamp for the data range in Unix epoch format.
metricType This property is required. String
The type of billing metric to retrieve. Must be one of: queries, limits, decisions, filter-chains, monitors, records.
from Integer
The start timestamp for the data range in Unix epoch format.
to Integer
The end timestamp for the data range in Unix epoch format.
metricType This property is required. string
The type of billing metric to retrieve. Must be one of: queries, limits, decisions, filter-chains, monitors, records.
from number
The start timestamp for the data range in Unix epoch format.
to number
The end timestamp for the data range in Unix epoch format.
metric_type This property is required. str
The type of billing metric to retrieve. Must be one of: queries, limits, decisions, filter-chains, monitors, records.
from_ int
The start timestamp for the data range in Unix epoch format.
to int
The end timestamp for the data range in Unix epoch format.
metricType This property is required. String
The type of billing metric to retrieve. Must be one of: queries, limits, decisions, filter-chains, monitors, records.
from Number
The start timestamp for the data range in Unix epoch format.
to Number
The end timestamp for the data range in Unix epoch format.

getBillingUsage Result

The following output properties are available:

ByNetworks List<GetBillingUsageByNetwork>
(Computed) A list of network-specific query data containing:
ChinaQueriesLimit int
(Computed) The queries limit for the China network.
CleanQueries int
Clean queries for this day.
DdosProtectionEnabled bool
(Computed) Whether DDoS Protection is enabled.
DdosQueries int
DDoS queries for this day.
DecisionsLimit int
(Computed) The RUM decisions limit for this billing cycle.
FilterChainsLimit int
(Computed) The filter chains limit for this billing cycle.
Id string
The provider-assigned unique ID for this managed resource.
IncludeDedicatedDnsNetworkInManagedDnsUsage bool
(Computed) Whether dedicated DNS usage counts towards managed DNS usage.
MetricType string
MonitorsLimit int
(Computed) The monitoring jobs limit for this billing cycle.
NxdProtectionEnabled bool
(Computed) Whether NXD Protection is enabled.
NxdResponses int
NXD responses for this day.
QueriesLimit int
(Computed) The queries limit for this billing cycle.
RecordsLimit int
(Computed) The records limit for this billing cycle.
TotalUsage int
(Computed) The total usage count for the metric. Available for decisions, filter-chains, monitors, and records metrics.
From int
To int
ByNetworks []GetBillingUsageByNetwork
(Computed) A list of network-specific query data containing:
ChinaQueriesLimit int
(Computed) The queries limit for the China network.
CleanQueries int
Clean queries for this day.
DdosProtectionEnabled bool
(Computed) Whether DDoS Protection is enabled.
DdosQueries int
DDoS queries for this day.
DecisionsLimit int
(Computed) The RUM decisions limit for this billing cycle.
FilterChainsLimit int
(Computed) The filter chains limit for this billing cycle.
Id string
The provider-assigned unique ID for this managed resource.
IncludeDedicatedDnsNetworkInManagedDnsUsage bool
(Computed) Whether dedicated DNS usage counts towards managed DNS usage.
MetricType string
MonitorsLimit int
(Computed) The monitoring jobs limit for this billing cycle.
NxdProtectionEnabled bool
(Computed) Whether NXD Protection is enabled.
NxdResponses int
NXD responses for this day.
QueriesLimit int
(Computed) The queries limit for this billing cycle.
RecordsLimit int
(Computed) The records limit for this billing cycle.
TotalUsage int
(Computed) The total usage count for the metric. Available for decisions, filter-chains, monitors, and records metrics.
From int
To int
byNetworks List<GetBillingUsageByNetwork>
(Computed) A list of network-specific query data containing:
chinaQueriesLimit Integer
(Computed) The queries limit for the China network.
cleanQueries Integer
Clean queries for this day.
ddosProtectionEnabled Boolean
(Computed) Whether DDoS Protection is enabled.
ddosQueries Integer
DDoS queries for this day.
decisionsLimit Integer
(Computed) The RUM decisions limit for this billing cycle.
filterChainsLimit Integer
(Computed) The filter chains limit for this billing cycle.
id String
The provider-assigned unique ID for this managed resource.
includeDedicatedDnsNetworkInManagedDnsUsage Boolean
(Computed) Whether dedicated DNS usage counts towards managed DNS usage.
metricType String
monitorsLimit Integer
(Computed) The monitoring jobs limit for this billing cycle.
nxdProtectionEnabled Boolean
(Computed) Whether NXD Protection is enabled.
nxdResponses Integer
NXD responses for this day.
queriesLimit Integer
(Computed) The queries limit for this billing cycle.
recordsLimit Integer
(Computed) The records limit for this billing cycle.
totalUsage Integer
(Computed) The total usage count for the metric. Available for decisions, filter-chains, monitors, and records metrics.
from Integer
to Integer
byNetworks GetBillingUsageByNetwork[]
(Computed) A list of network-specific query data containing:
chinaQueriesLimit number
(Computed) The queries limit for the China network.
cleanQueries number
Clean queries for this day.
ddosProtectionEnabled boolean
(Computed) Whether DDoS Protection is enabled.
ddosQueries number
DDoS queries for this day.
decisionsLimit number
(Computed) The RUM decisions limit for this billing cycle.
filterChainsLimit number
(Computed) The filter chains limit for this billing cycle.
id string
The provider-assigned unique ID for this managed resource.
includeDedicatedDnsNetworkInManagedDnsUsage boolean
(Computed) Whether dedicated DNS usage counts towards managed DNS usage.
metricType string
monitorsLimit number
(Computed) The monitoring jobs limit for this billing cycle.
nxdProtectionEnabled boolean
(Computed) Whether NXD Protection is enabled.
nxdResponses number
NXD responses for this day.
queriesLimit number
(Computed) The queries limit for this billing cycle.
recordsLimit number
(Computed) The records limit for this billing cycle.
totalUsage number
(Computed) The total usage count for the metric. Available for decisions, filter-chains, monitors, and records metrics.
from number
to number
by_networks Sequence[GetBillingUsageByNetwork]
(Computed) A list of network-specific query data containing:
china_queries_limit int
(Computed) The queries limit for the China network.
clean_queries int
Clean queries for this day.
ddos_protection_enabled bool
(Computed) Whether DDoS Protection is enabled.
ddos_queries int
DDoS queries for this day.
decisions_limit int
(Computed) The RUM decisions limit for this billing cycle.
filter_chains_limit int
(Computed) The filter chains limit for this billing cycle.
id str
The provider-assigned unique ID for this managed resource.
include_dedicated_dns_network_in_managed_dns_usage bool
(Computed) Whether dedicated DNS usage counts towards managed DNS usage.
metric_type str
monitors_limit int
(Computed) The monitoring jobs limit for this billing cycle.
nxd_protection_enabled bool
(Computed) Whether NXD Protection is enabled.
nxd_responses int
NXD responses for this day.
queries_limit int
(Computed) The queries limit for this billing cycle.
records_limit int
(Computed) The records limit for this billing cycle.
total_usage int
(Computed) The total usage count for the metric. Available for decisions, filter-chains, monitors, and records metrics.
from_ int
to int
byNetworks List<Property Map>
(Computed) A list of network-specific query data containing:
chinaQueriesLimit Number
(Computed) The queries limit for the China network.
cleanQueries Number
Clean queries for this day.
ddosProtectionEnabled Boolean
(Computed) Whether DDoS Protection is enabled.
ddosQueries Number
DDoS queries for this day.
decisionsLimit Number
(Computed) The RUM decisions limit for this billing cycle.
filterChainsLimit Number
(Computed) The filter chains limit for this billing cycle.
id String
The provider-assigned unique ID for this managed resource.
includeDedicatedDnsNetworkInManagedDnsUsage Boolean
(Computed) Whether dedicated DNS usage counts towards managed DNS usage.
metricType String
monitorsLimit Number
(Computed) The monitoring jobs limit for this billing cycle.
nxdProtectionEnabled Boolean
(Computed) Whether NXD Protection is enabled.
nxdResponses Number
NXD responses for this day.
queriesLimit Number
(Computed) The queries limit for this billing cycle.
recordsLimit Number
(Computed) The records limit for this billing cycle.
totalUsage Number
(Computed) The total usage count for the metric. Available for decisions, filter-chains, monitors, and records metrics.
from Number
to Number

Supporting Types

GetBillingUsageByNetwork

BillableQueries This property is required. int
Total billable queries for this network.
CleanQueries This property is required. int
Clean queries for this day.
Dailies This property is required. List<GetBillingUsageByNetworkDaily>
Daily breakdown containing:
DdosQueries This property is required. int
DDoS queries for this day.
Network This property is required. int
The network ID.
NxdResponses This property is required. int
NXD responses for this day.
BillableQueries This property is required. int
Total billable queries for this network.
CleanQueries This property is required. int
Clean queries for this day.
Dailies This property is required. []GetBillingUsageByNetworkDaily
Daily breakdown containing:
DdosQueries This property is required. int
DDoS queries for this day.
Network This property is required. int
The network ID.
NxdResponses This property is required. int
NXD responses for this day.
billableQueries This property is required. Integer
Total billable queries for this network.
cleanQueries This property is required. Integer
Clean queries for this day.
dailies This property is required. List<GetBillingUsageByNetworkDaily>
Daily breakdown containing:
ddosQueries This property is required. Integer
DDoS queries for this day.
network This property is required. Integer
The network ID.
nxdResponses This property is required. Integer
NXD responses for this day.
billableQueries This property is required. number
Total billable queries for this network.
cleanQueries This property is required. number
Clean queries for this day.
dailies This property is required. GetBillingUsageByNetworkDaily[]
Daily breakdown containing:
ddosQueries This property is required. number
DDoS queries for this day.
network This property is required. number
The network ID.
nxdResponses This property is required. number
NXD responses for this day.
billable_queries This property is required. int
Total billable queries for this network.
clean_queries This property is required. int
Clean queries for this day.
dailies This property is required. Sequence[GetBillingUsageByNetworkDaily]
Daily breakdown containing:
ddos_queries This property is required. int
DDoS queries for this day.
network This property is required. int
The network ID.
nxd_responses This property is required. int
NXD responses for this day.
billableQueries This property is required. Number
Total billable queries for this network.
cleanQueries This property is required. Number
Clean queries for this day.
dailies This property is required. List<Property Map>
Daily breakdown containing:
ddosQueries This property is required. Number
DDoS queries for this day.
network This property is required. Number
The network ID.
nxdResponses This property is required. Number
NXD responses for this day.

GetBillingUsageByNetworkDaily

CleanQueries This property is required. int
Clean queries for this day.
DdosQueries This property is required. int
DDoS queries for this day.
NxdResponses This property is required. int
NXD responses for this day.
Timestamp This property is required. int
The timestamp for the day.
CleanQueries This property is required. int
Clean queries for this day.
DdosQueries This property is required. int
DDoS queries for this day.
NxdResponses This property is required. int
NXD responses for this day.
Timestamp This property is required. int
The timestamp for the day.
cleanQueries This property is required. Integer
Clean queries for this day.
ddosQueries This property is required. Integer
DDoS queries for this day.
nxdResponses This property is required. Integer
NXD responses for this day.
timestamp This property is required. Integer
The timestamp for the day.
cleanQueries This property is required. number
Clean queries for this day.
ddosQueries This property is required. number
DDoS queries for this day.
nxdResponses This property is required. number
NXD responses for this day.
timestamp This property is required. number
The timestamp for the day.
clean_queries This property is required. int
Clean queries for this day.
ddos_queries This property is required. int
DDoS queries for this day.
nxd_responses This property is required. int
NXD responses for this day.
timestamp This property is required. int
The timestamp for the day.
cleanQueries This property is required. Number
Clean queries for this day.
ddosQueries This property is required. Number
DDoS queries for this day.
nxdResponses This property is required. Number
NXD responses for this day.
timestamp This property is required. Number
The timestamp for the day.

Package Details

Repository
NS1 pulumi/pulumi-ns1
License
Apache-2.0
Notes
This Pulumi package is based on the ns1 Terraform Provider.
NS1 v3.6.2 published on Wednesday, Apr 9, 2025 by Pulumi