NetworkSecurityGroupData Class

Definition

Compatibility declaration for the NetworkSecurityGroupData type.

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

Constructors

Name Description
NetworkSecurityGroupData()

Initializes a new instance of NetworkSecurityGroupData.

Properties

Name Description
DefaultSecurityRules

The default security rules of network security group.

ETag

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

FlowLogs

A collection of references to flow log resources.

FlushConnection

When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation.

Id

Resource ID.

(Inherited from NetworkTrackedResourceData)
Location

Resource location.

(Inherited from NetworkTrackedResourceData)
Name

Resource name.

(Inherited from NetworkTrackedResourceData)
NetworkInterfaces

A collection of references to network interfaces.

ProvisioningState

The provisioning state of the network security group resource.

ResourceGuid

Gets the ResourceGuid compatibility property.

ResourceType

Compatibility member.

(Inherited from NetworkTrackedResourceData)
SecurityRules

A collection of security rules of the network security group.

Subnets

A collection of references to subnets.

Tags

Resource tags.

(Inherited from NetworkTrackedResourceData)
Type

Resource type.

(Inherited from NetworkTrackedResourceData)

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<NetworkSecurityGroupData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<NetworkSecurityGroupData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<NetworkTrackedResourceData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from NetworkTrackedResourceData)
IPersistableModel<NetworkSecurityGroupData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NetworkSecurityGroupData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<NetworkSecurityGroupData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<NetworkTrackedResourceData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from NetworkTrackedResourceData)

Applies to