azure-docs-sdk-java/archive/docs-ref-autogen/com.microsoft.azure.managem...

192 строки
14 KiB
YAML

### YamlMime:JavaType
methods:
- fullName: com.microsoft.azure.management.compute.VirtualMachine.UpdateStages.WithManagedDataDisk.withExistingDataDisk(Disk disk)
name: withExistingDataDisk(Disk disk)
nameWithType: VirtualMachine.UpdateStages.WithManagedDataDisk.withExistingDataDisk(Disk disk)
parameters:
- description: <p>a managed disk </p>
name: disk
type: <xref href="com.microsoft.azure.management.compute.Disk?alt=com.microsoft.azure.management.compute.Disk&text=Disk" data-throw-if-not-resolved="False"/>
returns:
description: <p>the next stage of the update </p>
type: <xref href="com.microsoft.azure.management.compute.VirtualMachine.Update?alt=com.microsoft.azure.management.compute.VirtualMachine.Update&text=VirtualMachine.Update" data-throw-if-not-resolved="False"/>
summary: >-
<p>Associates an existing source managed disk with the VM.</p>
<p></p>
syntax: public Update withExistingDataDisk(Disk disk)
uid: com.microsoft.azure.management.compute.VirtualMachine.UpdateStages.WithManagedDataDisk.withExistingDataDisk(Disk)
- fullName: com.microsoft.azure.management.compute.VirtualMachine.UpdateStages.WithManagedDataDisk.withExistingDataDisk(Disk disk, int lun, CachingTypes cachingType)
name: withExistingDataDisk(Disk disk, int lun, CachingTypes cachingType)
nameWithType: VirtualMachine.UpdateStages.WithManagedDataDisk.withExistingDataDisk(Disk disk, int lun, CachingTypes cachingType)
parameters:
- description: <p>the managed disk </p>
name: disk
type: <xref href="com.microsoft.azure.management.compute.Disk?alt=com.microsoft.azure.management.compute.Disk&text=Disk" data-throw-if-not-resolved="False"/>
- description: <p>the disk LUN </p>
name: lun
type: <xref href="int?alt=int&text=int" data-throw-if-not-resolved="False"/>
- description: <p>a caching type </p>
name: cachingType
type: <xref href="com.microsoft.azure.management.compute.CachingTypes?alt=com.microsoft.azure.management.compute.CachingTypes&text=CachingTypes" data-throw-if-not-resolved="False"/>
returns:
description: <p>the next stage of the update </p>
type: <xref href="com.microsoft.azure.management.compute.VirtualMachine.Update?alt=com.microsoft.azure.management.compute.VirtualMachine.Update&text=VirtualMachine.Update" data-throw-if-not-resolved="False"/>
summary: >-
<p>Specifies an existing source managed disk and settings.</p>
<p></p>
syntax: public Update withExistingDataDisk(Disk disk, int lun, CachingTypes cachingType)
uid: com.microsoft.azure.management.compute.VirtualMachine.UpdateStages.WithManagedDataDisk.withExistingDataDisk(Disk,int,CachingTypes)
- fullName: com.microsoft.azure.management.compute.VirtualMachine.UpdateStages.WithManagedDataDisk.withExistingDataDisk(Disk disk, int newSizeInGB, int lun, CachingTypes cachingType)
name: withExistingDataDisk(Disk disk, int newSizeInGB, int lun, CachingTypes cachingType)
nameWithType: VirtualMachine.UpdateStages.WithManagedDataDisk.withExistingDataDisk(Disk disk, int newSizeInGB, int lun, CachingTypes cachingType)
parameters:
- description: <p>a managed disk </p>
name: disk
type: <xref href="com.microsoft.azure.management.compute.Disk?alt=com.microsoft.azure.management.compute.Disk&text=Disk" data-throw-if-not-resolved="False"/>
- description: <p>the disk resize size in GB </p>
name: newSizeInGB
type: <xref href="int?alt=int&text=int" data-throw-if-not-resolved="False"/>
- description: <p>the disk LUN </p>
name: lun
type: <xref href="int?alt=int&text=int" data-throw-if-not-resolved="False"/>
- description: <p>a caching type </p>
name: cachingType
type: <xref href="com.microsoft.azure.management.compute.CachingTypes?alt=com.microsoft.azure.management.compute.CachingTypes&text=CachingTypes" data-throw-if-not-resolved="False"/>
returns:
description: <p>the next stage of the update </p>
type: <xref href="com.microsoft.azure.management.compute.VirtualMachine.Update?alt=com.microsoft.azure.management.compute.VirtualMachine.Update&text=VirtualMachine.Update" data-throw-if-not-resolved="False"/>
summary: >-
<p>Specifies an existing source managed disk and settings.</p>
<p></p>
syntax: public Update withExistingDataDisk(Disk disk, int newSizeInGB, int lun, CachingTypes cachingType)
uid: com.microsoft.azure.management.compute.VirtualMachine.UpdateStages.WithManagedDataDisk.withExistingDataDisk(Disk,int,int,CachingTypes)
- fullName: com.microsoft.azure.management.compute.VirtualMachine.UpdateStages.WithManagedDataDisk.withNewDataDisk(Creatable<Disk> creatable)
name: withNewDataDisk(Creatable<Disk> creatable)
nameWithType: VirtualMachine.UpdateStages.WithManagedDataDisk.withNewDataDisk(Creatable<Disk> creatable)
parameters:
- description: <p>a creatable disk definition </p>
name: creatable
type: <xref href="com.microsoft.azure.management.resources.fluentcore.model.Creatable?alt=com.microsoft.azure.management.resources.fluentcore.model.Creatable&text=Creatable" data-throw-if-not-resolved="False"/>&lt;<xref href="com.microsoft.azure.management.compute.Disk?alt=com.microsoft.azure.management.compute.Disk&text=Disk" data-throw-if-not-resolved="False"/>&gt;
returns:
description: <p>the next stage of the update </p>
type: <xref href="com.microsoft.azure.management.compute.VirtualMachine.Update?alt=com.microsoft.azure.management.compute.VirtualMachine.Update&text=VirtualMachine.Update" data-throw-if-not-resolved="False"/>
summary: >-
<p>Specifies that a managed disk needs to be created explicitly with the given definition and attached to the virtual machine as a data disk.</p>
<p></p>
syntax: public Update withNewDataDisk(Creatable<Disk> creatable)
uid: com.microsoft.azure.management.compute.VirtualMachine.UpdateStages.WithManagedDataDisk.withNewDataDisk(Creatable<Disk>)
- fullName: com.microsoft.azure.management.compute.VirtualMachine.UpdateStages.WithManagedDataDisk.withNewDataDisk(Creatable<Disk> creatable, int lun, CachingTypes cachingType)
name: withNewDataDisk(Creatable<Disk> creatable, int lun, CachingTypes cachingType)
nameWithType: VirtualMachine.UpdateStages.WithManagedDataDisk.withNewDataDisk(Creatable<Disk> creatable, int lun, CachingTypes cachingType)
parameters:
- description: <p>a creatable disk definition </p>
name: creatable
type: <xref href="com.microsoft.azure.management.resources.fluentcore.model.Creatable?alt=com.microsoft.azure.management.resources.fluentcore.model.Creatable&text=Creatable" data-throw-if-not-resolved="False"/>&lt;<xref href="com.microsoft.azure.management.compute.Disk?alt=com.microsoft.azure.management.compute.Disk&text=Disk" data-throw-if-not-resolved="False"/>&gt;
- description: <p>the data disk LUN </p>
name: lun
type: <xref href="int?alt=int&text=int" data-throw-if-not-resolved="False"/>
- description: <p>a data disk caching type </p>
name: cachingType
type: <xref href="com.microsoft.azure.management.compute.CachingTypes?alt=com.microsoft.azure.management.compute.CachingTypes&text=CachingTypes" data-throw-if-not-resolved="False"/>
returns:
description: <p>the next stage of the update </p>
type: <xref href="com.microsoft.azure.management.compute.VirtualMachine.Update?alt=com.microsoft.azure.management.compute.VirtualMachine.Update&text=VirtualMachine.Update" data-throw-if-not-resolved="False"/>
summary: >-
<p>Specifies that a managed disk needs to be created explicitly with the given definition and attached to the virtual machine as a data disk.</p>
<p></p>
syntax: public Update withNewDataDisk(Creatable<Disk> creatable, int lun, CachingTypes cachingType)
uid: com.microsoft.azure.management.compute.VirtualMachine.UpdateStages.WithManagedDataDisk.withNewDataDisk(Creatable<Disk>,int,CachingTypes)
- fullName: com.microsoft.azure.management.compute.VirtualMachine.UpdateStages.WithManagedDataDisk.withNewDataDisk(int sizeInGB)
name: withNewDataDisk(int sizeInGB)
nameWithType: VirtualMachine.UpdateStages.WithManagedDataDisk.withNewDataDisk(int sizeInGB)
parameters:
- description: <p>the size of the managed disk </p>
name: sizeInGB
type: <xref href="int?alt=int&text=int" data-throw-if-not-resolved="False"/>
returns:
description: <p>the next stage of the update </p>
type: <xref href="com.microsoft.azure.management.compute.VirtualMachine.Update?alt=com.microsoft.azure.management.compute.VirtualMachine.Update&text=VirtualMachine.Update" data-throw-if-not-resolved="False"/>
summary: >-
<p>Specifies that a managed disk needs to be created implicitly with the given size.</p>
<p></p>
syntax: public Update withNewDataDisk(int sizeInGB)
uid: com.microsoft.azure.management.compute.VirtualMachine.UpdateStages.WithManagedDataDisk.withNewDataDisk(int)
- fullName: com.microsoft.azure.management.compute.VirtualMachine.UpdateStages.WithManagedDataDisk.withNewDataDisk(int sizeInGB, int lun, CachingTypes cachingType)
name: withNewDataDisk(int sizeInGB, int lun, CachingTypes cachingType)
nameWithType: VirtualMachine.UpdateStages.WithManagedDataDisk.withNewDataDisk(int sizeInGB, int lun, CachingTypes cachingType)
parameters:
- description: <p>the size of the managed disk </p>
name: sizeInGB
type: <xref href="int?alt=int&text=int" data-throw-if-not-resolved="False"/>
- description: <p>the disk LUN </p>
name: lun
type: <xref href="int?alt=int&text=int" data-throw-if-not-resolved="False"/>
- description: <p>a caching type </p>
name: cachingType
type: <xref href="com.microsoft.azure.management.compute.CachingTypes?alt=com.microsoft.azure.management.compute.CachingTypes&text=CachingTypes" data-throw-if-not-resolved="False"/>
returns:
description: <p>the next stage of the update </p>
type: <xref href="com.microsoft.azure.management.compute.VirtualMachine.Update?alt=com.microsoft.azure.management.compute.VirtualMachine.Update&text=VirtualMachine.Update" data-throw-if-not-resolved="False"/>
summary: >-
<p>Specifies that a managed disk needs to be created implicitly with the given settings.</p>
<p></p>
syntax: public Update withNewDataDisk(int sizeInGB, int lun, CachingTypes cachingType)
uid: com.microsoft.azure.management.compute.VirtualMachine.UpdateStages.WithManagedDataDisk.withNewDataDisk(int,int,CachingTypes)
- fullName: com.microsoft.azure.management.compute.VirtualMachine.UpdateStages.WithManagedDataDisk.withNewDataDisk(int sizeInGB, int lun, CachingTypes cachingType, StorageAccountTypes storageAccountType)
name: withNewDataDisk(int sizeInGB, int lun, CachingTypes cachingType, StorageAccountTypes storageAccountType)
nameWithType: VirtualMachine.UpdateStages.WithManagedDataDisk.withNewDataDisk(int sizeInGB, int lun, CachingTypes cachingType, StorageAccountTypes storageAccountType)
parameters:
- description: <p>the size of the managed disk </p>
name: sizeInGB
type: <xref href="int?alt=int&text=int" data-throw-if-not-resolved="False"/>
- description: <p>the disk LUN </p>
name: lun
type: <xref href="int?alt=int&text=int" data-throw-if-not-resolved="False"/>
- description: <p>a caching type </p>
name: cachingType
type: <xref href="com.microsoft.azure.management.compute.CachingTypes?alt=com.microsoft.azure.management.compute.CachingTypes&text=CachingTypes" data-throw-if-not-resolved="False"/>
- description: <p>a storage account type </p>
name: storageAccountType
type: <xref href="com.microsoft.azure.management.compute.StorageAccountTypes?alt=com.microsoft.azure.management.compute.StorageAccountTypes&text=StorageAccountTypes" data-throw-if-not-resolved="False"/>
returns:
description: <p>the next stage of the update </p>
type: <xref href="com.microsoft.azure.management.compute.VirtualMachine.Update?alt=com.microsoft.azure.management.compute.VirtualMachine.Update&text=VirtualMachine.Update" data-throw-if-not-resolved="False"/>
summary: >-
<p>Specifies that a managed disk needs to be created implicitly with the given settings.</p>
<p></p>
syntax: public Update withNewDataDisk(int sizeInGB, int lun, CachingTypes cachingType, StorageAccountTypes storageAccountType)
uid: com.microsoft.azure.management.compute.VirtualMachine.UpdateStages.WithManagedDataDisk.withNewDataDisk(int,int,CachingTypes,StorageAccountTypes)
- fullName: com.microsoft.azure.management.compute.VirtualMachine.UpdateStages.WithManagedDataDisk.withoutDataDisk(int lun)
name: withoutDataDisk(int lun)
nameWithType: VirtualMachine.UpdateStages.WithManagedDataDisk.withoutDataDisk(int lun)
parameters:
- description: <p>the disk LUN </p>
name: lun
type: <xref href="int?alt=int&text=int" data-throw-if-not-resolved="False"/>
returns:
description: <p>the next stage of the update </p>
type: <xref href="com.microsoft.azure.management.compute.VirtualMachine.Update?alt=com.microsoft.azure.management.compute.VirtualMachine.Update&text=VirtualMachine.Update" data-throw-if-not-resolved="False"/>
summary: >-
<p>Detaches a managed data disk with the given LUN from the virtual machine.</p>
<p></p>
syntax: public Update withoutDataDisk(int lun)
uid: com.microsoft.azure.management.compute.VirtualMachine.UpdateStages.WithManagedDataDisk.withoutDataDisk(int)
nameWithType: VirtualMachine.UpdateStages.WithManagedDataDisk
syntax: public interface WithManagedDataDisk
type: interface
uid: com.microsoft.azure.management.compute.VirtualMachine.UpdateStages.WithManagedDataDisk
fullName: com.microsoft.azure.management.compute.VirtualMachine.UpdateStages.WithManagedDataDisk
name: VirtualMachine.UpdateStages.WithManagedDataDisk
package: com.microsoft.azure.management.compute
summary: <p>The stage of a virtual machine update allowing to specify a managed data disk. </p>
metadata: {}