ArmSqlModelFactory.RecommendedActionErrorInfo 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 RecommendedActionErrorInfo.
public static Azure.ResourceManager.Sql.Models.RecommendedActionErrorInfo RecommendedActionErrorInfo (string errorCode = default, Azure.ResourceManager.Sql.Models.ActionRetryableState? isRetryable = default);
static member RecommendedActionErrorInfo : string * Nullable<Azure.ResourceManager.Sql.Models.ActionRetryableState> -> Azure.ResourceManager.Sql.Models.RecommendedActionErrorInfo
Public Shared Function RecommendedActionErrorInfo (Optional errorCode As String = Nothing, Optional isRetryable As Nullable(Of ActionRetryableState) = Nothing) As RecommendedActionErrorInfo
Parameters
- errorCode
- String
Gets the reason why the recommended action was put to error state. e.g., DatabaseHasQdsOff, IndexAlreadyExists.
- isRetryable
- Nullable<ActionRetryableState>
Gets whether the error could be ignored and recommended action could be retried. Possible values are: Yes/No.
Returns
A new RecommendedActionErrorInfo 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