Class VirtualMachineImageInner

    • Constructor Detail

      • VirtualMachineImageInner

        public VirtualMachineImageInner()
    • Method Detail

      • withTags

        public VirtualMachineImageInner withTags​(Map<String,​String> tags)
        Set the tags property: Specifies the tags that are assigned to the virtual machine. For more information about using tags, see [Using tags to organize your Azure resources](https://docs.microsoft.com/azure/azure-resource-manager/resource-group-using-tags.md).
        Overrides:
        withTags in class VirtualMachineImageResourceInner
        Parameters:
        tags - the tags value to set.
        Returns:
        the VirtualMachineImageResourceInner object itself.
      • plan

        public PurchasePlan plan()
        Get the plan property: Used for establishing the purchase context of any 3rd Party artifact through MarketPlace.
        Returns:
        the plan value.
      • withPlan

        public VirtualMachineImageInner withPlan​(PurchasePlan plan)
        Set the plan property: Used for establishing the purchase context of any 3rd Party artifact through MarketPlace.
        Parameters:
        plan - the plan value to set.
        Returns:
        the VirtualMachineImageInner object itself.
      • osDiskImage

        public OSDiskImage osDiskImage()
        Get the osDiskImage property: Contains the os disk image information.
        Returns:
        the osDiskImage value.
      • withOsDiskImage

        public VirtualMachineImageInner withOsDiskImage​(OSDiskImage osDiskImage)
        Set the osDiskImage property: Contains the os disk image information.
        Parameters:
        osDiskImage - the osDiskImage value to set.
        Returns:
        the VirtualMachineImageInner object itself.
      • dataDiskImages

        public List<DataDiskImage> dataDiskImages()
        Get the dataDiskImages property: The dataDiskImages property.
        Returns:
        the dataDiskImages value.
      • withDataDiskImages

        public VirtualMachineImageInner withDataDiskImages​(List<DataDiskImage> dataDiskImages)
        Set the dataDiskImages property: The dataDiskImages property.
        Parameters:
        dataDiskImages - the dataDiskImages value to set.
        Returns:
        the VirtualMachineImageInner object itself.
      • automaticOSUpgradeProperties

        public AutomaticOSUpgradeProperties automaticOSUpgradeProperties()
        Get the automaticOSUpgradeProperties property: Describes automatic OS upgrade properties on the image.
        Returns:
        the automaticOSUpgradeProperties value.
      • withAutomaticOSUpgradeProperties

        public VirtualMachineImageInner withAutomaticOSUpgradeProperties​(AutomaticOSUpgradeProperties automaticOSUpgradeProperties)
        Set the automaticOSUpgradeProperties property: Describes automatic OS upgrade properties on the image.
        Parameters:
        automaticOSUpgradeProperties - the automaticOSUpgradeProperties value to set.
        Returns:
        the VirtualMachineImageInner object itself.
      • hyperVGeneration

        public HyperVGenerationTypes hyperVGeneration()
        Get the hyperVGeneration property: Specifies the HyperVGeneration Type.
        Returns:
        the hyperVGeneration value.
      • withHyperVGeneration

        public VirtualMachineImageInner withHyperVGeneration​(HyperVGenerationTypes hyperVGeneration)
        Set the hyperVGeneration property: Specifies the HyperVGeneration Type.
        Parameters:
        hyperVGeneration - the hyperVGeneration value to set.
        Returns:
        the VirtualMachineImageInner object itself.
      • disallowed

        public DisallowedConfiguration disallowed()
        Get the disallowed property: Specifies disallowed configuration for the VirtualMachine created from the image.
        Returns:
        the disallowed value.
      • withDisallowed

        public VirtualMachineImageInner withDisallowed​(DisallowedConfiguration disallowed)
        Set the disallowed property: Specifies disallowed configuration for the VirtualMachine created from the image.
        Parameters:
        disallowed - the disallowed value to set.
        Returns:
        the VirtualMachineImageInner object itself.
      • architecture

        public ArchitectureTypes architecture()
        Get the architecture property: Specifies the Architecture Type.
        Returns:
        the architecture value.
      • withArchitecture

        public VirtualMachineImageInner withArchitecture​(ArchitectureTypes architecture)
        Set the architecture property: Specifies the Architecture Type.
        Parameters:
        architecture - the architecture value to set.
        Returns:
        the VirtualMachineImageInner object itself.