### YamlMime:JavaType
uid: "com.azure.resourcemanager.compute.models.UserArtifactSettings"
fullName: "com.azure.resourcemanager.compute.models.UserArtifactSettings"
name: "UserArtifactSettings"
nameWithType: "UserArtifactSettings"
summary: "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."
inheritances:
- ""
inheritedClassMethods:
- classRef: "java.lang.Object"
methodsRef:
- "clone"
- "equals"
- "finalize"
- "getClass"
- "hashCode"
- "notify"
- "notifyAll"
- "toString"
- "wait"
- "wait"
- "wait"
syntax: "public final class **UserArtifactSettings** implements <>"
constructors:
- uid: "com.azure.resourcemanager.compute.models.UserArtifactSettings.UserArtifactSettings()"
fullName: "com.azure.resourcemanager.compute.models.UserArtifactSettings.UserArtifactSettings()"
name: "UserArtifactSettings()"
nameWithType: "UserArtifactSettings.UserArtifactSettings()"
summary: "Creates an instance of UserArtifactSettings class."
syntax: "public UserArtifactSettings()"
desc: "Creates an instance of UserArtifactSettings class."
methods:
- uid: "com.azure.resourcemanager.compute.models.UserArtifactSettings.configFileName()"
fullName: "com.azure.resourcemanager.compute.models.UserArtifactSettings.configFileName()"
name: "configFileName()"
nameWithType: "UserArtifactSettings.configFileName()"
summary: "Get the configFileName property: Optional."
syntax: "public String configFileName()"
desc: "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:
description: "the configFileName value."
type: "String"
- uid: "com.azure.resourcemanager.compute.models.UserArtifactSettings.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.compute.models.UserArtifactSettings.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "UserArtifactSettings.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of UserArtifactSettings from the JsonReader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: ""
syntax: "public static UserArtifactSettings fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the UserArtifactSettings."
type: "IOException"
desc: "Reads an instance of UserArtifactSettings from the JsonReader."
returns:
description: "An instance of UserArtifactSettings if the JsonReader was pointing to an instance of it, or null if it\n was pointing to JSON null."
type: ""
- uid: "com.azure.resourcemanager.compute.models.UserArtifactSettings.packageFileName()"
fullName: "com.azure.resourcemanager.compute.models.UserArtifactSettings.packageFileName()"
name: "packageFileName()"
nameWithType: "UserArtifactSettings.packageFileName()"
summary: "Get the packageFileName property: Optional."
syntax: "public String packageFileName()"
desc: "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:
description: "the packageFileName value."
type: "String"
- uid: "com.azure.resourcemanager.compute.models.UserArtifactSettings.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.compute.models.UserArtifactSettings.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "UserArtifactSettings.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: ""
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "IOException"
returns:
type: ""
- uid: "com.azure.resourcemanager.compute.models.UserArtifactSettings.validate()"
fullName: "com.azure.resourcemanager.compute.models.UserArtifactSettings.validate()"
name: "validate()"
nameWithType: "UserArtifactSettings.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.compute.models.UserArtifactSettings.withConfigFileName(java.lang.String)"
fullName: "com.azure.resourcemanager.compute.models.UserArtifactSettings.withConfigFileName(String configFileName)"
name: "withConfigFileName(String configFileName)"
nameWithType: "UserArtifactSettings.withConfigFileName(String configFileName)"
summary: "Set the configFileName property: Optional."
parameters:
- description: "the configFileName value to set."
name: "configFileName"
type: "String"
syntax: "public UserArtifactSettings withConfigFileName(String configFileName)"
desc: "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\"."
returns:
description: "the UserArtifactSettings object itself."
type: ""
- uid: "com.azure.resourcemanager.compute.models.UserArtifactSettings.withPackageFileName(java.lang.String)"
fullName: "com.azure.resourcemanager.compute.models.UserArtifactSettings.withPackageFileName(String packageFileName)"
name: "withPackageFileName(String packageFileName)"
nameWithType: "UserArtifactSettings.withPackageFileName(String packageFileName)"
summary: "Set the packageFileName property: Optional."
parameters:
- description: "the packageFileName value to set."
name: "packageFileName"
type: "String"
syntax: "public UserArtifactSettings withPackageFileName(String packageFileName)"
desc: "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."
returns:
description: "the UserArtifactSettings object itself."
type: ""
type: "class"
desc: "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."
implements:
- "<>"
metadata: {}
package: "com.azure.resourcemanager.compute.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-compute:2.44.0