Share via


TenantPolicy Class

Definition

Tenant policy.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Subscription.Models.Api20211001.TenantPolicyTypeConverter))]
public class TenantPolicy : Microsoft.Azure.PowerShell.Cmdlets.Subscription.Models.Api20211001.ITenantPolicy
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Subscription.Models.Api20211001.TenantPolicyTypeConverter))>]
type TenantPolicy = class
    interface ITenantPolicy
    interface IJsonSerializable
Public Class TenantPolicy
Implements ITenantPolicy
Inheritance
TenantPolicy
Attributes
Implements

Constructors

TenantPolicy()

Creates an new TenantPolicy instance.

Properties

BlockSubscriptionsIntoTenant

Blocks the entering of subscriptions into user's tenant.

BlockSubscriptionsLeavingTenant

Blocks the leaving of subscriptions from user's tenant.

ExemptedPrincipal

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

PolicyId

Policy Id.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of TenantPolicy.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of TenantPolicy.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Subscription.Models.Api20211001.ITenantPolicy.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of TenantPolicy into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to