azure-docs-sdk-java/legacy/docs-ref-autogen/com.microsoft.azure.managem...

132 строки
9.2 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.monitor.ScaleAction"
fullName: "com.microsoft.azure.management.monitor.ScaleAction"
name: "ScaleAction"
nameWithType: "ScaleAction"
summary: "The parameters for the scaling action."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"java.lang.Object.clone()?alt=java.lang.Object.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.equals(java.lang.Object)?alt=java.lang.Object.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.finalize()?alt=java.lang.Object.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.hashCode()?alt=java.lang.Object.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.toString()?alt=java.lang.Object.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
syntax: "public class **ScaleAction**"
constructors:
- uid: "com.microsoft.azure.management.monitor.ScaleAction.ScaleAction()"
fullName: "com.microsoft.azure.management.monitor.ScaleAction.ScaleAction()"
name: "ScaleAction()"
nameWithType: "ScaleAction.ScaleAction()"
syntax: "public ScaleAction()"
methods:
- uid: "com.microsoft.azure.management.monitor.ScaleAction.cooldown()"
fullName: "com.microsoft.azure.management.monitor.ScaleAction.cooldown()"
name: "cooldown()"
nameWithType: "ScaleAction.cooldown()"
summary: "Get the amount of time to wait since the last scaling action before this action occurs."
syntax: "public Period cooldown()"
desc: "Get the amount of time to wait since the last scaling action before this action occurs. It must be between 1 week and 1 minute in ISO 8601 format."
returns:
description: "the cooldown value"
type: "<xref href=\"org.joda.time.Period?alt=org.joda.time.Period&text=Period\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.ScaleAction.direction()"
fullName: "com.microsoft.azure.management.monitor.ScaleAction.direction()"
name: "direction()"
nameWithType: "ScaleAction.direction()"
summary: "Get the scale direction."
syntax: "public ScaleDirection direction()"
desc: "Get the scale direction. Whether the scaling action increases or decreases the number of instances. Possible values include: 'None', 'Increase', 'Decrease'."
returns:
description: "the direction value"
type: "<xref href=\"com.microsoft.azure.management.monitor.ScaleDirection?alt=com.microsoft.azure.management.monitor.ScaleDirection&text=ScaleDirection\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.ScaleAction.type()"
fullName: "com.microsoft.azure.management.monitor.ScaleAction.type()"
name: "type()"
nameWithType: "ScaleAction.type()"
summary: "Get the type of action that should occur when the scale rule fires."
syntax: "public ScaleType type()"
desc: "Get the type of action that should occur when the scale rule fires. Possible values include: 'ChangeCount', 'PercentChangeCount', 'ExactCount'."
returns:
description: "the type value"
type: "<xref href=\"com.microsoft.azure.management.monitor.ScaleType?alt=com.microsoft.azure.management.monitor.ScaleType&text=ScaleType\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.ScaleAction.value()"
fullName: "com.microsoft.azure.management.monitor.ScaleAction.value()"
name: "value()"
nameWithType: "ScaleAction.value()"
summary: "Get the number of instances that are involved in the scaling action."
syntax: "public String value()"
desc: "Get the number of instances that are involved in the scaling action. This value must be 1 or greater. The default value is 1."
returns:
description: "the value value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.ScaleAction.withCooldown(org.joda.time.Period)"
fullName: "com.microsoft.azure.management.monitor.ScaleAction.withCooldown(Period cooldown)"
name: "withCooldown(Period cooldown)"
nameWithType: "ScaleAction.withCooldown(Period cooldown)"
summary: "Set the amount of time to wait since the last scaling action before this action occurs."
parameters:
- description: "the cooldown value to set"
name: "cooldown"
type: "<xref href=\"org.joda.time.Period?alt=org.joda.time.Period&text=Period\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ScaleAction withCooldown(Period cooldown)"
desc: "Set the amount of time to wait since the last scaling action before this action occurs. It must be between 1 week and 1 minute in ISO 8601 format."
returns:
description: "the ScaleAction object itself."
type: "<xref href=\"com.microsoft.azure.management.monitor.ScaleAction?alt=com.microsoft.azure.management.monitor.ScaleAction&text=ScaleAction\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.ScaleAction.withDirection(com.microsoft.azure.management.monitor.ScaleDirection)"
fullName: "com.microsoft.azure.management.monitor.ScaleAction.withDirection(ScaleDirection direction)"
name: "withDirection(ScaleDirection direction)"
nameWithType: "ScaleAction.withDirection(ScaleDirection direction)"
summary: "Set the scale direction."
parameters:
- description: "the direction value to set"
name: "direction"
type: "<xref href=\"com.microsoft.azure.management.monitor.ScaleDirection?alt=com.microsoft.azure.management.monitor.ScaleDirection&text=ScaleDirection\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ScaleAction withDirection(ScaleDirection direction)"
desc: "Set the scale direction. Whether the scaling action increases or decreases the number of instances. Possible values include: 'None', 'Increase', 'Decrease'."
returns:
description: "the ScaleAction object itself."
type: "<xref href=\"com.microsoft.azure.management.monitor.ScaleAction?alt=com.microsoft.azure.management.monitor.ScaleAction&text=ScaleAction\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.ScaleAction.withType(com.microsoft.azure.management.monitor.ScaleType)"
fullName: "com.microsoft.azure.management.monitor.ScaleAction.withType(ScaleType type)"
name: "withType(ScaleType type)"
nameWithType: "ScaleAction.withType(ScaleType type)"
summary: "Set the type of action that should occur when the scale rule fires."
parameters:
- description: "the type value to set"
name: "type"
type: "<xref href=\"com.microsoft.azure.management.monitor.ScaleType?alt=com.microsoft.azure.management.monitor.ScaleType&text=ScaleType\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ScaleAction withType(ScaleType type)"
desc: "Set the type of action that should occur when the scale rule fires. Possible values include: 'ChangeCount', 'PercentChangeCount', 'ExactCount'."
returns:
description: "the ScaleAction object itself."
type: "<xref href=\"com.microsoft.azure.management.monitor.ScaleAction?alt=com.microsoft.azure.management.monitor.ScaleAction&text=ScaleAction\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.ScaleAction.withValue(java.lang.String)"
fullName: "com.microsoft.azure.management.monitor.ScaleAction.withValue(String value)"
name: "withValue(String value)"
nameWithType: "ScaleAction.withValue(String value)"
summary: "Set the number of instances that are involved in the scaling action."
parameters:
- description: "the value value to set"
name: "value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ScaleAction withValue(String value)"
desc: "Set the number of instances that are involved in the scaling action. This value must be 1 or greater. The default value is 1."
returns:
description: "the ScaleAction object itself."
type: "<xref href=\"com.microsoft.azure.management.monitor.ScaleAction?alt=com.microsoft.azure.management.monitor.ScaleAction&text=ScaleAction\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The parameters for the scaling action."
metadata: {}
package: "com.microsoft.azure.management.monitor"
artifact: com.microsoft.azure:azure-mgmt-monitor:1.41.4