63 строки
4.2 KiB
YAML
63 строки
4.2 KiB
YAML
### YamlMime:JavaType
|
|
methods:
|
|
- fullName: com.microsoft.azure.management.compute.Disk.DefinitionStages.WithOSDiskFromImage.fromImage(String imageId, OperatingSystemTypes osType)
|
|
name: fromImage(String imageId, OperatingSystemTypes osType)
|
|
nameWithType: Disk.DefinitionStages.WithOSDiskFromImage.fromImage(String imageId, OperatingSystemTypes osType)
|
|
parameters:
|
|
- description: <p>image resource ID </p>
|
|
name: imageId
|
|
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
|
|
- description: <p>operating system type </p>
|
|
name: osType
|
|
type: <xref href="com.microsoft.azure.management.compute.OperatingSystemTypes?alt=com.microsoft.azure.management.compute.OperatingSystemTypes&text=OperatingSystemTypes" data-throw-if-not-resolved="False"/>
|
|
returns:
|
|
description: <p>the next stage of the definition </p>
|
|
type: <xref href="com.microsoft.azure.management.compute.Disk.DefinitionStages.WithCreateAndSize?alt=com.microsoft.azure.management.compute.Disk.DefinitionStages.WithCreateAndSize&text=Disk.DefinitionStages.WithCreateAndSize" data-throw-if-not-resolved="False"/>
|
|
summary: >-
|
|
<p>Specifies the ID of an image containing the operating system.</p>
|
|
|
|
<p></p>
|
|
syntax: public WithCreateAndSize fromImage(String imageId, OperatingSystemTypes osType)
|
|
uid: com.microsoft.azure.management.compute.Disk.DefinitionStages.WithOSDiskFromImage.fromImage(String,OperatingSystemTypes)
|
|
- fullName: com.microsoft.azure.management.compute.Disk.DefinitionStages.WithOSDiskFromImage.fromImage(VirtualMachineCustomImage image)
|
|
name: fromImage(VirtualMachineCustomImage image)
|
|
nameWithType: Disk.DefinitionStages.WithOSDiskFromImage.fromImage(VirtualMachineCustomImage image)
|
|
parameters:
|
|
- description: <p>the image </p>
|
|
name: image
|
|
type: <xref href="com.microsoft.azure.management.compute.VirtualMachineCustomImage?alt=com.microsoft.azure.management.compute.VirtualMachineCustomImage&text=VirtualMachineCustomImage" data-throw-if-not-resolved="False"/>
|
|
returns:
|
|
description: <p>the next stage of the definition </p>
|
|
type: <xref href="com.microsoft.azure.management.compute.Disk.DefinitionStages.WithCreateAndSize?alt=com.microsoft.azure.management.compute.Disk.DefinitionStages.WithCreateAndSize&text=Disk.DefinitionStages.WithCreateAndSize" data-throw-if-not-resolved="False"/>
|
|
summary: >-
|
|
<p>Specifies a custom image containing the operating system.</p>
|
|
|
|
<p></p>
|
|
syntax: public WithCreateAndSize fromImage(VirtualMachineCustomImage image)
|
|
uid: com.microsoft.azure.management.compute.Disk.DefinitionStages.WithOSDiskFromImage.fromImage(VirtualMachineCustomImage)
|
|
- fullName: com.microsoft.azure.management.compute.Disk.DefinitionStages.WithOSDiskFromImage.fromImage(VirtualMachineImage image)
|
|
name: fromImage(VirtualMachineImage image)
|
|
nameWithType: Disk.DefinitionStages.WithOSDiskFromImage.fromImage(VirtualMachineImage image)
|
|
parameters:
|
|
- description: <p>the image </p>
|
|
name: image
|
|
type: <xref href="com.microsoft.azure.management.compute.VirtualMachineImage?alt=com.microsoft.azure.management.compute.VirtualMachineImage&text=VirtualMachineImage" data-throw-if-not-resolved="False"/>
|
|
returns:
|
|
description: <p>the next stage of the definition </p>
|
|
type: <xref href="com.microsoft.azure.management.compute.Disk.DefinitionStages.WithCreateAndSize?alt=com.microsoft.azure.management.compute.Disk.DefinitionStages.WithCreateAndSize&text=Disk.DefinitionStages.WithCreateAndSize" data-throw-if-not-resolved="False"/>
|
|
summary: >-
|
|
<p>Specifies an image containing the operating system.</p>
|
|
|
|
<p></p>
|
|
syntax: public WithCreateAndSize fromImage(VirtualMachineImage image)
|
|
uid: com.microsoft.azure.management.compute.Disk.DefinitionStages.WithOSDiskFromImage.fromImage(VirtualMachineImage)
|
|
nameWithType: Disk.DefinitionStages.WithOSDiskFromImage
|
|
syntax: public interface WithOSDiskFromImage
|
|
type: interface
|
|
uid: com.microsoft.azure.management.compute.Disk.DefinitionStages.WithOSDiskFromImage
|
|
fullName: com.microsoft.azure.management.compute.Disk.DefinitionStages.WithOSDiskFromImage
|
|
name: Disk.DefinitionStages.WithOSDiskFromImage
|
|
package: com.microsoft.azure.management.compute
|
|
summary: <p>The stage of the managed disk definition allowing to choose source operating system image. </p>
|
|
metadata: {}
|