Partager via


ResourceSku Class

Definition

A ResourceSku

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Mdp.Models.ResourceSkuTypeConverter))]
public class ResourceSku : Microsoft.Azure.PowerShell.Cmdlets.Mdp.Models.IResourceSku, Microsoft.Azure.PowerShell.Cmdlets.Mdp.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Mdp.Models.ResourceSkuTypeConverter))>]
type ResourceSku = class
    interface IResourceSku
    interface IJsonSerializable
    interface IProxyResource
    interface IResource
    interface IValidates
Public Class ResourceSku
Implements IResourceSku, IValidates
Inheritance
ResourceSku
Attributes
Implements

Constructors

ResourceSku()

Creates an new ResourceSku instance.

Properties

Capability

Name value pairs to describe the capability.

Family

The family of the SKU.

Id

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

Location

The set of locations that the SKU is available.

LocationInfo

A list of locations and availability zones in those locations where the SKU is available

Name

The name of the resource

ResourceType

The type of resource the SKU applies to.

Restriction

The restrictions of the SKU.

Size

The size of the SKU.

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.

Tier

The tier of virtual machines in a scale set

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ResourceSku.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ResourceSku.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Mdp.Models.IResourceSku.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ResourceSku into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to