Freigeben über


SubnetReference Class

Definition

Defines reference to subnet.

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

Constructors

Name Description
SubnetReference()

Creates an new SubnetReference instance.

Properties

Name Description
Name

Gets the name of the proxy resource on the target side.

SourceArmResourceId

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

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SubnetReference.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SubnetReference.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SubnetReference into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to