Share via


PermissionResponse Class

Definition

The cosmos permission response

public class PermissionResponse : Azure.Response<Azure.Cosmos.PermissionProperties>
type PermissionResponse = class
    inherit Response<PermissionProperties>
Public Class PermissionResponse
Inherits Response(Of PermissionProperties)
Inheritance

Constructors

PermissionResponse()

Create a PermissionResponse as a no-op for mock testing

Properties

Permission

The reference to the cosmos permission. This allows additional operations on the permission or for easy access permissions

Value

Gets the value returned by the service. Accessing this property will throw if HasValue is false.

Methods

GetRawResponse()

Returns the HTTP response returned by the service.

Operators

Implicit(PermissionResponse to CosmosPermission)

Get CosmosPermission implicitly from PermissionResponse

Applies to