Partilhar via


BicepFunction.GetSubscription Method

Definition

Returns details about the subscription for the current deployment. This represents the subscription Bicep function.

public static Azure.Provisioning.Resources.Subscription GetSubscription ();
static member GetSubscription : unit -> Azure.Provisioning.Resources.Subscription
Public Shared Function GetSubscription () As Subscription

Returns

Returns details about the subscription for the current deployment.

Remarks

See the Bicep Functions Reference for more.

Applies to