11 references to ArmClient
Aspire.Hosting.Azure (6)
Provisioning\Provisioners\BicepProvisioner.cs (6)
196deployment = await context.ArmClient.GetDeploymentAsync(deploymentId, cancellationToken).ConfigureAwait(false); 288latestDeployment = await context.ArmClient.GetDeploymentAsync(deploymentId, cancellationToken).ConfigureAwait(false); 516subscription = await context.ArmClient.GetSubscriptionAsync(existingSubscriptionId, cancellationToken).ConfigureAwait(false); 876deployment = await context.ArmClient.GetDeploymentAsync(deploymentId.ToString(), cancellationToken).ConfigureAwait(false); 1021await foreach (var operation in context.ArmClient.GetDeploymentOperationsAsync(deploymentId.ToString(), recursive: true, cancellationToken).ConfigureAwait(false)) 1096var supportedLocations = await context.ArmClient.GetSupportedLocationsAsync(context.Subscription.Id.Name, failureDetails.ResourceType!, cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Azure.Tests (4)
ProvisioningContextProviderTests.cs (2)
240Assert.NotNull(context.ArmClient); 805Assert.NotNull(context.ArmClient);
ProvisioningContextTests.cs (2)
23Assert.NotNull(context.ArmClient); 97var (subscription, tenant) = await context.ArmClient.GetSubscriptionAndTenantAsync();
Aspire.Hosting.Foundry (1)
HostedAgent\AzureHostedAgentResource.cs (1)
273var assignments = provisioningContext.ArmClient.GetRoleAssignments(resourceScope);