AuthorizationPolicy 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 authorization policy.
public class AuthorizationPolicy : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CustomerInsights.Models.AuthorizationPolicy>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CustomerInsights.Models.AuthorizationPolicy>
type AuthorizationPolicy = class
interface IJsonModel<AuthorizationPolicy>
interface IPersistableModel<AuthorizationPolicy>
Public Class AuthorizationPolicy
Implements IJsonModel(Of AuthorizationPolicy), IPersistableModel(Of AuthorizationPolicy)
- Inheritance
-
AuthorizationPolicy
- Implements
Properties
Permissions |
The permissions associated with the policy. |
PolicyName |
Name of the policy. |
PrimaryKey |
Primary key associated with the policy. |
SecondaryKey |
Secondary key associated with the policy. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<AuthorizationPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<AuthorizationPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<AuthorizationPolicy>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<AuthorizationPolicy>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<AuthorizationPolicy>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |