AccessPolicyResource Class

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.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.timeseriesinsights.models._models_py3.Resource
AccessPolicyResource

Constructor

AccessPolicyResource(*, principal_object_id: Optional[str] = None, description: Optional[str] = None, roles: Optional[List[Union[str, azure.mgmt.timeseriesinsights.models._time_series_insights_client_enums.AccessPolicyRole]]] = None, **kwargs)

Parameters

principal_object_id
str
Required

The objectId of the principal in Azure Active Directory.

description
str
Required

An description of the access policy.

roles
list[str or AccessPolicyRole]
Required

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

Variables

id
str

Resource Id.

name
str

Resource name.

type
str

Resource type.