ResourceManagerModelFactory.SubscriptionPolicies Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of SubscriptionPolicies.
public static Azure.ResourceManager.Resources.Models.SubscriptionPolicies SubscriptionPolicies (string locationPlacementId = default, string quotaId = default, Azure.ResourceManager.Resources.Models.SpendingLimit? spendingLimit = default);
static member SubscriptionPolicies : string * string * Nullable<Azure.ResourceManager.Resources.Models.SpendingLimit> -> Azure.ResourceManager.Resources.Models.SubscriptionPolicies
Public Shared Function SubscriptionPolicies (Optional locationPlacementId As String = Nothing, Optional quotaId As String = Nothing, Optional spendingLimit As Nullable(Of SpendingLimit) = Nothing) As SubscriptionPolicies
Parameters
- locationPlacementId
- String
The subscription location placement ID. The ID indicates which regions are visible for a subscription. For example, a subscription with a location placement Id of Public_2014-09-01 has access to Azure public regions.
- quotaId
- String
The subscription quota ID.
- spendingLimit
- Nullable<SpendingLimit>
The subscription spending limit.
Returns
A new SubscriptionPolicies instance for mocking.
Applies to
Azure SDK for .NET