你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ConnectionFromIpNotAllowed Class

Definition

Inbound connection from an ip that isn't allowed. Allow list consists of ipv4 or ipv6 range in CIDR notation.

[Newtonsoft.Json.JsonObject("ConnectionFromIpNotAllowed")]
public class ConnectionFromIpNotAllowed : Microsoft.Azure.Management.Security.Models.AllowlistCustomAlertRule
[<Newtonsoft.Json.JsonObject("ConnectionFromIpNotAllowed")>]
type ConnectionFromIpNotAllowed = class
    inherit AllowlistCustomAlertRule
Public Class ConnectionFromIpNotAllowed
Inherits AllowlistCustomAlertRule
Inheritance
Attributes
Newtonsoft.Json.JsonObjectAttribute

Constructors

ConnectionFromIpNotAllowed()

Initializes a new instance of the ConnectionFromIpNotAllowed class.

ConnectionFromIpNotAllowed(Boolean, IList<String>, String, String, String)

Initializes a new instance of the ConnectionFromIpNotAllowed class.

Properties

AllowlistValues

Gets or sets the values to allow. The format of the values depends on the rule type.

(Inherited from AllowlistCustomAlertRule)
Description

Gets the description of the custom alert.

(Inherited from CustomAlertRule)
DisplayName

Gets the display name of the custom alert.

(Inherited from CustomAlertRule)
IsEnabled

Gets or sets status of the custom alert.

(Inherited from CustomAlertRule)
ValueType

Gets the value type of the items in the list. Possible values include: 'IpCidr', 'String'

(Inherited from ListCustomAlertRule)

Methods

Validate()

Validate the object.

Extension Methods

ConvertToPSType(AllowlistCustomAlertRule)

Applies to