3 writes to WorkloadManagedIdentityType
Aspire.Hosting.Azure.Sandboxes (3)
AzureSandboxesExtensions.cs (2)
232
builder.Resource.
WorkloadManagedIdentityType
= ManagedServiceIdentityType.None;
254
builder.Resource.
WorkloadManagedIdentityType
= ManagedServiceIdentityType.SystemAssigned;
AzureSandboxGroupResource.cs (1)
324
WorkloadManagedIdentityType
= WorkloadManagedIdentityType switch
7 references to WorkloadManagedIdentityType
Aspire.Hosting.Azure.Sandboxes (4)
AzureSandboxesExtensions.cs (2)
473
identity.ManagedServiceIdentityType = resource.
WorkloadManagedIdentityType
switch
477
_ => resource.
WorkloadManagedIdentityType
AzureSandboxGroupResource.cs (2)
324
WorkloadManagedIdentityType =
WorkloadManagedIdentityType
switch
328
_ =>
WorkloadManagedIdentityType
Aspire.Hosting.Azure.Tests (3)
AzureSandboxesTests.cs (3)
117
Assert.Equal(ManagedServiceIdentityType.SystemAssignedUserAssigned, sandboxGroup.Resource.
WorkloadManagedIdentityType
);
164
Assert.Equal(ManagedServiceIdentityType.UserAssigned, sandboxGroup.Resource.
WorkloadManagedIdentityType
);
185
Assert.Equal(ManagedServiceIdentityType.UserAssigned, sandboxGroup.Resource.
WorkloadManagedIdentityType
);