Language

RoleDefinition Class

Definition

A single role definition required by a given operator

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.RedHatOpenShiftHcp.Models.RoleDefinitionTypeConverter))]
public class RoleDefinition : Microsoft.Azure.PowerShell.Cmdlets.RedHatOpenShiftHcp.Models.IRoleDefinition
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.RedHatOpenShiftHcp.Models.RoleDefinitionTypeConverter))>]
type RoleDefinition = class
    interface IRoleDefinition
    interface IJsonSerializable
Public Class RoleDefinition
Implements IRoleDefinition
Inheritance
RoleDefinition
Attributes
Implements

Constructors

Name Description
RoleDefinition()

Creates an new RoleDefinition instance.

Properties

Name Description
Name

The name of the required role definition

ResourceId

The resource ID of the role definition

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of RoleDefinition.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RoleDefinition.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.RedHatOpenShiftHcp.Models.IRoleDefinition.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of RoleDefinition into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to