ArmComputeModelFactory.ResourceInstanceViewStatus 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.
Initializes a new instance of ResourceInstanceViewStatus.
public static Azure.ResourceManager.Compute.Models.ResourceInstanceViewStatus ResourceInstanceViewStatus (string code = default, string displayStatus = default, string message = default, DateTimeOffset? time = default, Azure.ResourceManager.Compute.Models.ComputeStatusLevelType? level = default);
static member ResourceInstanceViewStatus : string * string * string * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Compute.Models.ComputeStatusLevelType> -> Azure.ResourceManager.Compute.Models.ResourceInstanceViewStatus
Public Shared Function ResourceInstanceViewStatus (Optional code As String = Nothing, Optional displayStatus As String = Nothing, Optional message As String = Nothing, Optional time As Nullable(Of DateTimeOffset) = Nothing, Optional level As Nullable(Of ComputeStatusLevelType) = Nothing) As ResourceInstanceViewStatus
Parameters
- code
- String
The status code.
- displayStatus
- String
The short localizable label for the status.
- message
- String
The detailed status message, including for alerts and error messages.
- time
- Nullable<DateTimeOffset>
The time of the status.
- level
- Nullable<ComputeStatusLevelType>
The level code.
Returns
A new ResourceInstanceViewStatus instance for mocking.
Applies to
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for .NET