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

GalleryApplicationCustomActionParameter Class

The definition of a parameter that can be passed to a custom action of a Gallery Application Version.

All required parameters must be populated in order to send to server.

Inheritance
azure.mgmt.compute._serialization.Model
GalleryApplicationCustomActionParameter

Constructor

GalleryApplicationCustomActionParameter(*, name: str, required: bool | None = None, type: str | _models.GalleryApplicationCustomActionParameterType | None = None, default_value: str | None = None, description: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
name
str

The name of the custom action. Must be unique within the Gallery Application Version. Required.

required

Indicates whether this parameter must be passed when running the custom action.

type

Specifies the type of the custom action parameter. Possible values are: String, ConfigurationDataBlob or LogOutputBlob. Known values are: "String", "ConfigurationDataBlob", and "LogOutputBlob".

default_value
str

The default value of the parameter. Only applies to string types.

description
str

A description to help users understand what this parameter means.

Variables

Name Description
name
str

The name of the custom action. Must be unique within the Gallery Application Version. Required.

required

Indicates whether this parameter must be passed when running the custom action.

type

Specifies the type of the custom action parameter. Possible values are: String, ConfigurationDataBlob or LogOutputBlob. Known values are: "String", "ConfigurationDataBlob", and "LogOutputBlob".

default_value
str

The default value of the parameter. Only applies to string types.

description
str

A description to help users understand what this parameter means.