共用方式為


InboundSecurityRuleData Class

Definition

A class representing the InboundSecurityRule data model. NVA Inbound Security Rule resource.

public class InboundSecurityRuleData : Azure.ResourceManager.Network.Models.NetworkResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Network.InboundSecurityRuleData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Network.InboundSecurityRuleData>
type InboundSecurityRuleData = class
    inherit NetworkResourceData
    interface IJsonModel<InboundSecurityRuleData>
    interface IPersistableModel<InboundSecurityRuleData>
Public Class InboundSecurityRuleData
Inherits NetworkResourceData
Implements IJsonModel(Of InboundSecurityRuleData), IPersistableModel(Of InboundSecurityRuleData)
Inheritance
InboundSecurityRuleData
Implements

Constructors

InboundSecurityRuleData()

Initializes a new instance of InboundSecurityRuleData.

Properties

ETag

A unique read-only string that changes whenever the resource is updated.

Id

Resource ID.

(Inherited from NetworkResourceData)
Name

Resource name.

(Inherited from NetworkResourceData)
ProvisioningState

The provisioning state of the resource.

ResourceType

Resource type.

(Inherited from NetworkResourceData)
Rules

List of allowed rules.

RuleType

Rule Type. This should be either AutoExpire or Permanent. Auto Expire Rule only creates NSG rules. Permanent Rule creates NSG rule and SLB LB Rule.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from NetworkResourceData)

Explicit Interface Implementations

IJsonModel<InboundSecurityRuleData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<InboundSecurityRuleData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<NetworkResourceData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from NetworkResourceData)
IJsonModel<NetworkResourceData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from NetworkResourceData)
IPersistableModel<InboundSecurityRuleData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<InboundSecurityRuleData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<InboundSecurityRuleData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<NetworkResourceData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from NetworkResourceData)
IPersistableModel<NetworkResourceData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from NetworkResourceData)
IPersistableModel<NetworkResourceData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from NetworkResourceData)

Applies to