11 references to ArmClient
Aspire.Hosting.Azure (6)
Provisioning\Provisioners\BicepProvisioner.cs (6)
199
deployment = await context.
ArmClient
.GetDeploymentAsync(deploymentId, cancellationToken).ConfigureAwait(false);
291
latestDeployment = await context.
ArmClient
.GetDeploymentAsync(deploymentId, cancellationToken).ConfigureAwait(false);
519
subscription = await context.
ArmClient
.GetSubscriptionAsync(existingSubscriptionId, cancellationToken).ConfigureAwait(false);
874
deployment = await context.
ArmClient
.GetDeploymentAsync(deploymentId.ToString(), cancellationToken).ConfigureAwait(false);
1019
await foreach (var operation in context.
ArmClient
.GetDeploymentOperationsAsync(deploymentId.ToString(), recursive: true, cancellationToken).ConfigureAwait(false))
1094
var supportedLocations = await context.
ArmClient
.GetSupportedLocationsAsync(context.Subscription.Id.Name, failureDetails.ResourceType!, cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Azure.Tests (4)
ProvisioningContextProviderTests.cs (2)
51
Assert.NotNull(context.
ArmClient
);
604
Assert.NotNull(context.
ArmClient
);
ProvisioningContextTests.cs (2)
23
Assert.NotNull(context.
ArmClient
);
97
var (subscription, tenant) = await context.
ArmClient
.GetSubscriptionAndTenantAsync();
Aspire.Hosting.Foundry (1)
HostedAgent\AzureHostedAgentResource.cs (1)
271
var assignments = provisioningContext.
ArmClient
.GetRoleAssignments(resourceScope);