Share via


ResourceModelWithAllowedPropertySetSku Class

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.ResourceModelWithAllowedPropertySetSkuTypeConverter))]
public class ResourceModelWithAllowedPropertySetSku : Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.IResourceModelWithAllowedPropertySetSku, Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.ResourceModelWithAllowedPropertySetSkuTypeConverter))>]
type ResourceModelWithAllowedPropertySetSku = class
    interface IResourceModelWithAllowedPropertySetSku
    interface IJsonSerializable
    interface ISku
    interface IValidates
Public Class ResourceModelWithAllowedPropertySetSku
Implements IResourceModelWithAllowedPropertySetSku, IValidates
Inheritance
ResourceModelWithAllowedPropertySetSku
Attributes
Implements

Constructors

ResourceModelWithAllowedPropertySetSku()

Creates an new ResourceModelWithAllowedPropertySetSku instance.

Properties

Capacity

If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.

Family

If the service has different generations of hardware, for the same SKU, then that can be captured here.

Name

The name of the SKU. E.g. P3. It is typically a letter+number code

Size

The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.

Tier

This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ResourceModelWithAllowedPropertySetSku.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ResourceModelWithAllowedPropertySetSku.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.IResourceModelWithAllowedPropertySetSku.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ResourceModelWithAllowedPropertySetSku into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to