IWithSource.WithSourceCustomImage Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
WithSourceCustomImage(IVirtualMachineCustomImage) |
Specifies that the provided custom image needs to be used as source of the image version. |
WithSourceCustomImage(String) |
Specifies that the provided custom image needs to be used as source of the image version. |
WithSourceCustomImage(IVirtualMachineCustomImage)
Specifies that the provided custom image needs to be used as source of the image version.
public Microsoft.Azure.Management.Compute.Fluent.GalleryImageVersion.Definition.IWithCreate WithSourceCustomImage (Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineCustomImage customImage);
abstract member WithSourceCustomImage : Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineCustomImage -> Microsoft.Azure.Management.Compute.Fluent.GalleryImageVersion.Definition.IWithCreate
Public Function WithSourceCustomImage (customImage As IVirtualMachineCustomImage) As IWithCreate
Parameters
- customImage
- IVirtualMachineCustomImage
The custom image.
Returns
Applies to
WithSourceCustomImage(String)
Specifies that the provided custom image needs to be used as source of the image version.
public Microsoft.Azure.Management.Compute.Fluent.GalleryImageVersion.Definition.IWithCreate WithSourceCustomImage (string customImageId);
abstract member WithSourceCustomImage : string -> Microsoft.Azure.Management.Compute.Fluent.GalleryImageVersion.Definition.IWithCreate
Public Function WithSourceCustomImage (customImageId As String) As IWithCreate
Parameters
- customImageId
- String
The ARM id of the custom image.