PolicyTokenResponse Class
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.
The policy token response properties.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.PolicyTokenResponseTypeConverter))]
public class PolicyTokenResponse : Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyTokenResponse
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.PolicyTokenResponseTypeConverter))>]
type PolicyTokenResponse = class
interface IPolicyTokenResponse
interface IJsonSerializable
Public Class PolicyTokenResponse
Implements IPolicyTokenResponse
- Inheritance
-
PolicyTokenResponse
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| PolicyTokenResponse() |
Creates an new PolicyTokenResponse instance. |
Properties
| Name | Description |
|---|---|
| ChangeReference |
The change reference associated with the operation for which the token is acquired. |
| Expiration |
The expiration of the policy token. |
| Message |
Status message with additional details about the token acquisition operation result. |
| RequestDetailApiVersion |
The api-version of the resource operation that is targeted by the issued token. |
| RequestDetailAuthorizationAction |
The authorization action of the resource operation that is targeted by the issued token. |
| RequestDetailContentHash |
The hashed payload of the resource operation that is targeted by the issued token. |
| RequestDetailHttpMethod |
The http method of the resource operation that is targeted by the issued token. |
| RequestDetailResourceId |
The resource Id of the resource operation that is targeted by the issued token. |
| RequestDetailUri |
The request URI of the resource operation that is targeted by the issued token. |
| Result |
The result of the completed token acquisition operation. Possible values are Succeeded and Failed. |
| Results |
An array of external evaluation endpoint invocation results. |
| RetryAfter |
The date and time after which the client can try to acquire a token again in the case of retry-able failures. |
| Token |
The issued policy token. |
| TokenId |
The unique Id assigned to the policy token. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of PolicyTokenResponse. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of PolicyTokenResponse. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyTokenResponse. |
| FromJsonString(String) |
Creates a new instance of PolicyTokenResponse, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of PolicyTokenResponse into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |