AWS SDK Version 4 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.

The configuration and status of an image usage report.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.ImageUsageReport

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

Syntax

C#
public class ImageUsageReport

The ImageUsageReport type exposes the following members

Constructors

NameDescription
Public Method ImageUsageReport()

Properties

NameTypeDescription
Public Property AccountIds System.Collections.Generic.List<System.String>

Gets and sets the property AccountIds.

The IDs of the Amazon Web Services accounts that were specified when the report was created.

Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.

Public Property CreationTime System.Nullable<System.DateTime>

Gets and sets the property CreationTime.

The date and time when the report was created.

Public Property ExpirationTime System.Nullable<System.DateTime>

Gets and sets the property ExpirationTime.

The date and time when Amazon EC2 will delete the report (30 days after the report was created).

Public Property ImageId System.String

Gets and sets the property ImageId.

The ID of the image that was specified when the report was created.

Public Property ReportId System.String

Gets and sets the property ReportId.

The ID of the report.

Public Property ResourceTypes System.Collections.Generic.List<Amazon.EC2.Model.ImageUsageResourceType>

Gets and sets the property ResourceTypes.

The resource types that were specified when the report was created.

Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.

Public Property State System.String

Gets and sets the property State.

The current state of the report. Possible values:

  • available - The report is available to view.

  • pending - The report is being created and not available to view.

  • error - The report could not be created.

Public Property StateReason System.String

Gets and sets the property StateReason.

Provides additional details when the report is in an error state.

Public Property Tags System.Collections.Generic.List<Amazon.EC2.Model.Tag>

Gets and sets the property Tags.

Any tags assigned to the report.

Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer