UserArtifactSettings Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public class UserArtifactSettings : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.UserArtifactSettings>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.UserArtifactSettings>
type UserArtifactSettings = class
interface IJsonModel<UserArtifactSettings>
interface IPersistableModel<UserArtifactSettings>
Public Class UserArtifactSettings
Implements IJsonModel(Of UserArtifactSettings), IPersistableModel(Of UserArtifactSettings)
- Inheritance
-
UserArtifactSettings
- Implements
Constructors
UserArtifactSettings() |
Initializes a new instance of UserArtifactSettings. |
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
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<UserArtifactSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<UserArtifactSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<UserArtifactSettings>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<UserArtifactSettings>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<UserArtifactSettings>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |