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.
Returns
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for