Uses of Class
com.azure.resourcemanager.compute.models.ImageDiskReference
Packages that use ImageDiskReference
Package
Description
Package containing the data models for ComputeManagementClient.
-
Uses of ImageDiskReference in com.azure.resourcemanager.compute.models
Methods in com.azure.resourcemanager.compute.models that return ImageDiskReferenceModifier and TypeMethodDescriptionstatic ImageDiskReferenceImageDiskReference.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ImageDiskReference from the JsonReader.CreationData.galleryImageReference()Get the galleryImageReference property: Required if creating from a Gallery Image.CreationData.imageReference()Get the imageReference property: Disk source information for PIR or user images.ImageDiskReference.withCommunityGalleryImageId(String communityGalleryImageId) Set the communityGalleryImageId property: A relative uri containing a community Azure Compute Gallery image reference.Set the id property: A relative uri containing either a Platform Image Repository, user image, or Azure Compute Gallery image reference.Set the lun property: If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use.ImageDiskReference.withSharedGalleryImageId(String sharedGalleryImageId) Set the sharedGalleryImageId property: A relative uri containing a direct shared Azure Compute Gallery image reference.Methods in com.azure.resourcemanager.compute.models with parameters of type ImageDiskReferenceModifier and TypeMethodDescriptionCreationData.withGalleryImageReference(ImageDiskReference galleryImageReference) Set the galleryImageReference property: Required if creating from a Gallery Image.CreationData.withImageReference(ImageDiskReference imageReference) Set the imageReference property: Disk source information for PIR or user images.