ComputeBatchModelFactory.InstanceViewStatus 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 InstanceViewStatus.
public static Azure.Compute.Batch.InstanceViewStatus InstanceViewStatus (string code = default, string displayStatus = default, Azure.Compute.Batch.StatusLevelTypes? level = default, string message = default, DateTimeOffset? time = default);
static member InstanceViewStatus : string * string * Nullable<Azure.Compute.Batch.StatusLevelTypes> * string * Nullable<DateTimeOffset> -> Azure.Compute.Batch.InstanceViewStatus
Public Shared Function InstanceViewStatus (Optional code As String = Nothing, Optional displayStatus As String = Nothing, Optional level As Nullable(Of StatusLevelTypes) = Nothing, Optional message As String = Nothing, Optional time As Nullable(Of DateTimeOffset) = Nothing) As InstanceViewStatus
Parameters
- code
- String
The status code.
- displayStatus
- String
The localized label for the status.
- level
- Nullable<StatusLevelTypes>
Level code.
- message
- String
The detailed status message.
- time
- Nullable<DateTimeOffset>
The time of the status.
Returns
A new InstanceViewStatus instance for mocking.
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET