Dela via


JitAuthorizationPolicies Class

Definition

The JIT authorization policies.

public class JitAuthorizationPolicies : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Resources.Models.JitAuthorizationPolicies>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Resources.Models.JitAuthorizationPolicies>
public class JitAuthorizationPolicies
type JitAuthorizationPolicies = class
    interface IJsonModel<JitAuthorizationPolicies>
    interface IPersistableModel<JitAuthorizationPolicies>
type JitAuthorizationPolicies = class
Public Class JitAuthorizationPolicies
Implements IJsonModel(Of JitAuthorizationPolicies), IPersistableModel(Of JitAuthorizationPolicies)
Public Class JitAuthorizationPolicies
Inheritance
JitAuthorizationPolicies
Implements

Constructors

JitAuthorizationPolicies(Guid, String)

Initializes a new instance of JitAuthorizationPolicies.

Properties

PrincipalId

The the principal id that will be granted JIT access.

RoleDefinitionId

The role definition id that will be granted to the Principal.

Explicit Interface Implementations

IJsonModel<JitAuthorizationPolicies>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<JitAuthorizationPolicies>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<JitAuthorizationPolicies>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<JitAuthorizationPolicies>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<JitAuthorizationPolicies>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to