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