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 CreateLegalHold operation.

Inheritance Hierarchy

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

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

Syntax

C#
public class CreateLegalHoldResponse : AmazonWebServiceResponse

The CreateLegalHoldResponse type exposes the following members

Constructors

NameDescription
Public Method CreateLegalHoldResponse()

Properties

NameTypeDescription
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 ARN (Amazon Resource Number) of the created legal hold.

Public Property LegalHoldId System.String

Gets and sets the property LegalHoldId.

Legal hold ID returned for the specified legal hold on a recovery point.

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 Status Amazon.Backup.LegalHoldStatus

Gets and sets the property Status.

This displays the status of the legal hold returned after creating the legal hold. Statuses can be ACTIVE, PENDING, CANCELED, CANCELING, or FAILED.

Public Property Title System.String

Gets and sets the property Title.

This is the string title of the legal hold returned after creating 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