ArmComputeModelFactory.DiskImageData 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.DiskImageData DiskImageData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.Compute.Models.ImageStorageProfile storageProfile = default, string provisioningState = default, Azure.ResourceManager.Compute.Models.HyperVGeneration? hyperVGeneration = default, Azure.Core.ResourceIdentifier sourceVirtualMachineId = default, Azure.ResourceManager.Resources.Models.ExtendedLocation extendedLocation = default);
static member DiskImageData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Compute.Models.ImageStorageProfile * string * Nullable<Azure.ResourceManager.Compute.Models.HyperVGeneration> * Azure.Core.ResourceIdentifier * Azure.ResourceManager.Resources.Models.ExtendedLocation -> Azure.ResourceManager.Compute.DiskImageData
Public Shared Function DiskImageData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional storageProfile As ImageStorageProfile = Nothing, Optional provisioningState As String = Nothing, Optional hyperVGeneration As Nullable(Of HyperVGeneration) = Nothing, Optional sourceVirtualMachineId As ResourceIdentifier = Nothing, Optional extendedLocation As ExtendedLocation = Nothing) As DiskImageData
Parameters
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- String
The name of the resource.
- resourceType
- ResourceType
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- systemData
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- tags
- IDictionary<String,String>
Resource tags.
- location
- AzureLocation
The geo-location where the resource lives.
- 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.
- extendedLocation
- ExtendedLocation
The extended location of the Image.
Returns
A new DiskImageData instance for mocking.