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
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