126 строки
9.1 KiB
YAML
126 строки
9.1 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.compute.models.AlternativeOption"
|
|
fullName: "com.azure.resourcemanager.compute.models.AlternativeOption"
|
|
name: "AlternativeOption"
|
|
nameWithType: "AlternativeOption"
|
|
summary: "Describes the alternative option specified by the Publisher for this image when this image is deprecated."
|
|
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 **AlternativeOption**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.compute.models.AlternativeOption?alt=com.azure.resourcemanager.compute.models.AlternativeOption&text=AlternativeOption\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.compute.models.AlternativeOption.AlternativeOption()"
|
|
fullName: "com.azure.resourcemanager.compute.models.AlternativeOption.AlternativeOption()"
|
|
name: "AlternativeOption()"
|
|
nameWithType: "AlternativeOption.AlternativeOption()"
|
|
summary: "Creates an instance of Alternative<wbr>Option class."
|
|
syntax: "public AlternativeOption()"
|
|
desc: "Creates an instance of AlternativeOption class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.compute.models.AlternativeOption.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.compute.models.AlternativeOption.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "AlternativeOption.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of Alternative<wbr>Option 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 AlternativeOption fromJson(JsonReader jsonReader)"
|
|
exceptions:
|
|
- description: "If an error occurs while reading the AlternativeOption."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
desc: "Reads an instance of AlternativeOption from the JsonReader."
|
|
returns:
|
|
description: "An instance of AlternativeOption if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
|
|
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.AlternativeOption.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.compute.models.AlternativeOption.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "AlternativeOption.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.AlternativeOption.type()"
|
|
fullName: "com.azure.resourcemanager.compute.models.AlternativeOption.type()"
|
|
name: "type()"
|
|
nameWithType: "AlternativeOption.type()"
|
|
summary: "Get the type property: Describes the type of the alternative option."
|
|
syntax: "public AlternativeType type()"
|
|
desc: "Get the type property: Describes the type of the alternative option."
|
|
returns:
|
|
description: "the type value."
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.AlternativeType?alt=com.azure.resourcemanager.compute.models.AlternativeType&text=AlternativeType\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.AlternativeOption.validate()"
|
|
fullName: "com.azure.resourcemanager.compute.models.AlternativeOption.validate()"
|
|
name: "validate()"
|
|
nameWithType: "AlternativeOption.validate()"
|
|
summary: "Validates the instance."
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.compute.models.AlternativeOption.value()"
|
|
fullName: "com.azure.resourcemanager.compute.models.AlternativeOption.value()"
|
|
name: "value()"
|
|
nameWithType: "AlternativeOption.value()"
|
|
summary: "Get the value property: Indicates the alternative option value specified by the Publisher."
|
|
syntax: "public String value()"
|
|
desc: "Get the value property: Indicates the alternative option value specified by the Publisher. This is the Offer name when the type is Offer or the Plan name when the type is Plan."
|
|
returns:
|
|
description: "the value value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.compute.models.AlternativeOption.withType(com.azure.resourcemanager.compute.models.AlternativeType)"
|
|
fullName: "com.azure.resourcemanager.compute.models.AlternativeOption.withType(AlternativeType type)"
|
|
name: "withType(AlternativeType type)"
|
|
nameWithType: "AlternativeOption.withType(AlternativeType type)"
|
|
summary: "Set the type property: Describes the type of the alternative option."
|
|
parameters:
|
|
- description: "the type value to set."
|
|
name: "type"
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.AlternativeType?alt=com.azure.resourcemanager.compute.models.AlternativeType&text=AlternativeType\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public AlternativeOption withType(AlternativeType type)"
|
|
desc: "Set the type property: Describes the type of the alternative option."
|
|
returns:
|
|
description: "the AlternativeOption object itself."
|
|
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.AlternativeOption.withValue(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.compute.models.AlternativeOption.withValue(String value)"
|
|
name: "withValue(String value)"
|
|
nameWithType: "AlternativeOption.withValue(String value)"
|
|
summary: "Set the value property: Indicates the alternative option value specified by the Publisher."
|
|
parameters:
|
|
- description: "the value value to set."
|
|
name: "value"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public AlternativeOption withValue(String value)"
|
|
desc: "Set the value property: Indicates the alternative option value specified by the Publisher. This is the Offer name when the type is Offer or the Plan name when the type is Plan."
|
|
returns:
|
|
description: "the AlternativeOption object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.AlternativeOption?alt=com.azure.resourcemanager.compute.models.AlternativeOption&text=AlternativeOption\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "Describes the alternative option specified by the Publisher for this image when this image is deprecated."
|
|
implements:
|
|
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.compute.models.AlternativeOption?alt=com.azure.resourcemanager.compute.models.AlternativeOption&text=AlternativeOption\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.compute.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-compute:2.44.0
|