ArmNetworkCloudModelFactory.MachineDisk 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 MachineDisk.
public static Azure.ResourceManager.NetworkCloud.Models.MachineDisk MachineDisk (long? capacityGB = default, Azure.ResourceManager.NetworkCloud.Models.MachineSkuDiskConnectionType? connection = default, Azure.ResourceManager.NetworkCloud.Models.DiskType? diskType = default);
static member MachineDisk : Nullable<int64> * Nullable<Azure.ResourceManager.NetworkCloud.Models.MachineSkuDiskConnectionType> * Nullable<Azure.ResourceManager.NetworkCloud.Models.DiskType> -> Azure.ResourceManager.NetworkCloud.Models.MachineDisk
Public Shared Function MachineDisk (Optional capacityGB As Nullable(Of Long) = Nothing, Optional connection As Nullable(Of MachineSkuDiskConnectionType) = Nothing, Optional diskType As Nullable(Of DiskType) = Nothing) As MachineDisk
Parameters
- connection
- Nullable<MachineSkuDiskConnectionType>
The connection type of the rack SKU resource.
Returns
A new MachineDisk 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