ArmComputeModelFactory.GalleryInVmAccessControlRulesRole Method

Definition

public static Azure.ResourceManager.Compute.Models.GalleryInVmAccessControlRulesRole GalleryInVmAccessControlRulesRole(string name = default, System.Collections.Generic.IEnumerable<string> privileges = default);
static member GalleryInVmAccessControlRulesRole : string * seq<string> -> Azure.ResourceManager.Compute.Models.GalleryInVmAccessControlRulesRole
Public Shared Function GalleryInVmAccessControlRulesRole (Optional name As String = Nothing, Optional privileges As IEnumerable(Of String) = Nothing) As GalleryInVmAccessControlRulesRole

Parameters

name
String

The name of the role.

privileges
IEnumerable<String>

A list of privileges needed by this role.

Returns

A new GalleryInVmAccessControlRulesRole instance for mocking.

Applies to