Viewing docs for Cloudflare v6.13.0
published on Wednesday, Jan 21, 2026 by Pulumi
published on Wednesday, Jan 21, 2026 by Pulumi
Viewing docs for Cloudflare v6.13.0
published on Wednesday, Jan 21, 2026 by Pulumi
published on Wednesday, Jan 21, 2026 by Pulumi
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleMagicNetworkMonitoringConfiguration = cloudflare.getMagicNetworkMonitoringConfiguration({
accountId: "6f91088a406011ed95aed352566e8d4c",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_magic_network_monitoring_configuration = cloudflare.get_magic_network_monitoring_configuration(account_id="6f91088a406011ed95aed352566e8d4c")
package main
import (
"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudflare.LookupMagicNetworkMonitoringConfiguration(ctx, &cloudflare.LookupMagicNetworkMonitoringConfigurationArgs{
AccountId: "6f91088a406011ed95aed352566e8d4c",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var exampleMagicNetworkMonitoringConfiguration = Cloudflare.GetMagicNetworkMonitoringConfiguration.Invoke(new()
{
AccountId = "6f91088a406011ed95aed352566e8d4c",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.CloudflareFunctions;
import com.pulumi.cloudflare.inputs.GetMagicNetworkMonitoringConfigurationArgs;
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) {
final var exampleMagicNetworkMonitoringConfiguration = CloudflareFunctions.getMagicNetworkMonitoringConfiguration(GetMagicNetworkMonitoringConfigurationArgs.builder()
.accountId("6f91088a406011ed95aed352566e8d4c")
.build());
}
}
variables:
exampleMagicNetworkMonitoringConfiguration:
fn::invoke:
function: cloudflare:getMagicNetworkMonitoringConfiguration
arguments:
accountId: 6f91088a406011ed95aed352566e8d4c
Using getMagicNetworkMonitoringConfiguration
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 getMagicNetworkMonitoringConfiguration(args: GetMagicNetworkMonitoringConfigurationArgs, opts?: InvokeOptions): Promise<GetMagicNetworkMonitoringConfigurationResult>
function getMagicNetworkMonitoringConfigurationOutput(args: GetMagicNetworkMonitoringConfigurationOutputArgs, opts?: InvokeOptions): Output<GetMagicNetworkMonitoringConfigurationResult>def get_magic_network_monitoring_configuration(account_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMagicNetworkMonitoringConfigurationResult
def get_magic_network_monitoring_configuration_output(account_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMagicNetworkMonitoringConfigurationResult]func LookupMagicNetworkMonitoringConfiguration(ctx *Context, args *LookupMagicNetworkMonitoringConfigurationArgs, opts ...InvokeOption) (*LookupMagicNetworkMonitoringConfigurationResult, error)
func LookupMagicNetworkMonitoringConfigurationOutput(ctx *Context, args *LookupMagicNetworkMonitoringConfigurationOutputArgs, opts ...InvokeOption) LookupMagicNetworkMonitoringConfigurationResultOutput> Note: This function is named LookupMagicNetworkMonitoringConfiguration in the Go SDK.
public static class GetMagicNetworkMonitoringConfiguration
{
public static Task<GetMagicNetworkMonitoringConfigurationResult> InvokeAsync(GetMagicNetworkMonitoringConfigurationArgs args, InvokeOptions? opts = null)
public static Output<GetMagicNetworkMonitoringConfigurationResult> Invoke(GetMagicNetworkMonitoringConfigurationInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMagicNetworkMonitoringConfigurationResult> getMagicNetworkMonitoringConfiguration(GetMagicNetworkMonitoringConfigurationArgs args, InvokeOptions options)
public static Output<GetMagicNetworkMonitoringConfigurationResult> getMagicNetworkMonitoringConfiguration(GetMagicNetworkMonitoringConfigurationArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getMagicNetworkMonitoringConfiguration:getMagicNetworkMonitoringConfiguration
arguments:
# arguments dictionaryThe following arguments are supported:
- Account
Id string
- Account
Id string
- account
Id String
- account
Id string
- account_
id str
- account
Id String
getMagicNetworkMonitoringConfiguration Result
The following output properties are available:
- Account
Id string - Default
Sampling double - Fallback sampling rate of flow messages being sent in packets per second. This should match the packet sampling rate configured on the router.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The account name.
- Router
Ips List<string> - Warp
Devices List<GetMagic Network Monitoring Configuration Warp Device>
- Account
Id string - Default
Sampling float64 - Fallback sampling rate of flow messages being sent in packets per second. This should match the packet sampling rate configured on the router.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The account name.
- Router
Ips []string - Warp
Devices []GetMagic Network Monitoring Configuration Warp Device
- account
Id String - default
Sampling Double - Fallback sampling rate of flow messages being sent in packets per second. This should match the packet sampling rate configured on the router.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The account name.
- router
Ips List<String> - warp
Devices List<GetMagic Network Monitoring Configuration Warp Device>
- account
Id string - default
Sampling number - Fallback sampling rate of flow messages being sent in packets per second. This should match the packet sampling rate configured on the router.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The account name.
- router
Ips string[] - warp
Devices GetMagic Network Monitoring Configuration Warp Device[]
- account_
id str - default_
sampling float - Fallback sampling rate of flow messages being sent in packets per second. This should match the packet sampling rate configured on the router.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The account name.
- router_
ips Sequence[str] - warp_
devices Sequence[GetMagic Network Monitoring Configuration Warp Device]
- account
Id String - default
Sampling Number - Fallback sampling rate of flow messages being sent in packets per second. This should match the packet sampling rate configured on the router.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The account name.
- router
Ips List<String> - warp
Devices List<Property Map>
Supporting Types
GetMagicNetworkMonitoringConfigurationWarpDevice
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflareTerraform Provider.
Viewing docs for Cloudflare v6.13.0
published on Wednesday, Jan 21, 2026 by Pulumi
published on Wednesday, Jan 21, 2026 by Pulumi
