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

102 строки
7.8 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.imagebuilder.models.ImageTemplateAutoRun"
fullName: "com.azure.resourcemanager.imagebuilder.models.ImageTemplateAutoRun"
name: "ImageTemplateAutoRun"
nameWithType: "ImageTemplateAutoRun"
summary: "Indicates if the image template needs to be built on create/update."
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 **ImageTemplateAutoRun**</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.imagebuilder.models.ImageTemplateAutoRun?alt=com.azure.resourcemanager.imagebuilder.models.ImageTemplateAutoRun&text=ImageTemplateAutoRun\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.imagebuilder.models.ImageTemplateAutoRun.ImageTemplateAutoRun()"
fullName: "com.azure.resourcemanager.imagebuilder.models.ImageTemplateAutoRun.ImageTemplateAutoRun()"
name: "ImageTemplateAutoRun()"
nameWithType: "ImageTemplateAutoRun.ImageTemplateAutoRun()"
summary: "Creates an instance of Image<wbr>Template<wbr>Auto<wbr>Run class."
syntax: "public ImageTemplateAutoRun()"
desc: "Creates an instance of ImageTemplateAutoRun class."
methods:
- uid: "com.azure.resourcemanager.imagebuilder.models.ImageTemplateAutoRun.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.imagebuilder.models.ImageTemplateAutoRun.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "ImageTemplateAutoRun.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Image<wbr>Template<wbr>Auto<wbr>Run 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 ImageTemplateAutoRun fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the ImageTemplateAutoRun."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of ImageTemplateAutoRun from the JsonReader."
returns:
description: "An instance of ImageTemplateAutoRun 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.imagebuilder.models.ImageTemplateAutoRun?alt=com.azure.resourcemanager.imagebuilder.models.ImageTemplateAutoRun&text=ImageTemplateAutoRun\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.imagebuilder.models.ImageTemplateAutoRun.state()"
fullName: "com.azure.resourcemanager.imagebuilder.models.ImageTemplateAutoRun.state()"
name: "state()"
nameWithType: "ImageTemplateAutoRun.state()"
summary: "Get the state property: Enabling this field will trigger an automatic build on image template creation or update."
syntax: "public AutoRunState state()"
desc: "Get the state property: Enabling this field will trigger an automatic build on image template creation or update."
returns:
description: "the state value."
type: "<xref href=\"com.azure.resourcemanager.imagebuilder.models.AutoRunState?alt=com.azure.resourcemanager.imagebuilder.models.AutoRunState&text=AutoRunState\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.imagebuilder.models.ImageTemplateAutoRun.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.imagebuilder.models.ImageTemplateAutoRun.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "ImageTemplateAutoRun.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.imagebuilder.models.ImageTemplateAutoRun.validate()"
fullName: "com.azure.resourcemanager.imagebuilder.models.ImageTemplateAutoRun.validate()"
name: "validate()"
nameWithType: "ImageTemplateAutoRun.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.imagebuilder.models.ImageTemplateAutoRun.withState(com.azure.resourcemanager.imagebuilder.models.AutoRunState)"
fullName: "com.azure.resourcemanager.imagebuilder.models.ImageTemplateAutoRun.withState(AutoRunState state)"
name: "withState(AutoRunState state)"
nameWithType: "ImageTemplateAutoRun.withState(AutoRunState state)"
summary: "Set the state property: Enabling this field will trigger an automatic build on image template creation or update."
parameters:
- description: "the state value to set."
name: "state"
type: "<xref href=\"com.azure.resourcemanager.imagebuilder.models.AutoRunState?alt=com.azure.resourcemanager.imagebuilder.models.AutoRunState&text=AutoRunState\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ImageTemplateAutoRun withState(AutoRunState state)"
desc: "Set the state property: Enabling this field will trigger an automatic build on image template creation or update."
returns:
description: "the ImageTemplateAutoRun object itself."
type: "<xref href=\"com.azure.resourcemanager.imagebuilder.models.ImageTemplateAutoRun?alt=com.azure.resourcemanager.imagebuilder.models.ImageTemplateAutoRun&text=ImageTemplateAutoRun\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Indicates if the image template needs to be built on create/update."
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.imagebuilder.models.ImageTemplateAutoRun?alt=com.azure.resourcemanager.imagebuilder.models.ImageTemplateAutoRun&text=ImageTemplateAutoRun\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.imagebuilder.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-imagebuilder:1.1.0