Sdílet prostřednictvím


NewResourceManagerSdkClient.ValidateDeployment Method

Definition

Validates a given deployment.

public virtual System.Collections.Generic.List<Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSResourceManagerError> ValidateDeployment (Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSDeploymentCmdletParameters parameters);
abstract member ValidateDeployment : Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSDeploymentCmdletParameters -> System.Collections.Generic.List<Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSResourceManagerError>
override this.ValidateDeployment : Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSDeploymentCmdletParameters -> System.Collections.Generic.List<Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSResourceManagerError>
Public Overridable Function ValidateDeployment (parameters As PSDeploymentCmdletParameters) As List(Of PSResourceManagerError)

Parameters

parameters
PSDeploymentCmdletParameters

The deployment create options

Returns

The validation errors if there's any, or empty list otherwise.

Applies to