Share via


TenantPolicyCreateOrUpdateContent Class

Definition

Put tenant policy request properties.

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

Constructors

TenantPolicyCreateOrUpdateContent()

Initializes a new instance of TenantPolicyCreateOrUpdateContent.

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.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<TenantPolicyCreateOrUpdateContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TenantPolicyCreateOrUpdateContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<TenantPolicyCreateOrUpdateContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TenantPolicyCreateOrUpdateContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TenantPolicyCreateOrUpdateContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to