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

Plan Class

  • java.lang.Object
    • com.microsoft.azure.management.compute.Plan

public class Plan

Plan for the resource.

Method Summary

Modifier and Type Method and Description
String name()

Get the name value.

String product()

Get the product value.

String promotionCode()

Get the promotionCode value.

String publisher()

Get the publisher value.

Plan withName(String name)

Set the name value.

Plan withProduct(String product)

Set the product value.

Plan withPromotionCode(String promotionCode)

Set the promotionCode value.

Plan withPublisher(String publisher)

Set the publisher value.

Method Details

name

public String name()

Get the name value.

Returns:

the name value

product

public String product()

Get the product value.

Returns:

the product value

promotionCode

public String promotionCode()

Get the promotionCode value.

Returns:

the promotionCode value

publisher

public String publisher()

Get the publisher value.

Returns:

the publisher value

withName

public Plan withName(String name)

Set the name value.

Parameters:

name - the name value to set

Returns:

the Plan object itself.

withProduct

public Plan withProduct(String product)

Set the product value.

Parameters:

product - the product value to set

Returns:

the Plan object itself.

withPromotionCode

public Plan withPromotionCode(String promotionCode)

Set the promotionCode value.

Parameters:

promotionCode - the promotionCode value to set

Returns:

the Plan object itself.

withPublisher

public Plan withPublisher(String publisher)

Set the publisher value.

Parameters:

publisher - the publisher value to set

Returns:

the Plan object itself.

Applies to