1. Packages
  2. Hsdp Provider
  3. API Docs
  4. EdgeConfig
hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software

hsdp.EdgeConfig

Explore with Pulumi AI

hsdp logo
hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software

    Manage configuration of an Edge device. Set sync to true to immediately sync the config to the device, otherwise you should create a dependency on a hsdp.EdgeSync resource to batch sync changes.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fs from "fs";
    import * as hsdp from "@pulumi/hsdp";
    
    const sme100EdgeDevice = hsdp.getEdgeDevice({
        serialNumber: "S4439394855830303",
    });
    const sme100EdgeConfig = new hsdp.EdgeConfig("sme100EdgeConfig", {
        serialNumber: sme100EdgeDevice.then(sme100EdgeDevice => sme100EdgeDevice.serialNumber),
        firewallExceptions: {
            ensureTcps: [2575],
            ensureUdps: [2345],
        },
        logging: {
            rawConfig: fs.readFileSync(_var.raw_fluentbit_config, "utf8"),
            hsdpLogging: true,
            hsdpProductKey: _var.logging_product_key,
            hsdpSharedKey: _var.logging_shared_key,
            hsdpSecretKey: _var.logging_secret_key,
            hsdpIngestorHost: _var.logging_endpoint,
        },
    });
    
    import pulumi
    import pulumi_hsdp as hsdp
    
    sme100_edge_device = hsdp.get_edge_device(serial_number="S4439394855830303")
    sme100_edge_config = hsdp.EdgeConfig("sme100EdgeConfig",
        serial_number=sme100_edge_device.serial_number,
        firewall_exceptions={
            "ensure_tcps": [2575],
            "ensure_udps": [2345],
        },
        logging={
            "raw_config": (lambda path: open(path).read())(var["raw_fluentbit_config"]),
            "hsdp_logging": True,
            "hsdp_product_key": var["logging_product_key"],
            "hsdp_shared_key": var["logging_shared_key"],
            "hsdp_secret_key": var["logging_secret_key"],
            "hsdp_ingestor_host": var["logging_endpoint"],
        })
    
    package main
    
    import (
    	"os"
    
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/hsdp/hsdp"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func readFileOrPanic(path string) pulumi.StringPtrInput {
    	data, err := os.ReadFile(path)
    	if err != nil {
    		panic(err.Error())
    	}
    	return pulumi.String(string(data))
    }
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		sme100EdgeDevice, err := hsdp.GetEdgeDevice(ctx, &hsdp.GetEdgeDeviceArgs{
    			SerialNumber: "S4439394855830303",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = hsdp.NewEdgeConfig(ctx, "sme100EdgeConfig", &hsdp.EdgeConfigArgs{
    			SerialNumber: pulumi.String(sme100EdgeDevice.SerialNumber),
    			FirewallExceptions: &hsdp.EdgeConfigFirewallExceptionsArgs{
    				EnsureTcps: pulumi.Float64Array{
    					pulumi.Float64(2575),
    				},
    				EnsureUdps: pulumi.Float64Array{
    					pulumi.Float64(2345),
    				},
    			},
    			Logging: &hsdp.EdgeConfigLoggingArgs{
    				RawConfig:        pulumi.String(readFileOrPanic(_var.Raw_fluentbit_config)),
    				HsdpLogging:      pulumi.Bool(true),
    				HsdpProductKey:   pulumi.Any(_var.Logging_product_key),
    				HsdpSharedKey:    pulumi.Any(_var.Logging_shared_key),
    				HsdpSecretKey:    pulumi.Any(_var.Logging_secret_key),
    				HsdpIngestorHost: pulumi.Any(_var.Logging_endpoint),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.IO;
    using System.Linq;
    using Pulumi;
    using Hsdp = Pulumi.Hsdp;
    
    return await Deployment.RunAsync(() => 
    {
        var sme100EdgeDevice = Hsdp.GetEdgeDevice.Invoke(new()
        {
            SerialNumber = "S4439394855830303",
        });
    
        var sme100EdgeConfig = new Hsdp.EdgeConfig("sme100EdgeConfig", new()
        {
            SerialNumber = sme100EdgeDevice.Apply(getEdgeDeviceResult => getEdgeDeviceResult.SerialNumber),
            FirewallExceptions = new Hsdp.Inputs.EdgeConfigFirewallExceptionsArgs
            {
                EnsureTcps = new[]
                {
                    2575,
                },
                EnsureUdps = new[]
                {
                    2345,
                },
            },
            Logging = new Hsdp.Inputs.EdgeConfigLoggingArgs
            {
                RawConfig = File.ReadAllText(@var.Raw_fluentbit_config),
                HsdpLogging = true,
                HsdpProductKey = @var.Logging_product_key,
                HsdpSharedKey = @var.Logging_shared_key,
                HsdpSecretKey = @var.Logging_secret_key,
                HsdpIngestorHost = @var.Logging_endpoint,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.hsdp.HsdpFunctions;
    import com.pulumi.hsdp.inputs.GetEdgeDeviceArgs;
    import com.pulumi.hsdp.EdgeConfig;
    import com.pulumi.hsdp.EdgeConfigArgs;
    import com.pulumi.hsdp.inputs.EdgeConfigFirewallExceptionsArgs;
    import com.pulumi.hsdp.inputs.EdgeConfigLoggingArgs;
    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 sme100EdgeDevice = HsdpFunctions.getEdgeDevice(GetEdgeDeviceArgs.builder()
                .serialNumber("S4439394855830303")
                .build());
    
            var sme100EdgeConfig = new EdgeConfig("sme100EdgeConfig", EdgeConfigArgs.builder()
                .serialNumber(sme100EdgeDevice.applyValue(getEdgeDeviceResult -> getEdgeDeviceResult.serialNumber()))
                .firewallExceptions(EdgeConfigFirewallExceptionsArgs.builder()
                    .ensureTcps(2575)
                    .ensureUdps(2345)
                    .build())
                .logging(EdgeConfigLoggingArgs.builder()
                    .rawConfig(Files.readString(Paths.get(var_.raw_fluentbit_config())))
                    .hsdpLogging(true)
                    .hsdpProductKey(var_.logging_product_key())
                    .hsdpSharedKey(var_.logging_shared_key())
                    .hsdpSecretKey(var_.logging_secret_key())
                    .hsdpIngestorHost(var_.logging_endpoint())
                    .build())
                .build());
    
        }
    }
    
    resources:
      sme100EdgeConfig:
        type: hsdp:EdgeConfig
        properties:
          serialNumber: ${sme100EdgeDevice.serialNumber}
          firewallExceptions:
            ensureTcps:
              - 2575
            ensureUdps:
              - 2345
          logging:
            rawConfig:
              fn::readFile: ${var.raw_fluentbit_config}
            hsdpLogging: true
            hsdpProductKey: ${var.logging_product_key}
            hsdpSharedKey: ${var.logging_shared_key}
            hsdpSecretKey: ${var.logging_secret_key}
            hsdpIngestorHost: ${var.logging_endpoint}
    variables:
      sme100EdgeDevice:
        fn::invoke:
          function: hsdp:getEdgeDevice
          arguments:
            serialNumber: S4439394855830303
    

    Create EdgeConfig Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new EdgeConfig(name: string, args: EdgeConfigArgs, opts?: CustomResourceOptions);
    @overload
    def EdgeConfig(resource_name: str,
                   args: EdgeConfigArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def EdgeConfig(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   serial_number: Optional[str] = None,
                   edge_config_id: Optional[str] = None,
                   firewall_exceptions: Optional[EdgeConfigFirewallExceptionsArgs] = None,
                   logging: Optional[EdgeConfigLoggingArgs] = None,
                   principal: Optional[EdgeConfigPrincipalArgs] = None,
                   sync: Optional[bool] = None)
    func NewEdgeConfig(ctx *Context, name string, args EdgeConfigArgs, opts ...ResourceOption) (*EdgeConfig, error)
    public EdgeConfig(string name, EdgeConfigArgs args, CustomResourceOptions? opts = null)
    public EdgeConfig(String name, EdgeConfigArgs args)
    public EdgeConfig(String name, EdgeConfigArgs args, CustomResourceOptions options)
    
    type: hsdp:EdgeConfig
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args EdgeConfigArgs
    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 EdgeConfigArgs
    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 EdgeConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EdgeConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EdgeConfigArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var edgeConfigResource = new Hsdp.EdgeConfig("edgeConfigResource", new()
    {
        SerialNumber = "string",
        EdgeConfigId = "string",
        FirewallExceptions = new Hsdp.Inputs.EdgeConfigFirewallExceptionsArgs
        {
            ClearOnDestroy = false,
            EnsureTcps = new[]
            {
                0,
            },
            EnsureUdps = new[]
            {
                0,
            },
            Tcps = new[]
            {
                0,
            },
            Udps = new[]
            {
                0,
            },
        },
        Logging = new Hsdp.Inputs.EdgeConfigLoggingArgs
        {
            HsdpCustomField = false,
            HsdpIngestorHost = "string",
            HsdpLogging = false,
            HsdpProductKey = "string",
            HsdpSecretKey = "string",
            HsdpSharedKey = "string",
            RawConfig = "string",
        },
        Principal = new Hsdp.Inputs.EdgeConfigPrincipalArgs
        {
            Endpoint = "string",
            Environment = "string",
            Oauth2ClientId = "string",
            Oauth2Password = "string",
            Password = "string",
            Region = "string",
            ServiceId = "string",
            ServicePrivateKey = "string",
            UaaPassword = "string",
            UaaUsername = "string",
            Username = "string",
        },
        Sync = false,
    });
    
    example, err := hsdp.NewEdgeConfig(ctx, "edgeConfigResource", &hsdp.EdgeConfigArgs{
    	SerialNumber: pulumi.String("string"),
    	EdgeConfigId: pulumi.String("string"),
    	FirewallExceptions: &hsdp.EdgeConfigFirewallExceptionsArgs{
    		ClearOnDestroy: pulumi.Bool(false),
    		EnsureTcps: pulumi.Float64Array{
    			pulumi.Float64(0),
    		},
    		EnsureUdps: pulumi.Float64Array{
    			pulumi.Float64(0),
    		},
    		Tcps: pulumi.Float64Array{
    			pulumi.Float64(0),
    		},
    		Udps: pulumi.Float64Array{
    			pulumi.Float64(0),
    		},
    	},
    	Logging: &hsdp.EdgeConfigLoggingArgs{
    		HsdpCustomField:  pulumi.Bool(false),
    		HsdpIngestorHost: pulumi.String("string"),
    		HsdpLogging:      pulumi.Bool(false),
    		HsdpProductKey:   pulumi.String("string"),
    		HsdpSecretKey:    pulumi.String("string"),
    		HsdpSharedKey:    pulumi.String("string"),
    		RawConfig:        pulumi.String("string"),
    	},
    	Principal: &hsdp.EdgeConfigPrincipalArgs{
    		Endpoint:          pulumi.String("string"),
    		Environment:       pulumi.String("string"),
    		Oauth2ClientId:    pulumi.String("string"),
    		Oauth2Password:    pulumi.String("string"),
    		Password:          pulumi.String("string"),
    		Region:            pulumi.String("string"),
    		ServiceId:         pulumi.String("string"),
    		ServicePrivateKey: pulumi.String("string"),
    		UaaPassword:       pulumi.String("string"),
    		UaaUsername:       pulumi.String("string"),
    		Username:          pulumi.String("string"),
    	},
    	Sync: pulumi.Bool(false),
    })
    
    var edgeConfigResource = new EdgeConfig("edgeConfigResource", EdgeConfigArgs.builder()
        .serialNumber("string")
        .edgeConfigId("string")
        .firewallExceptions(EdgeConfigFirewallExceptionsArgs.builder()
            .clearOnDestroy(false)
            .ensureTcps(0)
            .ensureUdps(0)
            .tcps(0)
            .udps(0)
            .build())
        .logging(EdgeConfigLoggingArgs.builder()
            .hsdpCustomField(false)
            .hsdpIngestorHost("string")
            .hsdpLogging(false)
            .hsdpProductKey("string")
            .hsdpSecretKey("string")
            .hsdpSharedKey("string")
            .rawConfig("string")
            .build())
        .principal(EdgeConfigPrincipalArgs.builder()
            .endpoint("string")
            .environment("string")
            .oauth2ClientId("string")
            .oauth2Password("string")
            .password("string")
            .region("string")
            .serviceId("string")
            .servicePrivateKey("string")
            .uaaPassword("string")
            .uaaUsername("string")
            .username("string")
            .build())
        .sync(false)
        .build());
    
    edge_config_resource = hsdp.EdgeConfig("edgeConfigResource",
        serial_number="string",
        edge_config_id="string",
        firewall_exceptions={
            "clear_on_destroy": False,
            "ensure_tcps": [0],
            "ensure_udps": [0],
            "tcps": [0],
            "udps": [0],
        },
        logging={
            "hsdp_custom_field": False,
            "hsdp_ingestor_host": "string",
            "hsdp_logging": False,
            "hsdp_product_key": "string",
            "hsdp_secret_key": "string",
            "hsdp_shared_key": "string",
            "raw_config": "string",
        },
        principal={
            "endpoint": "string",
            "environment": "string",
            "oauth2_client_id": "string",
            "oauth2_password": "string",
            "password": "string",
            "region": "string",
            "service_id": "string",
            "service_private_key": "string",
            "uaa_password": "string",
            "uaa_username": "string",
            "username": "string",
        },
        sync=False)
    
    const edgeConfigResource = new hsdp.EdgeConfig("edgeConfigResource", {
        serialNumber: "string",
        edgeConfigId: "string",
        firewallExceptions: {
            clearOnDestroy: false,
            ensureTcps: [0],
            ensureUdps: [0],
            tcps: [0],
            udps: [0],
        },
        logging: {
            hsdpCustomField: false,
            hsdpIngestorHost: "string",
            hsdpLogging: false,
            hsdpProductKey: "string",
            hsdpSecretKey: "string",
            hsdpSharedKey: "string",
            rawConfig: "string",
        },
        principal: {
            endpoint: "string",
            environment: "string",
            oauth2ClientId: "string",
            oauth2Password: "string",
            password: "string",
            region: "string",
            serviceId: "string",
            servicePrivateKey: "string",
            uaaPassword: "string",
            uaaUsername: "string",
            username: "string",
        },
        sync: false,
    });
    
    type: hsdp:EdgeConfig
    properties:
        edgeConfigId: string
        firewallExceptions:
            clearOnDestroy: false
            ensureTcps:
                - 0
            ensureUdps:
                - 0
            tcps:
                - 0
            udps:
                - 0
        logging:
            hsdpCustomField: false
            hsdpIngestorHost: string
            hsdpLogging: false
            hsdpProductKey: string
            hsdpSecretKey: string
            hsdpSharedKey: string
            rawConfig: string
        principal:
            endpoint: string
            environment: string
            oauth2ClientId: string
            oauth2Password: string
            password: string
            region: string
            serviceId: string
            servicePrivateKey: string
            uaaPassword: string
            uaaUsername: string
            username: string
        serialNumber: string
        sync: false
    

    EdgeConfig Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The EdgeConfig resource accepts the following input properties:

    SerialNumber string
    The serial of the device this config should be applied to
    EdgeConfigId string
    FirewallExceptions EdgeConfigFirewallExceptions
    Firewall exceptions
    Logging EdgeConfigLogging
    Log forwarding and fluent-bit logging configuration for the device
    Principal EdgeConfigPrincipal
    The optional principal to use for this resource
    Sync bool
    When set to true syncs the config after mutations. Default is true. Set this to false if you want to batch sync to your device using hsdp.EdgeSync
    SerialNumber string
    The serial of the device this config should be applied to
    EdgeConfigId string
    FirewallExceptions EdgeConfigFirewallExceptionsArgs
    Firewall exceptions
    Logging EdgeConfigLoggingArgs
    Log forwarding and fluent-bit logging configuration for the device
    Principal EdgeConfigPrincipalArgs
    The optional principal to use for this resource
    Sync bool
    When set to true syncs the config after mutations. Default is true. Set this to false if you want to batch sync to your device using hsdp.EdgeSync
    serialNumber String
    The serial of the device this config should be applied to
    edgeConfigId String
    firewallExceptions EdgeConfigFirewallExceptions
    Firewall exceptions
    logging EdgeConfigLogging
    Log forwarding and fluent-bit logging configuration for the device
    principal EdgeConfigPrincipal
    The optional principal to use for this resource
    sync Boolean
    When set to true syncs the config after mutations. Default is true. Set this to false if you want to batch sync to your device using hsdp.EdgeSync
    serialNumber string
    The serial of the device this config should be applied to
    edgeConfigId string
    firewallExceptions EdgeConfigFirewallExceptions
    Firewall exceptions
    logging EdgeConfigLogging
    Log forwarding and fluent-bit logging configuration for the device
    principal EdgeConfigPrincipal
    The optional principal to use for this resource
    sync boolean
    When set to true syncs the config after mutations. Default is true. Set this to false if you want to batch sync to your device using hsdp.EdgeSync
    serial_number str
    The serial of the device this config should be applied to
    edge_config_id str
    firewall_exceptions EdgeConfigFirewallExceptionsArgs
    Firewall exceptions
    logging EdgeConfigLoggingArgs
    Log forwarding and fluent-bit logging configuration for the device
    principal EdgeConfigPrincipalArgs
    The optional principal to use for this resource
    sync bool
    When set to true syncs the config after mutations. Default is true. Set this to false if you want to batch sync to your device using hsdp.EdgeSync
    serialNumber String
    The serial of the device this config should be applied to
    edgeConfigId String
    firewallExceptions Property Map
    Firewall exceptions
    logging Property Map
    Log forwarding and fluent-bit logging configuration for the device
    principal Property Map
    The optional principal to use for this resource
    sync Boolean
    When set to true syncs the config after mutations. Default is true. Set this to false if you want to batch sync to your device using hsdp.EdgeSync

    Outputs

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

    Get an existing EdgeConfig 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?: EdgeConfigState, opts?: CustomResourceOptions): EdgeConfig
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            edge_config_id: Optional[str] = None,
            firewall_exceptions: Optional[EdgeConfigFirewallExceptionsArgs] = None,
            logging: Optional[EdgeConfigLoggingArgs] = None,
            principal: Optional[EdgeConfigPrincipalArgs] = None,
            serial_number: Optional[str] = None,
            sync: Optional[bool] = None) -> EdgeConfig
    func GetEdgeConfig(ctx *Context, name string, id IDInput, state *EdgeConfigState, opts ...ResourceOption) (*EdgeConfig, error)
    public static EdgeConfig Get(string name, Input<string> id, EdgeConfigState? state, CustomResourceOptions? opts = null)
    public static EdgeConfig get(String name, Output<String> id, EdgeConfigState state, CustomResourceOptions options)
    resources:  _:    type: hsdp:EdgeConfig    get:      id: ${id}
    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:
    EdgeConfigId string
    FirewallExceptions EdgeConfigFirewallExceptions
    Firewall exceptions
    Logging EdgeConfigLogging
    Log forwarding and fluent-bit logging configuration for the device
    Principal EdgeConfigPrincipal
    The optional principal to use for this resource
    SerialNumber string
    The serial of the device this config should be applied to
    Sync bool
    When set to true syncs the config after mutations. Default is true. Set this to false if you want to batch sync to your device using hsdp.EdgeSync
    EdgeConfigId string
    FirewallExceptions EdgeConfigFirewallExceptionsArgs
    Firewall exceptions
    Logging EdgeConfigLoggingArgs
    Log forwarding and fluent-bit logging configuration for the device
    Principal EdgeConfigPrincipalArgs
    The optional principal to use for this resource
    SerialNumber string
    The serial of the device this config should be applied to
    Sync bool
    When set to true syncs the config after mutations. Default is true. Set this to false if you want to batch sync to your device using hsdp.EdgeSync
    edgeConfigId String
    firewallExceptions EdgeConfigFirewallExceptions
    Firewall exceptions
    logging EdgeConfigLogging
    Log forwarding and fluent-bit logging configuration for the device
    principal EdgeConfigPrincipal
    The optional principal to use for this resource
    serialNumber String
    The serial of the device this config should be applied to
    sync Boolean
    When set to true syncs the config after mutations. Default is true. Set this to false if you want to batch sync to your device using hsdp.EdgeSync
    edgeConfigId string
    firewallExceptions EdgeConfigFirewallExceptions
    Firewall exceptions
    logging EdgeConfigLogging
    Log forwarding and fluent-bit logging configuration for the device
    principal EdgeConfigPrincipal
    The optional principal to use for this resource
    serialNumber string
    The serial of the device this config should be applied to
    sync boolean
    When set to true syncs the config after mutations. Default is true. Set this to false if you want to batch sync to your device using hsdp.EdgeSync
    edge_config_id str
    firewall_exceptions EdgeConfigFirewallExceptionsArgs
    Firewall exceptions
    logging EdgeConfigLoggingArgs
    Log forwarding and fluent-bit logging configuration for the device
    principal EdgeConfigPrincipalArgs
    The optional principal to use for this resource
    serial_number str
    The serial of the device this config should be applied to
    sync bool
    When set to true syncs the config after mutations. Default is true. Set this to false if you want to batch sync to your device using hsdp.EdgeSync
    edgeConfigId String
    firewallExceptions Property Map
    Firewall exceptions
    logging Property Map
    Log forwarding and fluent-bit logging configuration for the device
    principal Property Map
    The optional principal to use for this resource
    serialNumber String
    The serial of the device this config should be applied to
    sync Boolean
    When set to true syncs the config after mutations. Default is true. Set this to false if you want to batch sync to your device using hsdp.EdgeSync

    Supporting Types

    EdgeConfigFirewallExceptions, EdgeConfigFirewallExceptionsArgs

    ClearOnDestroy bool
    When set to true, clears specified ports on destroy. Default is true
    EnsureTcps List<double>
    ) Array of TCP ports to add. Conflicts with tcp
    EnsureUdps List<double>
    ) Array of UDP ports to add. Conflicts with udp
    Tcps List<double>
    ) Array of TCP ports to allow. Conflicts with ensure_tcp
    Udps List<double>
    ) Array of UDP ports to allow. Conflicts with ensure_udp
    ClearOnDestroy bool
    When set to true, clears specified ports on destroy. Default is true
    EnsureTcps []float64
    ) Array of TCP ports to add. Conflicts with tcp
    EnsureUdps []float64
    ) Array of UDP ports to add. Conflicts with udp
    Tcps []float64
    ) Array of TCP ports to allow. Conflicts with ensure_tcp
    Udps []float64
    ) Array of UDP ports to allow. Conflicts with ensure_udp
    clearOnDestroy Boolean
    When set to true, clears specified ports on destroy. Default is true
    ensureTcps List<Double>
    ) Array of TCP ports to add. Conflicts with tcp
    ensureUdps List<Double>
    ) Array of UDP ports to add. Conflicts with udp
    tcps List<Double>
    ) Array of TCP ports to allow. Conflicts with ensure_tcp
    udps List<Double>
    ) Array of UDP ports to allow. Conflicts with ensure_udp
    clearOnDestroy boolean
    When set to true, clears specified ports on destroy. Default is true
    ensureTcps number[]
    ) Array of TCP ports to add. Conflicts with tcp
    ensureUdps number[]
    ) Array of UDP ports to add. Conflicts with udp
    tcps number[]
    ) Array of TCP ports to allow. Conflicts with ensure_tcp
    udps number[]
    ) Array of UDP ports to allow. Conflicts with ensure_udp
    clear_on_destroy bool
    When set to true, clears specified ports on destroy. Default is true
    ensure_tcps Sequence[float]
    ) Array of TCP ports to add. Conflicts with tcp
    ensure_udps Sequence[float]
    ) Array of UDP ports to add. Conflicts with udp
    tcps Sequence[float]
    ) Array of TCP ports to allow. Conflicts with ensure_tcp
    udps Sequence[float]
    ) Array of UDP ports to allow. Conflicts with ensure_udp
    clearOnDestroy Boolean
    When set to true, clears specified ports on destroy. Default is true
    ensureTcps List<Number>
    ) Array of TCP ports to add. Conflicts with tcp
    ensureUdps List<Number>
    ) Array of UDP ports to add. Conflicts with udp
    tcps List<Number>
    ) Array of TCP ports to allow. Conflicts with ensure_tcp
    udps List<Number>
    ) Array of UDP ports to allow. Conflicts with ensure_udp

    EdgeConfigLogging, EdgeConfigLoggingArgs

    HsdpCustomField bool
    HsdpIngestorHost string
    The HSDP logging endpoint
    HsdpLogging bool
    Enable or disable HSDP Logging feature
    HsdpProductKey string
    the HSDP logging product key
    HsdpSecretKey string
    the HSDP logging secret key
    HsdpSharedKey string
    the HSDP logging shared key
    RawConfig string
    Fluent-bit raw configuration to use
    HsdpCustomField bool
    HsdpIngestorHost string
    The HSDP logging endpoint
    HsdpLogging bool
    Enable or disable HSDP Logging feature
    HsdpProductKey string
    the HSDP logging product key
    HsdpSecretKey string
    the HSDP logging secret key
    HsdpSharedKey string
    the HSDP logging shared key
    RawConfig string
    Fluent-bit raw configuration to use
    hsdpCustomField Boolean
    hsdpIngestorHost String
    The HSDP logging endpoint
    hsdpLogging Boolean
    Enable or disable HSDP Logging feature
    hsdpProductKey String
    the HSDP logging product key
    hsdpSecretKey String
    the HSDP logging secret key
    hsdpSharedKey String
    the HSDP logging shared key
    rawConfig String
    Fluent-bit raw configuration to use
    hsdpCustomField boolean
    hsdpIngestorHost string
    The HSDP logging endpoint
    hsdpLogging boolean
    Enable or disable HSDP Logging feature
    hsdpProductKey string
    the HSDP logging product key
    hsdpSecretKey string
    the HSDP logging secret key
    hsdpSharedKey string
    the HSDP logging shared key
    rawConfig string
    Fluent-bit raw configuration to use
    hsdp_custom_field bool
    hsdp_ingestor_host str
    The HSDP logging endpoint
    hsdp_logging bool
    Enable or disable HSDP Logging feature
    hsdp_product_key str
    the HSDP logging product key
    hsdp_secret_key str
    the HSDP logging secret key
    hsdp_shared_key str
    the HSDP logging shared key
    raw_config str
    Fluent-bit raw configuration to use
    hsdpCustomField Boolean
    hsdpIngestorHost String
    The HSDP logging endpoint
    hsdpLogging Boolean
    Enable or disable HSDP Logging feature
    hsdpProductKey String
    the HSDP logging product key
    hsdpSecretKey String
    the HSDP logging secret key
    hsdpSharedKey String
    the HSDP logging shared key
    rawConfig String
    Fluent-bit raw configuration to use

    EdgeConfigPrincipal, EdgeConfigPrincipalArgs

    Endpoint string
    The endpoint URL to use if applicable. When not set, the provider config is used
    Environment string
    Oauth2ClientId string
    Oauth2Password string
    Password string
    Region string
    Region to use. When not set, the provider config is used
    ServiceId string
    ServicePrivateKey string
    UaaPassword string
    The UAA password to use
    UaaUsername string
    The UAA username to use
    Username string
    Endpoint string
    The endpoint URL to use if applicable. When not set, the provider config is used
    Environment string
    Oauth2ClientId string
    Oauth2Password string
    Password string
    Region string
    Region to use. When not set, the provider config is used
    ServiceId string
    ServicePrivateKey string
    UaaPassword string
    The UAA password to use
    UaaUsername string
    The UAA username to use
    Username string
    endpoint String
    The endpoint URL to use if applicable. When not set, the provider config is used
    environment String
    oauth2ClientId String
    oauth2Password String
    password String
    region String
    Region to use. When not set, the provider config is used
    serviceId String
    servicePrivateKey String
    uaaPassword String
    The UAA password to use
    uaaUsername String
    The UAA username to use
    username String
    endpoint string
    The endpoint URL to use if applicable. When not set, the provider config is used
    environment string
    oauth2ClientId string
    oauth2Password string
    password string
    region string
    Region to use. When not set, the provider config is used
    serviceId string
    servicePrivateKey string
    uaaPassword string
    The UAA password to use
    uaaUsername string
    The UAA username to use
    username string
    endpoint str
    The endpoint URL to use if applicable. When not set, the provider config is used
    environment str
    oauth2_client_id str
    oauth2_password str
    password str
    region str
    Region to use. When not set, the provider config is used
    service_id str
    service_private_key str
    uaa_password str
    The UAA password to use
    uaa_username str
    The UAA username to use
    username str
    endpoint String
    The endpoint URL to use if applicable. When not set, the provider config is used
    environment String
    oauth2ClientId String
    oauth2Password String
    password String
    region String
    Region to use. When not set, the provider config is used
    serviceId String
    servicePrivateKey String
    uaaPassword String
    The UAA password to use
    uaaUsername String
    The UAA username to use
    username String

    Package Details

    Repository
    hsdp philips-software/terraform-provider-hsdp
    License
    Notes
    This Pulumi package is based on the hsdp Terraform Provider.
    hsdp logo
    hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software