다음을 통해 공유


GalleryApplicationCustomAction Class

A custom action that can be performed with a Gallery Application Version.

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

Inheritance
azure.mgmt.compute._serialization.Model
GalleryApplicationCustomAction

Constructor

GalleryApplicationCustomAction(*, name: str, script: str, description: str | None = None, parameters: List[_models.GalleryApplicationCustomActionParameter] | 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.

script
str

The script to run when executing this custom action. Required.

description
str

Description to help the users understand what this custom action does.

parameters

The parameters that this custom action uses.

Variables

Name Description
name
str

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

script
str

The script to run when executing this custom action. Required.

description
str

Description to help the users understand what this custom action does.

parameters

The parameters that this custom action uses.