ArmDevCenterModelFactory.DevCenterEnvironmentRole(String, String) Method

Definition

Initializes a new instance of DevCenterEnvironmentRole.

public static Azure.ResourceManager.DevCenter.Models.DevCenterEnvironmentRole DevCenterEnvironmentRole (string roleName = default, string description = default);
static member DevCenterEnvironmentRole : string * string -> Azure.ResourceManager.DevCenter.Models.DevCenterEnvironmentRole
Public Shared Function DevCenterEnvironmentRole (Optional roleName As String = Nothing, Optional description As String = Nothing) As DevCenterEnvironmentRole

Parameters

roleName
String

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

description
String

This is a description of the Role Assignment.

Returns

A new DevCenterEnvironmentRole instance for mocking.

Applies to