ScalingPlan Interface

public interface ScalingPlan

An immutable client-side representation of ScalingPlan.

Method Summary

Modifier and Type Method and Description
abstract String description()

Gets the description property: Description of scaling plan.

abstract String etag()

Gets the etag property: The etag field is *not* required.

abstract String exclusionTag()

Gets the exclusionTag property: Exclusion tag for scaling plan.

abstract String friendlyName()

Gets the friendlyName property: User friendly name of scaling plan.

abstract List<ScalingHostPoolReference> hostPoolReferences()

Gets the hostPoolReferences property: List of ScalingHostPoolReference definitions.

abstract ScalingHostPoolType hostPoolType()

Gets the hostPoolType property: HostPool type for desktop.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract ResourceModelWithAllowedPropertySetIdentity identity()

Gets the identity property: The identity property.

abstract ScalingPlanInner innerModel()

Gets the inner com.azure.resourcemanager.desktopvirtualization.fluent.models.ScalingPlanInner object.

abstract String kind()

Gets the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.

abstract String location()

Gets the location property: The geo-location where the resource lives.

abstract String managedBy()

Gets the managedBy property: The fully qualified resource ID of the resource that manages this resource.

abstract String name()

Gets the name property: The name of the resource.

abstract String objectId()

Gets the objectId property: ObjectId of scaling plan.

abstract ResourceModelWithAllowedPropertySetPlan plan()

Gets the plan property: The plan property.

abstract ScalingPlan refresh()

Refreshes the resource to sync with Azure.

abstract ScalingPlan refresh(Context context)

Refreshes the resource to sync with Azure.

abstract Region region()

Gets the region of the resource.

abstract String regionName()

Gets the name of the resource region.

abstract String resourceGroupName()

Gets the name of the resource group.

abstract List<ScalingSchedule> schedules()

Gets the schedules property: List of ScalingPlanPooledSchedule definitions.

abstract ResourceModelWithAllowedPropertySetSku sku()

Gets the sku property: The sku property.

abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

abstract Map<String,String> tags()

Gets the tags property: Resource tags.

abstract String timeZone()

Gets the timeZone property: Timezone of the scaling plan.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the ScalingPlan resource.

Method Details

description

public abstract String description()

Gets the description property: Description of scaling plan.

Returns:

the description value.

etag

public abstract String etag()

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

Returns:

the etag value.

exclusionTag

public abstract String exclusionTag()

Gets the exclusionTag property: Exclusion tag for scaling plan.

Returns:

the exclusionTag value.

friendlyName

public abstract String friendlyName()

Gets the friendlyName property: User friendly name of scaling plan.

Returns:

the friendlyName value.

hostPoolReferences

public abstract List<ScalingHostPoolReference> hostPoolReferences()

Gets the hostPoolReferences property: List of ScalingHostPoolReference definitions.

Returns:

the hostPoolReferences value.

hostPoolType

public abstract ScalingHostPoolType hostPoolType()

Gets the hostPoolType property: HostPool type for desktop.

Returns:

the hostPoolType value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

identity

public abstract ResourceModelWithAllowedPropertySetIdentity identity()

Gets the identity property: The identity property.

Returns:

the identity value.

innerModel

public abstract ScalingPlanInner innerModel()

Gets the inner com.azure.resourcemanager.desktopvirtualization.fluent.models.ScalingPlanInner object.

Returns:

the inner object.

kind

public abstract String kind()

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

Returns:

the kind value.

location

public abstract String location()

Gets the location property: The geo-location where the resource lives.

Returns:

the location value.

managedBy

public abstract String managedBy()

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

Returns:

the managedBy value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

objectId

public abstract String objectId()

Gets the objectId property: ObjectId of scaling plan. (internal use).

Returns:

the objectId value.

plan

public abstract ResourceModelWithAllowedPropertySetPlan plan()

Gets the plan property: The plan property.

Returns:

the plan value.

refresh

public abstract ScalingPlan refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract ScalingPlan refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

region

public abstract Region region()

Gets the region of the resource.

Returns:

the region of the resource.

regionName

public abstract String regionName()

Gets the name of the resource region.

Returns:

the name of the resource region.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

schedules

public abstract List<ScalingSchedule> schedules()

Gets the schedules property: List of ScalingPlanPooledSchedule definitions.

Returns:

the schedules value.

sku

public abstract ResourceModelWithAllowedPropertySetSku sku()

Gets the sku property: The sku property.

Returns:

the sku value.

systemData

public abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

tags

public abstract Map<String,String> tags()

Gets the tags property: Resource tags.

Returns:

the tags value.

timeZone

public abstract String timeZone()

Gets the timeZone property: Timezone of the scaling plan.

Returns:

the timeZone value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract ScalingPlan.Update update()

Begins update for the ScalingPlan resource.

Returns:

the stage of resource update.

Applies to