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

150 строки
12 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.compute.models.ImageDeprecationStatus"
fullName: "com.azure.resourcemanager.compute.models.ImageDeprecationStatus"
name: "ImageDeprecationStatus"
nameWithType: "ImageDeprecationStatus"
summary: "Describes image deprecation status properties on the image."
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 **ImageDeprecationStatus**</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.ImageDeprecationStatus?alt=com.azure.resourcemanager.compute.models.ImageDeprecationStatus&text=ImageDeprecationStatus\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.compute.models.ImageDeprecationStatus.ImageDeprecationStatus()"
fullName: "com.azure.resourcemanager.compute.models.ImageDeprecationStatus.ImageDeprecationStatus()"
name: "ImageDeprecationStatus()"
nameWithType: "ImageDeprecationStatus.ImageDeprecationStatus()"
summary: "Creates an instance of Image<wbr>Deprecation<wbr>Status class."
syntax: "public ImageDeprecationStatus()"
desc: "Creates an instance of ImageDeprecationStatus class."
methods:
- uid: "com.azure.resourcemanager.compute.models.ImageDeprecationStatus.alternativeOption()"
fullName: "com.azure.resourcemanager.compute.models.ImageDeprecationStatus.alternativeOption()"
name: "alternativeOption()"
nameWithType: "ImageDeprecationStatus.alternativeOption()"
summary: "Get the alternative<wbr>Option property: Describes the alternative option specified by the Publisher for this image when this image is deprecated."
syntax: "public AlternativeOption alternativeOption()"
desc: "Get the alternativeOption property: Describes the alternative option specified by the Publisher for this image when this image is deprecated."
returns:
description: "the alternativeOption value."
type: "<xref href=\"com.azure.resourcemanager.compute.models.AlternativeOption?alt=com.azure.resourcemanager.compute.models.AlternativeOption&text=AlternativeOption\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.ImageDeprecationStatus.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.compute.models.ImageDeprecationStatus.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "ImageDeprecationStatus.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Image<wbr>Deprecation<wbr>Status 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 ImageDeprecationStatus fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the ImageDeprecationStatus."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of ImageDeprecationStatus from the JsonReader."
returns:
description: "An instance of ImageDeprecationStatus 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.ImageDeprecationStatus?alt=com.azure.resourcemanager.compute.models.ImageDeprecationStatus&text=ImageDeprecationStatus\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.ImageDeprecationStatus.imageState()"
fullName: "com.azure.resourcemanager.compute.models.ImageDeprecationStatus.imageState()"
name: "imageState()"
nameWithType: "ImageDeprecationStatus.imageState()"
summary: "Get the image<wbr>State property: Describes the state of the image."
syntax: "public ImageState imageState()"
desc: "Get the imageState property: Describes the state of the image."
returns:
description: "the imageState value."
type: "<xref href=\"com.azure.resourcemanager.compute.models.ImageState?alt=com.azure.resourcemanager.compute.models.ImageState&text=ImageState\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.ImageDeprecationStatus.scheduledDeprecationTime()"
fullName: "com.azure.resourcemanager.compute.models.ImageDeprecationStatus.scheduledDeprecationTime()"
name: "scheduledDeprecationTime()"
nameWithType: "ImageDeprecationStatus.scheduledDeprecationTime()"
summary: "Get the scheduled<wbr>Deprecation<wbr>Time property: The time, in future, at which this image will be marked as deprecated."
syntax: "public OffsetDateTime scheduledDeprecationTime()"
desc: "Get the scheduledDeprecationTime property: The time, in future, at which this image will be marked as deprecated. This scheduled time is chosen by the Publisher."
returns:
description: "the scheduledDeprecationTime value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
- uid: "com.azure.resourcemanager.compute.models.ImageDeprecationStatus.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.compute.models.ImageDeprecationStatus.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "ImageDeprecationStatus.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.ImageDeprecationStatus.validate()"
fullName: "com.azure.resourcemanager.compute.models.ImageDeprecationStatus.validate()"
name: "validate()"
nameWithType: "ImageDeprecationStatus.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.compute.models.ImageDeprecationStatus.withAlternativeOption(com.azure.resourcemanager.compute.models.AlternativeOption)"
fullName: "com.azure.resourcemanager.compute.models.ImageDeprecationStatus.withAlternativeOption(AlternativeOption alternativeOption)"
name: "withAlternativeOption(AlternativeOption alternativeOption)"
nameWithType: "ImageDeprecationStatus.withAlternativeOption(AlternativeOption alternativeOption)"
summary: "Set the alternative<wbr>Option property: Describes the alternative option specified by the Publisher for this image when this image is deprecated."
parameters:
- description: "the alternativeOption value to set."
name: "alternativeOption"
type: "<xref href=\"com.azure.resourcemanager.compute.models.AlternativeOption?alt=com.azure.resourcemanager.compute.models.AlternativeOption&text=AlternativeOption\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ImageDeprecationStatus withAlternativeOption(AlternativeOption alternativeOption)"
desc: "Set the alternativeOption property: Describes the alternative option specified by the Publisher for this image when this image is deprecated."
returns:
description: "the ImageDeprecationStatus object itself."
type: "<xref href=\"com.azure.resourcemanager.compute.models.ImageDeprecationStatus?alt=com.azure.resourcemanager.compute.models.ImageDeprecationStatus&text=ImageDeprecationStatus\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.ImageDeprecationStatus.withImageState(com.azure.resourcemanager.compute.models.ImageState)"
fullName: "com.azure.resourcemanager.compute.models.ImageDeprecationStatus.withImageState(ImageState imageState)"
name: "withImageState(ImageState imageState)"
nameWithType: "ImageDeprecationStatus.withImageState(ImageState imageState)"
summary: "Set the image<wbr>State property: Describes the state of the image."
parameters:
- description: "the imageState value to set."
name: "imageState"
type: "<xref href=\"com.azure.resourcemanager.compute.models.ImageState?alt=com.azure.resourcemanager.compute.models.ImageState&text=ImageState\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ImageDeprecationStatus withImageState(ImageState imageState)"
desc: "Set the imageState property: Describes the state of the image."
returns:
description: "the ImageDeprecationStatus object itself."
type: "<xref href=\"com.azure.resourcemanager.compute.models.ImageDeprecationStatus?alt=com.azure.resourcemanager.compute.models.ImageDeprecationStatus&text=ImageDeprecationStatus\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.ImageDeprecationStatus.withScheduledDeprecationTime(java.time.OffsetDateTime)"
fullName: "com.azure.resourcemanager.compute.models.ImageDeprecationStatus.withScheduledDeprecationTime(OffsetDateTime scheduledDeprecationTime)"
name: "withScheduledDeprecationTime(OffsetDateTime scheduledDeprecationTime)"
nameWithType: "ImageDeprecationStatus.withScheduledDeprecationTime(OffsetDateTime scheduledDeprecationTime)"
summary: "Set the scheduled<wbr>Deprecation<wbr>Time property: The time, in future, at which this image will be marked as deprecated."
parameters:
- description: "the scheduledDeprecationTime value to set."
name: "scheduledDeprecationTime"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
syntax: "public ImageDeprecationStatus withScheduledDeprecationTime(OffsetDateTime scheduledDeprecationTime)"
desc: "Set the scheduledDeprecationTime property: The time, in future, at which this image will be marked as deprecated. This scheduled time is chosen by the Publisher."
returns:
description: "the ImageDeprecationStatus object itself."
type: "<xref href=\"com.azure.resourcemanager.compute.models.ImageDeprecationStatus?alt=com.azure.resourcemanager.compute.models.ImageDeprecationStatus&text=ImageDeprecationStatus\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Describes image deprecation status properties on the image."
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.ImageDeprecationStatus?alt=com.azure.resourcemanager.compute.models.ImageDeprecationStatus&text=ImageDeprecationStatus\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.compute.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-compute:2.44.0