共用方式為


GalleryInVmAccessControlRulesRole(String, IEnumerable<String>) Constructor

Definition

Initializes a new instance of GalleryInVmAccessControlRulesRole.

public GalleryInVmAccessControlRulesRole (string name, System.Collections.Generic.IEnumerable<string> privileges);
new Azure.ResourceManager.Compute.Models.GalleryInVmAccessControlRulesRole : string * seq<string> -> Azure.ResourceManager.Compute.Models.GalleryInVmAccessControlRulesRole
Public Sub New (name As String, privileges As IEnumerable(Of String))

Parameters

name
String

The name of the role.

privileges
IEnumerable<String>

A list of privileges needed by this role.

Exceptions

name or privileges is null.

Applies to