Share via


GetTenantPolicyResponse Class

Definition

Tenant policy Information.

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

Constructors

GetTenantPolicyResponse()

Creates an new GetTenantPolicyResponse 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.

Id

Policy Id.

Name

Policy name.

PolicyId

Policy Id.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Type

Resource type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of GetTenantPolicyResponse.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of GetTenantPolicyResponse.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of GetTenantPolicyResponse into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to