AzureBicepResourceScope Methods
ClassMethods2 members
Represents the scope associated with the resource.
CreateForSubscription(object)Section titled CreateForSubscription(object)staticAzureBicepResourceScope Creates a scope for subscription-level resources.
public sealed class AzureBicepResourceScope{ public static AzureBicepResourceScope CreateForSubscription( object subscription) { // ... }}Parameters
subscriptionobjectThe subscription identifier for subscription-level resources.Returns
AzureBicepResourceScopeA new AzureBicepResourceScope scoped to the subscription. Creates a scope for tenant-level resources in the current tenant.
public sealed class AzureBicepResourceScope{ public static AzureBicepResourceScope CreateForTenant() { // ... }}Returns
AzureBicepResourceScopeA new AzureBicepResourceScope scoped to the current tenant.