Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.82 KB

File metadata and controls

31 lines (22 loc) · 1.82 KB

AccessRule

Properties

Name Type Description Notes
access_type str Specifies the type of access permitted. `READ`: Only viewing Application Perspective is allowed. `READ_WRITE`: Both viewing and modifying Application Perspective are permitted.
related_id str An identifier that connects the access rule to a specific entity. For example, if the `relationType` is `USER`, the corresponding `relatedId` would be a user id. Note: when `relationType` is `GLOBAL`, `relatedId` is `null`. [optional]
relation_type str Defines the type of relationship or subject to which the access rule applies. `USER`: Access is granted to an individual user. `API_TOKEN`: Access is granted to a specific API token. `ROLE`: Access is granted based on a user role, applying to any user with that role. `TEAM`: Access is granted to a team, likely applying to all team members. `GLOBAL`: Access is granted to every user or service.

Example

from instana_client.models.access_rule import AccessRule

# TODO update the JSON string below
json = "{}"
# create an instance of AccessRule from a JSON string
access_rule_instance = AccessRule.from_json(json)
# print the JSON string representation of the object
print(AccessRule.to_json())

# convert the object into a dict
access_rule_dict = access_rule_instance.to_dict()
# create an instance of AccessRule from a dict
access_rule_from_dict = AccessRule.from_dict(access_rule_dict)

[Back to Model list] [Back to API list] [Back to README]