Share via


NsgReference Class

Definition

Defines reference to NSG.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.NsgReferenceTypeConverter))]
public class NsgReference : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.INsgReference, Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.NsgReferenceTypeConverter))>]
type NsgReference = class
    interface INsgReference
    interface IJsonSerializable
    interface IAzureResourceReference
    interface IValidates
Public Class NsgReference
Implements INsgReference, IValidates
Inheritance
NsgReference
Attributes
Implements

Constructors

NsgReference()

Creates an new NsgReference instance.

Properties

SourceArmResourceId

Gets the ARM resource ID of the tracked resource being referenced.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of NsgReference.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of NsgReference.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.INsgReference.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of NsgReference into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to