ArmComputeModelFactory.GalleryInVmAccessControlRulesRole Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.