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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.