ArmComputeModelFactory.UserArtifactSettings Method

Definition

public static Azure.ResourceManager.Compute.Models.UserArtifactSettings UserArtifactSettings(string packageFileName = default, string configFileName = default, Azure.ResourceManager.Compute.Models.GalleryApplicationScriptRebootBehavior? scriptBehaviorAfterReboot = default);
static member UserArtifactSettings : string * string * Nullable<Azure.ResourceManager.Compute.Models.GalleryApplicationScriptRebootBehavior> -> Azure.ResourceManager.Compute.Models.UserArtifactSettings
Public Shared Function UserArtifactSettings (Optional packageFileName As String = Nothing, Optional configFileName As String = Nothing, Optional scriptBehaviorAfterReboot As Nullable(Of GalleryApplicationScriptRebootBehavior) = Nothing) As UserArtifactSettings

Parameters

packageFileName
String

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.

configFileName
String

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".

scriptBehaviorAfterReboot
Nullable<GalleryApplicationScriptRebootBehavior>

Optional. The action to be taken with regards to install/update/remove of the gallery application in the event of a reboot.

Returns

A new UserArtifactSettings instance for mocking.

Applies to