ArmResourcesModelFactory.ErrorDeployment 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.
public static Azure.ResourceManager.Resources.Models.ErrorDeployment ErrorDeployment(Azure.ResourceManager.Resources.Models.ErrorDeploymentType? deploymentType = default, string deploymentName = default);
static member ErrorDeployment : Nullable<Azure.ResourceManager.Resources.Models.ErrorDeploymentType> * string -> Azure.ResourceManager.Resources.Models.ErrorDeployment
Public Shared Function ErrorDeployment (Optional deploymentType As Nullable(Of ErrorDeploymentType) = Nothing, Optional deploymentName As String = Nothing) As ErrorDeployment
Parameters
- deploymentType
- Nullable<ErrorDeploymentType>
The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.
- deploymentName
- String
The deployment to be used on error case.
Returns
A new ErrorDeployment instance for mocking.