你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
UserArtifactSettings Class
Additional settings for the VM app that contains the target package and config file name when it is deployed to target VM or VM scale set.
- Inheritance
-
azure.mgmt.compute._serialization.ModelUserArtifactSettings
Constructor
UserArtifactSettings(*, package_file_name: str | None = None, config_file_name: str | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
package_file_name
|
Optional. The name to assign the downloaded package file on the VM. This is limited to 4096 characters. If not specified, the package file will be named the same as the Gallery Application name. |
config_file_name
|
Optional. The name to assign the downloaded config file on the VM. This is limited to 4096 characters. If not specified, the config file will be named the Gallery Application name appended with "_config". |
Variables
Name | Description |
---|---|
package_file_name
|
Optional. The name to assign the downloaded package file on the VM. This is limited to 4096 characters. If not specified, the package file will be named the same as the Gallery Application name. |
config_file_name
|
Optional. The name to assign the downloaded config file on the VM. This is limited to 4096 characters. If not specified, the config file will be named the Gallery Application name appended with "_config". |