11 references to ArmClient
Aspire.Hosting.Azure (6)
Provisioning\Provisioners\BicepProvisioner.cs (6)
199deployment = await context.ArmClient.GetDeploymentAsync(deploymentId, cancellationToken).ConfigureAwait(false); 291latestDeployment = await context.ArmClient.GetDeploymentAsync(deploymentId, cancellationToken).ConfigureAwait(false); 519subscription = await context.ArmClient.GetSubscriptionAsync(existingSubscriptionId, cancellationToken).ConfigureAwait(false); 874deployment = await context.ArmClient.GetDeploymentAsync(deploymentId.ToString(), cancellationToken).ConfigureAwait(false); 1019await foreach (var operation in context.ArmClient.GetDeploymentOperationsAsync(deploymentId.ToString(), recursive: true, cancellationToken).ConfigureAwait(false)) 1094var supportedLocations = await context.ArmClient.GetSupportedLocationsAsync(context.Subscription.Id.Name, failureDetails.ResourceType!, cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Azure.Tests (4)
ProvisioningContextProviderTests.cs (2)
51Assert.NotNull(context.ArmClient); 604Assert.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)
271var assignments = provisioningContext.ArmClient.GetRoleAssignments(resourceScope);