ArmComputeLimitModelFactory.SharedLimitCapProperties 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.
public static Azure.ResourceManager.ComputeLimit.Models.SharedLimitCapProperties SharedLimitCapProperties(int? defaultMemberCap = default, bool isBoundedCap = false, Azure.ResourceManager.ComputeLimit.Models.ComputeLimitResourceProvisioningState? provisioningState = default);
static member SharedLimitCapProperties : Nullable<int> * bool * Nullable<Azure.ResourceManager.ComputeLimit.Models.ComputeLimitResourceProvisioningState> -> Azure.ResourceManager.ComputeLimit.Models.SharedLimitCapProperties
Public Shared Function SharedLimitCapProperties (Optional defaultMemberCap As Nullable(Of Integer) = Nothing, Optional isBoundedCap As Boolean = false, Optional provisioningState As Nullable(Of ComputeLimitResourceProvisioningState) = Nothing) As SharedLimitCapProperties
Parameters
The default member cap value (in count units). Set to a non-negative integer to apply a cap to all member subscriptions that do not have a per-member override. Omit the property to leave no default cap in effect.
- isBoundedCap
- Boolean
Controls whether the service validates the aggregate cap against the
group limit for the VM family.
SUM(caps) is the sum of all per-member overrides' cap values plus
defaultMemberCap multiplied by the number of member subscriptions without an override.
When true, the service rejects any configuration where SUM(caps)
exceeds the group limit. When false, SUM(caps) is permitted to exceed
the group limit.
Enabling this flag is rejected if the current configuration already breaches the group limit;
reduce caps first, then enable.
- provisioningState
- Nullable<ComputeLimitResourceProvisioningState>
The provisioning state of the resource.
Returns
A new SharedLimitCapProperties instance for mocking.