Share via


UserArtifactSettings Class

Definition

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.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.UserArtifactSettingsTypeConverter))]
public class UserArtifactSettings : Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IUserArtifactSettings
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.UserArtifactSettingsTypeConverter))>]
type UserArtifactSettings = class
    interface IUserArtifactSettings
    interface IJsonSerializable
Public Class UserArtifactSettings
Implements IUserArtifactSettings
Inheritance
UserArtifactSettings
Attributes
Implements

Constructors

UserArtifactSettings()

Creates an new UserArtifactSettings instance.

Properties

ConfigFileName

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

PackageFileName

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of UserArtifactSettings.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of UserArtifactSettings.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IUserArtifactSettings.

FromJsonString(String)

Creates a new instance of UserArtifactSettings, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of UserArtifactSettings into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to