Implemented interface member:
method
GetValueAsync
Aspire.Hosting.ApplicationModel.IValueProvider.GetValueAsync(System.Threading.CancellationToken)
31 references to GetValueAsync
Aspire.Hosting.Azure.AppContainers (3)
AzureContainerAppEnvironmentResource.cs (1)
156
var domainValue = await ContainerAppDomain.
GetValueAsync
(context.CancellationToken).ConfigureAwait(false);
AzureContainerAppResource.cs (1)
48
var domainValue = await containerAppEnv.ContainerAppDomain.
GetValueAsync
(ctx.CancellationToken).ConfigureAwait(false);
ContainerAppUrls.cs (1)
15
var environmentIdValue = await containerAppEnv.ContainerAppEnvironmentId.
GetValueAsync
(cancellationToken).ConfigureAwait(false)
Aspire.Hosting.Azure.AppService (3)
AppSvcUrls.cs (1)
16
var planIdValue = await computerEnv.PlanIdOutputReference.
GetValueAsync
(cancellationToken).ConfigureAwait(false)
AzureAppServiceEnvironmentResource.cs (1)
242
var dashboardUri = await DashboardUriReference.
GetValueAsync
(context.CancellationToken).ConfigureAwait(false);
AzureAppServiceWebSiteResource.cs (1)
112
var websiteSuffix = await computerEnv.WebSiteSuffix.
GetValueAsync
(context.CancellationToken).ConfigureAwait(false);
Aspire.Hosting.Azure.EntraId (2)
EntraIdResourceExtensions.cs (2)
146
tenantId = await resource.TenantIdOutputReference.
GetValueAsync
(cancellationToken).ConfigureAwait(false);
147
clientId = await resource.ClientIdOutputReference.
GetValueAsync
(cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Azure.EntraId.Tests (3)
EntraIdProvisioningTests.cs (3)
1014
var value = entra.Resource.ClientIdOutputReference.
GetValueAsync
(cts.Token).AsTask();
1029
var value = entra.Resource.ClientIdOutputReference.
GetValueAsync
(cts.Token).AsTask();
1037
Assert.Equal(ClientId, await entra.Resource.ClientIdOutputReference.
GetValueAsync
());
Aspire.Hosting.Azure.Kubernetes (1)
AzureKubernetesEnvironmentResource.AksPipeline.cs (1)
213
var clusterName = await NameOutputReference.
GetValueAsync
(context.CancellationToken).ConfigureAwait(false)
Aspire.Hosting.Azure.Sandboxes (1)
AzureSandboxContainerDeployment.cs (1)
681
var registryEndpoint = await registry.RegistryEndpoint.
GetValueAsync
(cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Azure.Tests (5)
AzureDeployerTests.cs (4)
1425
Assert.Equal(await ((BicepOutputReference)funcAppDeployment.Parameters["env_outputs_azure_container_apps_environment_default_domain"]!).
GetValueAsync
(), containerAppEnv.Resource.Outputs["AZURE_CONTAINER_APPS_ENVIRONMENT_DEFAULT_DOMAIN"]);
1426
Assert.Equal(await ((BicepOutputReference)funcAppDeployment.Parameters["env_outputs_azure_container_apps_environment_id"]!).
GetValueAsync
(), containerAppEnv.Resource.Outputs["AZURE_CONTAINER_APPS_ENVIRONMENT_ID"]);
1427
Assert.Equal("https://testfuncstorage.blob.core.windows.net/", await ((BicepOutputReference)funcAppDeployment.Parameters["funcstorage_outputs_blobendpoint"]!).
GetValueAsync
());
1428
Assert.Equal("https://testhoststorage.blob.core.windows.net/", await ((BicepOutputReference)funcAppDeployment.Parameters["hoststorage_outputs_blobendpoint"]!).
GetValueAsync
());
AzureEnvironmentResourceExtensionsTests.cs (1)
812
var outputTask = storage.GetOutput("blobEndpoint").
GetValueAsync
(CancellationToken.None).AsTask();
Aspire.Hosting.Foundry (10)
HostedAgent\AzureHostedAgentResource.cs (2)
162
var projectEndpoint = await project.Endpoint.
GetValueAsync
(context.CancellationToken).ConfigureAwait(false);
254
var foundryResourceId = await project.Parent.Id.
GetValueAsync
(context.CancellationToken).ConfigureAwait(false);
PromptAgent\AzurePromptAgentResource.cs (3)
202
var projectEndpoint = await project.Endpoint.
GetValueAsync
(cancellationToken).ConfigureAwait(false);
422
var foundryAccountName = await Project.Parent.NameOutputReference.
GetValueAsync
(cancellationToken).ConfigureAwait(false);
423
var projectNameOutput = await Project.NameOutputReference.
GetValueAsync
(cancellationToken).ConfigureAwait(false);
PromptAgent\PromptAgentBuilderExtensions.cs (1)
84
var endpoint = await agent.Project.Endpoint.
GetValueAsync
(ctx.CancellationToken).ConfigureAwait(false);
Toolbox\FoundryToolboxResource.cs (1)
266
var projectEndpoint = await Parent.Endpoint.
GetValueAsync
(cancellationToken).ConfigureAwait(false);
Toolbox\FoundryToolboxToolDefinition.cs (1)
388
var connectionId = await connectionIdRef.
GetValueAsync
(cancellationToken).ConfigureAwait(false);
ToolResources\AzureAISearchToolResource.cs (1)
66
var connectionId = await connectionIdRef.
GetValueAsync
(cancellationToken).ConfigureAwait(false);
ToolResources\BingGroundingToolResource.cs (1)
64
var connectionId = await connectionIdRef.
GetValueAsync
(cancellationToken).ConfigureAwait(false);
Pipelines.AppHost (3)
AppHost.cs (3)
56
var storageAccountName = await acaEnv.GetOutput("storagE_VOLUME_ACCOUNT_NAME").
GetValueAsync
();
240
var storageAccountName = await acaEnv.GetOutput("storagE_VOLUME_ACCOUNT_NAME").
GetValueAsync
();
260
var fileShareName = await acaEnv.GetOutput($"shareS_{i}_NAME").
GetValueAsync
();