次の方法で共有


VirtualNetworkResourceSettings Class

Definition

Defines the virtual network resource settings.

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

Constructors

VirtualNetworkResourceSettings()

Creates an new VirtualNetworkResourceSettings instance.

Properties

AddressSpace

Gets or sets the address prefixes for the virtual network.

DnsServer

Gets or sets DHCPOptions that contains an array of DNS servers available to VMs deployed in the virtual network.

EnableDdosProtection

Gets or sets a value indicating whether gets or sets whether the DDOS protection should be switched on.

ResourceType

The resource type. For example, the value can be Microsoft.Compute/virtualMachines.

Subnet

Gets or sets List of subnets in a VirtualNetwork.

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 VirtualNetworkResourceSettings.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of VirtualNetworkResourceSettings.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of VirtualNetworkResourceSettings into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to