Udostępnij za pośrednictwem


DataBoxDiskJobDetailsPreferredDisks Class

Definition

User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.DataBoxDiskJobDetailsPreferredDisksTypeConverter))]
public class DataBoxDiskJobDetailsPreferredDisks : Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.IDataBoxDiskJobDetailsPreferredDisks, Microsoft.Azure.PowerShell.Cmdlets.DataBox.Runtime.IAssociativeArray<int>
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.DataBoxDiskJobDetailsPreferredDisksTypeConverter))>]
type DataBoxDiskJobDetailsPreferredDisks = class
    interface IDataBoxDiskJobDetailsPreferredDisks
    interface IJsonSerializable
    interface IAssociativeArray<int>
Public Class DataBoxDiskJobDetailsPreferredDisks
Implements IAssociativeArray(Of Integer), IDataBoxDiskJobDetailsPreferredDisks
Inheritance
DataBoxDiskJobDetailsPreferredDisks
Attributes
Implements

Constructors

DataBoxDiskJobDetailsPreferredDisks()

Creates an new DataBoxDiskJobDetailsPreferredDisks instance.

Fields

__additionalProperties

Properties

Item[String]

Methods

Add(String, Int32)
Clear()
ContainsKey(String)
CopyFrom(IDictionary)
CopyFrom(PSObject)
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DataBoxDiskJobDetailsPreferredDisks.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DataBoxDiskJobDetailsPreferredDisks.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.IDataBoxDiskJobDetailsPreferredDisks.

FromJsonString(String)

Creates a new instance of DataBoxDiskJobDetailsPreferredDisks, deserializing the content from a json string.

Remove(String)
ToJson(JsonObject, SerializationMode)

Serializes this instance of DataBoxDiskJobDetailsPreferredDisks into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

TryGetValue(String, Int32)

Operators

Implicit(DataBoxDiskJobDetailsPreferredDisks to Dictionary<String,Int32>)

Explicit Interface Implementations

IAssociativeArray<Int32>.AdditionalProperties
IAssociativeArray<Int32>.Count
IAssociativeArray<Int32>.Keys
IAssociativeArray<Int32>.Values

Applies to