@@ -24,6 +24,9 @@ public static ApplicationModel.IResourceBuilder<T> WithEnvironment<T>(this Appli
24
24
public static ApplicationModel . IResourceBuilder < T > WithEnvironment < T > ( this ApplicationModel . IResourceBuilder < T > builder , string name , Azure . BicepSecretOutputReference bicepOutputReference )
25
25
where T : ApplicationModel . IResourceWithEnvironment { throw null ; }
26
26
27
+ public static ApplicationModel . IResourceBuilder < T > WithEnvironment < T > ( this ApplicationModel . IResourceBuilder < T > builder , string name , Azure . IAzureKeyVaultSecretReference secretReference )
28
+ where T : ApplicationModel . IResourceWithEnvironment { throw null ; }
29
+
27
30
public static ApplicationModel . IResourceBuilder < T > WithParameter < T > ( this ApplicationModel . IResourceBuilder < T > builder , string name , ApplicationModel . EndpointReference value )
28
31
where T : Azure . AzureBicepResource { throw null ; }
29
32
@@ -85,9 +88,6 @@ public static partial class AzurePublisherExtensions
85
88
{
86
89
[ System . Diagnostics . CodeAnalysis . Experimental ( "ASPIREAZURE001" , UrlFormat = "https://aka.ms/dotnet/aspire/diagnostics#{0}" ) ]
87
90
public static IDistributedApplicationBuilder AddAzurePublisher ( this IDistributedApplicationBuilder builder , System . Action < Azure . AzurePublisherOptions > ? configureOptions = null ) { throw null ; }
88
-
89
- [ System . Diagnostics . CodeAnalysis . Experimental ( "ASPIREPUBLISHERS001" , UrlFormat = "https://aka.ms/dotnet/aspire/diagnostics#{0}" ) ]
90
- public static IDistributedApplicationBuilder AddAzurePublisher ( this IDistributedApplicationBuilder builder , string name , System . Action < Azure . AzurePublisherOptions > ? configureOptions = null ) { throw null ; }
91
91
}
92
92
93
93
public static partial class AzureResourceExtensions
@@ -219,6 +219,15 @@ public sealed partial class AzurePublisherOptions : Publishing.PublishingOptions
219
219
{
220
220
}
221
221
222
+ [ System . Diagnostics . CodeAnalysis . Experimental ( "ASPIREAZURE001" , UrlFormat = "https://aka.ms/dotnet/aspire/diagnostics#{0}" ) ]
223
+ public sealed partial class AzurePublishingContext
224
+ {
225
+ public global ::Azure . Provisioning . Infrastructure MainInfrastructure ;
226
+ public AzurePublishingContext ( AzurePublisherOptions publisherOptions , AzureProvisioningOptions provisioningOptions , Microsoft . Extensions . Logging . ILogger logger ) { }
227
+
228
+ public System . Threading . Tasks . Task WriteModelAsync ( ApplicationModel . DistributedApplicationModel model , System . Threading . CancellationToken cancellationToken = default ) { throw null ; }
229
+ }
230
+
222
231
public sealed partial class AzureResourceInfrastructure : global ::Azure . Provisioning . Infrastructure
223
232
{
224
233
internal AzureResourceInfrastructure ( ) : base ( default ! ) { }
@@ -311,6 +320,12 @@ public partial interface IAppIdentityResource
311
320
BicepOutputReference PrincipalName { get ; }
312
321
}
313
322
323
+ [ System . Diagnostics . CodeAnalysis . Experimental ( "ASPIRECOMPUTE001" ) ]
324
+ public partial interface IAzureContainerRegistry : ApplicationModel . IContainerRegistry
325
+ {
326
+ ApplicationModel . ReferenceExpression ManagedIdentityId { get ; }
327
+ }
328
+
314
329
public partial interface IAzureKeyVaultResource : ApplicationModel . IResource , ApplicationModel . IAzureResource
315
330
{
316
331
BicepOutputReference NameOutputReference { get ; }
@@ -322,8 +337,10 @@ public partial interface IAzureKeyVaultResource : ApplicationModel.IResource, Ap
322
337
IAzureKeyVaultSecretReference GetSecret ( string secretName ) ;
323
338
}
324
339
325
- public partial interface IAzureKeyVaultSecretReference : ApplicationModel . IValueProvider , ApplicationModel . IManifestExpressionProvider
340
+ public partial interface IAzureKeyVaultSecretReference : ApplicationModel . IValueProvider , ApplicationModel . IManifestExpressionProvider , ApplicationModel . IValueWithReferences
326
341
{
342
+ System . Collections . Generic . IEnumerable < object > ApplicationModel . IValueWithReferences . References { get ; }
343
+
327
344
IAzureKeyVaultResource Resource { get ; }
328
345
329
346
string SecretName { get ; }
0 commit comments