Partilhar via


ArmComputeModelFactory.RestorePointSourceMetadata Method

Definition

Initializes a new instance of RestorePointSourceMetadata.

public static Azure.ResourceManager.Compute.Models.RestorePointSourceMetadata RestorePointSourceMetadata (Azure.ResourceManager.Compute.Models.VirtualMachineHardwareProfile hardwareProfile = default, Azure.ResourceManager.Compute.Models.RestorePointSourceVmStorageProfile storageProfile = default, Azure.ResourceManager.Compute.Models.VirtualMachineOSProfile osProfile = default, Azure.ResourceManager.Compute.Models.BootDiagnostics bootDiagnostics = default, string licenseType = default, string vmId = default, Azure.ResourceManager.Compute.Models.SecurityProfile securityProfile = default, Azure.Core.AzureLocation? location = default, string userData = default, Azure.ResourceManager.Compute.Models.HyperVGeneration? hyperVGeneration = default);
static member RestorePointSourceMetadata : Azure.ResourceManager.Compute.Models.VirtualMachineHardwareProfile * Azure.ResourceManager.Compute.Models.RestorePointSourceVmStorageProfile * Azure.ResourceManager.Compute.Models.VirtualMachineOSProfile * Azure.ResourceManager.Compute.Models.BootDiagnostics * string * string * Azure.ResourceManager.Compute.Models.SecurityProfile * Nullable<Azure.Core.AzureLocation> * string * Nullable<Azure.ResourceManager.Compute.Models.HyperVGeneration> -> Azure.ResourceManager.Compute.Models.RestorePointSourceMetadata
Public Shared Function RestorePointSourceMetadata (Optional hardwareProfile As VirtualMachineHardwareProfile = Nothing, Optional storageProfile As RestorePointSourceVmStorageProfile = Nothing, Optional osProfile As VirtualMachineOSProfile = Nothing, Optional bootDiagnostics As BootDiagnostics = Nothing, Optional licenseType As String = Nothing, Optional vmId As String = Nothing, Optional securityProfile As SecurityProfile = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional userData As String = Nothing, Optional hyperVGeneration As Nullable(Of HyperVGeneration) = Nothing) As RestorePointSourceMetadata

Parameters

hardwareProfile
VirtualMachineHardwareProfile

Gets the hardware profile.

storageProfile
RestorePointSourceVmStorageProfile

Gets the storage profile.

osProfile
VirtualMachineOSProfile

Gets the OS profile.

bootDiagnostics
BootDiagnostics

Gets the diagnostics profile.

licenseType
String

Gets the license type, which is for bring your own license scenario.

vmId
String

Gets the virtual machine unique id.

securityProfile
SecurityProfile

Gets the security profile.

location
Nullable<AzureLocation>

Location of the VM from which the restore point was created.

userData
String

UserData associated with the source VM for which restore point is captured, which is a base-64 encoded value.

hyperVGeneration
Nullable<HyperVGeneration>

HyperVGeneration of the source VM for which restore point is captured.

Returns

A new RestorePointSourceMetadata instance for mocking.

Applies to