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
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET