ArmResourcesModelFactory.ErrorDeployment Method

Definition

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.

Applies to