ArmComputeModelFactory.DiskImagePatch Method
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.
public static Azure.ResourceManager.Compute.Models.DiskImagePatch DiskImagePatch(System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ResourceManager.Compute.Models.ImageStorageProfile storageProfile = default, string provisioningState = default, Azure.ResourceManager.Compute.Models.HyperVGeneration? hyperVGeneration = default, Azure.Core.ResourceIdentifier sourceVirtualMachineId = default);
static member DiskImagePatch : System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.Compute.Models.ImageStorageProfile * string * Nullable<Azure.ResourceManager.Compute.Models.HyperVGeneration> * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Compute.Models.DiskImagePatch
Public Shared Function DiskImagePatch (Optional tags As IDictionary(Of String, String) = Nothing, Optional storageProfile As ImageStorageProfile = Nothing, Optional provisioningState As String = Nothing, Optional hyperVGeneration As Nullable(Of HyperVGeneration) = Nothing, Optional sourceVirtualMachineId As ResourceIdentifier = Nothing) As DiskImagePatch
Parameters
- tags
- IDictionary<String,String>
Resource tags.
- storageProfile
- ImageStorageProfile
Specifies the storage settings for the virtual machine disks.
- provisioningState
- String
The provisioning state.
- hyperVGeneration
- Nullable<HyperVGeneration>
Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed resource.
- sourceVirtualMachineId
- ResourceIdentifier
Resource Id.
Returns
A new DiskImagePatch instance for mocking.