ScalingPlan Class

Definition

Represents a scaling plan definition.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20230905.ScalingPlanTypeConverter))]
public class ScalingPlan : Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20230905.IScalingPlan, Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20230905.ScalingPlanTypeConverter))>]
type ScalingPlan = class
    interface IScalingPlan
    interface IJsonSerializable
    interface IResourceModelWithAllowedPropertySet
    interface IValidates
Public Class ScalingPlan
Implements IScalingPlan, IValidates
Inheritance
ScalingPlan
Attributes
Implements

Constructors

ScalingPlan()

Creates an new ScalingPlan instance.

Properties

Description

Description of scaling plan.

Etag

The etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.

ExclusionTag

Exclusion tag for scaling plan.

FriendlyName

User friendly name of scaling plan.

HostPoolReference

List of ScalingHostPoolReference definitions.

HostPoolType

HostPool type for desktop.

Id

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

Identity

Identity for the resource.

IdentityPrincipalId

The principal ID of resource identity.

IdentityTenantId

The tenant ID of resource.

IdentityType

The identity type.

Kind

Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.

Location

The geo-location where the resource lives

ManagedBy

The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.

Name

The name of the resource

ObjectId

ObjectId of scaling plan. (internal use)

Plan

Plan for the resource.

PlanName

A user defined name of the 3rd Party Artifact that is being procured.

PlanProduct

The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.

PlanPromotionCode

A publisher provided promotion code as provisioned in Data Market for the said product/artifact.

PlanPublisher

The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic

PlanVersion

The version of the desired product/artifact.

Schedule

List of ScalingPlanPooledSchedule definitions.

Sku

The resource model definition representing SKU

SkuCapacity

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.

SkuFamily

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

SkuName

The name of the SKU. Ex - P3. It is typically a letter+number code

SkuSize

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

SkuTier

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.

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.

Tag

Resource tags.

TimeZone

Timezone of the scaling plan.

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 ScalingPlan.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ScalingPlan.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ScalingPlan into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to