Class UserArtifactSettings
java.lang.Object
com.azure.resourcemanager.compute.models.UserArtifactSettings
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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the configFileName property: Optional.Get the packageFileName property: Optional.voidvalidate()Validates the instance.withConfigFileName(String configFileName) Set the configFileName property: Optional.withPackageFileName(String packageFileName) Set the packageFileName property: Optional.
-
Constructor Details
-
UserArtifactSettings
public UserArtifactSettings()Creates an instance of UserArtifactSettings class.
-
-
Method Details
-
packageFileName
Get the packageFileName property: 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.- Returns:
- the packageFileName value.
-
withPackageFileName
Set the packageFileName property: 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.- Parameters:
packageFileName- the packageFileName value to set.- Returns:
- the UserArtifactSettings object itself.
-
configFileName
Get the configFileName property: 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".- Returns:
- the configFileName value.
-
withConfigFileName
Set the configFileName property: 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".- Parameters:
configFileName- the configFileName value to set.- Returns:
- the UserArtifactSettings object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-