ArmDeviceRegistryModelFactory.SystemAssignedServiceIdentity 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.
Managed service identity (either system assigned, or none).
public static Azure.ResourceManager.DeviceRegistry.Models.SystemAssignedServiceIdentity SystemAssignedServiceIdentity(Guid? principalId = default, Guid? tenantId = default, Azure.ResourceManager.DeviceRegistry.Models.SystemAssignedServiceIdentityType type = default);
static member SystemAssignedServiceIdentity : Nullable<Guid> * Nullable<Guid> * Azure.ResourceManager.DeviceRegistry.Models.SystemAssignedServiceIdentityType -> Azure.ResourceManager.DeviceRegistry.Models.SystemAssignedServiceIdentity
Public Shared Function SystemAssignedServiceIdentity (Optional principalId As Nullable(Of Guid) = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing, Optional type As SystemAssignedServiceIdentityType = Nothing) As SystemAssignedServiceIdentity
Parameters
The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
The type of managed identity assigned to this resource.
Returns
A new SystemAssignedServiceIdentity instance for mocking.