public sealed class BackupApplianceLockInfo : IMessage<BackupApplianceLockInfo>, IEquatable<BackupApplianceLockInfo>, IDeepCloneable<BackupApplianceLockInfo>, IBufferMessage, IMessage
Reference documentation and code samples for the Backup and DR Service v1 API class BackupApplianceLockInfo.
BackupApplianceLockInfo contains metadata about the backupappliance that
created the lock.
Required. The reason for the lock: e.g. MOUNT/RESTORE/BACKUP/etc. The
value of this string is only meaningful to the client and it is not
interpreted by the BackupVault service.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eBackupApplianceLockInfo\u003c/code\u003e class provides metadata about the backup appliance that created a lock within the Backup and DR Service v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.BackupDR.V1\u003c/code\u003e namespace and is implemented in the \u003ccode\u003eGoogle.Cloud.BackupDR.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eBackupApplianceLockInfo\u003c/code\u003e include \u003ccode\u003eBackupApplianceId\u003c/code\u003e, \u003ccode\u003eBackupApplianceName\u003c/code\u003e, \u003ccode\u003eLockReason\u003c/code\u003e, \u003ccode\u003eJobName\u003c/code\u003e, \u003ccode\u003eSlaId\u003c/code\u003e, and \u003ccode\u003eBackupImage\u003c/code\u003e, all associated with the backup appliance and the lock it creates.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, one default and another that copies values from an existing \u003ccode\u003eBackupApplianceLockInfo\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eIt implements various interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, offering functionalities for message handling, equality comparison, deep cloning, and buffer operations.\u003c/p\u003e\n"]]],[],null,["# Backup and DR Service v1 API - Class BackupApplianceLockInfo (2.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.BackupApplianceLockInfo)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/2.1.0/Google.Cloud.BackupDR.V1.BackupApplianceLockInfo)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/2.0.0/Google.Cloud.BackupDR.V1.BackupApplianceLockInfo)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/1.2.0/Google.Cloud.BackupDR.V1.BackupApplianceLockInfo)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/1.1.0/Google.Cloud.BackupDR.V1.BackupApplianceLockInfo)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/1.0.0-beta02/Google.Cloud.BackupDR.V1.BackupApplianceLockInfo) \n\n public sealed class BackupApplianceLockInfo : IMessage\u003cBackupApplianceLockInfo\u003e, IEquatable\u003cBackupApplianceLockInfo\u003e, IDeepCloneable\u003cBackupApplianceLockInfo\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Backup and DR Service v1 API class BackupApplianceLockInfo.\n\nBackupApplianceLockInfo contains metadata about the backupappliance that\ncreated the lock. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e BackupApplianceLockInfo \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[BackupApplianceLockInfo](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.BackupApplianceLockInfo), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[BackupApplianceLockInfo](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.BackupApplianceLockInfo), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[BackupApplianceLockInfo](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.BackupApplianceLockInfo), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.BackupDR.V1](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.BackupDR.V1.dll\n\nConstructors\n------------\n\n### BackupApplianceLockInfo()\n\n public BackupApplianceLockInfo()\n\n### BackupApplianceLockInfo(BackupApplianceLockInfo)\n\n public BackupApplianceLockInfo(BackupApplianceLockInfo other)\n\nProperties\n----------\n\n### BackupApplianceId\n\n public long BackupApplianceId { get; set; }\n\nRequired. The ID of the backup/recovery appliance that created this lock.\n\n### BackupApplianceName\n\n public string BackupApplianceName { get; set; }\n\nRequired. The name of the backup/recovery appliance that created this lock.\n\n### BackupImage\n\n public string BackupImage { get; set; }\n\nThe image name that depends on this Backup.\n\n### HasBackupImage\n\n public bool HasBackupImage { get; }\n\nGets whether the \"backup_image\" field is set\n\n### HasJobName\n\n public bool HasJobName { get; }\n\nGets whether the \"job_name\" field is set\n\n### HasSlaId\n\n public bool HasSlaId { get; }\n\nGets whether the \"sla_id\" field is set\n\n### JobName\n\n public string JobName { get; set; }\n\nThe job name on the backup/recovery appliance that created this lock.\n\n### LockReason\n\n public string LockReason { get; set; }\n\nRequired. The reason for the lock: e.g. MOUNT/RESTORE/BACKUP/etc. The\nvalue of this string is only meaningful to the client and it is not\ninterpreted by the BackupVault service.\n\n### LockSourceCase\n\n public BackupApplianceLockInfo.LockSourceOneofCase LockSourceCase { get; }\n\n### SlaId\n\n public long SlaId { get; set; }\n\nThe SLA on the backup/recovery appliance that owns the lock."]]