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

137 строки
7.4 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.compute.models.Plan"
fullName: "com.azure.resourcemanager.compute.models.Plan"
name: "Plan"
nameWithType: "Plan"
summary: "Specifies information about the marketplace image used to create the virtual machine."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedMembers:
- "java.lang.Object.clone()"
- "java.lang.Object.equals(java.lang.Object)"
- "java.lang.Object.finalize()"
- "java.lang.Object.getClass()"
- "java.lang.Object.hashCode()"
- "java.lang.Object.notify()"
- "java.lang.Object.notifyAll()"
- "java.lang.Object.toString()"
- "java.lang.Object.wait()"
- "java.lang.Object.wait(long)"
- "java.lang.Object.wait(long,int)"
syntax: "public final class Plan"
constructors:
- uid: "com.azure.resourcemanager.compute.models.Plan.Plan()"
fullName: "com.azure.resourcemanager.compute.models.Plan.Plan()"
name: "Plan()"
nameWithType: "Plan.Plan()"
syntax: "public Plan()"
methods:
- uid: "com.azure.resourcemanager.compute.models.Plan.name()"
fullName: "com.azure.resourcemanager.compute.models.Plan.name()"
name: "name()"
nameWithType: "Plan.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.Plan.product()"
fullName: "com.azure.resourcemanager.compute.models.Plan.product()"
name: "product()"
nameWithType: "Plan.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.Plan.promotionCode()"
fullName: "com.azure.resourcemanager.compute.models.Plan.promotionCode()"
name: "promotionCode()"
nameWithType: "Plan.promotionCode()"
summary: "Get the promotion<wbr>Code property: The promotion code."
syntax: "public String promotionCode()"
desc: "Get the promotionCode property: The promotion code."
returns:
description: "the promotionCode value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.compute.models.Plan.publisher()"
fullName: "com.azure.resourcemanager.compute.models.Plan.publisher()"
name: "publisher()"
nameWithType: "Plan.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.Plan.validate()"
fullName: "com.azure.resourcemanager.compute.models.Plan.validate()"
name: "validate()"
nameWithType: "Plan.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.compute.models.Plan.withName(java.lang.String)"
fullName: "com.azure.resourcemanager.compute.models.Plan.withName(String name)"
name: "withName(String name)"
nameWithType: "Plan.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 Plan withName(String name)"
desc: "Set the name property: The plan ID."
returns:
description: "the Plan object itself."
type: "<xref href=\"com.azure.resourcemanager.compute.models.Plan?alt=com.azure.resourcemanager.compute.models.Plan&text=Plan\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.Plan.withProduct(java.lang.String)"
fullName: "com.azure.resourcemanager.compute.models.Plan.withProduct(String product)"
name: "withProduct(String product)"
nameWithType: "Plan.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 Plan 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 Plan object itself."
type: "<xref href=\"com.azure.resourcemanager.compute.models.Plan?alt=com.azure.resourcemanager.compute.models.Plan&text=Plan\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.Plan.withPromotionCode(java.lang.String)"
fullName: "com.azure.resourcemanager.compute.models.Plan.withPromotionCode(String promotionCode)"
name: "withPromotionCode(String promotionCode)"
nameWithType: "Plan.withPromotionCode(String promotionCode)"
summary: "Set the promotion<wbr>Code property: The promotion code."
parameters:
- description: "the promotionCode value to set."
name: "promotionCode"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public Plan withPromotionCode(String promotionCode)"
desc: "Set the promotionCode property: The promotion code."
returns:
description: "the Plan object itself."
type: "<xref href=\"com.azure.resourcemanager.compute.models.Plan?alt=com.azure.resourcemanager.compute.models.Plan&text=Plan\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.Plan.withPublisher(java.lang.String)"
fullName: "com.azure.resourcemanager.compute.models.Plan.withPublisher(String publisher)"
name: "withPublisher(String publisher)"
nameWithType: "Plan.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 Plan withPublisher(String publisher)"
desc: "Set the publisher property: The publisher ID."
returns:
description: "the Plan object itself."
type: "<xref href=\"com.azure.resourcemanager.compute.models.Plan?alt=com.azure.resourcemanager.compute.models.Plan&text=Plan\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click \\*\\*Want to deploy programmatically, Get Started ->\\*\\*. Enter any required information and then click \\*\\*Save\\*\\*."
metadata: {}
package: "com.azure.resourcemanager.compute.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-compute:2.16.0