public sealed class DiskRestoreProperties : IMessage<DiskRestoreProperties>, IEquatable<DiskRestoreProperties>, IDeepCloneable<DiskRestoreProperties>, IBufferMessage, IMessage
Reference documentation and code samples for the Backup and DR Service v1 API class DiskRestoreProperties.
DiskRestoreProperties represents the properties of a Disk restore.
Implements
IMessageDiskRestoreProperties, IEquatableDiskRestoreProperties, IDeepCloneableDiskRestoreProperties, IBufferMessage, IMessageNamespace
Google.Cloud.BackupDR.V1Assembly
Google.Cloud.BackupDR.V1.dll
Constructors
DiskRestoreProperties()
public DiskRestoreProperties()
DiskRestoreProperties(DiskRestoreProperties)
public DiskRestoreProperties(DiskRestoreProperties other)
Parameter | |
---|---|
Name | Description |
other |
DiskRestoreProperties |
Properties
AccessMode
public DiskRestoreProperties.Types.AccessMode AccessMode { get; set; }
Optional. The access mode of the disk.
Property Value | |
---|---|
Type | Description |
DiskRestorePropertiesTypesAccessMode |
Architecture
public DiskRestoreProperties.Types.Architecture Architecture { get; set; }
Optional. The architecture of the source disk. Valid values are ARM64 or X86_64.
Property Value | |
---|---|
Type | Description |
DiskRestorePropertiesTypesArchitecture |
Description
public string Description { get; set; }
Optional. An optional description of this resource. Provide this property when you create the resource.
Property Value | |
---|---|
Type | Description |
string |
DiskEncryptionKey
public CustomerEncryptionKey DiskEncryptionKey { get; set; }
Optional. Encrypts the disk using a customer-supplied encryption key or a customer-managed encryption key.
Property Value | |
---|---|
Type | Description |
CustomerEncryptionKey |
EnableConfidentialCompute
public bool EnableConfidentialCompute { get; set; }
Optional. Indicates whether this disk is using confidential compute mode. Encryption with a Cloud KMS key is required to enable this option.
Property Value | |
---|---|
Type | Description |
bool |
GuestOsFeature
public RepeatedField<GuestOsFeature> GuestOsFeature { get; }
Optional. A list of features to enable in the guest operating system. This is applicable only for bootable images.
Property Value | |
---|---|
Type | Description |
RepeatedFieldGuestOsFeature |
HasAccessMode
public bool HasAccessMode { get; }
Gets whether the "access_mode" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasArchitecture
public bool HasArchitecture { get; }
Gets whether the "architecture" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasDescription
public bool HasDescription { get; }
Gets whether the "description" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasEnableConfidentialCompute
public bool HasEnableConfidentialCompute { get; }
Gets whether the "enable_confidential_compute" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasName
public bool HasName { get; }
Gets whether the "name" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasPhysicalBlockSizeBytes
public bool HasPhysicalBlockSizeBytes { get; }
Gets whether the "physical_block_size_bytes" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasProvisionedIops
public bool HasProvisionedIops { get; }
Gets whether the "provisioned_iops" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasProvisionedThroughput
public bool HasProvisionedThroughput { get; }
Gets whether the "provisioned_throughput" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasSizeGb
public bool HasSizeGb { get; }
Gets whether the "size_gb" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasStoragePool
public bool HasStoragePool { get; }
Gets whether the "storage_pool" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasType
public bool HasType { get; }
Gets whether the "type" field is set
Property Value | |
---|---|
Type | Description |
bool |
Labels
public MapField<string, string> Labels { get; }
Optional. Labels to apply to this disk. These can be modified later using <code>setLabels</code> method. Label values can be empty.
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |
Licenses
public RepeatedField<string> Licenses { get; }
Optional. A list of publicly available licenses that are applicable to this backup. This is applicable if the original image had licenses attached, e.g. Windows image
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
Name
public string Name { get; set; }
Required. Name of the disk.
Property Value | |
---|---|
Type | Description |
string |
PhysicalBlockSizeBytes
public long PhysicalBlockSizeBytes { get; set; }
Optional. Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. Currently, the supported size is 4096.
Property Value | |
---|---|
Type | Description |
long |
ProvisionedIops
public long ProvisionedIops { get; set; }
Optional. Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle.
Property Value | |
---|---|
Type | Description |
long |
ProvisionedThroughput
public long ProvisionedThroughput { get; set; }
Optional. Indicates how much throughput to provision for the disk. This sets the number of throughput MB per second that the disk can handle.
Property Value | |
---|---|
Type | Description |
long |
ResourceManagerTags
public MapField<string, string> ResourceManagerTags { get; }
Optional. Resource manager tags to be bound to the disk.
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |
ResourcePolicy
public RepeatedField<string> ResourcePolicy { get; }
Optional. Resource policies applied to this disk.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
SizeGb
public long SizeGb { get; set; }
Required. The size of the disk in GB.
Property Value | |
---|---|
Type | Description |
long |
StoragePool
public string StoragePool { get; set; }
Optional. The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource.
Property Value | |
---|---|
Type | Description |
string |
StoragePoolAsStoragePoolName
public StoragePoolName StoragePoolAsStoragePoolName { get; set; }
StoragePoolName-typed view over the StoragePool resource name property.
Property Value | |
---|---|
Type | Description |
StoragePoolName |
Type
public string Type { get; set; }
Required. URL of the disk type resource describing which disk type to use to create the disk.
Property Value | |
---|---|
Type | Description |
string |