3 writes to WorkloadManagedIdentityType
Aspire.Hosting.Azure.Sandboxes (3)
AzureSandboxesExtensions.cs (2)
230
builder.Resource.
WorkloadManagedIdentityType
= ManagedServiceIdentityType.None;
252
builder.Resource.
WorkloadManagedIdentityType
= ManagedServiceIdentityType.SystemAssigned;
AzureSandboxGroupResource.cs (1)
360
WorkloadManagedIdentityType
= WorkloadManagedIdentityType switch
7 references to WorkloadManagedIdentityType
Aspire.Hosting.Azure.Sandboxes (4)
AzureSandboxesExtensions.cs (2)
509
identity.ManagedServiceIdentityType = resource.
WorkloadManagedIdentityType
switch
513
_ => resource.
WorkloadManagedIdentityType
AzureSandboxGroupResource.cs (2)
360
WorkloadManagedIdentityType =
WorkloadManagedIdentityType
switch
364
_ =>
WorkloadManagedIdentityType
Aspire.Hosting.Azure.Tests (3)
AzureSandboxesTests.cs (3)
227
Assert.Equal(ManagedServiceIdentityType.SystemAssignedUserAssigned, sandboxGroup.Resource.
WorkloadManagedIdentityType
);
274
Assert.Equal(ManagedServiceIdentityType.UserAssigned, sandboxGroup.Resource.
WorkloadManagedIdentityType
);
296
Assert.Equal(ManagedServiceIdentityType.UserAssigned, sandboxGroup.Resource.
WorkloadManagedIdentityType
);