CurrentUsagesBase 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 usage.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Quota.Models.CurrentUsagesBaseTypeConverter))]
public class CurrentUsagesBase : Microsoft.Azure.PowerShell.Cmdlets.Quota.Models.ICurrentUsagesBase, Microsoft.Azure.PowerShell.Cmdlets.Quota.Runtime.IHeaderSerializable
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Quota.Models.CurrentUsagesBaseTypeConverter))]
public class CurrentUsagesBase : Microsoft.Azure.PowerShell.Cmdlets.Quota.Models.ICurrentUsagesBase, Microsoft.Azure.PowerShell.Cmdlets.Quota.Runtime.IHeaderSerializable, Microsoft.Azure.PowerShell.Cmdlets.Quota.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Quota.Models.CurrentUsagesBaseTypeConverter))>]
type CurrentUsagesBase = class
interface ICurrentUsagesBase
interface IJsonSerializable
interface IHeaderSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Quota.Models.CurrentUsagesBaseTypeConverter))>]
type CurrentUsagesBase = class
interface ICurrentUsagesBase
interface IJsonSerializable
interface IProxyResource
interface IResource
interface IValidates
interface IHeaderSerializable
Public Class CurrentUsagesBase
Implements ICurrentUsagesBase, IHeaderSerializable
Public Class CurrentUsagesBase
Implements ICurrentUsagesBase, IHeaderSerializable, IValidates
- Inheritance
-
CurrentUsagesBase
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| CurrentUsagesBase() |
Creates an new CurrentUsagesBase instance. |
Properties
| Name | Description |
|---|---|
| AnyProperty |
Additional properties for the specific resource provider. |
| ETag | |
| Id |
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
| IsQuotaApplicable |
States if quota can be requested for this resource. |
| Name |
The name of the resource |
| NameLocalizedValue |
Resource display name. |
| NameValue |
Resource name. |
| QuotaPeriod |
The time period for the summary of the quota usage values. For example: *P1D (per one day) *PT1M (per one minute) *PT1S (per one second). This parameter is optional because it is not relevant for all resources such as compute. |
| ResourceGroupName |
Gets the resource group name |
| ResourceType |
The name of the resource type. Optional field. |
| SystemDataCreatedAt |
The timestamp of resource creation (UTC). |
| SystemDataCreatedBy |
The identity that created the resource. |
| SystemDataCreatedByType |
The type of identity that created the resource. |
| SystemDataLastModifiedAt |
The timestamp of resource last modification (UTC) |
| SystemDataLastModifiedBy |
The identity that last modified the resource. |
| SystemDataLastModifiedByType |
The type of identity that last modified the resource. |
| Type |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
| Unit |
The units for the quota usage, such as Count and Bytes. When requesting quota, use the unit value returned in the GET response in the request body of your PUT operation. |
| UsageUsagesType |
The quota or usages limit types. |
| UsageValue |
The usages value. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of CurrentUsagesBase. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of CurrentUsagesBase. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Quota.Models.ICurrentUsagesBase. |
| FromJsonString(String) |
Creates a new instance of CurrentUsagesBase, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of CurrentUsagesBase into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |
| Validate(IEventListener) |
Validates that this object meets the validation criteria. |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IHeaderSerializable.ReadHeaders(HttpResponseHeaders) | |