ComputeBatchModelFactory.ResizeError 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 ResizeError.
public static Azure.Compute.Batch.ResizeError ResizeError (string code = default, string message = default, System.Collections.Generic.IEnumerable<Azure.Compute.Batch.NameValuePair> values = default);
static member ResizeError : string * string * seq<Azure.Compute.Batch.NameValuePair> -> Azure.Compute.Batch.ResizeError
Public Shared Function ResizeError (Optional code As String = Nothing, Optional message As String = Nothing, Optional values As IEnumerable(Of NameValuePair) = Nothing) As ResizeError
Parameters
- code
- String
An identifier for the Pool resize error. Codes are invariant and are intended to be consumed programmatically.
- message
- String
A message describing the Pool resize error, intended to be suitable for display in a user interface.
- values
- IEnumerable<NameValuePair>
A list of additional error details related to the Pool resize error.
Returns
A new ResizeError instance for mocking.
Applies to
Azure SDK for .NET