ArmMachineLearningModelFactory.MachineLearningComputeInstanceDataDisk 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.
Initializes a new instance of MachineLearningComputeInstanceDataDisk.
public static Azure.ResourceManager.MachineLearning.Models.MachineLearningComputeInstanceDataDisk MachineLearningComputeInstanceDataDisk (Azure.ResourceManager.MachineLearning.Models.MachineLearningCachingType? caching = default, int? diskSizeGB = default, int? lun = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningStorageAccountType? storageAccountType = default);
static member MachineLearningComputeInstanceDataDisk : Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningCachingType> * Nullable<int> * Nullable<int> * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningStorageAccountType> -> Azure.ResourceManager.MachineLearning.Models.MachineLearningComputeInstanceDataDisk
Public Shared Function MachineLearningComputeInstanceDataDisk (Optional caching As Nullable(Of MachineLearningCachingType) = Nothing, Optional diskSizeGB As Nullable(Of Integer) = Nothing, Optional lun As Nullable(Of Integer) = Nothing, Optional storageAccountType As Nullable(Of MachineLearningStorageAccountType) = Nothing) As MachineLearningComputeInstanceDataDisk
Parameters
- caching
- Nullable<MachineLearningCachingType>
Caching type of Data Disk.
The lun is used to uniquely identify each data disk. If attaching multiple disks, each should have a distinct lun.
- storageAccountType
- Nullable<MachineLearningStorageAccountType>
type of this storage account.
Returns
A new MachineLearningComputeInstanceDataDisk instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET