你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

WhatIfPropertyChange 类

  • java.lang.Object
    • com.microsoft.azure.management.resources.WhatIfPropertyChange

public class WhatIfPropertyChange

资源属性的预测更改。

构造函数摘要

构造函数 说明
WhatIfPropertyChange()

方法摘要

修饰符和类型 方法和描述
java.lang.Object after()

在执行部署后获取 属性的值。

java.lang.Object before()

在执行部署之前获取 属性的值。

java.util.List<WhatIfPropertyChange> children()

获取嵌套属性更改。

java.lang.String path()

获取 属性的路径。

PropertyChangeType propertyChangeType()

获取属性更改的类型。

WhatIfPropertyChange withAfter(Object after)

在执行部署后设置 属性的值。

WhatIfPropertyChange withBefore(Object before)

在执行部署之前设置 属性的值。

WhatIfPropertyChange withChildren(List<WhatIfPropertyChange> children)

设置嵌套属性更改。

WhatIfPropertyChange withPath(String path)

设置 属性的路径。

WhatIfPropertyChange withPropertyChangeType(PropertyChangeType propertyChangeType)

设置属性更改的类型。

方法继承自 java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

构造函数详细信息

WhatIfPropertyChange

public WhatIfPropertyChange()

方法详细信息

after

public Object after()

在执行部署后获取 属性的值。

Returns:

后值

before

public Object before()

在执行部署之前获取 属性的值。

Returns:

之前的 值

children

public List children()

获取嵌套属性更改。

Returns:

子值

path

public String path()

获取 属性的路径。

Returns:

路径值

propertyChangeType

public PropertyChangeType propertyChangeType()

获取属性更改的类型。 可能的值包括:“Create”、“Delete”、“Modify”、“Array”。

Returns:

propertyChangeType 值

withAfter

public WhatIfPropertyChange withAfter(Object after)

在执行部署后设置 属性的值。

Parameters:

after - 要设置的后值

Returns:

WhatIfPropertyChange 对象本身。

withBefore

public WhatIfPropertyChange withBefore(Object before)

在执行部署之前设置 属性的值。

Parameters:

before - 要设置的前一个值

Returns:

WhatIfPropertyChange 对象本身。

withChildren

public WhatIfPropertyChange withChildren(List children)

设置嵌套属性更改。

Parameters:

children - 要设置的子级值

Returns:

WhatIfPropertyChange 对象本身。

withPath

public WhatIfPropertyChange withPath(String path)

设置 属性的路径。

Parameters:

path - 要设置的路径值

Returns:

WhatIfPropertyChange 对象本身。

withPropertyChangeType

public WhatIfPropertyChange withPropertyChangeType(PropertyChangeType propertyChangeType)

设置属性更改的类型。 可能的值包括:“Create”、“Delete”、“Modify”、“Array”。

Parameters:

propertyChangeType - 要设置的 propertyChangeType 值

Returns:

WhatIfPropertyChange 对象本身。

适用于