AzureBicepResourceScope Methods
ClassMethods2 members
Represents the scope associated with the resource.
CreateForSubscription(object) Section titled CreateForSubscription(object)staticAzure 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
AzureBicepResourceScope A 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
AzureBicepResourceScope A new AzureBicepResourceScope scoped to the current tenant.