EnvironmentRole Class

Definition

A role that can be assigned to a user.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20231001Preview.EnvironmentRoleTypeConverter))]
public class EnvironmentRole : Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20231001Preview.IEnvironmentRole
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20231001Preview.EnvironmentRoleTypeConverter))>]
type EnvironmentRole = class
    interface IEnvironmentRole
    interface IJsonSerializable
Public Class EnvironmentRole
Implements IEnvironmentRole
Inheritance
EnvironmentRole
Attributes
Implements

Constructors

EnvironmentRole()

Creates an new EnvironmentRole instance.

Properties

Description

This is a description of the Role Assignment.

RoleName

The common name of the Role Assignment. This is a descriptive name such as 'AcrPush'.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EnvironmentRole.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EnvironmentRole.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20231001Preview.IEnvironmentRole.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of EnvironmentRole into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to