@@ -120,6 +120,13 @@ public partial interface IAzureResource : IResource
120
120
121
121
namespace Aspire . Hosting . Azure
122
122
{
123
+ public partial class AppliedRoleAssignmentsAnnotation : ApplicationModel . IResourceAnnotation
124
+ {
125
+ public AppliedRoleAssignmentsAnnotation ( System . Collections . Generic . HashSet < RoleDefinition > roles ) { }
126
+
127
+ public System . Collections . Generic . HashSet < RoleDefinition > Roles { get { throw null ; } }
128
+ }
129
+
123
130
public sealed partial class AspireV8ResourceNamePropertyResolver : global ::Azure . Provisioning . Primitives . DynamicResourceNamePropertyResolver
124
131
{
125
132
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 ; }
@@ -173,6 +180,8 @@ public AzureBicepResourceScope(object resourceGroup) { }
173
180
public sealed partial class AzureProvisioningOptions
174
181
{
175
182
public global ::Azure . Provisioning . ProvisioningBuildOptions ProvisioningBuildOptions { get { throw null ; } }
183
+
184
+ public bool SupportsTargetedRoleAssignments { get { throw null ; } set { } }
176
185
}
177
186
178
187
public partial class AzureProvisioningResource : AzureBicepResource
@@ -183,6 +192,8 @@ public AzureProvisioningResource(string name, System.Action<AzureResourceInfrast
183
192
184
193
public global ::Azure . Provisioning . ProvisioningBuildOptions ? ProvisioningBuildOptions { get { throw null ; } set { } }
185
194
195
+ public virtual global ::Azure . Provisioning . Primitives . ProvisionableResource AddAsExistingResource ( AzureResourceInfrastructure infra ) { throw null ; }
196
+
186
197
public static T CreateExistingOrNewProvisionableResource < T > ( AzureResourceInfrastructure infrastructure , System . Func < string , global ::Azure . Provisioning . BicepValue < string > , T > createExisting , System . Func < AzureResourceInfrastructure , T > createNew )
187
198
where T : global ::Azure . Provisioning . Primitives . ProvisionableResource { throw null ; }
188
199
@@ -191,6 +202,16 @@ public static T CreateExistingOrNewProvisionableResource<T>(AzureResourceInfrast
191
202
public override string GetBicepTemplateString ( ) { throw null ; }
192
203
}
193
204
205
+ public static partial class AzurePublisherExtensions
206
+ {
207
+ [ System . Diagnostics . CodeAnalysis . Experimental ( "ASPIREAZURE001" , UrlFormat = "https://aka.ms/dotnet/aspire/diagnostics#{0}" ) ]
208
+ public static void AddAzurePublisher ( this IDistributedApplicationBuilder builder , string name , System . Action < AzurePublisherOptions > ? configureOptions = null ) { }
209
+ }
210
+
211
+ public sealed partial class AzurePublisherOptions : Publishing . PublishingOptions
212
+ {
213
+ }
214
+
194
215
public sealed partial class AzureResourceInfrastructure : global ::Azure . Provisioning . Infrastructure
195
216
{
196
217
internal AzureResourceInfrastructure ( ) : base ( default ! ) { }
@@ -243,6 +264,13 @@ public BicepTemplateFile(string path, bool deleteFileOnDispose) { }
243
264
public readonly void Dispose ( ) { }
244
265
}
245
266
267
+ public partial class DefaultRoleAssignmentsAnnotation : ApplicationModel . IResourceAnnotation
268
+ {
269
+ public DefaultRoleAssignmentsAnnotation ( System . Collections . Generic . IReadOnlySet < RoleDefinition > roles ) { }
270
+
271
+ public System . Collections . Generic . IReadOnlySet < RoleDefinition > Roles { get { throw null ; } }
272
+ }
273
+
246
274
public sealed partial class ExistingAzureResourceAnnotation : ApplicationModel . IResourceAnnotation
247
275
{
248
276
public ExistingAzureResourceAnnotation ( object name , object ? resourceGroup = null ) { }
@@ -256,4 +284,45 @@ public partial interface IResourceWithAzureFunctionsConfig : ApplicationModel.IR
256
284
{
257
285
void ApplyAzureFunctionsConfiguration ( System . Collections . Generic . IDictionary < string , object > target , string connectionName ) ;
258
286
}
287
+
288
+ public partial class RoleAssignmentAnnotation : ApplicationModel . IResourceAnnotation
289
+ {
290
+ public RoleAssignmentAnnotation ( AzureProvisioningResource target , System . Collections . Generic . IReadOnlySet < RoleDefinition > roles ) { }
291
+
292
+ public System . Collections . Generic . IReadOnlySet < RoleDefinition > Roles { get { throw null ; } }
293
+
294
+ public AzureProvisioningResource Target { get { throw null ; } }
295
+ }
296
+
297
+ public partial struct RoleDefinition : System . IEquatable < RoleDefinition >
298
+ {
299
+ private object _dummy ;
300
+ private int _dummyPrimitive ;
301
+ public RoleDefinition ( string Id , string Name ) { }
302
+
303
+ public string Id { get { throw null ; } set { } }
304
+
305
+ public string Name { get { throw null ; } set { } }
306
+
307
+ [ System . Runtime . CompilerServices . CompilerGenerated ]
308
+ public readonly void Deconstruct ( out string Id , out string Name ) { throw null ; }
309
+
310
+ [ System . Runtime . CompilerServices . CompilerGenerated ]
311
+ public readonly bool Equals ( RoleDefinition other ) { throw null ; }
312
+
313
+ [ System . Runtime . CompilerServices . CompilerGenerated ]
314
+ public override readonly bool Equals ( object obj ) { throw null ; }
315
+
316
+ [ System . Runtime . CompilerServices . CompilerGenerated ]
317
+ public override readonly int GetHashCode ( ) { throw null ; }
318
+
319
+ [ System . Runtime . CompilerServices . CompilerGenerated ]
320
+ public static bool operator == ( RoleDefinition left , RoleDefinition right ) { throw null ; }
321
+
322
+ [ System . Runtime . CompilerServices . CompilerGenerated ]
323
+ public static bool operator != ( RoleDefinition left , RoleDefinition right ) { throw null ; }
324
+
325
+ [ System . Runtime . CompilerServices . CompilerGenerated ]
326
+ public override readonly string ToString ( ) { throw null ; }
327
+ }
259
328
}
0 commit comments