DeploymentScript Class

Deployment script object.

You probably want to use the sub-classes and not this class directly. Known sub-classes are: AzureCliScript, AzurePowerShellScript.

Variables are only populated by the server, and will be ignored when sending a request.

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

Inheritance
azure.mgmt.resource.deploymentscripts.v2020_10_01.models._models_py3.AzureResourceBase
DeploymentScript

Constructor

DeploymentScript(*, location: str, identity: Optional[azure.mgmt.resource.deploymentscripts.v2020_10_01.models._models_py3.ManagedServiceIdentity] = None, tags: Optional[Dict[str, str]] = None, **kwargs)

Variables

id
str

String Id used to locate any resource on Azure.

name
str

Name of this resource.

type
str

Type of this resource.

identity
ManagedServiceIdentity

Optional property. Managed identity to be used for this deployment script. Currently, only user-assigned MSI is supported.

location
str

Required. The location of the ACI and the storage account for the deployment script.

tags
dict[str, str]

A set of tags. Resource tags.

kind
str or ScriptType

Required. Type of the script.Constant filled by server. Possible values include: "AzurePowerShell", "AzureCLI".

system_data
SystemData

The system metadata related to this resource.