次の方法で共有


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.

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.

Default value: None
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: None
default_value
str

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

Default value: None
description
str

A description to help users understand what this parameter means.

Default value: None

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.