ArmComputeModelFactory.ImageDeprecationStatus 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.
public static Azure.ResourceManager.Compute.Models.ImageDeprecationStatus ImageDeprecationStatus(Azure.ResourceManager.Compute.Models.ImageState? imageState = default, DateTimeOffset? scheduledDeprecationOn = default, Azure.ResourceManager.Compute.Models.ImageAlternativeOption alternativeOption = default);
static member ImageDeprecationStatus : Nullable<Azure.ResourceManager.Compute.Models.ImageState> * Nullable<DateTimeOffset> * Azure.ResourceManager.Compute.Models.ImageAlternativeOption -> Azure.ResourceManager.Compute.Models.ImageDeprecationStatus
Public Shared Function ImageDeprecationStatus (Optional imageState As Nullable(Of ImageState) = Nothing, Optional scheduledDeprecationOn As Nullable(Of DateTimeOffset) = Nothing, Optional alternativeOption As ImageAlternativeOption = Nothing) As ImageDeprecationStatus
Parameters
- imageState
- Nullable<ImageState>
Describes the state of the image.
- scheduledDeprecationOn
- Nullable<DateTimeOffset>
The time, in future, at which this image will be marked as deprecated. This scheduled time is chosen by the Publisher.
- alternativeOption
- ImageAlternativeOption
Describes the alternative option specified by the Publisher for this image when this image is deprecated.
Returns
A new ImageDeprecationStatus instance for mocking.