@@ -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 ; }
@@ -170,9 +177,20 @@ public AzureBicepResourceScope(object resourceGroup) { }
170
177
public object ResourceGroup { get { throw null ; } }
171
178
}
172
179
180
+ public static partial class AzureContainerAppsPublisherExtensions
181
+ {
182
+ public static void AddAzureContainerApps ( this IDistributedApplicationBuilder builder , string name , System . Action < AzureContainerAppsPublisherOptions > ? configureOptions = null ) { }
183
+ }
184
+
185
+ public sealed partial class AzureContainerAppsPublisherOptions
186
+ {
187
+ }
188
+
173
189
public sealed partial class AzureProvisioningOptions
174
190
{
175
191
public global ::Azure . Provisioning . ProvisioningBuildOptions ProvisioningBuildOptions { get { throw null ; } }
192
+
193
+ public bool SupportsTargetedRoleAssignments { get { throw null ; } set { } }
176
194
}
177
195
178
196
public partial class AzureProvisioningResource : AzureBicepResource
@@ -183,6 +201,8 @@ public AzureProvisioningResource(string name, System.Action<AzureResourceInfrast
183
201
184
202
public global ::Azure . Provisioning . ProvisioningBuildOptions ? ProvisioningBuildOptions { get { throw null ; } set { } }
185
203
204
+ public virtual global ::Azure . Provisioning . Primitives . ProvisionableResource AddAsExistingResource ( AzureResourceInfrastructure infra ) { throw null ; }
205
+
186
206
public static T CreateExistingOrNewProvisionableResource < T > ( AzureResourceInfrastructure infrastructure , System . Func < string , global ::Azure . Provisioning . BicepValue < string > , T > createExisting , System . Func < AzureResourceInfrastructure , T > createNew )
187
207
where T : global ::Azure . Provisioning . Primitives . ProvisionableResource { throw null ; }
188
208
@@ -243,6 +263,13 @@ public BicepTemplateFile(string path, bool deleteFileOnDispose) { }
243
263
public readonly void Dispose ( ) { }
244
264
}
245
265
266
+ public partial class DefaultRoleAssignmentsAnnotation : ApplicationModel . IResourceAnnotation
267
+ {
268
+ public DefaultRoleAssignmentsAnnotation ( System . Collections . Generic . IReadOnlySet < RoleDefinition > roles ) { }
269
+
270
+ public System . Collections . Generic . IReadOnlySet < RoleDefinition > Roles { get { throw null ; } }
271
+ }
272
+
246
273
public sealed partial class ExistingAzureResourceAnnotation : ApplicationModel . IResourceAnnotation
247
274
{
248
275
public ExistingAzureResourceAnnotation ( object name , object ? resourceGroup = null ) { }
@@ -256,4 +283,45 @@ public partial interface IResourceWithAzureFunctionsConfig : ApplicationModel.IR
256
283
{
257
284
void ApplyAzureFunctionsConfiguration ( System . Collections . Generic . IDictionary < string , object > target , string connectionName ) ;
258
285
}
286
+
287
+ public partial class RoleAssignmentAnnotation : ApplicationModel . IResourceAnnotation
288
+ {
289
+ public RoleAssignmentAnnotation ( AzureProvisioningResource target , System . Collections . Generic . IReadOnlySet < RoleDefinition > roles ) { }
290
+
291
+ public System . Collections . Generic . IReadOnlySet < RoleDefinition > Roles { get { throw null ; } }
292
+
293
+ public AzureProvisioningResource Target { get { throw null ; } }
294
+ }
295
+
296
+ public partial struct RoleDefinition : System . IEquatable < RoleDefinition >
297
+ {
298
+ private object _dummy ;
299
+ private int _dummyPrimitive ;
300
+ public RoleDefinition ( string Id , string Name ) { }
301
+
302
+ public string Id { get { throw null ; } set { } }
303
+
304
+ public string Name { get { throw null ; } set { } }
305
+
306
+ [ System . Runtime . CompilerServices . CompilerGenerated ]
307
+ public readonly void Deconstruct ( out string Id , out string Name ) { throw null ; }
308
+
309
+ [ System . Runtime . CompilerServices . CompilerGenerated ]
310
+ public readonly bool Equals ( RoleDefinition other ) { throw null ; }
311
+
312
+ [ System . Runtime . CompilerServices . CompilerGenerated ]
313
+ public override readonly bool Equals ( object obj ) { throw null ; }
314
+
315
+ [ System . Runtime . CompilerServices . CompilerGenerated ]
316
+ public override readonly int GetHashCode ( ) { throw null ; }
317
+
318
+ [ System . Runtime . CompilerServices . CompilerGenerated ]
319
+ public static bool operator == ( RoleDefinition left , RoleDefinition right ) { throw null ; }
320
+
321
+ [ System . Runtime . CompilerServices . CompilerGenerated ]
322
+ public static bool operator != ( RoleDefinition left , RoleDefinition right ) { throw null ; }
323
+
324
+ [ System . Runtime . CompilerServices . CompilerGenerated ]
325
+ public override readonly string ToString ( ) { throw null ; }
326
+ }
259
327
}
0 commit comments