IMediaResponse Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Captures the APIs for responses associated with media resource in the Azure Cosmos DB service. Interface exposed for mocking purposes.
public interface IMediaResponse
type IMediaResponse = interface
Public Interface IMediaResponse
- Derived
Properties
ActivityId |
Gets the Activity ID for the request associated with the media resource in the Azure Cosmos DB service. |
ContentLength |
Gets the HTTP ContentLength header value for the response associated with the media resource in the Azure Cosmos DB service. |
ContentType |
Gets the HTTP ContentType header value for the response associated with the media resource in the Azure Cosmos DB service. |
CurrentMediaStorageUsageInMB |
Gets the current attachment content (media) usage in megabytes for the media resource in the Azure Cosmos DB service. |
MaxMediaStorageUsageInMB |
Gets the attachment content (media) storage quota in megabytes for the media resource in the Azure Cosmos DB service. Retrieved from gateway. |
Media |
Gets the attachment content stream for the media resource in the Azure Cosmos DB service. |
ResponseHeaders |
Gets the headers associated with the response associated with the media resource in the Azure Cosmos DB service. |
Slug |
Gets the HTTP slug header value for the response associcated with the media resource in the Azure Cosmos DB service. |