NetworkSecurityGroup Class

Definition

NetworkSecurityGroup resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.NetworkSecurityGroupTypeConverter))]
public class NetworkSecurityGroup : Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.INetworkSecurityGroup, Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.NetworkSecurityGroupTypeConverter))>]
type NetworkSecurityGroup = class
    interface INetworkSecurityGroup
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class NetworkSecurityGroup
Implements INetworkSecurityGroup, IValidates
Inheritance
NetworkSecurityGroup
Attributes
Implements

Constructors

NetworkSecurityGroup()

Creates an new NetworkSecurityGroup instance.

Properties

DefaultSecurityRule

The default security rules of network security group.

Etag

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

FlowLog

A collection of references to flow log resources.

Id

Resource ID.

Location

Resource location.

Name

Resource name.

NetworkInterface

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.

SecurityRule

A collection of security rules of the network security group.

Subnet

A collection of references to subnets.

Tag

Resource tags.

Type

Resource type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of NetworkSecurityGroup.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of NetworkSecurityGroup.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.INetworkSecurityGroup.

FromJsonString(String)

Creates a new instance of NetworkSecurityGroup, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of NetworkSecurityGroup into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to