// Code generated by msgraph-generate.go DO NOT EDIT. package msgraph // WindowsFirewallRule undocumented type WindowsFirewallRule struct { // Object is the base model of WindowsFirewallRule Object // DisplayName The display name of the rule. Does not need to be unique. DisplayName *string `json:"displayName,omitempty"` // Description The description of the rule. Description *string `json:"description,omitempty"` // PackageFamilyName The package family name of a Microsoft Store application that's affected by the firewall rule. PackageFamilyName *string `json:"packageFamilyName,omitempty"` // FilePath The full file path of an app that's affected by the firewall rule. FilePath *string `json:"filePath,omitempty"` // ServiceName The name used in cases when a service, not an application, is sending or receiving traffic. ServiceName *string `json:"serviceName,omitempty"` // Protocol 0-255 number representing the IP protocol (TCP = 6, UDP = 17). If not specified, the default is All. Valid values 0 to 255 Protocol *int `json:"protocol,omitempty"` // LocalPortRanges List of local port ranges. For example, "100-120", "200", "300-320". If not specified, the default is All. LocalPortRanges []string `json:"localPortRanges,omitempty"` // RemotePortRanges List of remote port ranges. For example, "100-120", "200", "300-320". If not specified, the default is All. RemotePortRanges []string `json:"remotePortRanges,omitempty"` // LocalAddressRanges List of local addresses covered by the rule. Default is any address. Valid tokens include: LocalAddressRanges []string `json:"localAddressRanges,omitempty"` // RemoteAddressRanges List of tokens specifying the remote addresses covered by the rule. Tokens are case insensitive. Default is any address. Valid tokens include: RemoteAddressRanges []string `json:"remoteAddressRanges,omitempty"` // ProfileTypes Specifies the profiles to which the rule belongs. If not specified, the default is All. ProfileTypes *WindowsFirewallRuleNetworkProfileTypes `json:"profileTypes,omitempty"` // Action The action the rule enforces. If not specified, the default is Allowed. Action *StateManagementSetting `json:"action,omitempty"` // TrafficDirection The traffic direction that the rule is enabled for. If not specified, the default is Out. TrafficDirection *WindowsFirewallRuleTrafficDirectionType `json:"trafficDirection,omitempty"` // InterfaceTypes The interface types of the rule. InterfaceTypes *WindowsFirewallRuleInterfaceTypes `json:"interfaceTypes,omitempty"` // EdgeTraversal Indicates whether edge traversal is enabled or disabled for this rule. The EdgeTraversal setting indicates that specific inbound traffic is allowed to tunnel through NATs and other edge devices using the Teredo tunneling technology. In order for this setting to work correctly, the application or service with the inbound firewall rule needs to support IPv6. The primary application of this setting allows listeners on the host to be globally addressable through a Teredo IPv6 address. New rules have the EdgeTraversal property disabled by default. EdgeTraversal *StateManagementSetting `json:"edgeTraversal,omitempty"` // LocalUserAuthorizations Specifies the list of authorized local users for the app container. This is a string in Security Descriptor Definition Language (SDDL) format. LocalUserAuthorizations *string `json:"localUserAuthorizations,omitempty"` }