Sdílet prostřednictvím


NetworkSecurityGroupData Class

Definition

A class representing the NetworkSecurityGroup data model. NetworkSecurityGroup resource.

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

Constructors

NetworkSecurityGroupData()

Initializes a new instance of NetworkSecurityGroupData.

Properties

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

The resource GUID property of the network security group resource.

ResourceType

Resource type.

(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)

Explicit Interface Implementations

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