132 строки
9.1 KiB
YAML
132 строки
9.1 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.microsoft.azure.batch.protocol.models.DataDisk"
|
|
fullName: "com.microsoft.azure.batch.protocol.models.DataDisk"
|
|
name: "DataDisk"
|
|
nameWithType: "DataDisk"
|
|
summary: "Settings which will be used by the data disks associated to Compute Nodes in the Pool."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
methodsRef:
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
|
|
syntax: "public class **DataDisk**"
|
|
constructors:
|
|
- uid: "com.microsoft.azure.batch.protocol.models.DataDisk.DataDisk()"
|
|
fullName: "com.microsoft.azure.batch.protocol.models.DataDisk.DataDisk()"
|
|
name: "DataDisk()"
|
|
nameWithType: "DataDisk.DataDisk()"
|
|
syntax: "public DataDisk()"
|
|
methods:
|
|
- uid: "com.microsoft.azure.batch.protocol.models.DataDisk.caching()"
|
|
fullName: "com.microsoft.azure.batch.protocol.models.DataDisk.caching()"
|
|
name: "caching()"
|
|
nameWithType: "DataDisk.caching()"
|
|
summary: "Get the default value for caching is readwrite."
|
|
syntax: "public CachingType caching()"
|
|
desc: "Get the default value for caching is readwrite. For information about the caching options see: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. Possible values include: 'none', 'readOnly', 'readWrite'."
|
|
returns:
|
|
description: "the caching value"
|
|
type: "<xref href=\"com.microsoft.azure.batch.protocol.models.CachingType?alt=com.microsoft.azure.batch.protocol.models.CachingType&text=CachingType\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.batch.protocol.models.DataDisk.diskSizeGB()"
|
|
fullName: "com.microsoft.azure.batch.protocol.models.DataDisk.diskSizeGB()"
|
|
name: "diskSizeGB()"
|
|
nameWithType: "DataDisk.diskSizeGB()"
|
|
summary: "Get the disk<wbr>SizeGB value."
|
|
syntax: "public int diskSizeGB()"
|
|
desc: "Get the diskSizeGB value."
|
|
returns:
|
|
description: "the diskSizeGB value"
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.batch.protocol.models.DataDisk.lun()"
|
|
fullName: "com.microsoft.azure.batch.protocol.models.DataDisk.lun()"
|
|
name: "lun()"
|
|
nameWithType: "DataDisk.lun()"
|
|
summary: "Get the lun is used to uniquely identify each data disk."
|
|
syntax: "public int lun()"
|
|
desc: "Get the lun is used to uniquely identify each data disk. If attaching multiple disks, each should have a distinct lun. The value must be between 0 and 63, inclusive."
|
|
returns:
|
|
description: "the lun value"
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.batch.protocol.models.DataDisk.storageAccountType()"
|
|
fullName: "com.microsoft.azure.batch.protocol.models.DataDisk.storageAccountType()"
|
|
name: "storageAccountType()"
|
|
nameWithType: "DataDisk.storageAccountType()"
|
|
summary: "Get if omitted, the default is \"standard\\_lrs\"."
|
|
syntax: "public StorageAccountType storageAccountType()"
|
|
desc: "Get if omitted, the default is \"standard\\_lrs\". Possible values include: 'StandardLRS', 'PremiumLRS', 'StandardSSDLRS'."
|
|
returns:
|
|
description: "the storageAccountType value"
|
|
type: "<xref href=\"com.microsoft.azure.batch.protocol.models.StorageAccountType?alt=com.microsoft.azure.batch.protocol.models.StorageAccountType&text=StorageAccountType\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.batch.protocol.models.DataDisk.withCaching(com.microsoft.azure.batch.protocol.models.CachingType)"
|
|
fullName: "com.microsoft.azure.batch.protocol.models.DataDisk.withCaching(CachingType caching)"
|
|
name: "withCaching(CachingType caching)"
|
|
nameWithType: "DataDisk.withCaching(CachingType caching)"
|
|
summary: "Set the default value for caching is readwrite."
|
|
parameters:
|
|
- description: "the caching value to set"
|
|
name: "caching"
|
|
type: "<xref href=\"com.microsoft.azure.batch.protocol.models.CachingType?alt=com.microsoft.azure.batch.protocol.models.CachingType&text=CachingType\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public DataDisk withCaching(CachingType caching)"
|
|
desc: "Set the default value for caching is readwrite. For information about the caching options see: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. Possible values include: 'none', 'readOnly', 'readWrite'."
|
|
returns:
|
|
description: "the DataDisk object itself."
|
|
type: "<xref href=\"com.microsoft.azure.batch.protocol.models.DataDisk?alt=com.microsoft.azure.batch.protocol.models.DataDisk&text=DataDisk\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.batch.protocol.models.DataDisk.withDiskSizeGB(int)"
|
|
fullName: "com.microsoft.azure.batch.protocol.models.DataDisk.withDiskSizeGB(int diskSizeGB)"
|
|
name: "withDiskSizeGB(int diskSizeGB)"
|
|
nameWithType: "DataDisk.withDiskSizeGB(int diskSizeGB)"
|
|
summary: "Set the disk<wbr>SizeGB value."
|
|
parameters:
|
|
- description: "the diskSizeGB value to set"
|
|
name: "diskSizeGB"
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public DataDisk withDiskSizeGB(int diskSizeGB)"
|
|
desc: "Set the diskSizeGB value."
|
|
returns:
|
|
description: "the DataDisk object itself."
|
|
type: "<xref href=\"com.microsoft.azure.batch.protocol.models.DataDisk?alt=com.microsoft.azure.batch.protocol.models.DataDisk&text=DataDisk\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.batch.protocol.models.DataDisk.withLun(int)"
|
|
fullName: "com.microsoft.azure.batch.protocol.models.DataDisk.withLun(int lun)"
|
|
name: "withLun(int lun)"
|
|
nameWithType: "DataDisk.withLun(int lun)"
|
|
summary: "Set the lun is used to uniquely identify each data disk."
|
|
parameters:
|
|
- description: "the lun value to set"
|
|
name: "lun"
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public DataDisk withLun(int lun)"
|
|
desc: "Set the lun is used to uniquely identify each data disk. If attaching multiple disks, each should have a distinct lun. The value must be between 0 and 63, inclusive."
|
|
returns:
|
|
description: "the DataDisk object itself."
|
|
type: "<xref href=\"com.microsoft.azure.batch.protocol.models.DataDisk?alt=com.microsoft.azure.batch.protocol.models.DataDisk&text=DataDisk\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.batch.protocol.models.DataDisk.withStorageAccountType(com.microsoft.azure.batch.protocol.models.StorageAccountType)"
|
|
fullName: "com.microsoft.azure.batch.protocol.models.DataDisk.withStorageAccountType(StorageAccountType storageAccountType)"
|
|
name: "withStorageAccountType(StorageAccountType storageAccountType)"
|
|
nameWithType: "DataDisk.withStorageAccountType(StorageAccountType storageAccountType)"
|
|
summary: "Set if omitted, the default is \"standard\\_lrs\"."
|
|
parameters:
|
|
- description: "the storageAccountType value to set"
|
|
name: "storageAccountType"
|
|
type: "<xref href=\"com.microsoft.azure.batch.protocol.models.StorageAccountType?alt=com.microsoft.azure.batch.protocol.models.StorageAccountType&text=StorageAccountType\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public DataDisk withStorageAccountType(StorageAccountType storageAccountType)"
|
|
desc: "Set if omitted, the default is \"standard\\_lrs\". Possible values include: 'StandardLRS', 'PremiumLRS', 'StandardSSDLRS'."
|
|
returns:
|
|
description: "the DataDisk object itself."
|
|
type: "<xref href=\"com.microsoft.azure.batch.protocol.models.DataDisk?alt=com.microsoft.azure.batch.protocol.models.DataDisk&text=DataDisk\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "Settings which will be used by the data disks associated to Compute Nodes in the Pool. When using attached data disks, you need to mount and format the disks from within a VM to use them."
|
|
metadata: {}
|
|
package: "com.microsoft.azure.batch.protocol.models"
|
|
artifact: com.microsoft.azure:azure-batch:11.2.0
|