Share via


AccessPolicyResource Class

Definition

An access policy is used to grant users and applications access to the environment. Roles are assigned to service principals in Azure Active Directory. These roles define the actions the principal can perform through the Time Series Insights data plane APIs.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.AccessPolicyResourceTypeConverter))]
public class AccessPolicyResource : Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.IAccessPolicyResource, Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.AccessPolicyResourceTypeConverter))>]
type AccessPolicyResource = class
    interface IAccessPolicyResource
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class AccessPolicyResource
Implements IAccessPolicyResource, IValidates
Inheritance
AccessPolicyResource
Attributes
Implements

Constructors

AccessPolicyResource()

Creates an new AccessPolicyResource instance.

Properties

Description

An description of the access policy.

Id

Resource Id

Name

Resource name

PrincipalObjectId

The objectId of the principal in Azure Active Directory.

Role

The list of roles the principal is assigned on the environment.

Type

Resource type

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AccessPolicyResource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AccessPolicyResource.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.IAccessPolicyResource.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AccessPolicyResource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to