3 writes to WorkloadManagedIdentityType
Aspire.Hosting.Azure.Sandboxes (3)
AzureSandboxesExtensions.cs (2)
222
builder.Resource.
WorkloadManagedIdentityType
= ManagedServiceIdentityType.None;
243
builder.Resource.
WorkloadManagedIdentityType
= ManagedServiceIdentityType.SystemAssigned;
AzureSandboxGroupResource.cs (1)
358
WorkloadManagedIdentityType
= WorkloadManagedIdentityType switch
7 references to WorkloadManagedIdentityType
Aspire.Hosting.Azure.Sandboxes (4)
AzureSandboxesExtensions.cs (2)
498
identity.ManagedServiceIdentityType = resource.
WorkloadManagedIdentityType
switch
502
_ => resource.
WorkloadManagedIdentityType
AzureSandboxGroupResource.cs (2)
358
WorkloadManagedIdentityType =
WorkloadManagedIdentityType
switch
362
_ =>
WorkloadManagedIdentityType
Aspire.Hosting.Azure.Tests (3)
AzureSandboxesTests.cs (3)
228
Assert.Equal(ManagedServiceIdentityType.SystemAssignedUserAssigned, sandboxGroup.Resource.
WorkloadManagedIdentityType
);
275
Assert.Equal(ManagedServiceIdentityType.UserAssigned, sandboxGroup.Resource.
WorkloadManagedIdentityType
);
297
Assert.Equal(ManagedServiceIdentityType.UserAssigned, sandboxGroup.Resource.
WorkloadManagedIdentityType
);