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

150 строки
9.8 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.compute.models.PurchasePlan"
fullName: "com.azure.resourcemanager.compute.models.PurchasePlan"
name: "PurchasePlan"
nameWithType: "PurchasePlan"
summary: "Used for establishing the purchase context of any 3rd Party artifact through Market<wbr>Place."
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 **PurchasePlan**</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.PurchasePlan?alt=com.azure.resourcemanager.compute.models.PurchasePlan&text=PurchasePlan\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.compute.models.PurchasePlan.PurchasePlan()"
fullName: "com.azure.resourcemanager.compute.models.PurchasePlan.PurchasePlan()"
name: "PurchasePlan()"
nameWithType: "PurchasePlan.PurchasePlan()"
summary: "Creates an instance of Purchase<wbr>Plan class."
syntax: "public PurchasePlan()"
desc: "Creates an instance of PurchasePlan class."
methods:
- uid: "com.azure.resourcemanager.compute.models.PurchasePlan.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.compute.models.PurchasePlan.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "PurchasePlan.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Purchase<wbr>Plan 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 PurchasePlan fromJson(JsonReader jsonReader)"
exceptions:
- description: "If the deserialized JSON object was missing any required properties."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of PurchasePlan from the JsonReader."
returns:
description: "An instance of PurchasePlan 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.PurchasePlan?alt=com.azure.resourcemanager.compute.models.PurchasePlan&text=PurchasePlan\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.PurchasePlan.name()"
fullName: "com.azure.resourcemanager.compute.models.PurchasePlan.name()"
name: "name()"
nameWithType: "PurchasePlan.name()"
summary: "Get the name property: The plan ID."
syntax: "public String name()"
desc: "Get the name property: The plan ID."
returns:
description: "the name value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.compute.models.PurchasePlan.product()"
fullName: "com.azure.resourcemanager.compute.models.PurchasePlan.product()"
name: "product()"
nameWithType: "PurchasePlan.product()"
summary: "Get the product property: Specifies the product of the image from the marketplace."
syntax: "public String product()"
desc: "Get the product property: Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element."
returns:
description: "the product value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.compute.models.PurchasePlan.publisher()"
fullName: "com.azure.resourcemanager.compute.models.PurchasePlan.publisher()"
name: "publisher()"
nameWithType: "PurchasePlan.publisher()"
summary: "Get the publisher property: The publisher ID."
syntax: "public String publisher()"
desc: "Get the publisher property: The publisher ID."
returns:
description: "the publisher value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.compute.models.PurchasePlan.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.compute.models.PurchasePlan.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "PurchasePlan.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.PurchasePlan.validate()"
fullName: "com.azure.resourcemanager.compute.models.PurchasePlan.validate()"
name: "validate()"
nameWithType: "PurchasePlan.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.compute.models.PurchasePlan.withName(java.lang.String)"
fullName: "com.azure.resourcemanager.compute.models.PurchasePlan.withName(String name)"
name: "withName(String name)"
nameWithType: "PurchasePlan.withName(String name)"
summary: "Set the name property: The plan ID."
parameters:
- description: "the name value to set."
name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public PurchasePlan withName(String name)"
desc: "Set the name property: The plan ID."
returns:
description: "the PurchasePlan object itself."
type: "<xref href=\"com.azure.resourcemanager.compute.models.PurchasePlan?alt=com.azure.resourcemanager.compute.models.PurchasePlan&text=PurchasePlan\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.PurchasePlan.withProduct(java.lang.String)"
fullName: "com.azure.resourcemanager.compute.models.PurchasePlan.withProduct(String product)"
name: "withProduct(String product)"
nameWithType: "PurchasePlan.withProduct(String product)"
summary: "Set the product property: Specifies the product of the image from the marketplace."
parameters:
- description: "the product value to set."
name: "product"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public PurchasePlan withProduct(String product)"
desc: "Set the product property: Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element."
returns:
description: "the PurchasePlan object itself."
type: "<xref href=\"com.azure.resourcemanager.compute.models.PurchasePlan?alt=com.azure.resourcemanager.compute.models.PurchasePlan&text=PurchasePlan\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.PurchasePlan.withPublisher(java.lang.String)"
fullName: "com.azure.resourcemanager.compute.models.PurchasePlan.withPublisher(String publisher)"
name: "withPublisher(String publisher)"
nameWithType: "PurchasePlan.withPublisher(String publisher)"
summary: "Set the publisher property: The publisher ID."
parameters:
- description: "the publisher value to set."
name: "publisher"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public PurchasePlan withPublisher(String publisher)"
desc: "Set the publisher property: The publisher ID."
returns:
description: "the PurchasePlan object itself."
type: "<xref href=\"com.azure.resourcemanager.compute.models.PurchasePlan?alt=com.azure.resourcemanager.compute.models.PurchasePlan&text=PurchasePlan\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Used for establishing the purchase context of any 3rd Party artifact through MarketPlace."
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.PurchasePlan?alt=com.azure.resourcemanager.compute.models.PurchasePlan&text=PurchasePlan\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.compute.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-compute:2.44.0