Language

QuotaResource Class

Definition

Quota bucket details object.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.LoadTesting.Models.QuotaResourceTypeConverter))]
public class QuotaResource : Microsoft.Azure.PowerShell.Cmdlets.LoadTesting.Models.IQuotaResource, Microsoft.Azure.PowerShell.Cmdlets.LoadTesting.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.LoadTesting.Models.QuotaResourceTypeConverter))>]
type QuotaResource = class
    interface IQuotaResource
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class QuotaResource
Implements IQuotaResource, IValidates
Inheritance
QuotaResource
Attributes
Implements

Constructors

Name Description
QuotaResource()

Creates an new QuotaResource instance.

Properties

Name Description
Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

Limit

Current quota limit of the quota bucket.

Name

The name of the resource

ProvisioningState

Resource provisioning state.

ResourceGroupName

Gets the resource group name

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"

Usage

Current quota usage of the quota bucket.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of QuotaResource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of QuotaResource.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.LoadTesting.Models.IQuotaResource.

FromJsonString(String)

Creates a new instance of QuotaResource, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of QuotaResource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to