ArmReservationsModelFactory.SubContent 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 SubContent.
public static Azure.ResourceManager.Reservations.Models.SubContent SubContent (int? limit = default, Azure.ResourceManager.Reservations.Models.ReservationResourceName name = default, string resourceType = default, string unit = default, Azure.ResourceManager.Reservations.Models.QuotaRequestState? provisioningState = default, string message = default, Guid? subRequestId = default);
static member SubContent : Nullable<int> * Azure.ResourceManager.Reservations.Models.ReservationResourceName * string * string * Nullable<Azure.ResourceManager.Reservations.Models.QuotaRequestState> * string * Nullable<Guid> -> Azure.ResourceManager.Reservations.Models.SubContent
Public Shared Function SubContent (Optional limit As Nullable(Of Integer) = Nothing, Optional name As ReservationResourceName = Nothing, Optional resourceType As String = Nothing, Optional unit As String = Nothing, Optional provisioningState As Nullable(Of QuotaRequestState) = Nothing, Optional message As String = Nothing, Optional subRequestId As Nullable(Of Guid) = Nothing) As SubContent
Parameters
The resource name.
- resourceType
- String
Resource type for which the quota check was made.
- unit
- String
The limit units, such as count and bytes. Use the unit field provided in the response of the GET quota operation.
- provisioningState
- Nullable<QuotaRequestState>
The quota request status.
- message
- String
User-friendly status message.
Returns
A new SubContent instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET