ResourceBaseRequest Class
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.
Resource definition with the requested quota.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Quota.Models.ResourceBaseRequestTypeConverter))]
public class ResourceBaseRequest : Microsoft.Azure.PowerShell.Cmdlets.Quota.Models.IResourceBaseRequest
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Quota.Models.ResourceBaseRequestTypeConverter))>]
type ResourceBaseRequest = class
interface IResourceBaseRequest
interface IJsonSerializable
Public Class ResourceBaseRequest
Implements IResourceBaseRequest
- Inheritance
-
ResourceBaseRequest
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| ResourceBaseRequest() |
Creates an new ResourceBaseRequest instance. |
Properties
| Name | Description |
|---|---|
| Limit |
Quota requested for the resource. |
| ResourceName |
The resource name, such as SKU name. |
| Unit |
Representing the units of the usage quota. Possible values are: Count, Bytes, Seconds, Percent, CountPerSecond, BytesPerSecond. Based on - https://armwiki.azurewebsites.net/api_contracts/UsagesAPIContract.html?q=usages . Different RPs may have different units, Count, type as int64 should work for most of the integer values. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of ResourceBaseRequest. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of ResourceBaseRequest. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Quota.Models.IResourceBaseRequest. |
| FromJsonString(String) |
Creates a new instance of ResourceBaseRequest, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of ResourceBaseRequest into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |