Share via


TenantPolicyProperties Class

Definition

Tenant policy.

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

Properties

BlockSubscriptionsIntoTenant

Blocks the entering of subscriptions into user's tenant.

BlockSubscriptionsLeavingTenant

Blocks the leaving of subscriptions from user's tenant.

ExemptedPrincipals

List of user objectIds that are exempted from the set subscription tenant policies for the user's tenant.

PolicyId

Policy Id.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<TenantPolicyProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TenantPolicyProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<TenantPolicyProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TenantPolicyProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TenantPolicyProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to