ScalingPlanInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. desktopvirtualization. models. ResourceModelWithAllowedPropertySet - com.
azure. resourcemanager. desktopvirtualization. fluent. models. ScalingPlanInner
- com.
- com.
- com.
- com.
public final class ScalingPlanInner
extends ResourceModelWithAllowedPropertySet
ScalingPlan Represents a scaling plan definition.
Constructor Summary
| Constructor | Description |
|---|---|
| ScalingPlanInner() |
Creates an instance of Scaling |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
description()
Get the description property: Description of scaling plan. |
| String |
etag()
Get the etag property: The etag field is *not* required. |
| String |
exclusionTag()
Get the exclusion |
| String |
friendlyName()
Get the friendly |
|
static
Scaling |
fromJson(JsonReader jsonReader)
Reads an instance of Scaling |
|
List<Scaling |
hostPoolReferences()
Get the host |
|
Scaling |
hostPoolType()
Get the host |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
| String |
objectId()
Get the object |
|
List<Scaling |
schedules()
Get the schedules property: List of Scaling |
|
System |
systemData()
Get the system |
| String |
timeZone()
Get the time |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Scaling |
withDescription(String description)
Set the description property: Description of scaling plan. |
|
Scaling |
withExclusionTag(String exclusionTag)
Set the exclusion |
|
Scaling |
withFriendlyName(String friendlyName)
Set the friendly |
|
Scaling |
withHostPoolReferences(List<ScalingHostPoolReference> hostPoolReferences)
Set the host |
|
Scaling |
withHostPoolType(ScalingHostPoolType hostPoolType)
Set the host |
|
Scaling |
withIdentity(ResourceModelWithAllowedPropertySetIdentity identity)
Set the identity property: The identity property. |
|
Scaling |
withKind(String kind)
Set the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. |
|
Scaling |
withLocation(String location) |
|
Scaling |
withManagedBy(String managedBy)
Set the managed |
|
Scaling |
withPlan(ResourceModelWithAllowedPropertySetPlan plan)
Set the plan property: The plan property. |
|
Scaling |
withSchedules(List<ScalingSchedule> schedules)
Set the schedules property: List of Scaling |
|
Scaling |
withSku(ResourceModelWithAllowedPropertySetSku sku)
Set the sku property: The sku property. |
|
Scaling |
withTags(Map<String,String> tags) |
|
Scaling |
withTimeZone(String timeZone)
Set the time |
Methods inherited from Resource
Methods inherited from ResourceModelWithAllowedPropertySet
Methods inherited from java.lang.Object
Constructor Details
ScalingPlanInner
public ScalingPlanInner()
Creates an instance of ScalingPlanInner class.
Method Details
description
public String description()
Get the description property: Description of scaling plan.
Returns:
etag
public String etag()
Get the etag property: 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.
Overrides:
ScalingPlanInner.etag()Returns:
exclusionTag
public String exclusionTag()
Get the exclusionTag property: Exclusion tag for scaling plan.
Returns:
friendlyName
public String friendlyName()
Get the friendlyName property: User friendly name of scaling plan.
Returns:
fromJson
public static ScalingPlanInner fromJson(JsonReader jsonReader)
Reads an instance of ScalingPlanInner from the JsonReader.
Parameters:
Returns:
Throws:
hostPoolReferences
public List<ScalingHostPoolReference> hostPoolReferences()
Get the hostPoolReferences property: List of ScalingHostPoolReference definitions.
Returns:
hostPoolType
public ScalingHostPoolType hostPoolType()
Get the hostPoolType property: HostPool type for desktop.
Returns:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ScalingPlanInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ScalingPlanInner.name()Returns:
objectId
public String objectId()
Get the objectId property: ObjectId of scaling plan. (internal use).
Returns:
schedules
public List<ScalingSchedule> schedules()
Get the schedules property: List of ScalingPlanPooledSchedule definitions.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Overrides:
ScalingPlanInner.systemData()Returns:
timeZone
public String timeZone()
Get the timeZone property: Timezone of the scaling plan.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ScalingPlanInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ScalingPlanInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
ScalingPlanInner.validate()withDescription
public ScalingPlanInner withDescription(String description)
Set the description property: Description of scaling plan.
Parameters:
Returns:
withExclusionTag
public ScalingPlanInner withExclusionTag(String exclusionTag)
Set the exclusionTag property: Exclusion tag for scaling plan.
Parameters:
Returns:
withFriendlyName
public ScalingPlanInner withFriendlyName(String friendlyName)
Set the friendlyName property: User friendly name of scaling plan.
Parameters:
Returns:
withHostPoolReferences
public ScalingPlanInner withHostPoolReferences(List<ScalingHostPoolReference> hostPoolReferences)
Set the hostPoolReferences property: List of ScalingHostPoolReference definitions.
Parameters:
Returns:
withHostPoolType
public ScalingPlanInner withHostPoolType(ScalingHostPoolType hostPoolType)
Set the hostPoolType property: HostPool type for desktop.
Parameters:
Returns:
withIdentity
public ScalingPlanInner withIdentity(ResourceModelWithAllowedPropertySetIdentity identity)
Set the identity property: The identity property.
Overrides:
ScalingPlanInner.withIdentity(ResourceModelWithAllowedPropertySetIdentity identity)Parameters:
withKind
public ScalingPlanInner withKind(String kind)
Set the kind property: 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.
Overrides:
ScalingPlanInner.withKind(String kind)Parameters:
withLocation
public ScalingPlanInner withLocation(String location)
Overrides:
ScalingPlanInner.withLocation(String location)Parameters:
withManagedBy
public ScalingPlanInner withManagedBy(String managedBy)
Set the managedBy property: 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.
Overrides:
ScalingPlanInner.withManagedBy(String managedBy)Parameters:
withPlan
public ScalingPlanInner withPlan(ResourceModelWithAllowedPropertySetPlan plan)
Set the plan property: The plan property.
Overrides:
ScalingPlanInner.withPlan(ResourceModelWithAllowedPropertySetPlan plan)Parameters:
withSchedules
public ScalingPlanInner withSchedules(List<ScalingSchedule> schedules)
Set the schedules property: List of ScalingPlanPooledSchedule definitions.
Parameters:
Returns:
withSku
public ScalingPlanInner withSku(ResourceModelWithAllowedPropertySetSku sku)
Set the sku property: The sku property.
Overrides:
ScalingPlanInner.withSku(ResourceModelWithAllowedPropertySetSku sku)Parameters:
withTags
public ScalingPlanInner withTags(Map<String,String> tags)
Overrides:
ScalingPlanInner.withTags(Map<String,String> tags)Parameters:
withTimeZone
public ScalingPlanInner withTimeZone(String timeZone)
Set the timeZone property: Timezone of the scaling plan.
Parameters:
Returns: