ArmProviderHubModelFactory.LightHouseAuthorization(String, String) 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.ProviderHub.Models.LightHouseAuthorization LightHouseAuthorization(string principalId = default, string roleDefinitionId = default);
static member LightHouseAuthorization : string * string -> Azure.ResourceManager.ProviderHub.Models.LightHouseAuthorization
Public Shared Function LightHouseAuthorization (Optional principalId As String = Nothing, Optional roleDefinitionId As String = Nothing) As LightHouseAuthorization
Parameters
- principalId
- String
The principal id.
- roleDefinitionId
- String
The role definition id.
Returns
A new LightHouseAuthorization instance for mocking.