AzureBicepResourceScope
Classsealednet10.0
Represents the scope associated with the resource.
namespace Aspire.Hosting.Azure;
public sealed class AzureBicepResourceScope{ // ...}8 members
Constructors2
Section titled ConstructorsAzureBicepResourceScope(object) Initializes a new instance of the
AzureBicepResourceScope class with a resource group scope. AzureBicepResourceScope(object, object) Initializes a new instance of the
AzureBicepResourceScope class with a resource group scope in a specific subscription. Properties4
Section titled PropertiesHasResourceGroupgetbool Gets a value indicating whether the scope targets a resource group.
IsTenantScopegetbool Gets a value indicating whether the scope targets the current tenant.
ResourceGroupgetobject Represents the resource group to encode in the scope.
Subscriptiongetobject? Represents the subscription to encode in the scope.
Methods2
Section titled MethodsCreateForSubscription(object)static Creates a scope for subscription-level resources.
CreateForTenantstatic Creates a scope for tenant-level resources in the current tenant.