155 instantiations of BicepOutputReference
Aspire.Hosting.Azure (6)
AzureBicepResourceExtensions.cs (1)
60return new BicepOutputReference(name, builder.Resource);
AzureUserAssignedIdentityResource.cs (5)
19public BicepOutputReference Id => new("id", this); 24public BicepOutputReference ClientId => new("clientId", this); 29public BicepOutputReference PrincipalId => new("principalId", this); 34public BicepOutputReference PrincipalName => new("principalName", this); 39public BicepOutputReference NameOutputReference => new("name", this);
Aspire.Hosting.Azure.ApiManagement (3)
AzureApiManagementResource.cs (3)
79public BicepOutputReference NameOutputReference => new("name", this); 85public BicepOutputReference Id => new("id", this); 91public BicepOutputReference GatewayUrl => new("gatewayUrl", this);
Aspire.Hosting.Azure.AppConfiguration (3)
AzureAppConfigurationResource.cs (3)
34public BicepOutputReference Endpoint => new("appConfigEndpoint", this); 39public BicepOutputReference NameOutputReference => new("name", this); 44public BicepOutputReference Id => new("id", this);
Aspire.Hosting.Azure.AppContainers (9)
AzureContainerAppEnvironmentResource.cs (9)
305internal BicepOutputReference ContainerAppEnvironmentId => new("AZURE_CONTAINER_APPS_ENVIRONMENT_ID", this); 310internal BicepOutputReference ContainerAppDomain => new("AZURE_CONTAINER_APPS_ENVIRONMENT_DEFAULT_DOMAIN", this); 315internal BicepOutputReference ContainerAppStaticIp => new("AZURE_CONTAINER_APPS_ENVIRONMENT_STATIC_IP", this); 320internal BicepOutputReference ContainerAppLocation => new(LocationOutputName, this); 327internal BicepOutputReference ContainerRegistryName => new("AZURE_CONTAINER_REGISTRY_NAME", this); 332internal BicepOutputReference ContainerRegistryUrl => new("AZURE_CONTAINER_REGISTRY_ENDPOINT", this); 337internal BicepOutputReference ContainerRegistryManagedIdentityId => new("AZURE_CONTAINER_REGISTRY_MANAGED_IDENTITY_ID", this); 342public BicepOutputReference NameOutputReference => new("AZURE_CONTAINER_APPS_ENVIRONMENT_NAME", this); 481volumeName = (resource, volume, volumeIndex, new BicepOutputReference(outputName, this));
Aspire.Hosting.Azure.ApplicationInsights (2)
AzureApplicationInsightsResource.cs (2)
25public BicepOutputReference NameOutputReference => new("name", this); 30public BicepOutputReference ConnectionString => new("appInsightsConnectionString", this);
Aspire.Hosting.Azure.AppService (14)
AzureAppServiceEnvironmentResource.cs (14)
45new("resourceId", GetPrivateLinkWebsite(origin)); 48new("resourceLocation", GetPrivateLinkWebsite(origin)); 402internal BicepOutputReference PlanIdOutputReference => new("planId", this); 403internal BicepOutputReference ContainerRegistryUrl => new("AZURE_CONTAINER_REGISTRY_ENDPOINT", this); 404internal BicepOutputReference ContainerRegistryName => new("AZURE_CONTAINER_REGISTRY_NAME", this); 405internal BicepOutputReference ContainerRegistryManagedIdentityId => new("AZURE_CONTAINER_REGISTRY_MANAGED_IDENTITY_ID", this); 406internal BicepOutputReference ContainerRegistryClientId => new("AZURE_CONTAINER_REGISTRY_MANAGED_IDENTITY_CLIENT_ID", this); 407internal BicepOutputReference WebsiteContributorManagedIdentityId => new("AZURE_WEBSITE_CONTRIBUTOR_MANAGED_IDENTITY_ID", this); 408internal BicepOutputReference WebsiteContributorManagedIdentityPrincipalId => new("AZURE_WEBSITE_CONTRIBUTOR_MANAGED_IDENTITY_PRINCIPAL_ID", this); 413internal BicepOutputReference WebSiteSuffix => new("webSiteSuffix", this); 474public BicepOutputReference NameOutputReference => new("name", this); 479public BicepOutputReference DashboardUriReference => new("AZURE_APP_SERVICE_DASHBOARD_URI", this); 485new("AZURE_APPLICATION_INSIGHTS_INSTRUMENTATIONKEY", this); 491new("AZURE_APPLICATION_INSIGHTS_CONNECTION_STRING", this);
Aspire.Hosting.Azure.CognitiveServices (4)
AzureOpenAIResource.cs (4)
32public BicepOutputReference ConnectionString => new("connectionString", this); 37public BicepOutputReference Endpoint => new("endpoint", this); 42public BicepOutputReference NameOutputReference => new("name", this); 47public BicepOutputReference Id => new("id", this);
Aspire.Hosting.Azure.ConnectorNamespace (4)
AzureConnectorNamespaceResource.cs (4)
28public BicepOutputReference NameOutputReference => new("name", this); 33public BicepOutputReference Id => new("id", this); 38public BicepOutputReference PrincipalId => new("principalId", this); 43public BicepOutputReference TenantId => new("tenantId", this);
Aspire.Hosting.Azure.ContainerRegistry (3)
AzureContainerRegistryResource.cs (3)
56public BicepOutputReference NameOutputReference => new("name", this); 61public BicepOutputReference RegistryEndpoint => new("loginServer", this); 66public BicepOutputReference Id => new("id", this);
Aspire.Hosting.Azure.CosmosDB (3)
AzureCosmosDBResource.cs (3)
48public BicepOutputReference ConnectionStringOutput => new("connectionString", this); 74public BicepOutputReference NameOutputReference => new("name", this); 79public BicepOutputReference Id => new("id", this);
Aspire.Hosting.Azure.EntraId (4)
EntraIdApplicationResource.cs (4)
204public BicepOutputReference ClientIdOutputReference => new(EntraIdBicepConstants.ClientIdOutputName, this); 213public BicepOutputReference TenantIdOutputReference => new(EntraIdBicepConstants.TenantIdOutputName, this); 972public BicepOutputReference ApplicationIdUriOutputReference => new(EntraIdBicepConstants.ApplicationIdUriOutputName, this); 974internal BicepOutputReference ServicePrincipalIdOutputReference => new(EntraIdBicepConstants.ServicePrincipalIdOutputName, this);
Aspire.Hosting.Azure.EventHubs (4)
AzureEventHubsResource.cs (4)
40public BicepOutputReference EventHubsEndpoint => new("eventHubsEndpoint", this); 45internal BicepOutputReference EventHubsHostName => new("eventHubsHostName", this); 50public BicepOutputReference NameOutputReference => new("name", this); 55public BicepOutputReference Id => new("id", this);
Aspire.Hosting.Azure.FrontDoor (2)
AzureFrontDoorResource.cs (2)
33return new($"{normalizedName}_endpointUrl", this); 49return new($"{normalizedName}_endpointId", this);
Aspire.Hosting.Azure.KeyVault (3)
AzureKeyVaultResource.cs (3)
30public BicepOutputReference VaultUri => new("vaultUri", this); 35public BicepOutputReference NameOutputReference => new("name", this); 40public BicepOutputReference Id => new("id", this);
Aspire.Hosting.Azure.Kubernetes (6)
AzureKubernetesEnvironmentResource.cs (6)
222public BicepOutputReference Id => new("id", this); 227public BicepOutputReference ClusterFqdn => new("clusterFqdn", this); 233public BicepOutputReference OidcIssuerUrl => new("oidcIssuerUrl", this); 238public BicepOutputReference KubeletIdentityObjectId => new("kubeletIdentityObjectId", this); 243public BicepOutputReference NodeResourceGroup => new("nodeResourceGroup", this); 248public BicepOutputReference NameOutputReference => new("name", this);
Aspire.Hosting.Azure.Kusto (2)
AzureKustoClusterResource.cs (2)
42public BicepOutputReference NameOutputReference => new("name", this); 47public BicepOutputReference ClusterUri => new("clusterUri", this);
Aspire.Hosting.Azure.Network (16)
AzureNatGatewayResource.cs (2)
25public BicepOutputReference Id => new("id", this); 30public BicepOutputReference NameOutputReference => new("name", this);
AzureNetworkSecurityGroupResource.cs (2)
25public BicepOutputReference Id => new("id", this); 30public BicepOutputReference NameOutputReference => new("name", this);
AzureNetworkSecurityPerimeterResource.cs (2)
31public BicepOutputReference Id => new("id", this); 36public BicepOutputReference NameOutputReference => new("name", this);
AzurePrivateDnsZoneResource.cs (2)
52public BicepOutputReference Id => new("id", this); 57public BicepOutputReference NameOutputReference => new("name", this);
AzurePrivateEndpointResource.cs (2)
26public BicepOutputReference Id => new("id", this); 31public BicepOutputReference NameOutputReference => new("name", this);
AzurePublicIPAddressResource.cs (3)
24public BicepOutputReference Id => new("id", this); 29public BicepOutputReference NameOutputReference => new("name", this); 34public BicepOutputReference IpAddress => new("ipAddress", this);
AzureSubnetResource.cs (1)
75public BicepOutputReference Id => new($"{Infrastructure.NormalizeBicepIdentifier(Name)}_Id", Parent);
AzureVirtualNetworkResource.cs (2)
42public BicepOutputReference Id => new("id", this); 47public BicepOutputReference NameOutputReference => new("name", this);
Aspire.Hosting.Azure.OperationalInsights (3)
AzureLogAnalyticsWorkspaceResource.cs (3)
25public BicepOutputReference NameOutputReference => new("name", this); 30public BicepOutputReference Id => new("logAnalyticsWorkspaceId", this); 35public BicepOutputReference WorkspaceId => new("logAnalyticsWorkspaceId", this);
Aspire.Hosting.Azure.PostgreSQL (4)
AzurePostgresFlexibleServerResource.cs (4)
34private BicepOutputReference ConnectionStringOutput => new("connectionString", this); 46public BicepOutputReference NameOutputReference => new("name", this); 51public BicepOutputReference Id => new("id", this); 56private BicepOutputReference HostNameOutput => new("hostName", this);
Aspire.Hosting.Azure.Redis (7)
AzureManagedRedisResource.cs (4)
33private BicepOutputReference ConnectionStringOutput => new("connectionString", this); 52public BicepOutputReference NameOutputReference => new("name", this); 57public BicepOutputReference Id => new("id", this); 62private BicepOutputReference HostNameOutput => new("hostName", this);
AzureRedisCacheResource.cs (3)
29private BicepOutputReference ConnectionStringOutput => new("connectionString", this); 41public BicepOutputReference NameOutputReference => new("name", this); 46private BicepOutputReference HostNameOutput => new("hostName", this);
Aspire.Hosting.Azure.Sandboxes (3)
AzureSandboxGroupResource.cs (3)
115public BicepOutputReference NameOutputReference => new("name", this); 120public BicepOutputReference IdOutputReference => new("id", this); 125public BicepOutputReference LocationOutputReference => new("location", this);
Aspire.Hosting.Azure.Search (4)
AzureSearchResource.cs (4)
29public BicepOutputReference ConnectionString => new("connectionString", this); 34public BicepOutputReference NameOutputReference => new("name", this); 39public BicepOutputReference Id => new("id", this); 47public BicepOutputReference Endpoint => new("endpoint", this);
Aspire.Hosting.Azure.ServiceBus (4)
AzureServiceBusResource.cs (4)
30public BicepOutputReference ServiceBusEndpoint => new("serviceBusEndpoint", this); 35internal BicepOutputReference ServiceBusHostName => new("serviceBusHostName", this); 40public BicepOutputReference NameOutputReference => new("name", this); 45public BicepOutputReference Id => new("id", this);
Aspire.Hosting.Azure.SignalR (3)
AzureSignalRResource.cs (3)
33public BicepOutputReference HostName => new("hostName", this); 38public BicepOutputReference NameOutputReference => new("name", this); 43public BicepOutputReference Id => new("id", this);
Aspire.Hosting.Azure.Sql (4)
AzureSqlServerResource.cs (4)
62public BicepOutputReference FullyQualifiedDomainName => new("sqlServerFqdn", this); 67public BicepOutputReference NameOutputReference => new("name", this); 72public BicepOutputReference Id => new("id", this); 74private BicepOutputReference AdminName => new("sqlServerAdminName", this);
Aspire.Hosting.Azure.Storage (6)
AzureStorageResource.cs (6)
58public BicepOutputReference BlobEndpoint => new("blobEndpoint", this); 63public BicepOutputReference QueueEndpoint => new("queueEndpoint", this); 68public BicepOutputReference TableEndpoint => new("tableEndpoint", this); 73public BicepOutputReference DataLakeEndpoint => new("dataLakeEndpoint", this); 78public BicepOutputReference Id => new("id", this); 83public BicepOutputReference NameOutputReference => new("name", this);
Aspire.Hosting.Azure.Tests (7)
AzureApiManagementTests.cs (2)
3041public BicepOutputReference VaultUriOutputReference => new("vaultUri", this); 3043public BicepOutputReference NameOutputReference => new("name", this);
AzureEnvironmentResourceExtensionsTests.cs (2)
5046new BicepOutputReference("name", storage).AsProvisioningParameter(infra); 5081new BicepOutputReference("name", storage).AsProvisioningParameter(infra);
AzureFrontDoorPrivateLinkTests.cs (3)
595public BicepOutputReference GetPrivateLinkResourceId(IResource origin) => new(PerOrigin ? $"{origin.Name}Id" : "id", this); 597public BicepOutputReference GetPrivateLinkLocation(IResource origin) => new(PerOrigin ? $"{origin.Name}Location" : "location", this); 604=> ReferenceExpression.Create($"{endpointReference.Resource.Name}.{new BicepOutputReference("domain", this)}");
Aspire.Hosting.Azure.WebPubSub (3)
AzureWebPubSubResource.cs (3)
37public BicepOutputReference Endpoint => new("endpoint", this); 42public BicepOutputReference NameOutputReference => new("name", this); 47public BicepOutputReference Id => new("id", this);
Aspire.Hosting.Foundry (16)
FoundryResource.cs (4)
36public BicepOutputReference AIFoundryApiEndpoint => new("aiFoundryApiEndpoint", this); 41public BicepOutputReference Endpoint => new("endpoint", this); 46public BicepOutputReference NameOutputReference => new("name", this); 51public BicepOutputReference Id => new("id", this);
Project\AzureCognitiveServicesBase.cs (1)
31public BicepOutputReference NameOutputReference => new("name", this);
Project\ProjectResource.cs (8)
109public BicepOutputReference Id => new("id", this); 132public BicepOutputReference Endpoint => new("endpoint", this); 145public BicepOutputReference PrincipalId => new("principalId", this); 147internal BicepOutputReference ContainerRegistryUrl => new("AZURE_CONTAINER_REGISTRY_ENDPOINT", this); 148internal BicepOutputReference ContainerRegistryName => new("AZURE_CONTAINER_REGISTRY_NAME", this); 150internal BicepOutputReference ContainerRegistryManagedIdentityId => new("AZURE_CONTAINER_REGISTRY_MANAGED_IDENTITY_ID", this); 197internal BicepOutputReference AppInsightsConnectionString => new("APPLICATION_INSIGHTS_CONNECTION_STRING", this); 239ReferenceExpression.Create($"{new BicepOutputReference("endpointOrigin", this)}"),
Toolbox\FoundryToolboxToolDefinition.cs (1)
387var connectionIdRef = new BicepOutputReference("id", Connection);
ToolResources\AzureAISearchToolResource.cs (1)
65var connectionIdRef = new BicepOutputReference("id", Connection);
ToolResources\BingGroundingToolResource.cs (1)
63var connectionIdRef = new BicepOutputReference("id", Connection);
Aspire.Hosting.Tests (2)
ConditionalReferenceExpressionTests.cs (1)
131var publicHost = new BicepOutputReference("publicHost", infrastructure.Resource);
ManifestExpressionTests.cs (1)
517var host = new BicepOutputReference("host", infrastructure.Resource);
BicepSample.AppHost (1)
AppHost.cs (1)
18.WithParameter("p2", () => new BicepOutputReference("val0", temp00!))
263 references to BicepOutputReference
Aspire.Hosting.Azure (41)
AzureBicepResource.cs (3)
588public sealed class BicepOutputReference(string name, AzureBicepResource resource) : IExpressionValue, IManifestExpressionProvider, IValueProvider, IValueWithReferences, IEquatable<BicepOutputReference> 638bool IEquatable<BicepOutputReference>.Equals(BicepOutputReference? other) =>
AzureBicepResourceExtensions.cs (6)
56/// <returns>A <see cref="BicepOutputReference"/> that represents the output.</returns> 58public static BicepOutputReference GetOutput(this IResourceBuilder<AzureBicepResource> builder, string name) 84public static IResourceBuilder<T> WithEnvironment<T>(this IResourceBuilder<T> builder, string name, BicepOutputReference bicepOutputReference) 151typeof(BicepOutputReference), 164BicepOutputReference output => builder.WithParameter(name, output), 308public static IResourceBuilder<T> WithParameter<T>(this IResourceBuilder<T> builder, string name, BicepOutputReference value)
AzureProvisioningResource.cs (2)
176: existingAnnotation.Name is BicepOutputReference nameOutputReference 221BicepOutputReference nameOutputReference => nameOutputReference.AsProvisioningParameter(infra),
AzureProvisioningResourceExtensions.cs (2)
198/// The <see cref="BicepOutputReference"/> that contains the value to use for the <see cref="ProvisioningParameter"/>. 211public static ProvisioningParameter AsProvisioningParameter(this BicepOutputReference outputReference, AzureResourceInfrastructure infrastructure, string? parameterName = null)
AzurePublishingContext.cs (9)
80/// that was created with the value of the output referenced by the Aspire <see cref="BicepOutputReference"/>. 82public Dictionary<BicepOutputReference, ProvisioningOutput> OutputLookup { get; } = []; 88/// This reverse lookup map allows efficient retrieval of <see cref="BicepOutputReference"/> 91internal Dictionary<string, BicepOutputReference> ReverseOutputLookup { get; } = []; 251var deploymentTargetOutputs = new Dictionary<BicepOutputReference, ProvisioningParameter>(); 253BicepValue<string> GetOutputValue(BicepOutputReference output) 319BicepOutputReference b => GetOutputValue(b), 461var outputs = new Dictionary<string, BicepOutputReference>(); 465if (value is BicepOutputReference bo)
AzureUserAssignedIdentityResource.cs (5)
19public BicepOutputReference Id => new("id", this); 24public BicepOutputReference ClientId => new("clientId", this); 29public BicepOutputReference PrincipalId => new("principalId", this); 34public BicepOutputReference PrincipalName => new("principalName", this); 39public BicepOutputReference NameOutputReference => new("name", this);
ExistingAzureResourceAnnotation.cs (1)
45/// Supports a <see cref="string"/>, <see cref="ParameterResource"/>, or a <see cref="BicepOutputReference"/> via runtime validation.
IAppIdentityResource.cs (4)
14public BicepOutputReference Id { get; } 19public BicepOutputReference ClientId { get; } 24public BicepOutputReference PrincipalId { get; } 29public BicepOutputReference PrincipalName { get; }
IAzureCdnPrivateLinkTarget.cs (2)
37BicepOutputReference GetPrivateLinkResourceId(IResource origin); 49BicepOutputReference GetPrivateLinkLocation(IResource origin);
IAzureKeyVaultResource.cs (2)
17BicepOutputReference VaultUriOutputReference { get; } 22BicepOutputReference NameOutputReference { get; }
IAzureNspAssociationTarget.cs (1)
23BicepOutputReference Id { get; }
IAzurePrivateEndpointTarget.cs (1)
18BicepOutputReference Id { get; }
IBicepOutputReferenceProvider.cs (3)
9/// Represents a value that is published as a <see cref="BicepOutputReference"/>, but whose output is not known 14/// <see cref="BicepOutputReference"/> itself. This lets a value, such as a client ID of an identity that is created while 24BicepOutputReference? GetOutputReference();
Aspire.Hosting.Azure.ApiManagement (4)
AzureApiManagementResource.cs (4)
79public BicepOutputReference NameOutputReference => new("name", this); 85public BicepOutputReference Id => new("id", this); 91public BicepOutputReference GatewayUrl => new("gatewayUrl", this); 133public BicepOutputReference PrincipalId => Identity.PrincipalId;
Aspire.Hosting.Azure.AppConfiguration (3)
AzureAppConfigurationResource.cs (3)
34public BicepOutputReference Endpoint => new("appConfigEndpoint", this); 39public BicepOutputReference NameOutputReference => new("name", this); 44public BicepOutputReference Id => new("id", this);
Aspire.Hosting.Azure.AppContainers (15)
AzureContainerAppEnvironmentResource.cs (12)
40BicepOutputReference IAzureCdnPrivateLinkTarget.GetPrivateLinkResourceId(IResource origin) => ContainerAppEnvironmentId; 43BicepOutputReference IAzureCdnPrivateLinkTarget.GetPrivateLinkLocation(IResource origin) => ContainerAppLocation; 305internal BicepOutputReference ContainerAppEnvironmentId => new("AZURE_CONTAINER_APPS_ENVIRONMENT_ID", this); 310internal BicepOutputReference ContainerAppDomain => new("AZURE_CONTAINER_APPS_ENVIRONMENT_DEFAULT_DOMAIN", this); 315internal BicepOutputReference ContainerAppStaticIp => new("AZURE_CONTAINER_APPS_ENVIRONMENT_STATIC_IP", this); 320internal BicepOutputReference ContainerAppLocation => new(LocationOutputName, this); 327internal BicepOutputReference ContainerRegistryName => new("AZURE_CONTAINER_REGISTRY_NAME", this); 332internal BicepOutputReference ContainerRegistryUrl => new("AZURE_CONTAINER_REGISTRY_ENDPOINT", this); 337internal BicepOutputReference ContainerRegistryManagedIdentityId => new("AZURE_CONTAINER_REGISTRY_MANAGED_IDENTITY_ID", this); 342public BicepOutputReference NameOutputReference => new("AZURE_CONTAINER_APPS_ENVIRONMENT_NAME", this); 344internal Dictionary<string, (IResource resource, ContainerMountAnnotation volume, int index, BicepOutputReference outputReference)> VolumeNames { get; } = []; 465internal BicepOutputReference GetVolumeStorage(IResource resource, ContainerMountAnnotation volume, int volumeIndex)
BaseContainerAppContext.cs (3)
36public Dictionary<string, (ContainerMountAnnotation, BicepOutputReference)> Volumes { get; } = []; 170var storageName = _containerAppEnvironmentContext.Environment.GetVolumeStorage(resource, volume, index); 283if (value is BicepOutputReference output)
Aspire.Hosting.Azure.ApplicationInsights (7)
AzureApplicationInsightsExtensions.cs (5)
130/// Configures the Application Insights resource to use an existing Log Analytics Workspace via a <see cref="BicepOutputReference"/>. 133/// <param name="workspaceId">The <see cref="BicepOutputReference"/> for the Log Analytics Workspace resource id.</param> 139BicepOutputReference workspaceId) 160private sealed class LogAnalyticsWorkspaceReferenceAnnotation(BicepOutputReference workspaceId) : IResourceAnnotation 162public BicepOutputReference WorkspaceId { get; } = workspaceId;
AzureApplicationInsightsResource.cs (2)
25public BicepOutputReference NameOutputReference => new("name", this); 30public BicepOutputReference ConnectionString => new("appInsightsConnectionString", this);
Aspire.Hosting.Azure.AppService (15)
AzureAppServiceEnvironmentResource.cs (14)
44BicepOutputReference IAzureCdnPrivateLinkTarget.GetPrivateLinkResourceId(IResource origin) => 47BicepOutputReference IAzureCdnPrivateLinkTarget.GetPrivateLinkLocation(IResource origin) => 402internal BicepOutputReference PlanIdOutputReference => new("planId", this); 403internal BicepOutputReference ContainerRegistryUrl => new("AZURE_CONTAINER_REGISTRY_ENDPOINT", this); 404internal BicepOutputReference ContainerRegistryName => new("AZURE_CONTAINER_REGISTRY_NAME", this); 405internal BicepOutputReference ContainerRegistryManagedIdentityId => new("AZURE_CONTAINER_REGISTRY_MANAGED_IDENTITY_ID", this); 406internal BicepOutputReference ContainerRegistryClientId => new("AZURE_CONTAINER_REGISTRY_MANAGED_IDENTITY_CLIENT_ID", this); 407internal BicepOutputReference WebsiteContributorManagedIdentityId => new("AZURE_WEBSITE_CONTRIBUTOR_MANAGED_IDENTITY_ID", this); 408internal BicepOutputReference WebsiteContributorManagedIdentityPrincipalId => new("AZURE_WEBSITE_CONTRIBUTOR_MANAGED_IDENTITY_PRINCIPAL_ID", this); 413internal BicepOutputReference WebSiteSuffix => new("webSiteSuffix", this); 474public BicepOutputReference NameOutputReference => new("name", this); 479public BicepOutputReference DashboardUriReference => new("AZURE_APP_SERVICE_DASHBOARD_URI", this); 484public BicepOutputReference AzureAppInsightsInstrumentationKeyReference => 490public BicepOutputReference AzureAppInsightsConnectionStringReference =>
AzureAppServiceWebsiteContext.cs (1)
235if (value is BicepOutputReference output)
Aspire.Hosting.Azure.CognitiveServices (4)
AzureOpenAIResource.cs (4)
32public BicepOutputReference ConnectionString => new("connectionString", this); 37public BicepOutputReference Endpoint => new("endpoint", this); 42public BicepOutputReference NameOutputReference => new("name", this); 47public BicepOutputReference Id => new("id", this);
Aspire.Hosting.Azure.ConnectorNamespace (4)
AzureConnectorNamespaceResource.cs (4)
28public BicepOutputReference NameOutputReference => new("name", this); 33public BicepOutputReference Id => new("id", this); 38public BicepOutputReference PrincipalId => new("principalId", this); 43public BicepOutputReference TenantId => new("tenantId", this);
Aspire.Hosting.Azure.ContainerRegistry (3)
AzureContainerRegistryResource.cs (3)
56public BicepOutputReference NameOutputReference => new("name", this); 61public BicepOutputReference RegistryEndpoint => new("loginServer", this); 66public BicepOutputReference Id => new("id", this);
Aspire.Hosting.Azure.CosmosDB (3)
AzureCosmosDBResource.cs (3)
48public BicepOutputReference ConnectionStringOutput => new("connectionString", this); 74public BicepOutputReference NameOutputReference => new("name", this); 79public BicepOutputReference Id => new("id", this);
Aspire.Hosting.Azure.EntraId (10)
EntraIdApplicationResource.cs (8)
204public BicepOutputReference ClientIdOutputReference => new(EntraIdBicepConstants.ClientIdOutputName, this); 213public BicepOutputReference TenantIdOutputReference => new(EntraIdBicepConstants.TenantIdOutputName, this); 424internal Dictionary<string, BicepOutputReference> AppRoleAssignmentParameters { get; } = []; 972public BicepOutputReference ApplicationIdUriOutputReference => new(EntraIdBicepConstants.ApplicationIdUriOutputName, this); 974internal BicepOutputReference ServicePrincipalIdOutputReference => new(EntraIdBicepConstants.ServicePrincipalIdOutputName, this); 1011BicepOutputReference output => ReferenceExpression.Create($"{output}/{scope}"), 1237private BicepOutputReference ClientId 1249public BicepOutputReference? GetOutputReference()
Provisioning\EntraIdApiProvisioning.cs (2)
205var principalId = identity.PrincipalId; 242BicepOutputReference output => output.AsProvisioningParameter(infrastructure, symbolNames.ClientId(application)),
Aspire.Hosting.Azure.EntraId.Tests (11)
EntraIdApiProvisioningTests.cs (5)
1248Assert.Equal("orders-api", ((BicepOutputReference)web.Resource.Parameters["orders_apiClientId"]!).Resource.Name); 1249Assert.Equal("ordersApi", ((BicepOutputReference)web.Resource.Parameters["ordersApiClientId"]!).Resource.Name); 1250Assert.Equal("orders-api", ((BicepOutputReference)web.Resource.Parameters["orders_apiServicePrincipalId"]!).Resource.Name); 1251Assert.Equal("ordersApi", ((BicepOutputReference)web.Resource.Parameters["ordersApiServicePrincipalId"]!).Resource.Name); 1336Assert.Equal("orders-api", ((BicepOutputReference)web.Resource.Parameters["orders_apiClientId_2"]!).Resource.Name);
EntraIdAppRoleAssignmentTests.cs (4)
44api.Resource.Parameters.Values.OfType<BicepOutputReference>().Select(p => p.ValueExpression).Order()); 188Assert.Single(api.Resource.Parameters.Values.OfType<BicepOutputReference>()).ValueExpression); 192Assert.Empty(api.Resource.Parameters.Values.OfType<BicepOutputReference>()); 243Assert.Single(api.Resource.Parameters.Values.OfType<BicepOutputReference>()).ValueExpression);
EntraIdProvisioningTests.cs (2)
663Assert.Same(webIdentity.Resource, Assert.IsType<BicepOutputReference>(entra.Resource.Parameters["web_identity_principalId_2"]).Resource); 684Assert.Same(webIdentity.Resource, Assert.IsType<BicepOutputReference>(entra.Resource.Parameters["web_identity_principalId_2"]).Resource);
Aspire.Hosting.Azure.EventHubs (4)
AzureEventHubsResource.cs (4)
40public BicepOutputReference EventHubsEndpoint => new("eventHubsEndpoint", this); 45internal BicepOutputReference EventHubsHostName => new("eventHubsHostName", this); 50public BicepOutputReference NameOutputReference => new("name", this); 55public BicepOutputReference Id => new("id", this);
Aspire.Hosting.Azure.FrontDoor (7)
AzureFrontDoorExtensions.cs (3)
305var resourceId = environment.GetPrivateLinkResourceId(originResource); 350BicepOutputReference resourceId, 351BicepOutputReference location)
AzureFrontDoorResource.cs (4)
25/// <returns>A <see cref="BicepOutputReference"/> for the Front Door endpoint URL serving that origin.</returns> 30public BicepOutputReference GetEndpointUrl(string originResourceName) 40/// <returns>A <see cref="BicepOutputReference"/> for the Front Door endpoint resource ID serving that origin.</returns> 46public BicepOutputReference GetEndpointId(string originResourceName)
Aspire.Hosting.Azure.KeyVault (4)
AzureKeyVaultResource.cs (4)
30public BicepOutputReference VaultUri => new("vaultUri", this); 35public BicepOutputReference NameOutputReference => new("name", this); 40public BicepOutputReference Id => new("id", this); 95BicepOutputReference IAzureKeyVaultResource.VaultUriOutputReference => VaultUri;
Aspire.Hosting.Azure.Kubernetes (13)
AksSubnetAnnotation.cs (2)
13internal sealed class AksSubnetAnnotation(BicepOutputReference subnetId) : IResourceAnnotation 18public BicepOutputReference SubnetId { get; } = subnetId;
AzureKubernetesEnvironmentResource.AksPipeline.cs (2)
84var identityClientId = appIdentity.IdentityResource.ClientId; 706/// <see cref="ParameterResource"/> or a <see cref="BicepOutputReference"/>.
AzureKubernetesEnvironmentResource.cs (7)
222public BicepOutputReference Id => new("id", this); 227public BicepOutputReference ClusterFqdn => new("clusterFqdn", this); 233public BicepOutputReference OidcIssuerUrl => new("oidcIssuerUrl", this); 238public BicepOutputReference KubeletIdentityObjectId => new("kubeletIdentityObjectId", this); 243public BicepOutputReference NodeResourceGroup => new("nodeResourceGroup", this); 248public BicepOutputReference NameOutputReference => new("name", this); 286internal Dictionary<string, BicepOutputReference> NodePoolSubnets { get; } = [];
AzureKubernetesLoadBalancerResource.cs (2)
64BicepOutputReference subnetIdReference, 106internal BicepOutputReference SubnetIdReference { get; }
Aspire.Hosting.Azure.Kubernetes.Tests (2)
AzureKubernetesEnvironmentExtensionsTests.cs (2)
813Assert.IsType<BicepOutputReference>(roles.Parameters["principalId"]).ValueExpression); 1029Assert.IsType<BicepOutputReference>(roles.Parameters["principalId"]).ValueExpression);
Aspire.Hosting.Azure.Kusto (2)
AzureKustoClusterResource.cs (2)
42public BicepOutputReference NameOutputReference => new("name", this); 47public BicepOutputReference ClusterUri => new("clusterUri", this);
Aspire.Hosting.Azure.Network (17)
AzureNatGatewayResource.cs (2)
25public BicepOutputReference Id => new("id", this); 30public BicepOutputReference NameOutputReference => new("name", this);
AzureNetworkSecurityGroupResource.cs (2)
25public BicepOutputReference Id => new("id", this); 30public BicepOutputReference NameOutputReference => new("name", this);
AzureNetworkSecurityPerimeterResource.cs (3)
31public BicepOutputReference Id => new("id", this); 36public BicepOutputReference NameOutputReference => new("name", this); 68BicepOutputReference TargetResourceId,
AzurePrivateDnsZoneResource.cs (2)
52public BicepOutputReference Id => new("id", this); 57public BicepOutputReference NameOutputReference => new("name", this);
AzurePrivateEndpointResource.cs (2)
26public BicepOutputReference Id => new("id", this); 31public BicepOutputReference NameOutputReference => new("name", this);
AzurePublicIPAddressResource.cs (3)
24public BicepOutputReference Id => new("id", this); 29public BicepOutputReference NameOutputReference => new("name", this); 34public BicepOutputReference IpAddress => new("ipAddress", this);
AzureSubnetResource.cs (1)
75public BicepOutputReference Id => new($"{Infrastructure.NormalizeBicepIdentifier(Name)}_Id", Parent);
AzureVirtualNetworkResource.cs (2)
42public BicepOutputReference Id => new("id", this); 47public BicepOutputReference NameOutputReference => new("name", this);
Aspire.Hosting.Azure.OperationalInsights (3)
AzureLogAnalyticsWorkspaceResource.cs (3)
25public BicepOutputReference NameOutputReference => new("name", this); 30public BicepOutputReference Id => new("logAnalyticsWorkspaceId", this); 35public BicepOutputReference WorkspaceId => new("logAnalyticsWorkspaceId", this);
Aspire.Hosting.Azure.PostgreSQL (4)
AzurePostgresFlexibleServerResource.cs (4)
34private BicepOutputReference ConnectionStringOutput => new("connectionString", this); 46public BicepOutputReference NameOutputReference => new("name", this); 51public BicepOutputReference Id => new("id", this); 56private BicepOutputReference HostNameOutput => new("hostName", this);
Aspire.Hosting.Azure.Redis (7)
AzureManagedRedisResource.cs (4)
33private BicepOutputReference ConnectionStringOutput => new("connectionString", this); 52public BicepOutputReference NameOutputReference => new("name", this); 57public BicepOutputReference Id => new("id", this); 62private BicepOutputReference HostNameOutput => new("hostName", this);
AzureRedisCacheResource.cs (3)
29private BicepOutputReference ConnectionStringOutput => new("connectionString", this); 41public BicepOutputReference NameOutputReference => new("name", this); 46private BicepOutputReference HostNameOutput => new("hostName", this);
Aspire.Hosting.Azure.Sandboxes (3)
AzureSandboxGroupResource.cs (3)
115public BicepOutputReference NameOutputReference => new("name", this); 120public BicepOutputReference IdOutputReference => new("id", this); 125public BicepOutputReference LocationOutputReference => new("location", this);
Aspire.Hosting.Azure.Search (4)
AzureSearchResource.cs (4)
29public BicepOutputReference ConnectionString => new("connectionString", this); 34public BicepOutputReference NameOutputReference => new("name", this); 39public BicepOutputReference Id => new("id", this); 47public BicepOutputReference Endpoint => new("endpoint", this);
Aspire.Hosting.Azure.ServiceBus (4)
AzureServiceBusResource.cs (4)
30public BicepOutputReference ServiceBusEndpoint => new("serviceBusEndpoint", this); 35internal BicepOutputReference ServiceBusHostName => new("serviceBusHostName", this); 40public BicepOutputReference NameOutputReference => new("name", this); 45public BicepOutputReference Id => new("id", this);
Aspire.Hosting.Azure.SignalR (3)
AzureSignalRResource.cs (3)
33public BicepOutputReference HostName => new("hostName", this); 38public BicepOutputReference NameOutputReference => new("name", this); 43public BicepOutputReference Id => new("id", this);
Aspire.Hosting.Azure.Sql (5)
AzureSqlServerResource.cs (5)
62public BicepOutputReference FullyQualifiedDomainName => new("sqlServerFqdn", this); 67public BicepOutputReference NameOutputReference => new("name", this); 72public BicepOutputReference Id => new("id", this); 74private BicepOutputReference AdminName => new("sqlServerAdminName", this); 610public BicepOutputReference Id => storage.Id;
Aspire.Hosting.Azure.Storage (10)
AzureBlobStorageResource.cs (1)
90BicepOutputReference IAzurePrivateEndpointTarget.Id => Parent.Id;
AzureDataLakeStorageResource.cs (1)
86BicepOutputReference IAzurePrivateEndpointTarget.Id => Parent.Id;
AzureQueueStorageResource.cs (1)
83BicepOutputReference IAzurePrivateEndpointTarget.Id => Parent.Id;
AzureStorageResource.cs (6)
58public BicepOutputReference BlobEndpoint => new("blobEndpoint", this); 63public BicepOutputReference QueueEndpoint => new("queueEndpoint", this); 68public BicepOutputReference TableEndpoint => new("tableEndpoint", this); 73public BicepOutputReference DataLakeEndpoint => new("dataLakeEndpoint", this); 78public BicepOutputReference Id => new("id", this); 83public BicepOutputReference NameOutputReference => new("name", this);
AzureTableStorageResource.cs (1)
82BicepOutputReference IAzurePrivateEndpointTarget.Id => Parent.Id;
Aspire.Hosting.Azure.Tests (31)
AzureApiManagementTests.cs (2)
3041public BicepOutputReference VaultUriOutputReference => new("vaultUri", this); 3043public BicepOutputReference NameOutputReference => new("name", this);
AzureAppServiceTests.cs (2)
1192var output = Assert.IsType<BicepOutputReference>(provider);
AzureContainerAppExpressEndpointTests.cs (12)
67var domain = Assert.Single(webTarget.Parameters.Values.OfType<BicepOutputReference>(), output => output.Name == DomainOutputName); 69Assert.DoesNotContain(webTarget.Parameters.Values.OfType<BicepOutputReference>(), output => output.Resource == apiTarget); 86var output = Assert.IsType<BicepOutputReference>(Assert.Single(host.ValueProviders)); 260var domain = Assert.Single(webTarget.Parameters.Values.OfType<BicepOutputReference>(), 293var domain = Assert.Single(target.Parameters.Values.OfType<BicepOutputReference>(), 355var domain = Assert.Single(target.Parameters.Values.OfType<BicepOutputReference>(), output => output.Name == DomainOutputName); 380Assert.DoesNotContain(target.Parameters.Values.OfType<BicepOutputReference>(),
AzureContainerAppsTests.cs (2)
2879var output = Assert.IsType<BicepOutputReference>(provider);
AzureDeployerTests.cs (6)
717parameter => parameter.Value is BicepOutputReference output 722Assert.DoesNotContain(webTarget.Parameters.Values.OfType<BicepOutputReference>(), output => output.Resource == apiTarget); 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());
AzureFrontDoorPrivateLinkTests.cs (2)
595public BicepOutputReference GetPrivateLinkResourceId(IResource origin) => new(PerOrigin ? $"{origin.Name}Id" : "id", this); 597public BicepOutputReference GetPrivateLinkLocation(IResource origin) => new(PerOrigin ? $"{origin.Name}Location" : "location", this);
AzureFrontDoorTests.cs (3)
83var endpointUrl = frontDoor.Resource.GetEndpointUrl("my-api"); 140var endpointUrl = frontDoor.Resource.GetEndpointUrl("api"); 155var endpointId = frontDoor.Resource.GetEndpointId(originResourceName);
TestBicepOutputReferenceProvider.cs (2)
8internal sealed class TestBicepOutputReferenceProvider(BicepOutputReference? output) : IBicepOutputReferenceProvider 10public BicepOutputReference? GetOutputReference() => output;
Aspire.Hosting.Azure.WebPubSub (3)
AzureWebPubSubResource.cs (3)
37public BicepOutputReference Endpoint => new("endpoint", this); 42public BicepOutputReference NameOutputReference => new("name", this); 47public BicepOutputReference Id => new("id", this);
Aspire.Hosting.Foundry (15)
FoundryResource.cs (4)
36public BicepOutputReference AIFoundryApiEndpoint => new("aiFoundryApiEndpoint", this); 41public BicepOutputReference Endpoint => new("endpoint", this); 46public BicepOutputReference NameOutputReference => new("name", this); 51public BicepOutputReference Id => new("id", this);
Project\AzureCognitiveServicesBase.cs (1)
31public BicepOutputReference NameOutputReference => new("name", this);
Project\ProjectResource.cs (7)
109public BicepOutputReference Id => new("id", this); 132public BicepOutputReference Endpoint => new("endpoint", this); 145public BicepOutputReference PrincipalId => new("principalId", this); 147internal BicepOutputReference ContainerRegistryUrl => new("AZURE_CONTAINER_REGISTRY_ENDPOINT", this); 148internal BicepOutputReference ContainerRegistryName => new("AZURE_CONTAINER_REGISTRY_NAME", this); 150internal BicepOutputReference ContainerRegistryManagedIdentityId => new("AZURE_CONTAINER_REGISTRY_MANAGED_IDENTITY_ID", this); 197internal BicepOutputReference AppInsightsConnectionString => new("APPLICATION_INSIGHTS_CONNECTION_STRING", this);
Toolbox\FoundryToolboxToolDefinition.cs (1)
387var connectionIdRef = new BicepOutputReference("id", Connection);
ToolResources\AzureAISearchToolResource.cs (1)
65var connectionIdRef = new BicepOutputReference("id", Connection);
ToolResources\BingGroundingToolResource.cs (1)
63var connectionIdRef = new BicepOutputReference("id", Connection);
Aspire.Hosting.Tests (2)
ConditionalReferenceExpressionTests.cs (1)
131var publicHost = new BicepOutputReference("publicHost", infrastructure.Resource);
ManifestExpressionTests.cs (1)
517var host = new BicepOutputReference("host", infrastructure.Resource);