ArmAutomanageModelFactory.AutomanageServicePrincipalData Method

Definition

Initializes a new instance of AutomanageServicePrincipalData.

public static Azure.ResourceManager.Automanage.Models.AutomanageServicePrincipalData AutomanageServicePrincipalData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string servicePrincipalId = default, bool? isAuthorizationSet = default);
static member AutomanageServicePrincipalData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<bool> -> Azure.ResourceManager.Automanage.Models.AutomanageServicePrincipalData
Public Shared Function AutomanageServicePrincipalData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional servicePrincipalId As String = Nothing, Optional isAuthorizationSet As Nullable(Of Boolean) = Nothing) As AutomanageServicePrincipalData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

servicePrincipalId
String

The Service Principal Id for the subscription.

isAuthorizationSet
Nullable<Boolean>

Returns the contributor RBAC Role exist or not for the Service Principal Id.

Returns

A new AutomanageServicePrincipalData instance for mocking.

Applies to