ArmDevTestLabsModelFactory.DevTestLabDiskData Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Initialisiert eine neue instance von DevTestLabDiskData.
public static Azure.ResourceManager.DevTestLabs.DevTestLabDiskData DevTestLabDiskData (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.DevTestLabs.Models.DevTestLabStorageType? diskType = default, int? diskSizeGiB = default, Azure.Core.ResourceIdentifier leasedByLabVmId = default, string diskBlobName = default, Uri diskUri = default, string storageAccountId = default, DateTimeOffset? createdOn = default, string hostCaching = default, Azure.Core.ResourceIdentifier managedDiskId = default, string provisioningState = default, Guid? uniqueIdentifier = default);
static member DevTestLabDiskData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ResourceManager.DevTestLabs.Models.DevTestLabStorageType> * Nullable<int> * Azure.Core.ResourceIdentifier * string * Uri * string * Nullable<DateTimeOffset> * string * Azure.Core.ResourceIdentifier * string * Nullable<Guid> -> Azure.ResourceManager.DevTestLabs.DevTestLabDiskData
Public Shared Function DevTestLabDiskData (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 diskType As Nullable(Of DevTestLabStorageType) = Nothing, Optional diskSizeGiB As Nullable(Of Integer) = Nothing, Optional leasedByLabVmId As ResourceIdentifier = Nothing, Optional diskBlobName As String = Nothing, Optional diskUri As Uri = Nothing, Optional storageAccountId As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional hostCaching As String = Nothing, Optional managedDiskId As ResourceIdentifier = Nothing, Optional provisioningState As String = Nothing, Optional uniqueIdentifier As Nullable(Of Guid) = Nothing) As DevTestLabDiskData
Parameter
Die ID.
- name
- String
Der Name.
- resourceType
- ResourceType
Der resourceType.
- systemData
- SystemData
SystemDaten.
- tags
- IDictionary<String,String>
Die Tags.
- location
- AzureLocation
Der Speicherort.
- diskType
- Nullable<DevTestLabStorageType>
Der Speichertyp für den Datenträger (d. h. Standard, Premium).
- leasedByLabVmId
- ResourceIdentifier
Die Ressourcen-ID des virtuellen Computers, für den dieser Datenträger geleast ist.
- diskBlobName
- String
Bei Unterstützung durch ein Blob der Name des VHD-Blobs ohne Erweiterung.
- diskUri
- Uri
Bei Unterstützung durch ein Blob ist der URI des zugrunde liegenden Blobs.
- storageAccountId
- String
Bei Unterstützung durch ein Blob das Speicherkonto, in dem sich das Blob befindet.
- createdOn
- Nullable<DateTimeOffset>
Das Erstellungsdatum des Datenträgers.
- hostCaching
- String
Die Hostzwischenspeicherungsrichtlinie des Datenträgers (d. h. None, ReadOnly, ReadWrite).
- managedDiskId
- ResourceIdentifier
Wenn dies von einem verwalteten Datenträger unterstützt wird, ist dies die ID der Computedatenträgerressource.
- provisioningState
- String
Der Bereitstellungs-status der Ressource.
Gibt zurück
Eine neue DevTestLabDiskData instance zum Mocking.
Gilt für:
Azure SDK for .NET