azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.c...

126 строки
9.8 KiB
YAML

### 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:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **UserArtifactSettings**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.compute.models.UserArtifactSettings?alt=com.azure.resourcemanager.compute.models.UserArtifactSettings&text=UserArtifactSettings\" data-throw-if-not-resolved=\"False\" />&gt;"
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 User<wbr>Artifact<wbr>Settings 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 config<wbr>File<wbr>Name 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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- 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 User<wbr>Artifact<wbr>Settings from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static UserArtifactSettings fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the UserArtifactSettings."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
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: "<xref href=\"com.azure.resourcemanager.compute.models.UserArtifactSettings?alt=com.azure.resourcemanager.compute.models.UserArtifactSettings&text=UserArtifactSettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.UserArtifactSettings.packageFileName()"
fullName: "com.azure.resourcemanager.compute.models.UserArtifactSettings.packageFileName()"
name: "packageFileName()"
nameWithType: "UserArtifactSettings.packageFileName()"
summary: "Get the package<wbr>File<wbr>Name 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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- 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: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
- 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 config<wbr>File<wbr>Name property: Optional."
parameters:
- description: "the configFileName value to set."
name: "configFileName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
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: "<xref href=\"com.azure.resourcemanager.compute.models.UserArtifactSettings?alt=com.azure.resourcemanager.compute.models.UserArtifactSettings&text=UserArtifactSettings\" data-throw-if-not-resolved=\"False\" />"
- 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 package<wbr>File<wbr>Name property: Optional."
parameters:
- description: "the packageFileName value to set."
name: "packageFileName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
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: "<xref href=\"com.azure.resourcemanager.compute.models.UserArtifactSettings?alt=com.azure.resourcemanager.compute.models.UserArtifactSettings&text=UserArtifactSettings\" data-throw-if-not-resolved=\"False\" />"
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:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.compute.models.UserArtifactSettings?alt=com.azure.resourcemanager.compute.models.UserArtifactSettings&text=UserArtifactSettings\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.compute.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-compute:2.42.0