Condividi tramite


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

HasValue

Gets a value indicating whether the current instance has a valid value of its underlying type.

(Inherited from NullableResponse<T>)
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.

ToString()

Returns a string that represents the current object.

(Inherited from NullableResponse<T>)

Operators

Implicit(PermissionResponse to CosmosPermission)

Get CosmosPermission implicitly from PermissionResponse

Applies to