All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.compute.model.PreservedStatePreservedDisk.html Maven / Gradle / Ivy







PreservedStatePreservedDisk (Compute Engine API beta-rev20220312-1.32.1)












com.google.api.services.compute.model

Class PreservedStatePreservedDisk

    • Constructor Detail

      • PreservedStatePreservedDisk

        public PreservedStatePreservedDisk()
    • Method Detail

      • getAutoDelete

        public String getAutoDelete()
        These stateful disks will never be deleted during autohealing, update, instance recreate operations. This flag is used to configure if the disk should be deleted after it is no longer used by the group, e.g. when the given instance or the whole MIG is deleted. Note: disks attached in READ_ONLY mode cannot be auto-deleted.
        Returns:
        value or null for none
      • setAutoDelete

        public PreservedStatePreservedDisk setAutoDelete(String autoDelete)
        These stateful disks will never be deleted during autohealing, update, instance recreate operations. This flag is used to configure if the disk should be deleted after it is no longer used by the group, e.g. when the given instance or the whole MIG is deleted. Note: disks attached in READ_ONLY mode cannot be auto-deleted.
        Parameters:
        autoDelete - autoDelete or null for none
      • getMode

        public String getMode()
        The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the disk in READ_WRITE mode.
        Returns:
        value or null for none
      • setMode

        public PreservedStatePreservedDisk setMode(String mode)
        The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the disk in READ_WRITE mode.
        Parameters:
        mode - mode or null for none
      • getSource

        public String getSource()
        The URL of the disk resource that is stateful and should be attached to the VM instance.
        Returns:
        value or null for none
      • setSource

        public PreservedStatePreservedDisk setSource(String source)
        The URL of the disk resource that is stateful and should be attached to the VM instance.
        Parameters:
        source - source or null for none

Copyright © 2011–2022 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy