Share via


TrustedAccessRole Class

Definition

Trusted access role definition.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.TrustedAccessRoleTypeConverter))]
public class TrustedAccessRole : Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ITrustedAccessRole
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.TrustedAccessRoleTypeConverter))>]
type TrustedAccessRole = class
    interface ITrustedAccessRole
    interface IJsonSerializable
Public Class TrustedAccessRole
Implements ITrustedAccessRole
Inheritance
TrustedAccessRole
Attributes
Implements

Constructors

Name Description
TrustedAccessRole()

Creates an new TrustedAccessRole instance.

Properties

Name Description
Name

Name of role, name is unique under a source resource type

Rule

List of rules for the role. This maps to 'rules' property of Kubernetes Cluster Role.

SourceResourceType

Resource type of Azure resource

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of TrustedAccessRole.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of TrustedAccessRole.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ITrustedAccessRole.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of TrustedAccessRole into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to