Language

PolicyTokenOperation Class

Definition

The resource operation to acquire a token for.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.PolicyTokenOperationTypeConverter))]
public class PolicyTokenOperation : Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyTokenOperation
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.PolicyTokenOperationTypeConverter))>]
type PolicyTokenOperation = class
    interface IPolicyTokenOperation
    interface IJsonSerializable
Public Class PolicyTokenOperation
Implements IPolicyTokenOperation
Inheritance
PolicyTokenOperation
Attributes
Implements

Constructors

Name Description
PolicyTokenOperation()

Creates an new PolicyTokenOperation instance.

Properties

Name Description
Content

The payload of the resource operation.

HttpMethod

The http method of the resource operation.

Uri

The request URI of the resource operation.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of PolicyTokenOperation.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PolicyTokenOperation.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyTokenOperation.

FromJsonString(String)

Creates a new instance of PolicyTokenOperation, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of PolicyTokenOperation into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to