All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.mobile.kotlin.outputs.NetworkServicePccRuleServiceDataFlowTemplate.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.21.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.mobile.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property direction Specifies the direction of this flow. Possible values are `Uplink`, `Downlink` and `Bidirectional`.
 * @property name Specifies the name of the data flow template. This must be unique within the parent data flow policy rule. You must not use any of the following reserved strings - `default`, `requested` or `service`.
 * @property ports The port(s) to which UEs will connect for this flow. You can specify zero or more ports or port ranges. If you specify one or more ports or port ranges then you must specify a value other than `ip` in the `protocol` field. If it is not specified then connections will be allowed on all ports. Port ranges must be specified as -. For example: [`8080`, `8082-8085`].
 * @property protocols A list of the allowed protocol(s) for this flow. If you want this flow to be able to use any protocol within the internet protocol suite, use the value `ip`. If you only want to allow a selection of protocols, you must use the corresponding IANA Assigned Internet Protocol Number for each protocol, as described in https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml. For example, for UDP, you must use 17. If you use the value `ip` then you must leave the field `port` unspecified.
 * @property remoteIpLists Specifies the remote IP address(es) to which UEs will connect for this flow. If you want to allow connections on any IP address, use the value `any`. Otherwise, you must provide each of the remote IP addresses to which the packet core instance will connect for this flow. You must provide each IP address in CIDR notation, including the netmask (for example, `192.0.2.54/24`).
 */
public data class NetworkServicePccRuleServiceDataFlowTemplate(
    public val direction: String,
    public val name: String,
    public val ports: List? = null,
    public val protocols: List,
    public val remoteIpLists: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.mobile.outputs.NetworkServicePccRuleServiceDataFlowTemplate): NetworkServicePccRuleServiceDataFlowTemplate = NetworkServicePccRuleServiceDataFlowTemplate(
            direction = javaType.direction(),
            name = javaType.name(),
            ports = javaType.ports().map({ args0 -> args0 }),
            protocols = javaType.protocols().map({ args0 -> args0 }),
            remoteIpLists = javaType.remoteIpLists().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy