你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AlternativeOption Class
Describes the alternative option specified by the Publisher for this image when this image is deprecated.
- Inheritance
-
azure.mgmt.compute._serialization.ModelAlternativeOption
Constructor
AlternativeOption(*, type: str | _models.AlternativeType | None = None, value: str | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
type
|
Describes the type of the alternative option. Known values are: "None", "Offer", and "Plan". |
value
|
Indicates the alternative option value specified by the Publisher. This is the Offer name when the type is Offer or the Plan name when the type is Plan. |
Variables
Name | Description |
---|---|
type
|
Describes the type of the alternative option. Known values are: "None", "Offer", and "Plan". |
value
|
Indicates the alternative option value specified by the Publisher. This is the Offer name when the type is Offer or the Plan name when the type is Plan. |