PermissionResponse class

Extends

Constructors

PermissionResponse(PermissionDefinition & PermissionBody & Resource, CosmosHeaders, number, Permission, CosmosDiagnostics)

Properties

activityId
etag
permission

A reference to the Permission corresponding to the returned PermissionDefinition.

requestCharge

Inherited Properties

diagnostics
headers
resource
statusCode
substatus

Constructor Details

PermissionResponse(PermissionDefinition & PermissionBody & Resource, CosmosHeaders, number, Permission, CosmosDiagnostics)

new PermissionResponse(resource: PermissionDefinition & PermissionBody & Resource, headers: CosmosHeaders, statusCode: number, permission: Permission, diagnostics: CosmosDiagnostics)

Parameters

headers
CosmosHeaders
statusCode

number

permission
Permission
diagnostics
CosmosDiagnostics

Property Details

activityId

string activityId

Property Value

string

etag

string etag

Property Value

string

permission

A reference to the Permission corresponding to the returned PermissionDefinition.

permission: Permission

Property Value

requestCharge

number requestCharge

Property Value

number

Inherited Property Details

diagnostics

diagnostics: CosmosDiagnostics

Property Value

Inherited From ResourceResponse.diagnostics

headers

headers: CosmosHeaders_2

Property Value

CosmosHeaders_2

Inherited From ResourceResponse.headers

resource

resource: undefined | (PermissionDefinition & PermissionBody & Resource)

Property Value

Inherited From ResourceResponse.resource

statusCode

statusCode: number

Property Value

number

Inherited From ResourceResponse.statusCode

substatus

substatus?: number

Property Value

number

Inherited From ResourceResponse.substatus