NetworkSecurityGroupResourceSettings Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the NSG resource settings.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.NetworkSecurityGroupResourceSettingsTypeConverter))]
public class NetworkSecurityGroupResourceSettings : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.INetworkSecurityGroupResourceSettings, Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.NetworkSecurityGroupResourceSettingsTypeConverter))>]
type NetworkSecurityGroupResourceSettings = class
interface INetworkSecurityGroupResourceSettings
interface IJsonSerializable
interface IResourceSettings
interface IValidates
Public Class NetworkSecurityGroupResourceSettings
Implements INetworkSecurityGroupResourceSettings, IValidates
- Inheritance
-
NetworkSecurityGroupResourceSettings
- Attributes
- Implements
Constructors
NetworkSecurityGroupResourceSettings() |
Creates an new NetworkSecurityGroupResourceSettings instance. |
Properties
ResourceType |
The resource type. For example, the value can be Microsoft.Compute/virtualMachines. |
SecurityRule |
Gets or sets Security rules of network security group. |
Tag |
Gets or sets the Resource tags. |
TargetResourceGroupName |
Gets or sets the target resource group name. |
TargetResourceName |
Gets or sets the target Resource name. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of NetworkSecurityGroupResourceSettings. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of NetworkSecurityGroupResourceSettings. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.INetworkSecurityGroupResourceSettings. |
FromJsonString(String) |
Creates a new instance of NetworkSecurityGroupResourceSettings, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of NetworkSecurityGroupResourceSettings into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |