Class: Google::Cloud::BackupDR::V1::AttachedDisk
- Inherits:
-
Object
- Object
- Google::Cloud::BackupDR::V1::AttachedDisk
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb
Overview
An instance-attached disk resource.
Defined Under Namespace
Modules: DiskInterface, DiskMode, DiskSavedState, DiskType Classes: InitializeParams
Instance Attribute Summary collapse
-
#auto_delete ⇒ ::Boolean
Optional.
-
#boot ⇒ ::Boolean
Optional.
-
#device_name ⇒ ::String
Optional.
-
#disk_encryption_key ⇒ ::Google::Cloud::BackupDR::V1::CustomerEncryptionKey
Optional.
-
#disk_interface ⇒ ::Google::Cloud::BackupDR::V1::AttachedDisk::DiskInterface
Optional.
-
#disk_size_gb ⇒ ::Integer
Optional.
-
#disk_type ⇒ ::String
readonly
Optional.
-
#disk_type_deprecated ⇒ ::Google::Cloud::BackupDR::V1::AttachedDisk::DiskType
deprecated
Deprecated.
This field is deprecated and may be removed in the next major version update.
-
#guest_os_feature ⇒ ::Array<::Google::Cloud::BackupDR::V1::GuestOsFeature>
Optional.
-
#index ⇒ ::Integer
Optional.
-
#initialize_params ⇒ ::Google::Cloud::BackupDR::V1::AttachedDisk::InitializeParams
Optional.
-
#kind ⇒ ::String
Optional.
-
#license ⇒ ::Array<::String>
Optional.
-
#mode ⇒ ::Google::Cloud::BackupDR::V1::AttachedDisk::DiskMode
Optional.
-
#saved_state ⇒ ::Google::Cloud::BackupDR::V1::AttachedDisk::DiskSavedState
readonly
Optional.
-
#source ⇒ ::String
Optional.
-
#type ⇒ ::Google::Cloud::BackupDR::V1::AttachedDisk::DiskType
Optional.
Instance Attribute Details
#auto_delete ⇒ ::Boolean
Returns Optional. Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).
842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 842 class AttachedDisk include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies the parameters to initialize this disk. # @!attribute [rw] disk_name # @return [::String] # Optional. Specifies the disk name. If not specified, the default is to # use the name of the instance. # @!attribute [rw] replica_zones # @return [::Array<::String>] # Optional. URL of the zone where the disk should be created. # Required for each regional disk associated with the instance. class InitializeParams include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # List of the Disk Types. module DiskType # Default value, which is unused. DISK_TYPE_UNSPECIFIED = 0 # A scratch disk type. SCRATCH = 1 # A persistent disk type. PERSISTENT = 2 end # List of the Disk Modes. module DiskMode # Default value, which is unused. DISK_MODE_UNSPECIFIED = 0 # Attaches this disk in read-write mode. Only one # virtual machine at a time can be attached to a disk in read-write mode. READ_WRITE = 1 # Attaches this disk in read-only mode. Multiple virtual machines can use # a disk in read-only mode at a time. READ_ONLY = 2 # The disk is locked for administrative reasons. Nobody else # can use the disk. This mode is used (for example) when taking # a snapshot of a disk to prevent mounting the disk while it is # being snapshotted. LOCKED = 3 end # List of the Disk Interfaces. module DiskInterface # Default value, which is unused. DISK_INTERFACE_UNSPECIFIED = 0 # SCSI Disk Interface. SCSI = 1 # NVME Disk Interface. NVME = 2 # NVDIMM Disk Interface. NVDIMM = 3 # ISCSI Disk Interface. ISCSI = 4 end # List of the states of the Disk. module DiskSavedState # Default Disk state has not been preserved. DISK_SAVED_STATE_UNSPECIFIED = 0 # Disk state has been preserved. PRESERVED = 1 end end |
#boot ⇒ ::Boolean
Returns Optional. Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.
842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 842 class AttachedDisk include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies the parameters to initialize this disk. # @!attribute [rw] disk_name # @return [::String] # Optional. Specifies the disk name. If not specified, the default is to # use the name of the instance. # @!attribute [rw] replica_zones # @return [::Array<::String>] # Optional. URL of the zone where the disk should be created. # Required for each regional disk associated with the instance. class InitializeParams include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # List of the Disk Types. module DiskType # Default value, which is unused. DISK_TYPE_UNSPECIFIED = 0 # A scratch disk type. SCRATCH = 1 # A persistent disk type. PERSISTENT = 2 end # List of the Disk Modes. module DiskMode # Default value, which is unused. DISK_MODE_UNSPECIFIED = 0 # Attaches this disk in read-write mode. Only one # virtual machine at a time can be attached to a disk in read-write mode. READ_WRITE = 1 # Attaches this disk in read-only mode. Multiple virtual machines can use # a disk in read-only mode at a time. READ_ONLY = 2 # The disk is locked for administrative reasons. Nobody else # can use the disk. This mode is used (for example) when taking # a snapshot of a disk to prevent mounting the disk while it is # being snapshotted. LOCKED = 3 end # List of the Disk Interfaces. module DiskInterface # Default value, which is unused. DISK_INTERFACE_UNSPECIFIED = 0 # SCSI Disk Interface. SCSI = 1 # NVME Disk Interface. NVME = 2 # NVDIMM Disk Interface. NVDIMM = 3 # ISCSI Disk Interface. ISCSI = 4 end # List of the states of the Disk. module DiskSavedState # Default Disk state has not been preserved. DISK_SAVED_STATE_UNSPECIFIED = 0 # Disk state has been preserved. PRESERVED = 1 end end |
#device_name ⇒ ::String
Returns Optional. This is used as an identifier for the disks. This is the unique name has to provided to modify disk parameters like disk_name and replica_zones (in case of RePDs).
842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 842 class AttachedDisk include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies the parameters to initialize this disk. # @!attribute [rw] disk_name # @return [::String] # Optional. Specifies the disk name. If not specified, the default is to # use the name of the instance. # @!attribute [rw] replica_zones # @return [::Array<::String>] # Optional. URL of the zone where the disk should be created. # Required for each regional disk associated with the instance. class InitializeParams include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # List of the Disk Types. module DiskType # Default value, which is unused. DISK_TYPE_UNSPECIFIED = 0 # A scratch disk type. SCRATCH = 1 # A persistent disk type. PERSISTENT = 2 end # List of the Disk Modes. module DiskMode # Default value, which is unused. DISK_MODE_UNSPECIFIED = 0 # Attaches this disk in read-write mode. Only one # virtual machine at a time can be attached to a disk in read-write mode. READ_WRITE = 1 # Attaches this disk in read-only mode. Multiple virtual machines can use # a disk in read-only mode at a time. READ_ONLY = 2 # The disk is locked for administrative reasons. Nobody else # can use the disk. This mode is used (for example) when taking # a snapshot of a disk to prevent mounting the disk while it is # being snapshotted. LOCKED = 3 end # List of the Disk Interfaces. module DiskInterface # Default value, which is unused. DISK_INTERFACE_UNSPECIFIED = 0 # SCSI Disk Interface. SCSI = 1 # NVME Disk Interface. NVME = 2 # NVDIMM Disk Interface. NVDIMM = 3 # ISCSI Disk Interface. ISCSI = 4 end # List of the states of the Disk. module DiskSavedState # Default Disk state has not been preserved. DISK_SAVED_STATE_UNSPECIFIED = 0 # Disk state has been preserved. PRESERVED = 1 end end |
#disk_encryption_key ⇒ ::Google::Cloud::BackupDR::V1::CustomerEncryptionKey
Returns Optional. Encrypts or decrypts a disk using a customer-supplied encryption key.
842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 842 class AttachedDisk include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies the parameters to initialize this disk. # @!attribute [rw] disk_name # @return [::String] # Optional. Specifies the disk name. If not specified, the default is to # use the name of the instance. # @!attribute [rw] replica_zones # @return [::Array<::String>] # Optional. URL of the zone where the disk should be created. # Required for each regional disk associated with the instance. class InitializeParams include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # List of the Disk Types. module DiskType # Default value, which is unused. DISK_TYPE_UNSPECIFIED = 0 # A scratch disk type. SCRATCH = 1 # A persistent disk type. PERSISTENT = 2 end # List of the Disk Modes. module DiskMode # Default value, which is unused. DISK_MODE_UNSPECIFIED = 0 # Attaches this disk in read-write mode. Only one # virtual machine at a time can be attached to a disk in read-write mode. READ_WRITE = 1 # Attaches this disk in read-only mode. Multiple virtual machines can use # a disk in read-only mode at a time. READ_ONLY = 2 # The disk is locked for administrative reasons. Nobody else # can use the disk. This mode is used (for example) when taking # a snapshot of a disk to prevent mounting the disk while it is # being snapshotted. LOCKED = 3 end # List of the Disk Interfaces. module DiskInterface # Default value, which is unused. DISK_INTERFACE_UNSPECIFIED = 0 # SCSI Disk Interface. SCSI = 1 # NVME Disk Interface. NVME = 2 # NVDIMM Disk Interface. NVDIMM = 3 # ISCSI Disk Interface. ISCSI = 4 end # List of the states of the Disk. module DiskSavedState # Default Disk state has not been preserved. DISK_SAVED_STATE_UNSPECIFIED = 0 # Disk state has been preserved. PRESERVED = 1 end end |
#disk_interface ⇒ ::Google::Cloud::BackupDR::V1::AttachedDisk::DiskInterface
Returns Optional. Specifies the disk interface to use for attaching this disk.
842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 842 class AttachedDisk include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies the parameters to initialize this disk. # @!attribute [rw] disk_name # @return [::String] # Optional. Specifies the disk name. If not specified, the default is to # use the name of the instance. # @!attribute [rw] replica_zones # @return [::Array<::String>] # Optional. URL of the zone where the disk should be created. # Required for each regional disk associated with the instance. class InitializeParams include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # List of the Disk Types. module DiskType # Default value, which is unused. DISK_TYPE_UNSPECIFIED = 0 # A scratch disk type. SCRATCH = 1 # A persistent disk type. PERSISTENT = 2 end # List of the Disk Modes. module DiskMode # Default value, which is unused. DISK_MODE_UNSPECIFIED = 0 # Attaches this disk in read-write mode. Only one # virtual machine at a time can be attached to a disk in read-write mode. READ_WRITE = 1 # Attaches this disk in read-only mode. Multiple virtual machines can use # a disk in read-only mode at a time. READ_ONLY = 2 # The disk is locked for administrative reasons. Nobody else # can use the disk. This mode is used (for example) when taking # a snapshot of a disk to prevent mounting the disk while it is # being snapshotted. LOCKED = 3 end # List of the Disk Interfaces. module DiskInterface # Default value, which is unused. DISK_INTERFACE_UNSPECIFIED = 0 # SCSI Disk Interface. SCSI = 1 # NVME Disk Interface. NVME = 2 # NVDIMM Disk Interface. NVDIMM = 3 # ISCSI Disk Interface. ISCSI = 4 end # List of the states of the Disk. module DiskSavedState # Default Disk state has not been preserved. DISK_SAVED_STATE_UNSPECIFIED = 0 # Disk state has been preserved. PRESERVED = 1 end end |
#disk_size_gb ⇒ ::Integer
Returns Optional. The size of the disk in GB.
842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 842 class AttachedDisk include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies the parameters to initialize this disk. # @!attribute [rw] disk_name # @return [::String] # Optional. Specifies the disk name. If not specified, the default is to # use the name of the instance. # @!attribute [rw] replica_zones # @return [::Array<::String>] # Optional. URL of the zone where the disk should be created. # Required for each regional disk associated with the instance. class InitializeParams include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # List of the Disk Types. module DiskType # Default value, which is unused. DISK_TYPE_UNSPECIFIED = 0 # A scratch disk type. SCRATCH = 1 # A persistent disk type. PERSISTENT = 2 end # List of the Disk Modes. module DiskMode # Default value, which is unused. DISK_MODE_UNSPECIFIED = 0 # Attaches this disk in read-write mode. Only one # virtual machine at a time can be attached to a disk in read-write mode. READ_WRITE = 1 # Attaches this disk in read-only mode. Multiple virtual machines can use # a disk in read-only mode at a time. READ_ONLY = 2 # The disk is locked for administrative reasons. Nobody else # can use the disk. This mode is used (for example) when taking # a snapshot of a disk to prevent mounting the disk while it is # being snapshotted. LOCKED = 3 end # List of the Disk Interfaces. module DiskInterface # Default value, which is unused. DISK_INTERFACE_UNSPECIFIED = 0 # SCSI Disk Interface. SCSI = 1 # NVME Disk Interface. NVME = 2 # NVDIMM Disk Interface. NVDIMM = 3 # ISCSI Disk Interface. ISCSI = 4 end # List of the states of the Disk. module DiskSavedState # Default Disk state has not been preserved. DISK_SAVED_STATE_UNSPECIFIED = 0 # Disk state has been preserved. PRESERVED = 1 end end |
#disk_type ⇒ ::String (readonly)
Returns Optional. Output only. The URI of the disk type resource. For example: projects/project/zones/zone/diskTypes/pd-standard or pd-ssd.
842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 842 class AttachedDisk include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies the parameters to initialize this disk. # @!attribute [rw] disk_name # @return [::String] # Optional. Specifies the disk name. If not specified, the default is to # use the name of the instance. # @!attribute [rw] replica_zones # @return [::Array<::String>] # Optional. URL of the zone where the disk should be created. # Required for each regional disk associated with the instance. class InitializeParams include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # List of the Disk Types. module DiskType # Default value, which is unused. DISK_TYPE_UNSPECIFIED = 0 # A scratch disk type. SCRATCH = 1 # A persistent disk type. PERSISTENT = 2 end # List of the Disk Modes. module DiskMode # Default value, which is unused. DISK_MODE_UNSPECIFIED = 0 # Attaches this disk in read-write mode. Only one # virtual machine at a time can be attached to a disk in read-write mode. READ_WRITE = 1 # Attaches this disk in read-only mode. Multiple virtual machines can use # a disk in read-only mode at a time. READ_ONLY = 2 # The disk is locked for administrative reasons. Nobody else # can use the disk. This mode is used (for example) when taking # a snapshot of a disk to prevent mounting the disk while it is # being snapshotted. LOCKED = 3 end # List of the Disk Interfaces. module DiskInterface # Default value, which is unused. DISK_INTERFACE_UNSPECIFIED = 0 # SCSI Disk Interface. SCSI = 1 # NVME Disk Interface. NVME = 2 # NVDIMM Disk Interface. NVDIMM = 3 # ISCSI Disk Interface. ISCSI = 4 end # List of the states of the Disk. module DiskSavedState # Default Disk state has not been preserved. DISK_SAVED_STATE_UNSPECIFIED = 0 # Disk state has been preserved. PRESERVED = 1 end end |
#disk_type_deprecated ⇒ ::Google::Cloud::BackupDR::V1::AttachedDisk::DiskType
This field is deprecated and may be removed in the next major version update.
Returns Specifies the type of the disk.
842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 842 class AttachedDisk include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies the parameters to initialize this disk. # @!attribute [rw] disk_name # @return [::String] # Optional. Specifies the disk name. If not specified, the default is to # use the name of the instance. # @!attribute [rw] replica_zones # @return [::Array<::String>] # Optional. URL of the zone where the disk should be created. # Required for each regional disk associated with the instance. class InitializeParams include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # List of the Disk Types. module DiskType # Default value, which is unused. DISK_TYPE_UNSPECIFIED = 0 # A scratch disk type. SCRATCH = 1 # A persistent disk type. PERSISTENT = 2 end # List of the Disk Modes. module DiskMode # Default value, which is unused. DISK_MODE_UNSPECIFIED = 0 # Attaches this disk in read-write mode. Only one # virtual machine at a time can be attached to a disk in read-write mode. READ_WRITE = 1 # Attaches this disk in read-only mode. Multiple virtual machines can use # a disk in read-only mode at a time. READ_ONLY = 2 # The disk is locked for administrative reasons. Nobody else # can use the disk. This mode is used (for example) when taking # a snapshot of a disk to prevent mounting the disk while it is # being snapshotted. LOCKED = 3 end # List of the Disk Interfaces. module DiskInterface # Default value, which is unused. DISK_INTERFACE_UNSPECIFIED = 0 # SCSI Disk Interface. SCSI = 1 # NVME Disk Interface. NVME = 2 # NVDIMM Disk Interface. NVDIMM = 3 # ISCSI Disk Interface. ISCSI = 4 end # List of the states of the Disk. module DiskSavedState # Default Disk state has not been preserved. DISK_SAVED_STATE_UNSPECIFIED = 0 # Disk state has been preserved. PRESERVED = 1 end end |
#guest_os_feature ⇒ ::Array<::Google::Cloud::BackupDR::V1::GuestOsFeature>
Returns Optional. A list of features to enable on the guest operating system. Applicable only for bootable images.
842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 842 class AttachedDisk include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies the parameters to initialize this disk. # @!attribute [rw] disk_name # @return [::String] # Optional. Specifies the disk name. If not specified, the default is to # use the name of the instance. # @!attribute [rw] replica_zones # @return [::Array<::String>] # Optional. URL of the zone where the disk should be created. # Required for each regional disk associated with the instance. class InitializeParams include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # List of the Disk Types. module DiskType # Default value, which is unused. DISK_TYPE_UNSPECIFIED = 0 # A scratch disk type. SCRATCH = 1 # A persistent disk type. PERSISTENT = 2 end # List of the Disk Modes. module DiskMode # Default value, which is unused. DISK_MODE_UNSPECIFIED = 0 # Attaches this disk in read-write mode. Only one # virtual machine at a time can be attached to a disk in read-write mode. READ_WRITE = 1 # Attaches this disk in read-only mode. Multiple virtual machines can use # a disk in read-only mode at a time. READ_ONLY = 2 # The disk is locked for administrative reasons. Nobody else # can use the disk. This mode is used (for example) when taking # a snapshot of a disk to prevent mounting the disk while it is # being snapshotted. LOCKED = 3 end # List of the Disk Interfaces. module DiskInterface # Default value, which is unused. DISK_INTERFACE_UNSPECIFIED = 0 # SCSI Disk Interface. SCSI = 1 # NVME Disk Interface. NVME = 2 # NVDIMM Disk Interface. NVDIMM = 3 # ISCSI Disk Interface. ISCSI = 4 end # List of the states of the Disk. module DiskSavedState # Default Disk state has not been preserved. DISK_SAVED_STATE_UNSPECIFIED = 0 # Disk state has been preserved. PRESERVED = 1 end end |
#index ⇒ ::Integer
Returns Optional. A zero-based index to this disk, where 0 is reserved for the boot disk.
842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 842 class AttachedDisk include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies the parameters to initialize this disk. # @!attribute [rw] disk_name # @return [::String] # Optional. Specifies the disk name. If not specified, the default is to # use the name of the instance. # @!attribute [rw] replica_zones # @return [::Array<::String>] # Optional. URL of the zone where the disk should be created. # Required for each regional disk associated with the instance. class InitializeParams include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # List of the Disk Types. module DiskType # Default value, which is unused. DISK_TYPE_UNSPECIFIED = 0 # A scratch disk type. SCRATCH = 1 # A persistent disk type. PERSISTENT = 2 end # List of the Disk Modes. module DiskMode # Default value, which is unused. DISK_MODE_UNSPECIFIED = 0 # Attaches this disk in read-write mode. Only one # virtual machine at a time can be attached to a disk in read-write mode. READ_WRITE = 1 # Attaches this disk in read-only mode. Multiple virtual machines can use # a disk in read-only mode at a time. READ_ONLY = 2 # The disk is locked for administrative reasons. Nobody else # can use the disk. This mode is used (for example) when taking # a snapshot of a disk to prevent mounting the disk while it is # being snapshotted. LOCKED = 3 end # List of the Disk Interfaces. module DiskInterface # Default value, which is unused. DISK_INTERFACE_UNSPECIFIED = 0 # SCSI Disk Interface. SCSI = 1 # NVME Disk Interface. NVME = 2 # NVDIMM Disk Interface. NVDIMM = 3 # ISCSI Disk Interface. ISCSI = 4 end # List of the states of the Disk. module DiskSavedState # Default Disk state has not been preserved. DISK_SAVED_STATE_UNSPECIFIED = 0 # Disk state has been preserved. PRESERVED = 1 end end |
#initialize_params ⇒ ::Google::Cloud::BackupDR::V1::AttachedDisk::InitializeParams
Returns Optional. Specifies the parameters to initialize this disk.
842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 842 class AttachedDisk include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies the parameters to initialize this disk. # @!attribute [rw] disk_name # @return [::String] # Optional. Specifies the disk name. If not specified, the default is to # use the name of the instance. # @!attribute [rw] replica_zones # @return [::Array<::String>] # Optional. URL of the zone where the disk should be created. # Required for each regional disk associated with the instance. class InitializeParams include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # List of the Disk Types. module DiskType # Default value, which is unused. DISK_TYPE_UNSPECIFIED = 0 # A scratch disk type. SCRATCH = 1 # A persistent disk type. PERSISTENT = 2 end # List of the Disk Modes. module DiskMode # Default value, which is unused. DISK_MODE_UNSPECIFIED = 0 # Attaches this disk in read-write mode. Only one # virtual machine at a time can be attached to a disk in read-write mode. READ_WRITE = 1 # Attaches this disk in read-only mode. Multiple virtual machines can use # a disk in read-only mode at a time. READ_ONLY = 2 # The disk is locked for administrative reasons. Nobody else # can use the disk. This mode is used (for example) when taking # a snapshot of a disk to prevent mounting the disk while it is # being snapshotted. LOCKED = 3 end # List of the Disk Interfaces. module DiskInterface # Default value, which is unused. DISK_INTERFACE_UNSPECIFIED = 0 # SCSI Disk Interface. SCSI = 1 # NVME Disk Interface. NVME = 2 # NVDIMM Disk Interface. NVDIMM = 3 # ISCSI Disk Interface. ISCSI = 4 end # List of the states of the Disk. module DiskSavedState # Default Disk state has not been preserved. DISK_SAVED_STATE_UNSPECIFIED = 0 # Disk state has been preserved. PRESERVED = 1 end end |
#kind ⇒ ::String
Returns Optional. Type of the resource.
842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 842 class AttachedDisk include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies the parameters to initialize this disk. # @!attribute [rw] disk_name # @return [::String] # Optional. Specifies the disk name. If not specified, the default is to # use the name of the instance. # @!attribute [rw] replica_zones # @return [::Array<::String>] # Optional. URL of the zone where the disk should be created. # Required for each regional disk associated with the instance. class InitializeParams include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # List of the Disk Types. module DiskType # Default value, which is unused. DISK_TYPE_UNSPECIFIED = 0 # A scratch disk type. SCRATCH = 1 # A persistent disk type. PERSISTENT = 2 end # List of the Disk Modes. module DiskMode # Default value, which is unused. DISK_MODE_UNSPECIFIED = 0 # Attaches this disk in read-write mode. Only one # virtual machine at a time can be attached to a disk in read-write mode. READ_WRITE = 1 # Attaches this disk in read-only mode. Multiple virtual machines can use # a disk in read-only mode at a time. READ_ONLY = 2 # The disk is locked for administrative reasons. Nobody else # can use the disk. This mode is used (for example) when taking # a snapshot of a disk to prevent mounting the disk while it is # being snapshotted. LOCKED = 3 end # List of the Disk Interfaces. module DiskInterface # Default value, which is unused. DISK_INTERFACE_UNSPECIFIED = 0 # SCSI Disk Interface. SCSI = 1 # NVME Disk Interface. NVME = 2 # NVDIMM Disk Interface. NVDIMM = 3 # ISCSI Disk Interface. ISCSI = 4 end # List of the states of the Disk. module DiskSavedState # Default Disk state has not been preserved. DISK_SAVED_STATE_UNSPECIFIED = 0 # Disk state has been preserved. PRESERVED = 1 end end |
#license ⇒ ::Array<::String>
Returns Optional. Any valid publicly visible licenses.
842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 842 class AttachedDisk include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies the parameters to initialize this disk. # @!attribute [rw] disk_name # @return [::String] # Optional. Specifies the disk name. If not specified, the default is to # use the name of the instance. # @!attribute [rw] replica_zones # @return [::Array<::String>] # Optional. URL of the zone where the disk should be created. # Required for each regional disk associated with the instance. class InitializeParams include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # List of the Disk Types. module DiskType # Default value, which is unused. DISK_TYPE_UNSPECIFIED = 0 # A scratch disk type. SCRATCH = 1 # A persistent disk type. PERSISTENT = 2 end # List of the Disk Modes. module DiskMode # Default value, which is unused. DISK_MODE_UNSPECIFIED = 0 # Attaches this disk in read-write mode. Only one # virtual machine at a time can be attached to a disk in read-write mode. READ_WRITE = 1 # Attaches this disk in read-only mode. Multiple virtual machines can use # a disk in read-only mode at a time. READ_ONLY = 2 # The disk is locked for administrative reasons. Nobody else # can use the disk. This mode is used (for example) when taking # a snapshot of a disk to prevent mounting the disk while it is # being snapshotted. LOCKED = 3 end # List of the Disk Interfaces. module DiskInterface # Default value, which is unused. DISK_INTERFACE_UNSPECIFIED = 0 # SCSI Disk Interface. SCSI = 1 # NVME Disk Interface. NVME = 2 # NVDIMM Disk Interface. NVDIMM = 3 # ISCSI Disk Interface. ISCSI = 4 end # List of the states of the Disk. module DiskSavedState # Default Disk state has not been preserved. DISK_SAVED_STATE_UNSPECIFIED = 0 # Disk state has been preserved. PRESERVED = 1 end end |
#mode ⇒ ::Google::Cloud::BackupDR::V1::AttachedDisk::DiskMode
Returns Optional. The mode in which to attach this disk.
842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 842 class AttachedDisk include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies the parameters to initialize this disk. # @!attribute [rw] disk_name # @return [::String] # Optional. Specifies the disk name. If not specified, the default is to # use the name of the instance. # @!attribute [rw] replica_zones # @return [::Array<::String>] # Optional. URL of the zone where the disk should be created. # Required for each regional disk associated with the instance. class InitializeParams include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # List of the Disk Types. module DiskType # Default value, which is unused. DISK_TYPE_UNSPECIFIED = 0 # A scratch disk type. SCRATCH = 1 # A persistent disk type. PERSISTENT = 2 end # List of the Disk Modes. module DiskMode # Default value, which is unused. DISK_MODE_UNSPECIFIED = 0 # Attaches this disk in read-write mode. Only one # virtual machine at a time can be attached to a disk in read-write mode. READ_WRITE = 1 # Attaches this disk in read-only mode. Multiple virtual machines can use # a disk in read-only mode at a time. READ_ONLY = 2 # The disk is locked for administrative reasons. Nobody else # can use the disk. This mode is used (for example) when taking # a snapshot of a disk to prevent mounting the disk while it is # being snapshotted. LOCKED = 3 end # List of the Disk Interfaces. module DiskInterface # Default value, which is unused. DISK_INTERFACE_UNSPECIFIED = 0 # SCSI Disk Interface. SCSI = 1 # NVME Disk Interface. NVME = 2 # NVDIMM Disk Interface. NVDIMM = 3 # ISCSI Disk Interface. ISCSI = 4 end # List of the states of the Disk. module DiskSavedState # Default Disk state has not been preserved. DISK_SAVED_STATE_UNSPECIFIED = 0 # Disk state has been preserved. PRESERVED = 1 end end |
#saved_state ⇒ ::Google::Cloud::BackupDR::V1::AttachedDisk::DiskSavedState (readonly)
Returns Optional. Output only. The state of the disk.
842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 842 class AttachedDisk include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies the parameters to initialize this disk. # @!attribute [rw] disk_name # @return [::String] # Optional. Specifies the disk name. If not specified, the default is to # use the name of the instance. # @!attribute [rw] replica_zones # @return [::Array<::String>] # Optional. URL of the zone where the disk should be created. # Required for each regional disk associated with the instance. class InitializeParams include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # List of the Disk Types. module DiskType # Default value, which is unused. DISK_TYPE_UNSPECIFIED = 0 # A scratch disk type. SCRATCH = 1 # A persistent disk type. PERSISTENT = 2 end # List of the Disk Modes. module DiskMode # Default value, which is unused. DISK_MODE_UNSPECIFIED = 0 # Attaches this disk in read-write mode. Only one # virtual machine at a time can be attached to a disk in read-write mode. READ_WRITE = 1 # Attaches this disk in read-only mode. Multiple virtual machines can use # a disk in read-only mode at a time. READ_ONLY = 2 # The disk is locked for administrative reasons. Nobody else # can use the disk. This mode is used (for example) when taking # a snapshot of a disk to prevent mounting the disk while it is # being snapshotted. LOCKED = 3 end # List of the Disk Interfaces. module DiskInterface # Default value, which is unused. DISK_INTERFACE_UNSPECIFIED = 0 # SCSI Disk Interface. SCSI = 1 # NVME Disk Interface. NVME = 2 # NVDIMM Disk Interface. NVDIMM = 3 # ISCSI Disk Interface. ISCSI = 4 end # List of the states of the Disk. module DiskSavedState # Default Disk state has not been preserved. DISK_SAVED_STATE_UNSPECIFIED = 0 # Disk state has been preserved. PRESERVED = 1 end end |
#source ⇒ ::String
Returns Optional. Specifies a valid partial or full URL to an existing Persistent Disk resource.
842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 842 class AttachedDisk include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies the parameters to initialize this disk. # @!attribute [rw] disk_name # @return [::String] # Optional. Specifies the disk name. If not specified, the default is to # use the name of the instance. # @!attribute [rw] replica_zones # @return [::Array<::String>] # Optional. URL of the zone where the disk should be created. # Required for each regional disk associated with the instance. class InitializeParams include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # List of the Disk Types. module DiskType # Default value, which is unused. DISK_TYPE_UNSPECIFIED = 0 # A scratch disk type. SCRATCH = 1 # A persistent disk type. PERSISTENT = 2 end # List of the Disk Modes. module DiskMode # Default value, which is unused. DISK_MODE_UNSPECIFIED = 0 # Attaches this disk in read-write mode. Only one # virtual machine at a time can be attached to a disk in read-write mode. READ_WRITE = 1 # Attaches this disk in read-only mode. Multiple virtual machines can use # a disk in read-only mode at a time. READ_ONLY = 2 # The disk is locked for administrative reasons. Nobody else # can use the disk. This mode is used (for example) when taking # a snapshot of a disk to prevent mounting the disk while it is # being snapshotted. LOCKED = 3 end # List of the Disk Interfaces. module DiskInterface # Default value, which is unused. DISK_INTERFACE_UNSPECIFIED = 0 # SCSI Disk Interface. SCSI = 1 # NVME Disk Interface. NVME = 2 # NVDIMM Disk Interface. NVDIMM = 3 # ISCSI Disk Interface. ISCSI = 4 end # List of the states of the Disk. module DiskSavedState # Default Disk state has not been preserved. DISK_SAVED_STATE_UNSPECIFIED = 0 # Disk state has been preserved. PRESERVED = 1 end end |
#type ⇒ ::Google::Cloud::BackupDR::V1::AttachedDisk::DiskType
Returns Optional. Specifies the type of the disk.
842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 842 class AttachedDisk include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies the parameters to initialize this disk. # @!attribute [rw] disk_name # @return [::String] # Optional. Specifies the disk name. If not specified, the default is to # use the name of the instance. # @!attribute [rw] replica_zones # @return [::Array<::String>] # Optional. URL of the zone where the disk should be created. # Required for each regional disk associated with the instance. class InitializeParams include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # List of the Disk Types. module DiskType # Default value, which is unused. DISK_TYPE_UNSPECIFIED = 0 # A scratch disk type. SCRATCH = 1 # A persistent disk type. PERSISTENT = 2 end # List of the Disk Modes. module DiskMode # Default value, which is unused. DISK_MODE_UNSPECIFIED = 0 # Attaches this disk in read-write mode. Only one # virtual machine at a time can be attached to a disk in read-write mode. READ_WRITE = 1 # Attaches this disk in read-only mode. Multiple virtual machines can use # a disk in read-only mode at a time. READ_ONLY = 2 # The disk is locked for administrative reasons. Nobody else # can use the disk. This mode is used (for example) when taking # a snapshot of a disk to prevent mounting the disk while it is # being snapshotted. LOCKED = 3 end # List of the Disk Interfaces. module DiskInterface # Default value, which is unused. DISK_INTERFACE_UNSPECIFIED = 0 # SCSI Disk Interface. SCSI = 1 # NVME Disk Interface. NVME = 2 # NVDIMM Disk Interface. NVDIMM = 3 # ISCSI Disk Interface. ISCSI = 4 end # List of the states of the Disk. module DiskSavedState # Default Disk state has not been preserved. DISK_SAVED_STATE_UNSPECIFIED = 0 # Disk state has been preserved. PRESERVED = 1 end end |