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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET