AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

This is the response object from the GetLegalHold operation.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.Backup.Model.GetLegalHoldResponse

Namespace: Amazon.Backup.Model
Assembly: AWSSDK.Backup.dll
Version: 3.x.y.z

Syntax

C#
public class GetLegalHoldResponse : AmazonWebServiceResponse

The GetLegalHoldResponse type exposes the following members

Constructors

NameDescription
Public Method GetLegalHoldResponse()

Properties

NameTypeDescription
Public Property CancelDescription System.String

Gets and sets the property CancelDescription.

String describing the reason for removing the legal hold.

Public Property CancellationDate System.DateTime

Gets and sets the property CancellationDate.

Time in number when legal hold was cancelled.

Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property CreationDate System.DateTime

Gets and sets the property CreationDate.

Time in number format when legal hold was created.

Public Property Description System.String

Gets and sets the property Description.

This is the returned string description of the legal hold.

Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property LegalHoldArn System.String

Gets and sets the property LegalHoldArn.

This is the returned framework ARN for the specified legal hold. An Amazon Resource Name (ARN) uniquely identifies a resource. The format of the ARN depends on the resource type.

Public Property LegalHoldId System.String

Gets and sets the property LegalHoldId.

This is the returned ID associated with a specified legal hold.

Public Property RecoveryPointSelection Amazon.Backup.Model.RecoveryPointSelection

Gets and sets the property RecoveryPointSelection.

This specifies criteria to assign a set of resources, such as resource types or backup vaults.

Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property RetainRecordUntil System.DateTime

Gets and sets the property RetainRecordUntil.

This is the date and time until which the legal hold record will be retained.

Public Property Status Amazon.Backup.LegalHoldStatus

Gets and sets the property Status.

This is the status of the legal hold. Statuses can be ACTIVE, CREATING, CANCELED, and CANCELING.

Public Property Title System.String

Gets and sets the property Title.

This is the string title of the legal hold.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5