TenantPolicy 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.
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() |