@@ -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
@@ -69,6 +72,8 @@ public static partial class AzureProvisioningResourceExtensions
69
72
70
73
public static global ::Azure . Provisioning . ProvisioningParameter AsProvisioningParameter ( this ApplicationModel . EndpointReference endpointReference , Azure . AzureResourceInfrastructure infrastructure , string parameterName ) { throw null ; }
71
74
75
+ public static global ::Azure . Provisioning . ProvisioningParameter AsProvisioningParameter ( this ApplicationModel . IManifestExpressionProvider manifestExpressionProvider , Azure . AzureResourceInfrastructure infrastructure , string ? parameterName = null , bool ? isSecure = null ) { throw null ; }
76
+
72
77
public static global ::Azure . Provisioning . ProvisioningParameter AsProvisioningParameter ( this ApplicationModel . IResourceBuilder < ApplicationModel . ParameterResource > parameterResourceBuilder , Azure . AzureResourceInfrastructure infrastructure , string ? parameterName = null ) { throw null ; }
73
78
74
79
public static global ::Azure . Provisioning . ProvisioningParameter AsProvisioningParameter ( this ApplicationModel . ParameterResource parameterResource , Azure . AzureResourceInfrastructure infrastructure , string ? parameterName = null ) { throw null ; }
@@ -85,9 +90,6 @@ public static partial class AzurePublisherExtensions
85
90
{
86
91
[ System . Diagnostics . CodeAnalysis . Experimental ( "ASPIREAZURE001" , UrlFormat = "https://aka.ms/dotnet/aspire/diagnostics#{0}" ) ]
87
92
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
93
}
92
94
93
95
public static partial class AzureResourceExtensions
@@ -141,10 +143,12 @@ public sealed partial class AspireV8ResourceNamePropertyResolver : global::Azure
141
143
public override global ::Azure . Provisioning . BicepValue < string > ? ResolveName ( global ::Azure . Provisioning . ProvisioningBuildOptions options , global ::Azure . Provisioning . Primitives . ProvisionableResource resource , global ::Azure . Provisioning . Primitives . ResourceNameRequirements requirements ) { throw null ; }
142
144
}
143
145
144
- public partial class AzureBicepResource : ApplicationModel . Resource , ApplicationModel . IAzureResource , ApplicationModel . IResource
146
+ public partial class AzureBicepResource : ApplicationModel . Resource , ApplicationModel . IAzureResource , ApplicationModel . IResource , ApplicationModel . IResourceWithParameters
145
147
{
146
148
public AzureBicepResource ( string name , string ? templateFile = null , string ? templateString = null , string ? templateResourceName = null ) : base ( default ! ) { }
147
149
150
+ System . Collections . Generic . IDictionary < string , object ? > ApplicationModel . IResourceWithParameters . Parameters { get { throw null ; } }
151
+
148
152
public System . Collections . Generic . Dictionary < string , object ? > Outputs { get { throw null ; } }
149
153
150
154
public System . Collections . Generic . Dictionary < string , object ? > Parameters { get { throw null ; } }
@@ -219,14 +223,27 @@ public sealed partial class AzurePublisherOptions : Publishing.PublishingOptions
219
223
{
220
224
}
221
225
226
+ [ System . Diagnostics . CodeAnalysis . Experimental ( "ASPIREAZURE001" , UrlFormat = "https://aka.ms/dotnet/aspire/diagnostics#{0}" ) ]
227
+ public sealed partial class AzurePublishingContext
228
+ {
229
+ public global ::Azure . Provisioning . Infrastructure MainInfrastructure ;
230
+ public AzurePublishingContext ( AzurePublisherOptions publisherOptions , AzureProvisioningOptions provisioningOptions , Microsoft . Extensions . Logging . ILogger logger ) { }
231
+
232
+ public System . Collections . Generic . Dictionary < BicepOutputReference , global ::Azure . Provisioning . ProvisioningOutput > OutputLookup { get { throw null ; } }
233
+
234
+ public System . Collections . Generic . Dictionary < ApplicationModel . ParameterResource , global ::Azure . Provisioning . ProvisioningParameter > ParameterLookup { get { throw null ; } }
235
+
236
+ public System . Threading . Tasks . Task WriteModelAsync ( ApplicationModel . DistributedApplicationModel model , System . Threading . CancellationToken cancellationToken = default ) { throw null ; }
237
+ }
238
+
222
239
public sealed partial class AzureResourceInfrastructure : global ::Azure . Provisioning . Infrastructure
223
240
{
224
241
internal AzureResourceInfrastructure ( ) : base ( default ! ) { }
225
242
226
243
public AzureProvisioningResource AspireResource { get { throw null ; } }
227
244
}
228
245
229
- public sealed partial class BicepOutputReference : ApplicationModel . IManifestExpressionProvider , ApplicationModel . IValueProvider , ApplicationModel . IValueWithReferences
246
+ public sealed partial class BicepOutputReference : ApplicationModel . IManifestExpressionProvider , ApplicationModel . IValueProvider , ApplicationModel . IValueWithReferences , System . IEquatable < BicepOutputReference >
230
247
{
231
248
public BicepOutputReference ( string name , AzureBicepResource resource ) { }
232
249
@@ -240,7 +257,11 @@ public BicepOutputReference(string name, AzureBicepResource resource) { }
240
257
241
258
public string ValueExpression { get { throw null ; } }
242
259
260
+ public override int GetHashCode ( ) { throw null ; }
261
+
243
262
public System . Threading . Tasks . ValueTask < string ? > GetValueAsync ( System . Threading . CancellationToken cancellationToken = default ) { throw null ; }
263
+
264
+ bool System . IEquatable < BicepOutputReference > . Equals ( BicepOutputReference ? other ) { throw null ; }
244
265
}
245
266
246
267
public sealed partial class BicepSecretOutputReference : ApplicationModel . IManifestExpressionProvider , ApplicationModel . IValueProvider , ApplicationModel . IValueWithReferences
@@ -311,6 +332,12 @@ public partial interface IAppIdentityResource
311
332
BicepOutputReference PrincipalName { get ; }
312
333
}
313
334
335
+ [ System . Diagnostics . CodeAnalysis . Experimental ( "ASPIRECOMPUTE001" ) ]
336
+ public partial interface IAzureContainerRegistry : ApplicationModel . IContainerRegistry
337
+ {
338
+ ApplicationModel . ReferenceExpression ManagedIdentityId { get ; }
339
+ }
340
+
314
341
public partial interface IAzureKeyVaultResource : ApplicationModel . IResource , ApplicationModel . IAzureResource
315
342
{
316
343
BicepOutputReference NameOutputReference { get ; }
@@ -322,8 +349,10 @@ public partial interface IAzureKeyVaultResource : ApplicationModel.IResource, Ap
322
349
IAzureKeyVaultSecretReference GetSecret ( string secretName ) ;
323
350
}
324
351
325
- public partial interface IAzureKeyVaultSecretReference : ApplicationModel . IValueProvider , ApplicationModel . IManifestExpressionProvider
352
+ public partial interface IAzureKeyVaultSecretReference : ApplicationModel . IValueProvider , ApplicationModel . IManifestExpressionProvider , ApplicationModel . IValueWithReferences
326
353
{
354
+ System . Collections . Generic . IEnumerable < object > ApplicationModel . IValueWithReferences . References { get ; }
355
+
327
356
IAzureKeyVaultResource Resource { get ; }
328
357
329
358
string SecretName { get ; }
0 commit comments