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

141 строка
9.7 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.workloads.models.ImageReference"
fullName: "com.azure.resourcemanager.workloads.models.ImageReference"
name: "ImageReference"
nameWithType: "ImageReference"
summary: "Specifies information about the image to use."
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 **ImageReference**"
constructors:
- uid: "com.azure.resourcemanager.workloads.models.ImageReference.ImageReference()"
fullName: "com.azure.resourcemanager.workloads.models.ImageReference.ImageReference()"
name: "ImageReference()"
nameWithType: "ImageReference.ImageReference()"
summary: "Creates an instance of Image<wbr>Reference class."
syntax: "public ImageReference()"
desc: "Creates an instance of ImageReference class."
methods:
- uid: "com.azure.resourcemanager.workloads.models.ImageReference.offer()"
fullName: "com.azure.resourcemanager.workloads.models.ImageReference.offer()"
name: "offer()"
nameWithType: "ImageReference.offer()"
summary: "Get the offer property: Specifies the offer of the platform image or marketplace image used to create the virtual machine."
syntax: "public String offer()"
desc: "Get the offer property: Specifies the offer of the platform image or marketplace image used to create the virtual machine."
returns:
description: "the offer value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.workloads.models.ImageReference.publisher()"
fullName: "com.azure.resourcemanager.workloads.models.ImageReference.publisher()"
name: "publisher()"
nameWithType: "ImageReference.publisher()"
summary: "Get the publisher property: The image publisher."
syntax: "public String publisher()"
desc: "Get the publisher property: The image publisher."
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.workloads.models.ImageReference.sku()"
fullName: "com.azure.resourcemanager.workloads.models.ImageReference.sku()"
name: "sku()"
nameWithType: "ImageReference.sku()"
summary: "Get the sku property: The image SKU."
syntax: "public String sku()"
desc: "Get the sku property: The image SKU."
returns:
description: "the sku value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.workloads.models.ImageReference.validate()"
fullName: "com.azure.resourcemanager.workloads.models.ImageReference.validate()"
name: "validate()"
nameWithType: "ImageReference.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.workloads.models.ImageReference.version()"
fullName: "com.azure.resourcemanager.workloads.models.ImageReference.version()"
name: "version()"
nameWithType: "ImageReference.version()"
summary: "Get the version property: Specifies the version of the platform image or marketplace image used to create the virtual machine."
syntax: "public String version()"
desc: "Get the version property: Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available."
returns:
description: "the version value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.workloads.models.ImageReference.withOffer(java.lang.String)"
fullName: "com.azure.resourcemanager.workloads.models.ImageReference.withOffer(String offer)"
name: "withOffer(String offer)"
nameWithType: "ImageReference.withOffer(String offer)"
summary: "Set the offer property: Specifies the offer of the platform image or marketplace image used to create the virtual machine."
parameters:
- description: "the offer value to set."
name: "offer"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public ImageReference withOffer(String offer)"
desc: "Set the offer property: Specifies the offer of the platform image or marketplace image used to create the virtual machine."
returns:
description: "the ImageReference object itself."
type: "<xref href=\"com.azure.resourcemanager.workloads.models.ImageReference?alt=com.azure.resourcemanager.workloads.models.ImageReference&text=ImageReference\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.workloads.models.ImageReference.withPublisher(java.lang.String)"
fullName: "com.azure.resourcemanager.workloads.models.ImageReference.withPublisher(String publisher)"
name: "withPublisher(String publisher)"
nameWithType: "ImageReference.withPublisher(String publisher)"
summary: "Set the publisher property: The image publisher."
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 ImageReference withPublisher(String publisher)"
desc: "Set the publisher property: The image publisher."
returns:
description: "the ImageReference object itself."
type: "<xref href=\"com.azure.resourcemanager.workloads.models.ImageReference?alt=com.azure.resourcemanager.workloads.models.ImageReference&text=ImageReference\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.workloads.models.ImageReference.withSku(java.lang.String)"
fullName: "com.azure.resourcemanager.workloads.models.ImageReference.withSku(String sku)"
name: "withSku(String sku)"
nameWithType: "ImageReference.withSku(String sku)"
summary: "Set the sku property: The image SKU."
parameters:
- description: "the sku value to set."
name: "sku"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public ImageReference withSku(String sku)"
desc: "Set the sku property: The image SKU."
returns:
description: "the ImageReference object itself."
type: "<xref href=\"com.azure.resourcemanager.workloads.models.ImageReference?alt=com.azure.resourcemanager.workloads.models.ImageReference&text=ImageReference\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.workloads.models.ImageReference.withVersion(java.lang.String)"
fullName: "com.azure.resourcemanager.workloads.models.ImageReference.withVersion(String version)"
name: "withVersion(String version)"
nameWithType: "ImageReference.withVersion(String version)"
summary: "Set the version property: Specifies the version of the platform image or marketplace image used to create the virtual machine."
parameters:
- description: "the version value to set."
name: "version"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public ImageReference withVersion(String version)"
desc: "Set the version property: Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available."
returns:
description: "the ImageReference object itself."
type: "<xref href=\"com.azure.resourcemanager.workloads.models.ImageReference?alt=com.azure.resourcemanager.workloads.models.ImageReference&text=ImageReference\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set."
metadata: {}
package: "com.azure.resourcemanager.workloads.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-workloads:1.0.0