Delen via


NetworkSecurityGroup Class

Definition

NetworkSecurityGroup resource.

[Microsoft.Rest.Serialization.JsonTransformation]
public class NetworkSecurityGroup : Microsoft.Azure.Management.Network.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type NetworkSecurityGroup = class
    inherit Resource
Public Class NetworkSecurityGroup
Inherits Resource
Inheritance
NetworkSecurityGroup
Attributes

Constructors

NetworkSecurityGroup()

Initializes a new instance of the NetworkSecurityGroup class.

NetworkSecurityGroup(String, String, String, String, IDictionary<String, String>, Nullable<Boolean>, IList<SecurityRule>, IList<SecurityRule>, IList<NetworkInterface>, IList<Subnet>, IList<FlowLog>, String, String, String)

Initializes a new instance of the NetworkSecurityGroup class.

Properties

DefaultSecurityRules

Gets the default security rules of network security group.

Etag

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

FlowLogs

Gets a collection of references to flow log resources.

FlushConnection

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

Id

Gets or sets resource ID.

(Inherited from Resource)
Location

Gets or sets resource location.

(Inherited from Resource)
Name

Gets resource name.

(Inherited from Resource)
NetworkInterfaces

Gets a collection of references to network interfaces.

ProvisioningState

Gets the provisioning state of the network security group resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

ResourceGuid

Gets the resource GUID property of the network security group resource.

SecurityRules

Gets or sets a collection of security rules of the network security group.

Subnets

Gets a collection of references to subnets.

Tags

Gets or sets resource tags.

(Inherited from Resource)
Type

Gets resource type.

(Inherited from Resource)

Applies to