共用方式為


WhatIfChangeType Enum

Definition

Type of change that will be made to the resource when the deployment is executed.

public enum WhatIfChangeType
type WhatIfChangeType = 
Public Enum WhatIfChangeType
Inheritance
WhatIfChangeType

Fields

Name Value Description
Create 0

The resource does not exist in the current state but is present in the desired state. The resource will be created when the deployment is executed.

Delete 1

The resource exists in the current state and is missing from the desired state. The resource will be deleted when the deployment is executed.

Ignore 2

The resource exists in the current state and is missing from the desired state. The resource will not be deployed or modified when the deployment is executed.

Deploy 3

The resource exists in the current state and the desired state and will be redeployed when the deployment is executed. The properties of the resource may or may not change.

NoChange 4

The resource exists in the current state and the desired state and will be redeployed when the deployment is executed. The properties of the resource will not change.

Modify 5

The resource exists in the current state and the desired state and will be redeployed when the deployment is executed. The properties of the resource will change.

Unsupported 6

The resource is not supported by What-If.

Applies to