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