NS1 v3.6.2 published on Wednesday, Apr 9, 2025 by Pulumi
ns1.getBillingUsage
Explore with Pulumi AI
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);
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)
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
})
}
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),
};
});
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()));
}
}
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}
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>
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]
func GetBillingUsage(ctx *Context, args *GetBillingUsageArgs, opts ...InvokeOption) (*GetBillingUsageResult, error)
func GetBillingUsageOutput(ctx *Context, args *GetBillingUsageOutputArgs, opts ...InvokeOption) GetBillingUsageResultOutput
> 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)
}
public static CompletableFuture<GetBillingUsageResult> getBillingUsage(GetBillingUsageArgs args, InvokeOptions options)
public static Output<GetBillingUsageResult> getBillingUsage(GetBillingUsageArgs args, InvokeOptions options)
fn::invoke:
function: ns1:index/getBillingUsage:getBillingUsage
arguments:
# arguments dictionary
The following arguments are supported:
- Metric
Type 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.
- Metric
Type 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.
- metric
Type 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.
- metric
Type 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 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.
- metric
Type 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:
- By
Networks List<GetBilling Usage By Network> - (Computed) A list of network-specific query data containing:
- China
Queries intLimit - (Computed) The queries limit for the China network.
- Clean
Queries int - Clean queries for this day.
- Ddos
Protection boolEnabled - (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 intLimit - (Computed) The filter chains limit for this billing cycle.
- Id string
- The provider-assigned unique ID for this managed resource.
- Include
Dedicated boolDns Network In Managed Dns Usage - (Computed) Whether dedicated DNS usage counts towards managed DNS usage.
- Metric
Type string - Monitors
Limit int - (Computed) The monitoring jobs limit for this billing cycle.
- Nxd
Protection boolEnabled - (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
, andrecords
metrics. - From int
- To int
- By
Networks []GetBilling Usage By Network - (Computed) A list of network-specific query data containing:
- China
Queries intLimit - (Computed) The queries limit for the China network.
- Clean
Queries int - Clean queries for this day.
- Ddos
Protection boolEnabled - (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 intLimit - (Computed) The filter chains limit for this billing cycle.
- Id string
- The provider-assigned unique ID for this managed resource.
- Include
Dedicated boolDns Network In Managed Dns Usage - (Computed) Whether dedicated DNS usage counts towards managed DNS usage.
- Metric
Type string - Monitors
Limit int - (Computed) The monitoring jobs limit for this billing cycle.
- Nxd
Protection boolEnabled - (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
, andrecords
metrics. - From int
- To int
- by
Networks List<GetBilling Usage By Network> - (Computed) A list of network-specific query data containing:
- china
Queries IntegerLimit - (Computed) The queries limit for the China network.
- clean
Queries Integer - Clean queries for this day.
- ddos
Protection BooleanEnabled - (Computed) Whether DDoS Protection is enabled.
- ddos
Queries Integer - DDoS queries for this day.
- decisions
Limit Integer - (Computed) The RUM decisions limit for this billing cycle.
- filter
Chains IntegerLimit - (Computed) The filter chains limit for this billing cycle.
- id String
- The provider-assigned unique ID for this managed resource.
- include
Dedicated BooleanDns Network In Managed Dns Usage - (Computed) Whether dedicated DNS usage counts towards managed DNS usage.
- metric
Type String - monitors
Limit Integer - (Computed) The monitoring jobs limit for this billing cycle.
- nxd
Protection BooleanEnabled - (Computed) Whether NXD Protection is enabled.
- nxd
Responses Integer - NXD responses for this day.
- queries
Limit Integer - (Computed) The queries limit for this billing cycle.
- records
Limit Integer - (Computed) The records limit for this billing cycle.
- total
Usage Integer - (Computed) The total usage count for the metric. Available for
decisions
,filter-chains
,monitors
, andrecords
metrics. - from Integer
- to Integer
- by
Networks GetBilling Usage By Network[] - (Computed) A list of network-specific query data containing:
- china
Queries numberLimit - (Computed) The queries limit for the China network.
- clean
Queries number - Clean queries for this day.
- ddos
Protection booleanEnabled - (Computed) Whether DDoS Protection is enabled.
- ddos
Queries number - DDoS queries for this day.
- decisions
Limit number - (Computed) The RUM decisions limit for this billing cycle.
- filter
Chains numberLimit - (Computed) The filter chains limit for this billing cycle.
- id string
- The provider-assigned unique ID for this managed resource.
- include
Dedicated booleanDns Network In Managed Dns Usage - (Computed) Whether dedicated DNS usage counts towards managed DNS usage.
- metric
Type string - monitors
Limit number - (Computed) The monitoring jobs limit for this billing cycle.
- nxd
Protection booleanEnabled - (Computed) Whether NXD Protection is enabled.
- nxd
Responses number - NXD responses for this day.
- queries
Limit number - (Computed) The queries limit for this billing cycle.
- records
Limit number - (Computed) The records limit for this billing cycle.
- total
Usage number - (Computed) The total usage count for the metric. Available for
decisions
,filter-chains
,monitors
, andrecords
metrics. - from number
- to number
- by_
networks Sequence[GetBilling Usage By Network] - (Computed) A list of network-specific query data containing:
- china_
queries_ intlimit - (Computed) The queries limit for the China network.
- clean_
queries int - Clean queries for this day.
- ddos_
protection_ boolenabled - (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_ intlimit - (Computed) The filter chains limit for this billing cycle.
- id str
- The provider-assigned unique ID for this managed resource.
- include_
dedicated_ booldns_ network_ in_ managed_ dns_ usage - (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_ boolenabled - (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
, andrecords
metrics. - from_ int
- to int
- by
Networks List<Property Map> - (Computed) A list of network-specific query data containing:
- china
Queries NumberLimit - (Computed) The queries limit for the China network.
- clean
Queries Number - Clean queries for this day.
- ddos
Protection BooleanEnabled - (Computed) Whether DDoS Protection is enabled.
- ddos
Queries Number - DDoS queries for this day.
- decisions
Limit Number - (Computed) The RUM decisions limit for this billing cycle.
- filter
Chains NumberLimit - (Computed) The filter chains limit for this billing cycle.
- id String
- The provider-assigned unique ID for this managed resource.
- include
Dedicated BooleanDns Network In Managed Dns Usage - (Computed) Whether dedicated DNS usage counts towards managed DNS usage.
- metric
Type String - monitors
Limit Number - (Computed) The monitoring jobs limit for this billing cycle.
- nxd
Protection BooleanEnabled - (Computed) Whether NXD Protection is enabled.
- nxd
Responses Number - NXD responses for this day.
- queries
Limit Number - (Computed) The queries limit for this billing cycle.
- records
Limit Number - (Computed) The records limit for this billing cycle.
- total
Usage Number - (Computed) The total usage count for the metric. Available for
decisions
,filter-chains
,monitors
, andrecords
metrics. - from Number
- to Number
Supporting Types
GetBillingUsageByNetwork
- Billable
Queries int - Total billable queries for this network.
- Clean
Queries int - Clean queries for this day.
- Dailies
List<Get
Billing Usage By Network Daily> - Daily breakdown containing:
- Ddos
Queries int - DDoS queries for this day.
- Network int
- The network ID.
- Nxd
Responses int - NXD responses for this day.
- Billable
Queries int - Total billable queries for this network.
- Clean
Queries int - Clean queries for this day.
- Dailies
[]Get
Billing Usage By Network Daily - Daily breakdown containing:
- Ddos
Queries int - DDoS queries for this day.
- Network int
- The network ID.
- Nxd
Responses int - NXD responses for this day.
- billable
Queries Integer - Total billable queries for this network.
- clean
Queries Integer - Clean queries for this day.
- dailies
List<Get
Billing Usage By Network Daily> - Daily breakdown containing:
- ddos
Queries Integer - DDoS queries for this day.
- network Integer
- The network ID.
- nxd
Responses Integer - NXD responses for this day.
- billable
Queries number - Total billable queries for this network.
- clean
Queries number - Clean queries for this day.
- dailies
Get
Billing Usage By Network Daily[] - Daily breakdown containing:
- ddos
Queries number - DDoS queries for this day.
- network number
- The network ID.
- nxd
Responses number - NXD responses for this day.
- billable_
queries int - Total billable queries for this network.
- clean_
queries int - Clean queries for this day.
- dailies
Sequence[Get
Billing Usage By Network Daily] - Daily breakdown containing:
- ddos_
queries int - DDoS queries for this day.
- network int
- The network ID.
- nxd_
responses int - NXD responses for this day.
- billable
Queries Number - Total billable queries for this network.
- clean
Queries Number - Clean queries for this day.
- dailies List<Property Map>
- Daily breakdown containing:
- ddos
Queries Number - DDoS queries for this day.
- network Number
- The network ID.
- nxd
Responses Number - NXD responses for this day.
GetBillingUsageByNetworkDaily
- Clean
Queries int - Clean queries for this day.
- Ddos
Queries int - DDoS queries for this day.
- Nxd
Responses int - NXD responses for this day.
- Timestamp int
- The timestamp for the day.
- Clean
Queries int - Clean queries for this day.
- Ddos
Queries int - DDoS queries for this day.
- Nxd
Responses int - NXD responses for this day.
- Timestamp int
- The timestamp for the day.
- clean
Queries Integer - Clean queries for this day.
- ddos
Queries Integer - DDoS queries for this day.
- nxd
Responses Integer - NXD responses for this day.
- timestamp Integer
- The timestamp for the day.
- clean
Queries number - Clean queries for this day.
- ddos
Queries number - DDoS queries for this day.
- nxd
Responses number - NXD responses for this day.
- timestamp number
- The timestamp for the day.
- clean_
queries int - Clean queries for this day.
- ddos_
queries int - DDoS queries for this day.
- nxd_
responses int - NXD responses for this day.
- timestamp int
- The timestamp for the day.
- clean
Queries Number - Clean queries for this day.
- ddos
Queries Number - DDoS queries for this day.
- nxd
Responses Number - NXD responses for this day.
- timestamp 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.